Skip to main content
Mallory
Malware

ted backdoor

Tracked since Sep 4, 2026 · Updated 3 months ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 daysNo mention activity in the last 30 days.
Vulns0Associated
Actors0Associated
ATT&CK28Techniques
IOCs25Tracked
Type
Backdoor
Capabilities
Session hijackingExfiltrationPersistencePost exploitationDefense evasion
Delivery
Watering hole
Platforms
Linux

Ted backdoor is a Linux-based server implant embedded as a custom plugin in a trojanized HAProxy 2.8.12 build. It integrates with HAProxy’s native filtering, HTTP parsing, memory-management, scheduling, and process infrastructure, allowing the load balancer to continue normal operations while covertly inspecting decrypted HTTP traffic. The implant provides an HTTP-based command channel supporting remote command execution, beaconing, configuration updates, and file transfers. It can selectively collect request metadata and web-session cookies, and can modify responses for operator-selected visitors by injecting scripts, replacing content, or redirecting traffic. Selection criteria include network-source and browser characteristics as well as hidden request values.

Ted backdoor suppresses forensic evidence by preventing command traffic from reaching backend applications and manipulating HAProxy telemetry and response handling to conceal anomalous traffic and altered content. It has been observed as part of a long-term Linux espionage toolkit also involving CurlRAT, trojanized Linux services, and SSH credential-capture tooling. Activity targeted South Korean automotive and media-sector organizations. The operation has been assessed with medium confidence as linked to DPRK-aligned threat activity; available evidence does not conclusively attribute the implant to a specific DPRK threat cluster.

Is this in your environment?See whether this family's indicators match your telemetry and which of your assets are exposed to the CVEs associated with it.
Check your exposure
MITRE ATT&CK

Techniques & procedures

28 distinct techniques documented for this family, organized by ATT&CK tactic.

Initial Access

2 techniques
T1189Drive-by CompromiseEvidence3

[The toolkit has] the ability to steal cookie sessions, credentials, redirect selected users, conduct drive-by download attacks, and hide evidence of the tampered page to a specific range of IPs to evade detection.

T1190Exploit Public-Facing ApplicationEvidence1

The partially reconstructed chain assumes exploitation of a vulnerability in the exposed Groupware login portal.

Execution

7 techniques
T1059Command and Scripting InterpreterEvidence1

“...deploy malware capable of command execution...”

T1059.004Unix ShellEvidence1

CurlRAT executes command lists via popen and supports reverse and interactive PTY shells; ted executes commands via popen.

T1106Native APIEvidence1

The implants use pthread_create/pthread_detach and HAProxy internal allocation and task-scheduling APIs.

T1204.002Malicious FileEvidence1

“The campaign uses social engineering and malicious files to establish access and deploy malware...”

T1559Inter-Process CommunicationEvidence1

The malware then saves the command in a named pipe and removes traces of the request from HAProxy’s internal counters.

T1574.006Dynamic Linker HijackingEvidence1

The implant is loaded as a custom HAProxy shared-library filter at process start and persists across HAProxy restarts.

T1651Cloud Administration CommandEvidence1

“The ted backdoor ... [is] directly hooked into the balancer’s built-in HTTP parser. It can intercept and inject HTTP traffic” and “the balancer starts redirecting or serving malicious content to selected clients.”

Persistence

1 technique
T1505.003Web ShellEvidence2

Ted backdoor ... is a modified build of HAProxy 2.8.12 ... compiled into the legitimate load balancer.

Stealth

5 techniques
T1014RootkitEvidence1

The “ted backdoor” is compiled directly into HAProxy’s own source code as a custom plugin, using the software’s native filter API, internal memory management, and event scheduler to intercept HTTP traffic while completely legitimate load balancing keeps running normally.

T1027Obfuscated Files or InformationEvidence3

The targeting pattern, simple XOR-based encryption, a custom substitution cipher, and command-server infrastructure already linked to APT37 by other threat intelligence feeds all point toward North Korean state involvement.

T1036MasqueradingEvidence2

Their command-and-control domains imitate image delivery services, including one that resembles a popular Korean web platform's static-content naming style.

T1480Execution GuardrailsEvidence1

The stager deploys only when HAProxy or cron is present; CurlRAT validates a victim token; ted uses scanner/IP and operator-key filtering.

T1574.006Dynamic Linker HijackingEvidence1

The implant is loaded as a custom HAProxy shared-library filter at process start and persists across HAProxy restarts.

Defense Impairment

2 techniques
T1685Disable or Modify ToolsEvidence2

“Its code also reduces HAProxy connection counters to make activity harder to spot.”

T1685.005Clear Windows Event LogsEvidence1

The malware then saves the command in a named pipe and removes traces of the request from HAProxy’s internal counters. It also clears the forwarding buffers, so the request never reaches the backend server.

Credential Access

3 techniques
T1040Network SniffingEvidence1

The ted backdoor is compiled into HAProxy and uses its built-in features to inspect decrypted web requests while normal traffic continues to flow.

T1056.003Web Portal CaptureEvidence1

Beyond remote command execution, the backdoor can quietly inject malicious scripts or entirely swap out page content for specific victims matched by IP address, browser fingerprint, or even a hidden authentication credential smuggled inside the Accept-Language header.

T1539Steal Web Session CookieEvidence5

ted backdoor and curlRAT were designed to persist during long-term espionage operations with the ability to steal cookie sessions, credentials, redirect selected users, conduct drive-by download attacks.

Discovery

2 techniques
T1040Network SniffingEvidence1

The ted backdoor is compiled into HAProxy and uses its built-in features to inspect decrypted web requests while normal traffic continues to flow.

T1082System Information DiscoveryEvidence1

“...deploy malware capable of command execution, system reconnaissance, and data theft.”

Collection

4 techniques
T1005Data from Local SystemEvidence1

“...deploy malware capable of command execution, system reconnaissance, and data theft.”

T1056.003Web Portal CaptureEvidence1

Beyond remote command execution, the backdoor can quietly inject malicious scripts or entirely swap out page content for specific victims matched by IP address, browser fingerprint, or even a hidden authentication credential smuggled inside the Accept-Language header.

T1119Automated CollectionEvidence1

The passive capture function records matching HTTP requests, including source IP, Host, Referer, User-Agent, and optional operator-controlled fields.

T1185Browser Session HijackingEvidence1

ted replaces or appends decrypted payload scripts to selected HTTP responses through HAProxy body-filter callbacks.

Command and Control

3 techniques
T1071.001Web ProtocolsEvidence4

The attackers send a request for a fake image at /favorite_list_2x_m500_ico.jpg. This switches the HAProxy filter into command-and-control mode.

T1132.001Standard EncodingEvidence1

CurlRAT Base64-encodes feedback-XOR-encrypted C2 payloads; ted uses rolling XOR for pipe-protocol data.

T1572Protocol TunnelingEvidence1

An interactive shell is tunneled through the HAProxy HTTP pipeline using named FIFOs, with responses sent over the raw socket.

Exfiltration

1 technique
T1041Exfiltration Over C2 ChannelEvidence2

“The backdoor establishes C&C communication for data exfiltration, script injection, and command execution.”

Impact

1 technique
T1565.002Transmitted Data ManipulationEvidence1

“[The implant can] inject a malicious script into pages served to chosen visitors.”

Indicators of compromise

Observables

25 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.

View all in app →
Indicator values are available in Mallory. Pivot on every hash, domain, URL, and IP, or pipe them straight into your SIEM.View all in Mallory
Activity feed

Recent activity

6 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.

View more in app →
security affairsNews · Sep 8, 2026North Korea-linked Hackers Hide a Backdoor Inside HAProxyA deeply integrated HAProxy backdoor compiled into the load balancer as a custom filter. It activates C2 via requests for a fake image path, suppresses evidence from HAProxy counters and backend/application logs, executes remote commands, and can inject or replace web content for selectively targeted visitors. It supports credential and cookie-session theft, redirects, drive-by-download activity, and long-term surveillance.Read more ↗security weekNews · Sep 7, 2026North Korean Hackers Deploy New Linux Espionage Toolkit - SecurityWeekA custom HAProxy-resident backdoor that intercepts and injects HTTP traffic, executes C2 tasks and remote commands, exfiltrates data, supports persistence, steals cookie sessions and credentials, redirects selected users, and conceals tampered content from specified IP ranges.Read more ↗gurucul threat researchNews · Sep 7, 2026DPRK APTs: Ted backdoor and curlRAT target South Korean media and automotive sectors | Community Portal | GuruculCustom backdoor used in a DPRK-linked espionage campaign; it is deployed through social engineering and malicious files to establish access and supports command execution, system reconnaissance, and data theft.Read more ↗cyber security newsNews · Sep 7, 2026DPRK-Linked Hackers Deploy Ted Backdoor and CurlRAT Against South Korean FirmsA Linux/HAProxy implant embedded in a modified HAProxy 2.8.12 load balancer. It inspects decrypted web requests, steals session cookies and selected request data, executes commands, transfers files, and selectively injects malicious scripts into served pages. It uses an image-like request path for its covert command channel and manipulates HAProxy connection counters to reduce visibility.Read more ↗
+2 more in the timeline. Sign up to see them
Is this in your environment?See whether this family's indicators match your telemetry and which of your assets are exposed to the CVEs associated with it.
Check your exposure
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets match these IOCs, which detections are missing, which campaigns to expect next, and what to do in the next 30 minutes.
IOC matching25Match every observed IP, domain, and hash against your live telemetry.
Associated threat actorsGroups linked to this family, with evidence pinned to each claim.
Associated vulnerabilitiesCVEs linked to this family, with the reporting behind each link.
Detection signaturesYARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
MITRE ATT&CK mapping28Every documented technique, ranked by evidence weight.
Researcher chatterReddit, Mastodon, and CTI community discussion around this family.