BPFDoor is a Linux based passive long-term backdoor used by China-based threat actors. First seen in 2021, BPFDoor is named after its usage of Berkley Packet Filter (BPF) to execute single task instructions. BPFDoor supports multiple protocols for communicating with a C2 including TCP, UDP, and ICMP and can start local or reverse shells that bypass firewalls using iptables.sandflysecurity.comdeepinstinct.com
After initial execution, BPFDoor forks itself and runs the fork with the --init flag, which allows it to execute secondary clean up operations. The parent process terminates leaving the forked process to be inherited by the legitimate process init.sandflysecurity.com
BPFDoor overwrites the argv[0] value used by the Linux /proc filesystem to determine the command line and command name to display for each process. BPFDoor selects a name from 10 hardcoded names that resemble Linux system daemons, such as; /sbin/udevd -d, dbus-daemon --system, avahi-daemon: chroot helper, /sbin/auditd -n, and /usr/lib/systemd/systemd-journald.sandflysecurity.com
After initial setup, BPFDoor's original execution process deletes the dropped binary and exits.sandflysecurity.com
Stealth31 detection rules
Standing S1161
Reach counts this malware’s techniques, tactics, groups and campaigns; coverage shows how well defended those techniques are, both compared with other ATT&CK software.
Reach
Techniques1357th pct
57th percentile · 57% of 842 ATT&CK software entries have this many Enterprise techniques or fewer.
Tactics541st pct
41st percentile · 59% of 842 ATT&CK software entries have more tactics spanned.
Threat groups062% tie · 22 values
62% of the population shares a single value across only 22 distinct values, so a percentile here would rank the tie, not the entity.
Campaigns086% tie · 8 values
86% of the population shares a single value across only 8 distinct values, so a percentile here would rank the tie, not the entity.
Coverage
Rules / technique3medBottom 3%
3rd percentile · 97% of 842 ATT&CK software entries have more detection rules per technique.
Tests / technique10medTop 9%
91st percentile · 91% of 842 ATT&CK software entries have this many atomic tests per technique or fewer.
Data comps / technique5med53% tie · 11 values
53% of the population shares a single value across only 11 distinct values, so a percentile here would rank the tie, not the entity.
Mitigations / technique1med57th pct
57th percentile · 57% of 842 ATT&CK software entries have this many mitigations per technique or fewer.
5 of 8 axes carry an honest rank on this page. Coverage medians are taken across this malware’s 13 Enterprise techniques.
Range
Technique Campaign use over its cumulative rule count.
Detects the Linux-specific execution chain of the plain-crypto-js malicious npm dependency by Axios NPM package, including payload download via curl and detached execution using nohup and python3. (...)
Detects the macOS-specific execution chain of the plain-crypto-js malicious npm dependency in Axios NPM Package, including AppleScript execution via osascript, payload download, permission modification, execution, and cleanup.
This analytic identifies Snort intrusion signatures that have been triggered by ten or more distinct internal IP addresses within a one-hour window. (...)
Teymur Kheirkhabarov (idea), Vasiliy Burov (rule), oscd.community, Tim Shelton
74403157-20f5-415d-89a7-c505779585cf
2026-05-13
Splunk
The following analytic detects the execution of the curl utility where the command line includes percent-encoded characters and explicit file output options (such as -o or --output). (...)
This detection identifies when the ESXi firewall is disabled or set to permissive mode, which can expose the host to unauthorized access and network-based attacks. (...)
This detection identifies changes to the syslog configuration on an ESXi host using esxcli, which may indicate an attempt to disrupt log collection and evade detection.