Ted Backdoor Found in Compromised HAProxy Builds
Attackers embedded a new Linux backdoor called 'ted' directly into HAProxy binaries to intercept and manipulate web traffic. The implant was discovered in two South Korean organizations.
TL;DR
- A new backdoor named 'ted' was compiled into trojanized HAProxy builds.
- It intercepts web traffic and serves modified pages to targeted users.
- Found in two South Korean organizations; requires host-level code execution.
- Not a vulnerability in HAProxy itself but a supply chain compromise.
- Debug strings in the binary revealed the implant's internal name.
Security researchers have uncovered a novel Linux-based backdoor embedded within customized HAProxy load balancer binaries. Dubbed 'ted' after internal debug strings, the malware was found actively intercepting and altering web traffic directed at specific visitors.
This attack represents a sophisticated supply chain compromise where the malicious code was pre-compiled into the software build rather than injected through a runtime exploit. Two organizations in South Korea were identified as victims, though the full scope remains under investigation.
How the Attack Works
- The 'ted' backdoor is statically compiled into HAProxy binaries during the build process.
- Once deployed, it monitors incoming HTTP requests and selectively modifies responses.
- Altered content is served only to predetermined visitor profiles or IP addresses.
- No known vulnerability in HAProxy itself enabled this; attackers needed prior access to build environments.
- Debug symbols in the binary revealed the internal project name 'ted'.
Implications for Defense Teams
- Traditional runtime detection may miss implants baked into legitimate binaries.
- Supply chain integrity checks should include hash verification of critical infrastructure components.
- Monitoring outbound traffic patterns can help detect anomalous data exfiltration or command-and-control activity.
- Organizations using self-hosted or custom-built network tools should audit their build pipelines regularly.
- Incident responders should treat unusual behavior in core services like proxies as high-priority anomalies.
Sources
Sources
Security email updates
One digest email when we publish new security articles (TL;DR plus links to read more). Unsubscribe anytime from the message footer. See our Privacy Policy.