Detectionlowtest

Clipboard Collection with Xclip Tool - Auditd

Detects attempts to collect 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.

Open in Detection LabConvert ruleBuild Package
Pawel MazurCreated 2021-09-24Updated 2022-11-26214e7e6c-f21b-47ff-bb6f-551b2d143fcflinux
Log Source
Linuxauditd
ProductLinux← raw: linux
Serviceauditd← raw: auditd
Detection Logic
Detection Logic1 selector
detection:
    selection:
        type: EXECVE
        a0: xclip
        a1:
            - '-selection'
            - '-sel'
        a2:
            - clipboard
            - clip
        a3: '-o'
    condition: selection
False Positives

Legitimate usage of xclip tools

MITRE ATT&CK
Rule Metadata
Rule ID
214e7e6c-f21b-47ff-bb6f-551b2d143fcf
Status
test
Level
low
Type
Detection
Created
2021-09-24
Modified
2022-11-26
Path
rules/linux/auditd/execve/lnx_auditd_clipboard_collection.yml
Raw Tags
attack.collectionattack.t1115
View on GitHub