Clipboard Collection with Xclip Tool

 Original Source: [Sigma source]
Title: Clipboard Collection with Xclip Tool
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://www.packetlabs.net/posts/clipboard-data-security/
Author: Pawel Mazur, Roberto Rodriguez (Cyb3rWard0g), OTR (Open Threat Research), MSTIC
Date: 2021-10-15
modified:2022-09-15
Tags:
  • -'attack.collection'
  • -'attack.t1115'
Logsource:
  • product: linux
  • category: process_creation
Detection:
  selection:
    Image|contains: 'xclip'
    CommandLine|contains|all:
      -'-sel'
      -'clip'
      -'-o'

  condition:selection
Falsepositives:
  -Legitimate usage of xclip tools.
Level: low