Linux Import Tool Image Capture via execve with -window root and .png/.jpg output

Flags Linux ImageMagick import executions likely used for desktop screenshot capture to PNG/JPG outputs or root window.

FreeReviewedSigma · Low · v3
Product
linux
Service
auditd
Author
Pawel Mazur (SigmaHQ), DRL 1.1
Published
2021-09-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 Linux processes executing the ImageMagick import command to capture a desktop or window and write output files with .png, .jpg, or .jpeg extensions. It further narrows matches where the import invocation includes a -window argument targeting root, a pattern commonly associated with screenshot collection. The detection relies on auditd/execve telemetry capturing the import executable name and its command-line arguments.

Related detections9 linkedT1113 — drag to rearrange
Suspicious Keylog and Screenshot Files in windows-cache Directory (OtterCookie)
Suspicious RDP Shadow Session Started - Native (via rdp)
Malicious RDP Shadow Session Configuration Enabled - Registry (via registry_event)
Suspicious GoGRPC Screen Capture Log File Creation (via file_event)
Suspicious Screen Capture via PowerShell Graphics API (via process_creation)
Malicious RDP Shadow Session Started - Command (via process_creation)
Windows Registry: EnablePeriodicBackup value set for periodic system hive backups
Windows Recall Enabled by Deleting DisableAIDataAnalysis Registry Value
Windows Recall Enabled by Registry: DisableAIDataAnalysis Set to 0 (Windows)
Linux Import Tool Image Capture via execve with -window root and .png/.jpg output
Pivot detection · T1113 · 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.