Detectionmediumtest
BPFtrace Unsafe Option Usage
Detects the usage of the unsafe bpftrace option
Convert In Phoenix Studio
Open this Sigma rule in the converter with the YAML preloaded and ready for backend selection.
Launch
Log Source
LinuxProcess Creation
ProductLinux← raw: linux
CategoryProcess Creation← raw: process_creation
Events generated when a new process is spawned on the system. Covers command-line arguments, parent/child relationships, and process metadata.
Detection Logic
Detection Logic1 selector
detection:
selection:
Image|endswith: 'bpftrace'
CommandLine|contains: '--unsafe'
condition: selectionFalse Positives
Legitimate usage of the unsafe option
MITRE ATT&CK
Tactics
Sub-techniques
Rule Metadata
Rule ID
f8341cb2-ee25-43fa-a975-d8a5a9714b39
Status
test
Level
medium
Type
Detection
Created
Fri Feb 11
Author
Path
rules/linux/process_creation/proc_creation_lnx_bpftrace_unsafe_option_usage.yml
Raw Tags
attack.executionattack.t1059.004