XTunnel
X-Tunnel, also referred to as XTunnel, Xtunnel, and internally as XAPS, is a custom network proxy and pivoting tool associated with APT28/Fancy Bear/Sednit/Sofacy, a Russia-linked espionage group publicly tied in multiple reports to GRU Unit 26165. It was part of APT28’s long-running 2010s toolkit alongside X-Agent, Sedreco, Seduploader, and related implants, and was used in notable intrusions including the 2015 German Bundestag compromise and the 2016 Democratic National Committee intrusion. In the DNC case, reporting states X-Agent handled keylogging and screenshot capture while X-Tunnel was used for exfiltration; CrowdStrike also described Fancy Bear tradecraft at the DNC as using X-Agent and X-Tunnel, with deployment via RemCOM and anti-forensics such as event log clearing and timestamp manipulation.
Functionally, X-Tunnel relays traffic between an Internet-based command-and-control server and a compromised endpoint inside a local network, effectively turning the victim host into a pivot point for network traversal. It supports multiple simultaneous tunnels and has been described as relaying any kind of network traffic between the C2 server and internal systems. ESET reported that Sednit commonly used Xtunnel later in an intrusion to pivot to other reachable systems. The malware has also been reported as capable of probing networks for open ports and accessing locally stored passwords on victim systems.
For command and control protection, XTunnel uses encrypted communications; reporting specifically mentions SSL/TLS and RC4, and ESET described a custom protocol encapsulated in TLS. Later versions reportedly added HTTP proxy support and persistent HTTP connections. Fidelis analysis of a DNC-related sample found embedded OpenSSL 1.0.1e, hardcoded command-and-control IP addresses, and a code component named "Xtunnel_Http_Method.exe," matching prior Microsoft reporting attributed to Fancy Bear. One cited X-Tunnel C2 IP was 45.32.129[.]185, and reporting also linked the typo-squatted domain misdepatrment[.]com to that infrastructure. Additional reporting noted use of Njalla-registered infrastructure for SPLM and XTUNNEL C2 servers.
Recent reporting indicates continuity between older APT28 tooling and newer implants: ESET linked BeardShell to Sednit in part through a rare opaque-predicate obfuscation technique previously seen in Xtunnel, reinforcing Xtunnel’s place in the group’s custom malware lineage.
Hunt this family in your stack
Mallory pivots from this family to the IOCs, detections, and named campaigns that touch your stack, and pages you when something new lands.
Groups observed using it
3 distinct threat actors attributed by public researchers. Open in Mallory to see the full evidence chain and overlapping campaigns.
The toolkit was unchanged: X-Agent for keylogging and screenshotting, X-Tunnel for exfiltration, Mimikatz for credential theft.
They then linked this deceptive domain to a long-known APT 28 so-called X-Tunnel command-and-control IP address, 45.32.129[.]185.
ESET found that BeardShell also uses a unique obfuscation technique previously seen in Xtunnel, a network-pivoting tool that APT28 used in the 2010s.
Techniques & procedures
21 distinct techniques documented for this family, organized by ATT&CK tactic.
Initial Access
3 techniques
Initial Access
They also send emails purportedly containing links to news items, but instead linking to malware drop sites that install toolkits onto the target's computer.
Execution
1 technique
Execution
During the 2016 Ukraine Electric Power Attack, Sandworm Team used the xp_cmdshell command in MS-SQL. During the 2025 Poland Wiper Attacks, the adversaries leveraged PsExec to run cmd.exe commands on multiple victim machines. Numerous malware families and groups are described as using cmd.exe, cmd /c, Windows command shell, or command-line interfaces to execute commands, payloads, reconnaissance, persistence, cleanup, and ransomware actions.
Stealth
2 techniques
Stealth
The content repeatedly describes malware and threat actors using obfuscated code, encrypted strings, Base64/XOR/RC4/AES encoding, VMProtect/ConfuserEx/SmartAssembly, stack strings, control-flow flattening, opaque predicates, and hidden payloads to evade analysis and detection.
Credential Access
1 technique
Credential Access
AADInternals can gather unsecured credentials for Azure AD services, such as Azure AD Connect, from a local machine. Agent Tesla has the ability to extract credentials from configuration or support files. APT3 has a tool that can locate credentials in files on the file system such as those from Firefox or Chrome.
Discovery
1 technique
Discovery
Lateral Movement
1 technique
Lateral Movement
Command and Control
10 techniques
Command and Control
CrowdStrike had prepared a technical report to go online later that morning. The security firm carefully outlined some of the allegedly “superb” tradecraft of both intrusions: the Russian software implants were stealthy, they could sense locally-installed virus scanners and other defenses, the tools were customizable through encrypted configuration files, they were persistent, and the intruders used an elaborate command-and-control infrastructure.
The source code contains two different channel implementations, one over HTTP and one over email... HttpChannel::getRawPacket() method is implemented as a HTTP GET request... sendRawPacket() is an HTTP POST request.
The Sednit group developed a network proxy tool, named Xtunnel, to effectively transform a compromised computer into a network pivot, in order to contact machines that are normally unreachable from the Internet
Xtunnel is a network proxy tool that can relay any kind of network traffic between a C&C server on the Internet and an endpoint computer inside a local network... An Xtunnel infected machine serves as a network pivot
Xtunnel first tries to retrieve the Internet Explorer proxy configuration... Once a proxy IP address has been chosen, Xtunnel uses the HTTP CONNECT method to reach its C&C server.
The Sednit group developed a network proxy tool, named Xtunnel, to effectively transform a compromised computer into a network pivot, in order to contact machines that are normally unreachable from the Internet... An Xtunnel infected machine serves as a network pivot to contact machines that are normally unreachable from the Internet.
The attackers then upgraded valuable targets to the X-Agent backdoor, often pairing it with the Sedreco loader and the X-Tunnel network pivot.
Xtunnel proxies network traffic between a C&C server on the Internet and a target computer, hence creating a “tunnel” between the two... UDP traffic tunneling was introduced
The content repeatedly describes malware and threat actors using SSL, TLS, HTTPS, RSA, AES, Blowfish, RC4, ECIES, Diffie-Hellman, OpenSSL, WolfSSL, and mutual TLS to protect command and control traffic.
Multiple malware families and intrusion sets are described as encrypting C2 traffic using SSL/TLS/HTTPS (e.g., "used HTTPS for command and control", "encrypts C2 communications with TLS", "uses SSL for encrypting C2 communications", "TLS-encrypted WebSocket Protocol (WSS) for C2"). | Examples include: "encrypt C2 messages with AES-256-CBC sent underneath TLS", "encrypts C2 traffic with AES and RSA", "uses SSL/TLS and RC4", and "BlowFish algorithm".
Exfiltration
2 techniques
Exfiltration
On April 28, they used additional malware known as X-Tunnel to create an encrypted connection between the DCCC computers and GRU-controlled proxy computers for secure, large-scale data transfers, and then exfiltrated the over-70 Gigabytes of compressed data to a remote, GRU-controlled server.
IOCs tracked for this family
24 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Full values are available in Mallory.
IPs, domains, and DNS infrastructure linked to this family.
File hashes (MD5, SHA-1, SHA-256) from samples and reports.
Recent activity
44 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.
An APT28 network pivot and exfiltration tool commonly paired with X-Agent in major espionage operations.
A Sednit network-pivoting tool from the 2010s referenced for shared obfuscation techniques with BeardShell.
APT28 tool referenced for shared obfuscation technique overlap with BeardShell, suggesting code/technique lineage.
An APT28 tool referenced for code/technique lineage; it previously used the same rare opaque predicate obfuscation method later seen in BEARDSHELL.
The version that knows your environment.
Match every observed IP, domain, and hash against your live telemetry.
Named campaigns wielding this family, with evidence pinned to each claim.
CVEs this family uses for access and lateral movement.
YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Every documented technique, ranked by evidence weight.
Reddit, Mastodon, and CTI community discussion around this family.