Sigma rule: Enable BPF Kprobes Tracing
A detection rule from the SigmaHQ repository, shown as its author published it. Dataset version ref-6e46d5d23d27, updated 2023-01-25T00:00:00.000Z.
Rule
- Title
- Enable BPF Kprobes Tracing
- Status
- test
- Level
- medium
- Author
- Nasreddine Bencherchali (Nextron Systems)
- Date
- 2023-01-25
- File
- rules/linux/process_creation/proc_creation_lnx_bpf_kprob_tracing_enabled.yml
- Commit
- ccbb0369507f796db0b0ae6854c8a2be471b9d84
Detects common command used to enable bpf kprobes tracing
Log source
- product
- linux
- category
- process_creation
Detection
selection:
CommandLine|contains|all:
- 'echo 1 >'
- '/sys/kernel/debug/tracing/events/kprobes/'
CommandLine|contains:
- '/myprobe/enable'
- '/myretprobe/enable'
condition: selectionFalse positives (as the rule lists them)
- Unknown
Tags
- attack.execution
- attack.stealth
References
- https://embracethered.com/blog/posts/2021/offensive-bpf-bpftrace/
- https://bpftrace.org/
- https://www.kernel.org/doc/html/v5.0/trace/kprobetrace.html
Read on 2026-11-03T00:58:21.399Z under licence sigma-drl-1.1@d5f4c36a from https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/linux/process_creation/proc_creation_lnx_bpf_kprob_tracing_enabled.yml
Sources and licences
SigmaHQ
"Enable BPF Kprobes Tracing" by Nasreddine Bencherchali (Nextron Systems) (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/linux/process_creation/proc_creation_lnx_bpf_kprob_tracing_enabled.yml.
Licensed under the Detection Rule License (DRL) 1.1: https://github.com/SigmaHQ/Detection-Rule-License
Cite this page
Dragons Eye Ransomware Tracker, "Sigma rule: Enable BPF Kprobes Tracing",
entity page, dataset version ref-6e46d5d23d27, updated 2023-01-25T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/7692f583-bd30-4008-8615-75dab3f08a99 (accessed 2026-11-03).
Underlying source: SigmaHQ rule 7692f583-bd30-4008-8615-75dab3f08a99, commit ccbb0369507f796db0b0ae6854c8a2be471b9d84.
Pages change. The dataset version identifies the data, but no archive of old versions is kept, so this citation cannot be replayed later.