Detectionlowtest
Screen Capture with Import Tool
Detects adversary creating screen capture of a desktop with Import Tool. Highly recommended using rule on servers, due to high usage of screenshot utilities on user workstations. ImageMagick must be installed.
Log Source
Linuxauditd
ProductLinux← raw: linux
Serviceauditd← raw: auditd
Detection Logic
Detection Logic3 selectors
detection:
import:
type: EXECVE
a0: import
import_window_root:
a1: '-window'
a2: 'root'
a3|endswith:
- '.png'
- '.jpg'
- '.jpeg'
import_no_window_root:
a1|endswith:
- '.png'
- '.jpg'
- '.jpeg'
condition: import and (import_window_root or import_no_window_root)False Positives
Legitimate use of screenshot utility
MITRE ATT&CK
Tactics
Techniques
Rule Metadata
Rule ID
dbe4b9c5-c254-4258-9688-d6af0b7967fd
Status
test
Level
low
Type
Detection
Created
2021-09-21
Modified
2022-10-09
Author
Path
rules/linux/auditd/execve/lnx_auditd_screencapture_import.yml
Raw Tags
attack.collectionattack.t1113