Red Menshen's BPFDoor Hides Inside Telecom Networks Across 10 Countries

Proactive Security for the AI Era
NodeZero continuously and autonomously pentests infrastructure, identity, cloud, and now web applications, chaining weaknesses across every domain the way real attackers do. Every finding ships with replayable proof showing exploitable business impact, not theoretical risk.
Red Menshen (also tracked as Earth Bluecrow, DecisiveArchitect, and Red Dev 18) has silently embedded kernel-level Linux backdoors inside telecom networks across more than 10 countries, giving China-affiliated operators real-time access to subscriber data, location tracking, and communications interception for at least five years.
The campaign centers on BPFDoor, a Linux backdoor that uses the Berkeley Packet Filter (BPF) framework inside the operating system kernel to passively inspect all network traffic without opening a single listening port. Standard security monitoring tools, network scanners, and port audits return clean results on compromised systems because BPFDoor leaves nothing visible to look for. The backdoor sits dormant inside the kernel until it receives a precisely crafted "magic packet," at which point it activates an encrypted reverse shell that connects directly to attacker infrastructure.
Rapid7 Labs published a technical analysis in March 2026 documenting seven or more distinct BPFDoor variants, including a new generation that conceals its activation trigger inside HTTPS traffic, uses ICMP tunneling for inter-host signaling, and masquerades as HPE ProLiant services and Docker daemon processes to blend with legitimate system activity. The same report confirmed active victims across telecommunications infrastructure in South Korea, Hong Kong, Myanmar, Malaysia, and Egypt.
The strategic objective is not immediate disruption. Red Menshen targets the signaling layer of mobile networks, specifically HLR/HSS subscriber databases, authentication platforms, roaming databases, and 4G/5G core functions, positioning for intelligence collection at national scale. Every mobile subscriber whose data flows through a compromised telecom core is potentially exposed. If your organization operates telecom infrastructure, manages edge access devices, or runs Linux systems connected to carrier networks, BPFDoor Red Menshen activity is your threat this week.
Who Is Red Menshen (Earth Bluecrow)?
Red Menshen is a China-nexus advanced persistent threat cluster active since at least 2021, assessed with moderate-to-high confidence by Rapid7 Labs as aligned with People's Republic of China intelligence objectives. The group operates under at least four tracked designations: Red Menshen (Rapid7), Earth Bluecrow (Trend Micro), DecisiveArchitect, and Red Dev 18.
The group's defining characteristic is patience. Red Menshen does not conduct smash-and-grab operations. It implants persistent access inside telecom network infrastructure and waits, maintaining dormant footholds for months or years before collecting specific intelligence. Attribution rests on consistent tool reuse across geographically separated intrusions, operational patterns consistent with PRC-aligned intelligence priorities, and BPFDoor's unique design characteristics, which require kernel-level development capability not widely available to criminal groups.
Red Menshen has not been publicly sanctioned or indicted as of July 2026, unlike several other PRC-attributed threat actors. Western governments have attributed BPFDoor activity publicly, but no criminal charges have been filed against specific individuals. The group continues to operate and upgrade its tooling, with the March 2026 Rapid7 disclosure representing the most detailed public technical analysis of their current capabilities.
The group's espionage focus aligns with reported PRC strategic intelligence priorities: tracking dissidents, monitoring government-linked communications, and building persistent access to critical infrastructure that could support future operations during geopolitical escalation. For comparison, Russia's FSB Center 16 used the same infrastructure-targeting approach against energy and government networks, a parallel that illustrates how nation-state espionage groups treat network infrastructure as the primary long-term target.
How Does BPFDoor Work?
BPFDoor is a Linux backdoor that installs a Berkeley Packet Filter (BPF) rule directly inside the operating system kernel, allowing it to inspect every packet arriving at a network interface without binding to any listening port. The filter monitors traffic silently. When a specifically crafted trigger packet arrives, the backdoor activates a reverse shell and connects outbound to attacker infrastructure. From the network's perspective, nothing unusual has occurred.
The latest variants documented by Rapid7 Labs in March 2026 add three significant capabilities to this baseline. First, the HTTPS-camouflaged trigger: the magic packet is embedded inside normal-looking HTTPS traffic at a fixed byte offset, a technique called the "magic ruler." Standard deep packet inspection tools operating on encrypted traffic cannot distinguish this from a legitimate web request without session keys. Second, ICMP tunneling: an attacker-controlled host signals BPFDoor variants across internal network segments using ICMP packets with a specific destination marker field (0xFFFFFFFF), enabling lateral movement commands that appear as routine ICMP traffic. Third, process masquerading: recent BPFDoor builds disguise themselves as HPE ProLiant management services (hpasmlited) and Docker daemon processes, with matching process names and command-line arguments.
Variant F, identified targeting telecom signaling infrastructure, adds SCTP (Stream Control Transmission Protocol) support. SCTP is a transport-layer protocol used natively in telecom signaling (SS7, Diameter, 5G N interfaces), which means Variant F can activate from signaling-plane traffic and potentially intercept subscriber authentication flows, location updates, and call routing data. A compromised HLR/HSS gives an attacker the ability to track any subscriber on that network in real time.
Subscribe to unlock Indicators of Compromise
Free subscribers unlock full IOC lists, Sigma detection rules, remediation steps, and every daily briefing.
Briefings like this, every morning before 9am.
Threat intel, active CVEs, and campaign alerts, distilled for practitioners. 50,000+ subscribers. No noise.
Which Sectors and Countries Does Red Menshen Target?
Telecommunications is the primary target. Red Menshen gains access to telecom networks specifically to reach subscriber management systems (HLR, HSS, UDM), authentication platforms (AuC), roaming databases, billing systems, and 4G/5G core network functions including AMF, SMF, and UDM in Kubernetes pods. These systems collectively manage the identities, locations, and communications of hundreds of millions of mobile subscribers.
Rapid7 Labs confirmed active attacks across South Korea, Hong Kong, Myanmar, Malaysia, and Egypt in their March 2026 report. CYFIRMA's broader profile documents confirmed targeting across Egypt, India, the Middle East, Myanmar, South Korea, Thailand, Turkey, the United States, Vietnam, and Cambodia. The geographic distribution reflects PRC strategic intelligence priorities: countries in Southeast Asia and the Middle East where China has significant economic, political, and military interests.
Government networks are the secondary target. Red Menshen uses telecom access as a pathway into government systems, exploiting the direct routing connections that carrier infrastructure maintains to public sector networks. A compromised border gateway at a national telecom operator can provide persistent visibility into government communications that cross the carrier's network, without requiring a direct compromise of government endpoints.
Finance and retail sectors also appear in Trend Micro's targeting data, suggesting the group maintains capabilities against non-telecom targets, though these are assessed as secondary to the core espionage mission. North Korea's Lazarus Group used a similar multi-sector targeting approach to fund operations while maintaining espionage access, illustrating how state-sponsored groups often maintain parallel track operations against different target classes.
TTPs Mapped to MITRE ATT&CK
Red Menshen's intrusion chain begins at internet-facing edge infrastructure. The group exploits public-facing VPN appliances, firewalls, and web platforms (T1190: Exploit Public-Facing Application). Confirmed initial access vectors include Ivanti Connect Secure VPN, Cisco IOS and JunOS devices, Fortinet firewalls, VMware ESXi hosts, Palo Alto Networks appliances, and Apache Struts-based web applications. The group also abuses valid accounts obtained through credential harvesting or brute force (T1078: Valid Accounts).
Post-exploitation follows a consistent pattern. BPFDoor provides persistent kernel-level access (T1547: Boot or Logon Autostart Execution). The backdoor actively impairs detection by operating below the visibility of standard security tools (T1562: Impair Defenses; T1036: Masquerading). Command-and-control uses application-layer protocols including HTTPS camouflage and ICMP tunneling (T1071: Application Layer Protocol; T1572: Protocol Tunneling). Lateral movement deploys CrossC2, Sliver, and TinyShell (T1570: Lateral Tool Transfer; T1021.004: SSH). Credential harvesting uses Mimikatz on Windows systems, custom ELF keyloggers on Linux, and SSH brute-forcers pre-loaded with telecom-specific credential pairs including the "imsi" username (T1110: Brute Force; T1056: Input Capture).
On Linux and Solaris systems, BPFDoor performs data collection by intercepting SCTP signaling traffic (T1119: Automated Collection). Windows lateral movement uses Mangzamel and Gh0st RAT variants alongside Metasploit (T1059: Command and Scripting Interpreter). The full kill chain from initial access to long-term persistent access can be compressed into days, with the group then maintaining dormant access for months before executing collection objectives.
Initial Access via Edge Device Exploitation
Red Menshen exploits internet-facing Ivanti, Cisco, Fortinet, Palo Alto, VMware, or Apache Struts infrastructure (T1190). Brute-force and credential stuffing also confirmed (T1078, T1110).
BPFDoor Installation — Kernel-Level Persistence
BPFDoor binary deployed as ELF executable on Linux/Solaris systems. BPF filter installed in kernel. Process masquerading activated (T1547, T1036, T1562). Magic packet activation configured.
Command-and-Control via Magic Packet Activation
Attacker sends crafted trigger packet embedded in HTTPS traffic or ICMP (Variant H: fake NTP traffic). BPFDoor activates RC4-MD5 encrypted reverse shell outbound. No open ports exposed (T1071, T1572).
Lateral Movement and Credential Harvesting
CrossC2, Sliver, TinyShell deployed for lateral movement (T1570, T1021.004). Mimikatz on Windows; custom ELF keyloggers on Linux; SSH brute-force with telecom credentials (T1056, T1110).
Telecom Signaling Interception
Variant F targets HLR/HSS, AuC, roaming databases. SCTP protocol support enables subscriber tracking, location interception, and call routing data collection (T1119) at national scale.
Sigma Detection Rules for Red Menshen BPFDoor
No CVE-specific Sigma rule exists for Red Menshen BPFDoor because the backdoor does not exploit a vulnerability with a CVE assignment; it abuses a legitimate Linux kernel feature (Berkeley Packet Filter). Two behavior-based Sigma rules directly target BPFDoor's known artifacts and techniques.
Both rules require Linux auditd logs. Enable auditd on all Linux servers and ship logs to your SIEM before deploying. The file-access rule fires when BPFDoor attempts to access its lock or PID files in /var/run, which the backdoor creates during initialization. The port-redirect rule fires when iptables is used to reroute TCP traffic for a specific attacker source IP, a technique BPFDoor uses to proxy attacker traffic through an invisible NAT rule that makes the reverse shell look like legitimate SSH.
Subscribe to unlock Sigma Detection Rules
Free subscribers unlock full IOC lists, Sigma detection rules, remediation steps, and every daily briefing.
How to Detect BPFDoor Activity in Your Environment
Standard detection tools fail against BPFDoor because they look for open ports, listening sockets, or network connections. BPFDoor has none. Detection requires kernel-level visibility and specific hunting queries targeting BPFDoor's known behavioral artifacts.
Start with host-based indicators. Hunt for the file /dev/shm/kdmtmpflush on every Linux server. This is BPFDoor's lock file, written to shared memory on startup. Its presence alone is a confirmed indicator of compromise requiring immediate incident response. Scan process lists for processes named udevd running with the argument -d from an unexpected parent process, or processes named hpasmlited on systems without HPE ProLiant hardware. Both are documented Red Menshen masquerade techniques. Check for any ELF binary in /tmp, /dev/shm, or /bin with modified timestamps that do not match surrounding system files.
For network-layer detection, Rapid7 Labs published a detection script on GitHub that scans for kernel BPF filter installations and anomalous raw socket usage: run it on all internet-facing Linux systems. Monitor auditd for accesses to the /var/run PID and lock file paths listed in the Sigma rules above. Monitor iptables NAT rules for REDIRECT entries tied to specific source IP addresses; BPFDoor creates per-attacker NAT rules that are not present in standard configurations. Inspect ICMP traffic for packets with the destination unreachable field set to 0xFFFFFFFF, which is the inter-host signaling marker for the latest BPFDoor variant.
For 4G/5G core environments: monitor SCTP flows for unexpected session establishment patterns, particularly from hosts outside the normal network element peer group. An HLR or HSS receiving SCTP connections from hosts that are not registered as legitimate network elements should be investigated immediately.
Subscribe to unlock Indicators of Compromise
Free subscribers unlock full IOC lists, Sigma detection rules, remediation steps, and every daily briefing.
Immediate Defensive Steps Against Red Menshen
Defending against Red Menshen requires addressing three separate surfaces: edge device security (initial access), Linux server hardening (persistence), and telecom signaling visibility (collection). Standard endpoint security tools do not cover BPFDoor because the backdoor operates at kernel level below EDR visibility on most Linux deployments.
The most urgent action for any organization running internet-facing Ivanti, Cisco, Fortinet, or Palo Alto infrastructure is to verify patch status on all listed appliances and hunt for BPFDoor artifacts on any Linux systems reachable from those appliances. Compromised edge devices are the entry point; BPFDoor is the persistence mechanism that follows once the attacker has internal access.
Subscribe to unlock Remediation & Mitigation steps
Free subscribers unlock full IOC lists, Sigma detection rules, remediation steps, and every daily briefing.
The bottom line
Red Menshen BPFDoor telecom espionage has been running inside carrier infrastructure across more than 10 countries for at least five years, operating with zero open ports and seven or more evolving variants that defeat traditional detection methods. The March 2026 Rapid7 Labs disclosure confirms active victims right now. Three actions to take before end of day: run find / -name kdmtmpflush on every Linux server in your environment, execute the Rapid7 BPFDoor detection script on all internet-facing Linux systems, and patch every Ivanti and Cisco edge appliance to remove the primary initial access vector Red Menshen exploits.
This analysis is generic. create a free account to score threats like this against your own stack.
Frequently asked questions
Who is Red Menshen (Earth Bluecrow)?
Red Menshen is a China-nexus advanced persistent threat group active since at least 2021, also tracked as Earth Bluecrow, DecisiveArchitect, and Red Dev 18. The group conducts long-term espionage operations targeting telecommunications networks and government systems, using the BPFDoor kernel-level Linux backdoor to maintain persistent access inside carrier infrastructure. Rapid7 Labs assessed the group as aligned with PRC intelligence objectives with moderate-to-high confidence based on tool reuse, targeting patterns, and operational behavior.
What is BPFDoor malware?
BPFDoor is a Linux backdoor that installs a Berkeley Packet Filter (BPF) rule inside the operating system kernel to passively inspect all network traffic without binding to any listening port. It activates only when it receives a specifically crafted trigger packet, then opens an encrypted reverse shell to attacker infrastructure. Because BPFDoor has no open ports and uses legitimate kernel interfaces, standard port scanners, netstat, and most EDR tools cannot detect it without kernel-level monitoring.
How does BPFDoor avoid detection?
BPFDoor operates entirely inside the Linux kernel using the Berkeley Packet Filter framework, which is a legitimate OS feature. It binds no listening ports, creates no visible network connections, and masquerades as legitimate system processes such as HPE ProLiant services and Docker daemons. The latest variants hide their activation trigger inside HTTPS traffic (defeating DPI) and use ICMP tunneling for inter-host commands. Traditional security tools that scan for open ports, active connections, or suspicious processes return false negatives on BPFDoor-infected systems.
Which sectors does Red Menshen target?
Telecommunications is Red Menshen's primary target, specifically the subscriber management systems, authentication platforms, and signaling infrastructure that serve mobile networks. Government networks are the secondary target, accessed through the routing connections that carrier infrastructure maintains to public sector systems. Trend Micro and CYFIRMA also document targeting of finance and retail sectors. The telecom focus is strategic: compromising a carrier's HLR or HSS gives the attacker real-time subscriber tracking and communications interception capability.
Which countries has Red Menshen targeted?
Confirmed targeting includes Egypt, India, the Middle East, Myanmar, South Korea, Thailand, Turkey, the United States, Vietnam, and Cambodia. Rapid7 Labs' March 2026 report confirmed active attacks in South Korea, Hong Kong, Myanmar, Malaysia, and Egypt at time of publication. The geographic distribution reflects PRC strategic interests in Southeast Asia, the Middle East, and allied nations. US targeting is documented but limited in disclosed specifics compared to Asian and Middle Eastern victims.
How do I detect BPFDoor activity on my network?
Hunt for the file /dev/shm/kdmtmpflush on every Linux server; its presence confirms BPFDoor is installed. Check process lists for udevd running with unexpected arguments or hpasmlited on non-HPE systems. Run the Rapid7 BPFDoor detection script on all internet-facing Linux hosts to identify kernel BPF filter installations. Monitor auditd for access to the /var/run PID and lock file paths in the Sigma rules above. Inspect iptables NAT rules for unauthorized REDIRECT entries tied to specific source IPs.
Has Red Menshen been sanctioned or indicted?
No. As of July 2026, Red Menshen has not been publicly sanctioned or subject to criminal indictments, unlike several other PRC-attributed threat actors including Hafnium, Volt Typhoon, and Salt Typhoon. Western governments have attributed BPFDoor activity to a China-nexus actor publicly, but no formal sanctions designations or Department of Justice indictments have been issued against identified individuals. The group continues to operate and upgrade its tooling with no apparent disruption.
What TTPs does Red Menshen use?
Red Menshen's MITRE ATT&CK techniques include: T1190 (Exploit Public-Facing Application) for initial access via VPN and firewall appliances; T1547 (Boot or Logon Autostart Execution) and T1562 (Impair Defenses) for BPFDoor persistence and evasion; T1071 and T1572 (Application Layer Protocol and Protocol Tunneling) for HTTPS-camouflaged and ICMP-tunneled C2; T1570 and T1021.004 (Lateral Tool Transfer and SSH) using CrossC2, Sliver, and TinyShell; T1056 and T1110 (Input Capture and Brute Force) for credential harvesting; and T1119 (Automated Collection) for SCTP signaling interception in telecom environments.
Sources & references
- Rapid7 Labs: BPFdoor Telecom Networks Sleeper Cells Threat Research Report
- The Hacker News: China-Linked Red Menshen Uses Stealthy BPFDoor Implants
- CYFIRMA: APT Profile — Red Menshen
- Trend Micro: BPFDoor Hidden Controller Used Against Asia, Middle East Targets
- MITRE ATT&CK: T1190 Exploit Public-Facing Application
Free resources
Critical CVE Reference Card 2025–2026
25 actively exploited vulnerabilities with CVSS scores, exploit status, and patch availability. Print it, pin it, share it with your SOC team.
Ransomware Incident Response Playbook
Step-by-step 24-hour IR checklist covering detection, containment, eradication, and recovery. Built for SOC teams, IR leads, and CISOs.
Get threat intel before your inbox does.
50,000+ security professionals read Decryption Digest for early warnings on zero-days, ransomware, and nation-state campaigns. Free, daily, no spam.
Unsubscribe anytime. We never sell your data.

Founder & Cybersecurity Evangelist, Decryption Digest
Cybersecurity professional with expertise in threat intelligence, vulnerability research, and enterprise security. Covers zero-days, ransomware, and nation-state operations for 50,000+ security professionals every morning.
