{"id":"808146b2-9332-4d78-9416-d7e47012d83d","title":"BPFDoor Abnormal Process ID or Lock File Accessed","description":"detects BPFDoor .lock and .pid files access in temporary file storage facility","author":"Rafal Piasecki","status":"test","level":"high","date":"2022-08-10","modified":"2026-03-30","tags":["attack.execution","attack.t1106","attack.t1059"],"technique_ids":["T1059","T1106"],"logsource":{"product":"linux","service":"auditd"},"falsepositives":["Unlikely"],"references":["https://www.sandflysecurity.com/blog/bpfdoor-an-evasive-linux-backdoor-technical-analysis/","https://www.elastic.co/security-labs/a-peek-behind-the-bpfdoor","https://www.rapid7.com/blog/post/tr-bpfdoor-telecom-networks-sleeper-cells-threat-research-report/","https://github.com/rapid7/Rapid7-Labs/blob/741c7196ec12a0a56b63463d1fd726ff14d3a97a/BPFDoor/rapid7_detect_bpfdoor.sh"],"source_path":"rules/linux/auditd/path/lnx_auditd_bpfdoor_file_accessed.yml","source_sha256":"ec14ad2f81662f6e4834cfceae37806ddf67d6f33067d02ed6fb32088606a9cc","source_url":"https://github.com/anpa1200/sigma/blob/b249e9683190cffdcaf188ccbfb90bf4759844e1/rules/linux/auditd/path/lnx_auditd_bpfdoor_file_accessed.yml","license":"Detection Rule License 1.1","license_url":"https://github.com/SigmaHQ/Detection-Rule-License/blob/main/LICENSE.Detection.Rules.md","yaml":"title: BPFDoor Abnormal Process ID or Lock File Accessed\nid: 808146b2-9332-4d78-9416-d7e47012d83d\nstatus: test\ndescription: detects BPFDoor .lock and .pid files access in temporary file storage facility\nreferences:\n    - https://www.sandflysecurity.com/blog/bpfdoor-an-evasive-linux-backdoor-technical-analysis/\n    - https://www.elastic.co/security-labs/a-peek-behind-the-bpfdoor\n    - https://www.rapid7.com/blog/post/tr-bpfdoor-telecom-networks-sleeper-cells-threat-research-report/\n    - https://github.com/rapid7/Rapid7-Labs/blob/741c7196ec12a0a56b63463d1fd726ff14d3a97a/BPFDoor/rapid7_detect_bpfdoor.sh\nauthor: Rafal Piasecki\ndate: 2022-08-10\nmodified: 2026-03-30\ntags:\n    - attack.execution\n    - attack.t1106\n    - attack.t1059\nlogsource:\n    product: linux\n    service: auditd\ndetection:\n    selection:\n        type: 'PATH'\n        name:\n            - /var/run/aepmonend.pid\n            - /var/run/auditd.lock\n            - /var/run/cma.lock\n            - /var/run/console-kit.pid\n            - /var/run/consolekit.pid\n            - /var/run/daemon.pid\n            - /var/run/hald-addon.pid\n            - /var/run/hald-smartd.pid\n            - /var/run/haldrund.pid\n            - /var/run/hp-health.pid\n            - /var/run/hpasmlit.lock\n            - /var/run/hpasmlited.pid\n            - /var/run/kdevrund.pid\n            - /var/run/lldpad.lock\n            - /var/run/mcelog.pid\n            - /var/run/system.pid\n            - /var/run/uvp-srv.pid\n            - /var/run/vmtoolagt.pid\n            - /var/run/xinetd.lock\n    condition: selection\nfalsepositives:\n    - Unlikely\nlevel: high\n","validation":"yaml_parsed_not_backend_compiled_or_live_validated","techniques":[{"key":"enterprise/T1059","id":"T1059","name":"Command and Scripting Interpreter","page":"techniques/enterprise/T1059/"},{"key":"enterprise/T1106","id":"T1106","name":"Native API","page":"techniques/enterprise/T1106/"}],"data_path":"data/detection-rules/808146b2-9332-4d78-9416-d7e47012d83d.json","kind":"sigma"}
