Detectionmediumtest
Indicator Removal on Host - Clear Mac System Logs
Detects deletion of local audit logs
Convert In Phoenix Studio
Open this Sigma rule in the converter with the YAML preloaded and ready for backend selection.
Launch
remotephone, oscd.communityCreated Sun Oct 11Updated Fri Sep 16acf61bd8-d814-4272-81f0-a7a269aa69aamacos
Log Source
macOSProcess Creation
ProductmacOS← raw: macos
CategoryProcess Creation← raw: process_creation
Events generated when a new process is spawned on the system. Covers command-line arguments, parent/child relationships, and process metadata.
Detection Logic
Detection Logic3 selectors
detection:
selection1:
Image|endswith:
- '/rm'
- '/unlink'
- '/shred'
selection_cli_1:
CommandLine|contains: '/var/log'
selection_cli_2:
CommandLine|contains|all:
- '/Users/'
- '/Library/Logs/'
condition: selection1 and 1 of selection_cli*False Positives
Legitimate administration activities
References
MITRE ATT&CK
Tactics
Sub-techniques
Rule Metadata
Rule ID
acf61bd8-d814-4272-81f0-a7a269aa69aa
Status
test
Level
medium
Type
Detection
Created
Sun Oct 11
Modified
Fri Sep 16
Author
Path
rules/macos/process_creation/proc_creation_macos_clear_system_logs.yml
Raw Tags
attack.defense-evasionattack.t1070.002