Sigma rule: Clipboard Collection of Image Data with Xclip Tool

A detection rule from the SigmaHQ repository, shown as its author published it. Dataset version ref-fe669a6c50d9, updated 2022-10-09T00:00:00.000Z.

Rule

Title
Clipboard Collection of Image Data with Xclip Tool
Status
test
Level
low
Author
Pawel Mazur
Date
2021-10-01
Modified
2022-10-09
File
rules/linux/auditd/execve/lnx_auditd_clipboard_image_collection.yml
Commit
ccbb0369507f796db0b0ae6854c8a2be471b9d84

Detects attempts to collect image data stored in the clipboard from users with the usage of xclip tool.
Xclip has to be installed.
Highly recommended using rule on servers, due to high usage of clipboard utilities on user workstations.

Log source

product
linux
service
auditd

Detection

selection:
    type: EXECVE
    a0: xclip
    a1:
        - '-selection'
        - '-sel'
    a2:
        - clipboard
        - clip
    a3: '-t'
    a4|startswith: 'image/'
    a5: '-o'
condition: selection

False positives (as the rule lists them)

  • Legitimate usage of xclip tools

Tags

  • attack.collection
  • attack.t1115

MITRE ATT&CK ids this rule names

References

Read on 2026-11-03T00:58:21.399Z under licence sigma-drl-1.1@d5f4c36a from https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/linux/auditd/execve/lnx_auditd_clipboard_image_collection.yml

Sources and licences

  • SigmaHQ

    "Clipboard Collection of Image Data with Xclip Tool" by Pawel Mazur (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/linux/auditd/execve/lnx_auditd_clipboard_image_collection.yml.
    Licensed under the Detection Rule License (DRL) 1.1: https://github.com/SigmaHQ/Detection-Rule-License

    Detection Rule License (DRL) 1.1

Cite this page

Dragons Eye Ransomware Tracker, "Sigma rule: Clipboard Collection of Image Data with Xclip Tool",
entity page, dataset version ref-fe669a6c50d9, updated 2022-10-09T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/f200dc3f-b219-425d-a17e-c38467364816 (accessed 2026-11-03).
Underlying source: SigmaHQ rule f200dc3f-b219-425d-a17e-c38467364816, commit ccbb0369507f796db0b0ae6854c8a2be471b9d84.

Pages change. The dataset version identifies the data, but no archive of old versions is kept, so this citation cannot be replayed later.