Skip to main content
Mallory
Malware3 associated actors

ted

Tracked since Sep 4, 2026 · Updated 10 days ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 daysNo mention activity in the last 30 days.
Vulns0Associated
Actors3Associated
ATT&CK16Techniques
IOCs1Tracked
Type
Backdoor
Capabilities
Session hijackingExfiltrationPersistencePost exploitationDefense evasion
Delivery
Watering holeDrive by
Platforms
Linux

Ted is a Linux backdoor embedded in trojanized HAProxy load-balancer binaries, observed at two South Korean organizations in the media and automotive sectors. Identified samples incorporated a malicious C plugin directly into a version-matched rebuild of HAProxy 2.8.12, using its documented filter API while preserving normal load-balancing functionality. Deployment requires prior host compromise and replacement of the legitimate executable; Ted does not exploit an HAProxy vulnerability, and its initial installation vector remains unconfirmed.

Ted accesses decrypted HTTP traffic after TLS termination, records selected request information, and can capture session cookies. It selectively replaces web responses and injects scripts according to operator-configured request attributes and client-address rules. Its concealed command channel supports shell-command execution, bidirectional file transfer, beaconing, and configuration updates. Specially crafted HTTP requests are intercepted before reaching backend servers, and command responses are written directly to the client socket outside HAProxy's normal response-logging path. Ted also adjusts internal connection, request, and traffic counters to conceal command activity and preserves its command channel across HAProxy reloads and restarts.

The associated espionage operation also deployed curlRAT and trojanized Linux services, including an SSH daemon that captured passwords; these are distinct components rather than capabilities established for every Ted sample. At least one Ted sample incorporated curlRAT routines. A specific responsible threat group has not been conclusively identified.

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
Threat actors

Associated threat actors

3 distinct threat actors Mallory has associated with this family across public reporting. Open in Mallory to see the full evidence chain and overlapping campaigns.

View more details →
APT37

In this case, the group behind the attacks compromised popular open source load balancer software, known as HAProxy, to install a hard-to-detect Linux toolkit (dubbed "TED") and gain complete access to incoming and outgoing traffic.

via dark readingdarkreading.com
Kimsuky

Главной находкой исследователи считают бэкдор Ted, встроенный в модифицированную сборку балансировщика HAProxy.

via xakepxakep.ru
Lazarus

Главной находкой исследователи считают бэкдор Ted, встроенный в модифицированную сборку балансировщика HAProxy.

via xakepxakep.ru
MITRE ATT&CK

Techniques & procedures

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

Initial Access

1 technique
T1189Drive-by CompromiseEvidence1

Ted проверял User-Agent, URL, Referer и IP-адрес клиента... это позволяло использовать скомпрометированный сервер для атак типа watering hole: незаметно подменять страницы для отдельных целей.

Execution

2 techniques
T1059.004Unix ShellEvidence2

Через этот канал операторы малвари могли выполнять шелл-команды... CurlRAT способен выполнять команды... и запускать интерактивный PTY-shell.

T1559Inter-Process CommunicationEvidence1

It writes the command body to a named pipe under /tmp. Zeroing the request channel afterwards leaves nothing to forward, and the command terminates at the load balancer.

Persistence

2 techniques
T1505Server Software ComponentEvidence1

The plugin is compiled directly alongside the rest of the HAProxy source. It registers itself by copying HAProxy's own trace_ops structure into a structure called my_filter_ops with its methods replaced, hooking the built-in HTTP parser through the vendor's documented filter API.

T1554Compromise Host Software BinaryEvidence3

So the accurate description is a version-matched rebuild substituted for the legitimate binary, not a supply-chain compromise of the victim's own compilation process.

Stealth

4 techniques
T1070Indicator RemovalEvidence1

“Command-and-control (C2) requests are erased from HAProxy's connection counters, leaving no trace in backend logs or load balancer statistics.”

T1070.003Clear Command HistoryEvidence1

It then strips the keywords tmp, wget, cron and crond from root's bash history.

T1070.006TimestompEvidence1

It overwrites the legitimate crond binary and gives the replacement the creation timestamp of /usr/bin/ssh.

T1564Hide ArtifactsEvidence1

Бэкдор уменьшает счетчики активных соединений в HAProxy и перехватывает запрос прямо на уровне балансировщика. В результате команда не попадает на бэкенд, в логи и в статистику самого HAProxy.

Defense Impairment

1 technique
T1685.006Clear Linux or Mac System LogsEvidence1

It then strips the keywords tmp, wget, cron and crond from root's bash history and from six system logs, among them auth.log and audit/audit.log.

Credential Access

3 techniques
T1040Network SniffingEvidence2

It is possible for the implant to observe HTTP traffic while the server is performing normal load-balancing activities. It is possible to monitor high-value web requests, capture session cookies, and identify certain clients for traffic manipulation using the backdoor.

T1056Input CaptureEvidence2

“The toolkit also includes a trojanized SSH daemon for capturing passwords.”

T1539Steal Web Session CookieEvidence1

It is possible to monitor high-value web requests, capture session cookies, and identify certain clients for traffic manipulation using the backdoor.

Discovery

1 technique
T1040Network SniffingEvidence2

It is possible for the implant to observe HTTP traffic while the server is performing normal load-balancing activities. It is possible to monitor high-value web requests, capture session cookies, and identify certain clients for traffic manipulation using the backdoor.

Collection

1 technique
T1056Input CaptureEvidence2

“The toolkit also includes a trojanized SSH daemon for capturing passwords.”

Command and Control

2 techniques
T1071.001Web ProtocolsEvidence4

Специальный HTTP-запрос переводит Ted в режим C&C... Ответ возвращается через обычное соединение под видом стандартного HTTP/1.0 200 OK. CurlRAT по умолчанию опрашивает управляющий сервер каждые 12 часов.

T1105Ingress Tool TransferEvidence2

Через этот канал операторы малвари могли ... загружать и скачивать файлы.

Impact

1 technique
T1565.002Transmitted Data ManipulationEvidence1

It intercepted web traffic and served altered pages to selected visitors... The implant rewrites the content type and length on the way out, forces the response status to 200, and deletes the Accept-Ranges header.

Indicators of compromise

Observables

1 indicator 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

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

View more in app →
alpha cyber blogNews · Sep 28, 2026Ted Backdoor: A Trojanised HAProxy That Edits Its Own Stats | Alpha CyberLinux espionage backdoor implemented as a version-matched, trojanised HAProxy binary with a compiled-in plugin. It inspects decrypted HTTP traffic, selectively records request information, and rewrites responses to deliver payloads to selected visitors. Other family samples support cookie capture. It provides command execution, file transfers and configuration updates, while hiding command traffic by suppressing backend forwarding, bypassing HAProxy logging and decrementing ten statistics counters. Its command channel survives HAProxy reloads and restarts. At least one sample embeds curlRAT. Initial access is unknown; the report does not establish a victim build-pipeline compromise. Attribution is limited to a medium-confidence DPRK-linked assessment, without an established named group.Read more ↗dark readingNews · Sep 16, 2026Cyber Op Targets South Korean Media & Automotive SectorsLinux espionage implant embedded into HAProxy load balancers at South Korean media and automotive firms. It accesses decrypted traffic through HAProxy's filter API, enabling credential harvesting, selective traffic redirection, and drive-by downloads. It conceals activity by scrubbing counters and bypassing HAProxy logging through direct raw TCP socket responses. Some compromises persisted since early 2025. Rapid7 attributed the campaign to likely North Korean operators with medium confidence, citing targeting, obfuscation, and C2 infrastructure overlapping with APT37; the initial access method remains unknown.Read more ↗xakepNews · Sep 9, 2026В Южной Корее обнаружили бэкдор Ted, который скрывается в HAProxy - ХакерLinux-бэкдор, внедренный в пересобранный HAProxy. Активируется специальным HTTP-запросом и скрытно перехватывает C2-команды на уровне балансировщика, не направляя их в бэкенд, журналы или статистику HAProxy. Позволяет выполнять shell-команды, передавать файлы, менять конфигурацию и выборочно внедрять скрипты в веб-страницы для watering-hole, кражи сессий и учетных данных либо drive-by-атак.Read more ↗cysecurity newsNews · Sep 6, 2026Malicious Ted Backdoor Conceals Itself Inside HAProxy Builds for Traffic Monitoring - CySecurity News - Latest Information Security and Hacking IncidentsA Linux HAProxy implant/backdoor bundled with HAProxy 2.8.12. It abuses HAProxy internals—including its filter API, memory pools, event scheduler, and process management—to blend into legitimate load-balancer operation. It monitors selected HTTP traffic, captures session cookies, injects malicious scripts into responses, and receives concealed C2 commands through specially crafted image-path requests without forwarding them to backend servers or normal HAProxy connection accounting.Read more ↗
+3 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 matching1Match every observed IP, domain, and hash against your live telemetry.
Associated threat actors3Groups 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 mapping16Every documented technique, ranked by evidence weight.
Researcher chatterReddit, Mastodon, and CTI community discussion around this family.