Clipboard Collection with Xclip Tool - Auditd

 Original Source: [Sigma source]
Title: Clipboard Collection with Xclip Tool - Auditd
Status: test
Description: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.
References:
  -https://linux.die.net/man/1/xclip
  -https://www.cyberciti.biz/faq/xclip-linux-insert-files-command-output-intoclipboard/
Author: Pawel Mazur
Date: 2021-09-24
modified:2022-11-26
Tags:
  • -'attack.collection'
  • -'attack.t1115'
Logsource:
  • product: linux
  • service: auditd
Detection:
  selection:
    type: 'EXECVE'
    a0: 'xclip'
    a1:
      -'-selection'
      -'-sel'

    a2:
      -'clipboard'
      -'clip'

    a3: '-o'
  condition:selection
Falsepositives:
  -Legitimate usage of xclip tools
Level: low