Use sysctl to gather macOS hardware info.DiscoverymacOSsysctl can be used to gather interesting macOS host data, including hardware information, memory size, logical cpu information, etc.sysctl -n hw.modelcopyEvidenceUpstream referenceEnvironmentLocal hostCompatibilityImported from LOOBins; availability and behaviour depend on macOS version, privacy permissions and installed components. Not lab tested here.NativeDiscoveryDetectionJamf Protect: Detect activity related to sysctl in an interactive shell: github.com/jamf/jamfprotect/blob/main/custom_analytic_detections/sysctl_activityRefsgithub.com/infosecB/LOOBins/blob/399e3c4bdddb55c7dc49beb20bfe43490eac1184/LOOBins/sysctl.ymlevasions.checkpoint.com/src/MacOS/macos.html