Skip to content
NewA calmer, faster ZeroHour
Threat actormediumExploited in the wild

North Korea-linked Hackers Hide a Backdoor Inside HAProxy

Security Affairsby Pierluigi Paganini ()5 min read3 · 1 read
AI summary · glm-5.3-flashSummaries by Vani AI

Rapid7 reports North Korea-linked hackers implanted a backdoor compiled into HAProxy at South Korean automotive and media firms, enabling covert C2 and credential theft.

Rapid7 documented a previously undocumented Linux toolkit hitting South Korean automotive and media organizations, centered on a backdoor compiled directly into victims' HAProxy 2.8.12. The 'ted backdoor' uses HAProxy's native filter API to intercept HTTP traffic, receive C2 commands hidden in requests to a fake image path, and erase all traces from logs and counters; the toolkit also trojanizes crond, agetty, atd, sshd, and polkitd, adds an SSH keylogger, and runs curlRAT with virtualization checks. It can inject scripts or replace page content for selected victims, turning the load balancer into a watering hole. Attribution sits at medium confidence toward North Korean state actors, with overlaps to APT37-linked infrastructure and a concurrent Lazarus campaign; the campaign's command domains have since gone dark.

Key facts
  • Ted backdoor compiled into victims' HAProxy 2.8.12 using its filter API, memory pools, and scheduler; balancing continues normally.
  • C2 arrives via requests for fake image /favorite_list_2x_m500_ico.jpg; commands stored in a named pipe and logs scrubbed.
  • Toolkit trojanizes crond, agetty, atd, sshd, and polkitd, including an SSH keylogger and anti-VM curlRAT beaconing.
  • Can inject scripts or swap pages per victim IP, fingerprint, or hidden Accept-Language credential, creating watering-hole attacks.
  • Medium-confidence North Korean attribution; infrastructure overlaps APT37 indicators and shares traits with a Lazarus campaign.
Analyze this story with Vani AIImpact, who is affected and what defenders should do, in a new chat

From the original article

5 min read at securityaffairs.com

North Korea-linked hackers hid a backdoor inside HAProxy, masking C2 traffic and stealing data while keeping the load balancer working normally. North Korean-linked hackers found a genuinely clever hiding spot for their malware: inside the actual source code of HAProxy, the load balancing software running at the edge of two South Korean companies’ networks. Rapid7’s […]

Security Affairs

By Pierluigi Paganini · securityaffairs.com

Read the full article at Security Affairs

A short excerpt; the article and its images belong to the publisher. Summary, key facts and assessment above are AI-written from the article and can be wrong.