Linux xclip Clipboard Image Collection via Image MIME Types

Flags xclip usage that outputs image/* data from the clipboard on Linux.

FreeReviewedSigma · Low · v3
Product
linux
Service
auditd
Author
Pawel Mazur (SigmaHQ), DRL 1.1
Published
2021-10-01
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 execution of the xclip tool to read image data from the clipboard by using the -t option with an image/* MIME type and outputting the clipboard contents. Collecting clipboard image data can enable attackers to capture sensitive visual information copied by a user. The detection relies on Linux auditd EXECVE telemetry capturing the xclip command-line arguments, specifically the -selection/-sel selection mode, the targeted image MIME type, and the -o output flag.

Related detections9 linkedT1115 — drag to rearrange
Suspicious Clipboard Data Access via Get-Clipboard (BeaverTail OtterCookie)
Possible Clipboard Data Capture via PowerShell (via process_creation)
macOS pbpaste Clipboard Read via Process Execution
macOS osascript Clipboard Access via AppleScript Commands
Linux Clipboard Data Collection via xclip -sel clip -o
Clipboard Data Collection via xclip (auditd Linux EXECVE)
Windows: clip.exe Execution to Copy Data to Clipboard
Windows PowerShell Get-Clipboard Command Execution
PowerShell Get-Clipboard Cmdlet Execution via CLI on Windows
Linux xclip Clipboard Image Collection via Image MIME Types
Pivot detection · T1115 · 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.