Linux auditd: cat appends ZIP data to image files

Alerts when cat is used to handle .jpg/.png with an associated .zip argument, consistent with hiding ZIP data in images.

FreeReviewedSigma · Low · v3
Product
linux
Service
auditd
Author
Pawel Mazur (SigmaHQ), DRL 1.1
Published
2021-09-09
Updated
2026-07-31

ATT&CK techniques

Defense Evasion
  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. Collection

  12. C2

  13. Exfiltration

  14. Impact

What it detects

This rule flags execution of the cat utility where the command arguments include an image file name ending in .jpg or .png and a second argument ending in .zip. Appending ZIP content to an image is a common steganography-like concealment technique that can hide compressed payloads in seemingly benign files. It relies on Linux auditd EXECVE command-line telemetry to identify the involved filenames by their extensions.

Related detections5 linkedT1027.003 — drag to rearrange
Malicious LSB Steganography Image Decoding via PowerShell (via ps_script)
Linux steghide steganography: Extract hidden files from JPG/PNG
Linux auditd: Steghide embeds hidden files via steghide embed with -cf/-ef
Linux auditd: Unzip files extracted from JPG/PNG images
Windows findstr Launches .lnk via Command Line
Linux auditd: cat appends ZIP data to image files
Pivot detection · T1027.003 · 5 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.