Sigma rule: Indicator Removal on Host - Clear Mac System Logs

A detection rule from the SigmaHQ repository, shown as its author published it. Dataset version ref-671a249f80b7, updated 2022-09-16T00:00:00.000Z.

Rule

Title
Indicator Removal on Host - Clear Mac System Logs
Status
test
Level
medium
Author
remotephone, oscd.community
Date
2020-10-11
Modified
2022-09-16
File
rules/macos/process_creation/proc_creation_macos_clear_system_logs.yml
Commit
ccbb0369507f796db0b0ae6854c8a2be471b9d84

Detects deletion of local audit logs

Log source

product
macos
category
process_creation

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 (as the rule lists them)

  • Legitimate administration activities

Tags

  • attack.defense-impairment
  • attack.t1685.006

MITRE ATT&CK ids this rule names

References

Read on 2026-11-03T00:58:21.399Z under licence sigma-drl-1.1@d5f4c36a from https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/macos/process_creation/proc_creation_macos_clear_system_logs.yml

Sources and licences

  • SigmaHQ

    "Indicator Removal on Host - Clear Mac System Logs" by remotephone, oscd.community (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/macos/process_creation/proc_creation_macos_clear_system_logs.yml.
    Licensed under the Detection Rule License (DRL) 1.1: https://github.com/SigmaHQ/Detection-Rule-License

    Detection Rule License (DRL) 1.1

Cite this page

Dragons Eye Ransomware Tracker, "Sigma rule: Indicator Removal on Host - Clear Mac System Logs",
entity page, dataset version ref-671a249f80b7, updated 2022-09-16T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/acf61bd8-d814-4272-81f0-a7a269aa69aa (accessed 2026-11-03).
Underlying source: SigmaHQ rule acf61bd8-d814-4272-81f0-a7a269aa69aa, commit ccbb0369507f796db0b0ae6854c8a2be471b9d84.

Pages change. The dataset version identifies the data, but no archive of old versions is kept, so this citation cannot be replayed later.