Suspicious Indicator Removal on Host - Clear Mac System Logs (via process_creation)

This rule detects deletion of local audit logs

SigmamediummacOSv1
sigma
title: Suspicious Indicator Removal on Host - Clear Mac System Logs (via process_creation)
id: 027e01ff-2b09-59d9-8b81-85c73d9975c3
status: stable
description: This rule detects deletion of local audit logs
references:
    - https://attack.mitre.org/techniques/T1685/006/
    - https://github.com/redcanaryco/atomic-red-team/blob/f339e7da7d05f6057fdfcdd3742bfcf365fee2a9/atomics/T1070.002/T1070.002.md
author: Huntrule Team
date: 2026-06-06
tags:
    - attack.defense-impairment
    - attack.t1685.006
logsource:
    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*
falsepositives:
    - Unknown
level: medium

Known false positives

  • Unknown

Detection content is published as a reviewed draft. Tune thresholds and exclusions against your own telemetry before enabling this rule for alerting.