Sigma rule: Screen Capture with Xwd

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

Rule

Title
Screen Capture with Xwd
Status
test
Level
low
Author
Pawel Mazur
Date
2021-09-13
Modified
2022-12-18
File
rules/linux/auditd/execve/lnx_auditd_screencaputre_xwd.yml
Commit
ccbb0369507f796db0b0ae6854c8a2be471b9d84

Detects adversary creating screen capture of a full with xwd. Highly recommended using rule on servers, due high usage of screenshot utilities on user workstations

Log source

product
linux
service
auditd

Detection

selection:
    type: EXECVE
    a0: xwd
xwd_root_window:
    a1: '-root'
    a2: '-out'
    a3|endswith: '.xwd'
xwd_no_root_window:
    a1: '-out'
    a2|endswith: '.xwd'
condition: selection and 1 of xwd_*

False positives (as the rule lists them)

  • Legitimate use of screenshot utility

Tags

  • attack.collection
  • attack.t1113

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_screencaputre_xwd.yml

Sources and licences

  • SigmaHQ

    "Screen Capture with Xwd" by Pawel Mazur (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/linux/auditd/execve/lnx_auditd_screencaputre_xwd.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: Screen Capture with Xwd",
entity page, dataset version ref-f9156e7978f3, updated 2022-12-18T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/e2f17c5d-b02a-442b-9052-6eb89c9fec9c (accessed 2026-11-03).
Underlying source: SigmaHQ rule e2f17c5d-b02a-442b-9052-6eb89c9fec9c, 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.