Linux process: enabling BPF kprobes tracing via /sys/kernel/debug/tracing/events/kprobes

Flags Linux commands that enable BPF kprobes tracing through debugfs and probe enable endpoints in the command line.

FreeReviewedSigma · Medium · v3
Product
linux
Category
process_creation
Author
Nasreddine Bencherchali (Nextron Systems) (SigmaHQ), DRL 1.1
Published
2023-01-25
Updated
2026-07-31

What it detects

This rule identifies Linux process command lines that attempt to enable kprobes tracing by writing to /sys/kernel/debug/tracing/events/kprobes. It also matches common enable operations for user-defined probe and return probe controls (e.g., /myprobe/enable and /myretprobe/enable). Such behavior matters because attackers and analysts can use kernel tracing to observe execution paths and instrument activity; detecting it relies on process creation telemetry and the exact command-line strings used.

Changelog

v3
  1. v3
    Candidate ingested via manual entry.2026-07-31
  2. v2
    Candidate ingested via manual entry.2026-07-31
  3. v1
    No changelog recorded for this version.2026-07-30

Detection content is published as a reviewed draft. Tune thresholds and exclusions against your own telemetry before enabling this rule for alerting.