Detectionlowtest

Screen Capture with Xwd

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

Open in Detection LabConvert ruleBuild Package
Pawel MazurCreated 2021-09-13Updated 2022-12-18e2f17c5d-b02a-442b-9052-6eb89c9fec9clinux
Log Source
Linuxauditd
ProductLinux← raw: linux
Serviceauditd← raw: auditd
Detection Logic
Detection Logic3 selectors
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

Legitimate use of screenshot utility

MITRE ATT&CK
Rule Metadata
Rule ID
e2f17c5d-b02a-442b-9052-6eb89c9fec9c
Status
test
Level
low
Type
Detection
Created
2021-09-13
Modified
2022-12-18
Path
rules/linux/auditd/execve/lnx_auditd_screencaputre_xwd.yml
Raw Tags
attack.collectionattack.t1113
View on GitHub