Sigma rule: BPFtrace Unsafe Option Usage

A detection rule from the SigmaHQ repository, shown as its author published it. Dataset version ref-67f29f24ef28, updated 2022-02-11T00:00:00.000Z.

Rule

Title
BPFtrace Unsafe Option Usage
Status
test
Level
medium
Author
Andreas Hunkeler (@Karneades)
Date
2022-02-11
File
rules/linux/process_creation/proc_creation_lnx_bpftrace_unsafe_option_usage.yml
Commit
ccbb0369507f796db0b0ae6854c8a2be471b9d84

Detects the usage of the unsafe bpftrace option

Log source

product
linux
category
process_creation

Detection

selection:
    Image|endswith: 'bpftrace'
    CommandLine|contains: '--unsafe'
condition: selection

False positives (as the rule lists them)

  • Legitimate usage of the unsafe option

Tags

  • attack.execution
  • attack.t1059.004

MITRE ATT&CK ids this rule names

References

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_bpftrace_unsafe_option_usage.yml

Sources and licences

  • SigmaHQ

    "BPFtrace Unsafe Option Usage" by Andreas Hunkeler (@Karneades) (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/linux/process_creation/proc_creation_lnx_bpftrace_unsafe_option_usage.yml.
    Licensed under the Detection Rule License (DRL) 1.1: https://github.com/SigmaHQ/Detection-Rule-License

    Detection Rule License (DRL) 1.1

Cite this page

Dragons Eye Ransomware Tracker, "Sigma rule: BPFtrace Unsafe Option Usage",
entity page, dataset version ref-67f29f24ef28, updated 2022-02-11T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/f8341cb2-ee25-43fa-a975-d8a5a9714b39 (accessed 2026-11-03).
Underlying source: SigmaHQ rule f8341cb2-ee25-43fa-a975-d8a5a9714b39, 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.