{"id":"f8341cb2-ee25-43fa-a975-d8a5a9714b39","title":"BPFtrace Unsafe Option Usage","description":"Detects the usage of the unsafe bpftrace option","author":"Andreas Hunkeler (@Karneades)","status":"test","level":"medium","date":"2022-02-11","modified":"","tags":["attack.execution","attack.t1059.004"],"technique_ids":["T1059.004"],"logsource":{"category":"process_creation","product":"linux"},"falsepositives":["Legitimate usage of the unsafe option"],"references":["https://embracethered.com/blog/posts/2021/offensive-bpf-bpftrace/","https://bpftrace.org/"],"source_path":"rules/linux/process_creation/proc_creation_lnx_bpftrace_unsafe_option_usage.yml","source_sha256":"15bedde784838bea41642c8556578f20fa4ce34eef100bb2a650565a051a27ff","source_url":"https://github.com/anpa1200/sigma/blob/b249e9683190cffdcaf188ccbfb90bf4759844e1/rules/linux/process_creation/proc_creation_lnx_bpftrace_unsafe_option_usage.yml","license":"Detection Rule License 1.1","license_url":"https://github.com/SigmaHQ/Detection-Rule-License/blob/main/LICENSE.Detection.Rules.md","yaml":"title: BPFtrace Unsafe Option Usage\nid: f8341cb2-ee25-43fa-a975-d8a5a9714b39\nstatus: test\ndescription: Detects the usage of the unsafe bpftrace option\nreferences:\n    - https://embracethered.com/blog/posts/2021/offensive-bpf-bpftrace/\n    - https://bpftrace.org/\nauthor: Andreas Hunkeler (@Karneades)\ndate: 2022-02-11\ntags:\n    - attack.execution\n    - attack.t1059.004\nlogsource:\n    category: process_creation\n    product: linux\ndetection:\n    selection:\n        Image|endswith: 'bpftrace'\n        CommandLine|contains: '--unsafe'\n    condition: selection\nfalsepositives:\n    - Legitimate usage of the unsafe option\nlevel: medium\n","validation":"yaml_parsed_not_backend_compiled_or_live_validated","techniques":[{"key":"enterprise/T1059.004","id":"T1059.004","name":"Unix Shell","page":"techniques/enterprise/T1059.004/"}],"data_path":"data/detection-rules/f8341cb2-ee25-43fa-a975-d8a5a9714b39.json","kind":"sigma"}
