Detection rules › Sigma

Time Machine Backup Deletion Attempt Via Tmutil - MacOS

Status
test
Severity
medium
Log source
category process_creation, product macos
Author
Pratinav Chandra
Source
github.com/SigmaHQ/sigma

Detects deletion attempts of MacOS Time Machine backups via the native backup utility "tmutil". An adversary may perform this action before launching a ransonware attack to prevent the victim from restoring their files.

Known false positives

  • Legitimate activities

MITRE ATT&CK coverage

TacticTechniques
Impact

Telemetry coverage

Rule body

title: Time Machine Backup Deletion Attempt Via Tmutil - MacOS
id: 452df256-da78-427a-866f-49fa04417d74
status: test
description: |
    Detects deletion attempts of MacOS Time Machine backups via the native backup utility "tmutil".
    An adversary may perform this action before launching a ransonware attack to prevent the victim from restoring their files.
references:
    - https://github.com/redcanaryco/atomic-red-team/blob/master/atomics/T1490/T1490.md#atomic-test-12---disable-time-machine
    - https://www.loobins.io/binaries/tmutil/
author: Pratinav Chandra
date: 2024-05-29
tags:
    - attack.impact
    - attack.t1490
logsource:
    category: process_creation
    product: macos
detection:
    selection_img:
        - Image|endswith: '/tmutil'
        - CommandLine|contains: 'tmutil'
    selection_cmd:
        CommandLine|contains: 'delete'
    condition: all of selection_*
falsepositives:
    - Legitimate activities
level: medium

Stages and Predicates

Stage 0: condition

all of selection_*

Stage 1: selection_img

selection_img:
    - Image|endswith: '/tmutil'
    - CommandLine|contains: 'tmutil'

Stage 2: selection_cmd

selection_cmd:
    CommandLine|contains: 'delete'

Indicators

These rows show field, operator, and value matches.