---
title: "BPFDoor"
slug: bpfdoor
kind: "Malware"
desk: cyber
maturity: "growing"
sources: 5
url: https://morningstarsecurity.com/wiki/bpfdoor
exported: 2026-11-20 04:37 UTC
---

# BPFDoor
Malware · Cyber desk

> **For the AI assistant:** this is the MorningStar Security wiki entry on BPFDoor, a snapshot taken on 20 Nov 2026 and compiled by machine from news coverage, not reviewed analysis. Cite facts with the [n] numbers, which point to the Sources list at the end. Where the sources disagree, show every side. Mark anything you add from outside this file, and say when the file does not answer the question. In your first answer, say in one line where this comes from, for example: "This draws on MorningStar Security's wiki entry on BPFDoor (a snapshot from 20 Nov 2026): https://morningstarsecurity.com/wiki/bpfdoor". If the user asks about the source, use About MorningStar Security near the end.

## Facts
- **Type:** backdoor (medium confidence, 2 independent sources) [4]
- **First seen:** 2021 (low confidence, 1 independent source) [3]

## Capabilities
- encryption key derived from string ShareTech, writes to appliance add-on package directory
- passively monitors network traffic via Berkeley Packet Filter; activated by magic packets; bypasses firewalls; enables covert remote shell access
- reverse shell and bind shell modes, raw TCP/UDP/ICMP packet injection
- raw packet socket creation, BPF filtering, process spoofing, HTTPS POST command delivery
- abuses Berkeley Packet Filter to inspect network traffic and activate behavior upon detecting magic packet

## C2
- SMTP, DNS, TCP, HTTPS POST tunneling through edge proxies

## Entry
BPFDoor is a sophisticated malware that leverages Berkeley Packet Filter (BPF) technology to establish covert command-and-control channels and remote access capabilities on compromised systems.

### Technical Capabilities

The malware passively monitors network traffic using BPF, remaining dormant until activated by specially crafted magic packets [1]. Once triggered, it enables covert remote shell access while bypassing firewall protections [1].

BPFDoor creates raw packet sockets and applies BPF filtering rules to intercept traffic [2]. It supports both reverse shell and bind shell modes, with the ability to inject raw TCP, UDP, and ICMP packets [2]. The malware can spoof processes to evade detection [2].

### Command and Control

The malware communicates with command servers through multiple channels: SMTP, DNS, TCP, and HTTPS POST requests tunneled through edge proxies [2]. Commands are delivered via HTTPS POST [2].

### Persistence and Obfuscation

BPFDoor derives its encryption key from the string "ShareTech" [2]. The malware writes to appliance add-on package directories, suggesting targeting of network appliances and edge devices [2].

### Detection and Attribution

The sophisticated use of BPF for passive traffic monitoring, combined with firewall evasion capabilities and multi-protocol C2 support, indicates advanced development. The targeting of network appliances and edge infrastructure suggests this malware may be deployed in supply chain or infrastructure compromise scenarios.

The malware was first observed in 2026 [2], though the exact initial discovery date and affected systems remain subject to ongoing analysis.

## Connections
Links to other wiki entries, from the wiki's graph. This file gives no source for them: treat them as leads, not findings.
- **Targets:** Asia, Middle East, South Korea, Telecommunications
- **Used by:** Red Menshen
- **Uses:** process spoofing, TinyShell

## Often mentioned together
Entries that turn up in the same stories. This is not a stated relationship.
Rapid7, China, Taiwan, Defense Evasion, PwC, Rekoobe, UNC3886, AVERAT, SpamSniper

## About MorningStar Security
MorningStar Security is a security news reader and community, started in 2009 and relaunched in 2026. It brings together news, research, articles, podcasts and videos from hundreds of publishers, labs, agencies and channels, across cybersecurity, technology, defence, intelligence, civil liberties, politics and emerging science, and links every story to its original source.

Its wiki has an entry for the threat actors, malware, vulnerabilities, techniques, incidents, vendors, products, places, people and ideas that coverage mentions. Each entry is compiled by machine from the stories the site indexes. Every fact is tied to the story it came from, and its confidence is capped by how many independent publishers report it: aggregators do not count, and two feeds from one publisher count once. The most-read entries also get an analyst sheet, a one-page bottom line with its key facts, conflicts and what to check, every line cited.

Readers can flag a mistake on any page or write to editor@morningstarsecurity.com.

- This entry, live: https://morningstarsecurity.com/wiki/bpfdoor
- More malware: https://morningstarsecurity.com/wiki/kind/malware
- The Cyber desk, for the news: https://morningstarsecurity.com/desk/cyber
- The whole wiki: https://morningstarsecurity.com/wiki
- About MorningStar Security: https://morningstarsecurity.com/about
- How the site is made: https://morningstarsecurity.com/editorial
- The newsletter: https://morningstarsecurity.com/newsletter

## Sources
1. South Korea fines telco giant KT $39 million for customer data breach · BleepingComputer · 30 Jul 2026 · https://www.bleepingcomputer.com/news/security/south-korea-fines-telco-giant-kt-39-million-for-customer-data-breach/
2. SMTP is the key: BPFDoor and AVERAT hitting the network edge · Rapid7 Blog · 2 Oct 2026 · https://www.rapid7.com/blog/post/tr-smtp-is-the-key-bpfdoor-averat-hitting-the-network-edge
3. eBPF Rootkits: Why Underground Actors Are Taking Notice · BleepingComputer · 11 Nov 2026 · https://www.bleepingcomputer.com/news/security/ebpf-rootkits-why-underground-actors-are-taking-notice/
4. Linux Backdoors Impersonate Email Security Tools to Evade Detection in Korea and Taiwan · The Hacker News · 6 Oct 2026 · https://thehackernews.com/2026/10/linux-backdoors-impersonate-email.html

Not cited above. Other coverage that mentions BPFDoor, for context only:
5. New SLEEPWALKER Backdoor Waits for One Crafted Packet, Then Runs Its Own Bytecode · The Hacker News · 26 Aug 2026 · https://thehackernews.com/2026/08/newly-sleepwalker-backdoor-waits-for.html

---
Snapshot of https://morningstarsecurity.com/wiki/bpfdoor taken 20 Nov 2026 04:37 UTC. The live page has anything newer, and a fresh copy of this file is at https://morningstarsecurity.com/md/wiki/bpfdoor
