Linux Auditd: Command Execution of zip, gzip -k, or tar -c for Data Compression

Alerts on Linux execve events launching zip, gzip (-k), or tar create commands often used to compress data.

FreeReviewedSigma · Low · v3
Product
linux
Service
auditd
Author
Timur Zinniatullin, oscd.community (SigmaHQ), DRL 1.1
Published
2019-10-21
Updated
2026-07-31

ATT&CK techniques

Collection
  1. Recon

  2. Resource Dev

  3. Initial Access

  4. Execution

  5. Persistence

  6. Priv Esc

  7. Defense Evasion

  8. Cred Access

  9. Discovery

  10. Lateral Movement

  11. C2

  12. Exfiltration

  13. Impact

What it detects

This rule identifies executions of common compression tools on Linux: zip, gzip with the -k option, or tar with the -c option. Adversaries may compress collected documents to reduce size and improve portability ahead of exfiltration. The detection relies on auditd telemetry capturing execve events and the exact command-line arguments for these utilities.

Related detections9 linkedT1560.001 — drag to rearrange
Malicious PXA Stealer Archive Extraction via Renamed WinRAR images.png (via process_creation)
Suspicious Data Staging via Rar Archive With Delete Flag (via process_creation)
Suspicious 7za Archiver Executed from Windows Temp
Suspicious PowerShell Compress-Archive of Signal Configuration by Turla (via ps_script)
Suspicious Oracle Data Export via sqluldr Utility by APT41 (via process_creation)
Suspicious Password Protected Archiving with Hardcoded GoSerpent Key via process_creation
Suspicious Multi-Volume RAR Archiving for Collection by EAGERBEE
Suspicious Archive Staging to ProgramData NetWorks Path via RAR (via process_creation)
Suspicious Selective Archiving via 7-Zip Linked to INC Ransomware Exfiltration
Linux Auditd: Command Execution of zip, gzip -k, or tar -c for Data Compression
Pivot detection · T1560.001 · 9 related

Changelog

v3
  1. v3
    Candidate ingested via manual entry.2026-07-31
  2. v2
    Candidate ingested via manual entry.2026-07-31
  3. v1
    No changelog recorded for this version.2026-07-30

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