Detection rules › Sigma
macOS Data Compression Tools
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
| Tactic | Techniques |
|---|---|
| Collection | T1560.001 Archive Collected Data: Archive via Utility |
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_processStage 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.
| Field | Kind | Values |
|---|---|---|
Image | ends_with |
|
esf.event_type | eq |
|
event.action | eq |
|