Indicator Removal on Host - Clear Mac System Logs

Detects deletion of local audit logs

Sigma rule (View on GitHub)

 1title: Indicator Removal on Host - Clear Mac System Logs
 2id: acf61bd8-d814-4272-81f0-a7a269aa69aa
 3status: test
 4description: Detects deletion of local audit logs
 5references:
 6    - https://github.com/redcanaryco/atomic-red-team/blob/f339e7da7d05f6057fdfcdd3742bfcf365fee2a9/atomics/T1070.002/T1070.002.md
 7author: remotephone, oscd.community
 8date: 2020-10-11
 9modified: 2022-09-16
10tags:
11    - attack.defense-evasion
12    - attack.t1070.002
13logsource:
14    product: macos
15    category: process_creation
16detection:
17    selection1:
18        Image|endswith:
19            - '/rm'
20            - '/unlink'
21            - '/shred'
22    selection_cli_1:
23        CommandLine|contains: '/var/log'
24    selection_cli_2:
25        CommandLine|contains|all:
26            - '/Users/'
27            - '/Library/Logs/'
28    condition: selection1 and 1 of selection_cli*
29falsepositives:
30    - Legitimate administration activities
31level: medium

References

Related rules

to-top