Detection rules › Sigma

macOS Data Compression Tools

Status
experimental
Severity
low
Log source
product macos, service endpointsecurity
Author
Eric Brown - Nebulock, Inc.
Source
github.com/Nebulock-Inc/macos-coresigma

Detects execution of data compression tools (zip, tar, gzip) which may indicate data staging for exfiltration. Adversaries often compress data before exfiltration to reduce size and evade detection. Monitor for suspicious compression patterns.

MITRE ATT&CK coverage

Rule body yaml

title: macOS Data Compression Tools
id: 5906b20c-036d-46f9-8394-2cc8f711c46b
status: experimental
description: 'Detects execution of data compression tools (zip, tar, gzip) which may
  indicate

  data staging for exfiltration. Adversaries often compress data before exfiltration

  to reduce size and evade detection. Monitor for suspicious compression patterns.

  '
author: Eric Brown - Nebulock, Inc.
date: 2025/10/31
modified: 2025/10/31
references:
- https://attack.mitre.org/techniques/T1560/
- https://attack.mitre.org/techniques/T1560/001/
logsource:
  product: macos
  service: endpointsecurity
detection:
  selection_event:
    esf.event_type: 9
    event.action: exec
  selection_process:
    Image|endswith:
    - /zip
    - /tar
    - /gzip
    - /bzip2
    - /7z
    - /rar
    - /unrar
  condition: selection_event and selection_process
falsepositives:
- Legitimate file compression for backups
- Software installation and updates
- User file management activities
- Automated backup scripts
fields:
- Image
- CommandLine
- ProcessId
- ParentProcessId
- User
tags:
- attack.exfiltration
- attack.t1560
- attack.t1560.001
level: low

Stages and Predicates

Stage 0: condition

selection_event and selection_process

Stage 1: selection_event

selection_event:
  esf.event_type: 9
  event.action: exec

Stage 2: selection_process

selection_process:
  Image|endswith:
  - /zip
  - /tar
  - /gzip
  - /bzip2
  - /7z
  - /rar
  - /unrar

Indicators

Each row is a field, operator, and value that the rule matches. The corpus column counts how many other rules in the catalog look for the same combination: high numbers point to widely-used, community-vetted indicators. Blank or 1 shows that the indicator is specific to this rule.

FieldKindValues
Imageends_with
  • /7z
  • /bzip2
  • /gzip
  • /rar
  • /tar
  • /unrar
  • /zip
esf.event_typeeq
  • 9
event.actioneq
  • exec