macOS csrutil Used to Disable System Integrity Protection (SIP)

Detects macOS processes running csrutil to disable SIP by matching /csrutil with a command line containing 'disable'.

FreeReviewedSigma · Medium · v2
Product
macos
Category
process_creation
Author
Joseliyo Sanchez, @Joseliyo_Jstnk (SigmaHQ), DRL 1.1
Published
2024-01-02
Updated
2026-07-31
title: macOS csrutil Used to Disable System Integrity Protection (SIP)
id: 384d54eb-69a4-4789-baad-21ca59af1cbe
status: test
description: This rule identifies macOS process executions where the command line includes "disable" and the executed image ends with "csrutil", indicating an attempt to disable System Integrity Protection. Disabling SIP can weaken macOS security controls and is commonly used during post-exploitation to facilitate further tampering. The detection relies on process creation telemetry including the executable path and command-line arguments.
references:
  - https://ss64.com/osx/csrutil.html
  - https://objective-see.org/blog/blog_0x6D.html
  - https://www.welivesecurity.com/2017/10/20/osx-proton-supply-chain-attack-elmedia/
  - https://www.virustotal.com/gui/file/05a2adb266ec6c0ba9ed176d87d8530e71e845348c13caf9f60049760c312cd3/behavior
  - https://github.com/SigmaHQ/sigma/blob/master/rules/macos/process_creation/proc_creation_macos_csrutil_disable.yml
author: Joseliyo Sanchez, @Joseliyo_Jstnk, Huntrule Team
date: 2024-01-02
tags:
  - attack.discovery
  - attack.t1518.001
logsource:
  product: macos
  category: process_creation
detection:
  selection:
    Image|endswith: /csrutil
    CommandLine|contains: disable
  condition: selection
falsepositives:
  - Unknown
level: medium
license: DRL-1.1
related:
  - id: 3603f18a-ec15-43a1-9af2-d196c8a7fec6
    type: derived