Suspicious SIP Check by macOS Application

Last updated 2 days ago on 2026-02-09
Created 12 days ago on 2026-01-30

About

Detects the unusual use of csrutil by a macOS application to check System Integrity Protection (SIP) status. While not malicious in itself, this activity is highly indicative of malware verifying it is not running in a virtual machine or protected environment prior to executing its payload.
Tags
Domain: EndpointOS: macOSUse Case: Threat DetectionTactic: DiscoveryTactic: Defense EvasionData Source: Elastic DefendLanguage: eql
Severity
medium
Risk Score
47
MITRE ATT&CK™

Discovery (TA0007)(external, opens in a new tab or window)

License
Elastic License v2(external, opens in a new tab or window)

Definition

Rule Type
Event Correlation Rule
Integration Pack
Prebuilt Security Detection Rules
Index Patterns
logs-endpoint.events.process-*
Related Integrations

endpoint(external, opens in a new tab or window)

Query
text code block:
process where host.os.type == "macos" and event.type == "start" and event.action == "exec" and process.command_line like "*csrutil*status*" and process.command_line like "*enabled*" and (process.parent.executable like "/*.app/*" or process.parent.executable like "/Applications/*.app/*" or process.parent.executable like "/Volumes/*.app/*") and not process.parent.executable == "/Library/Application Support/Mosyle/MosyleMDM.app/Contents/MacOS/MosyleMDM"

Install detection rules in Elastic Security

Detect Suspicious SIP Check by macOS Application in the Elastic Security detection engine by installing this rule into your Elastic Stack.

To setup this rule, check out the installation guide for Prebuilt Security Detection Rules(external, opens in a new tab or window).