AI Security AI安全 2h ago Updated 57m ago 更新于 57分钟前 41

North Korean Hackers Deploy New Linux Espionage Toolkit 朝鲜黑客部署新型Linux间谍工具包

North Korea-aligned threat actors deployed a sophisticated Linux toolkit called "ted backdoor" targeting automotive and media organizations in South Korea, as reported by Rapid7 The framework is deeply integrated into HAProxy version 2.8.12, using its native filter API, memory pools, and event scheduler to intercept and manipulate HTTP traffic while maintaining operational legitimacy The toolkit includes trojanized system utilities (agetty, crond, polkitd, sshd), a curl-based RAT, and an SSH key 朝鲜关联威胁行为者使用新型Linux工具包攻击韩国汽车和媒体组织,包含"ted backdoor"和多个篡改系统工具 ted backdoor深度集成于HAProxy 2.8.12,利用其原生API、内存池和事件调度器实现流量拦截和持久化潜伏 攻击链包括Groupware漏洞初始访问、SSH密钥记录器凭证收集、curl-based RAT(每12小时轮询C&C)和交互式PTY shell部署 工具包支持Cookie会话窃取、凭证盗取、定向用户重定向、drive-by下载攻击,并能针对特定IP范围隐藏篡改证据 攻击手法与APT37和Lazarus的watering-hole技术一致,时间线与Op

65
Hot 热度
60
Quality 质量
50
Impact 影响力

Analysis 深度分析

TL;DR

  • North Korea-aligned threat actors deployed a sophisticated Linux toolkit called "ted backdoor" targeting automotive and media organizations in South Korea, as reported by Rapid7
  • The framework is deeply integrated into HAProxy version 2.8.12, using its native filter API, memory pools, and event scheduler to intercept and manipulate HTTP traffic while maintaining operational legitimacy
  • The toolkit includes trojanized system utilities (agetty, crond, polkitd, sshd), a curl-based RAT, and an SSH keylogger, enabling remote command execution, credential harvesting, and persistent surveillance
  • Initial access was achieved through a Groupware login portal vulnerability, with the SSH keylogger serving as a staging server for lateral movement into internal networks
  • Attack artifacts and infrastructure suggest links to APT37 and Lazarus groups, with techniques overlapping Operation SyncHole from the previous year

Why It Matters

This campaign demonstrates a sophisticated evolution in supply-chain-adjacent attack methodologies, where threat actors compromise widely-used infrastructure components like HAProxy to establish persistent, long-term surveillance capabilities. The use of legitimate load balancer internals for malicious purposes represents a significant advancement in evasion techniques that could affect organizations relying on similar proxy infrastructure globally.

Technical Details

  • ted backdoor: A custom HAProxy plugin compiled directly into HAProxy version 2.8.12 source code, hooked into the built-in HTTP parser to intercept, inject, and manipulate HTTP traffic while hiding from monitoring systems
  • CurlRAT: A curl-based remote access trojan that polls C2 servers every 12 hours, capable of decrypting and executing stored commands, deploying interactive PTY shells, and writing new configuration payloads to disk
  • Trojanized utilities: Modified versions of standard Linux tools including agetty, atd, crond, polkitd, and sshd, with the stager checking for crond or HAProxy presence before deployment
  • Evasion techniques: Used low-cost commodity TLDs, blended payload delivery with normal web browsing traffic, mimicked Naver's pstatic.net static content domain, and hid tampered page evidence from specific IP ranges
  • Attack chain: Groupware portal exploitation → SSH keylogger deployment → credential harvesting → lateral movement → ted backdoor and CurlRAT installation on HAProxy load balancer

Industry Insight

  • Organizations running HAProxy should immediately audit their installations for version 2.8.12 and verify binary integrity against official sources, as this represents a novel attack vector through legitimate infrastructure components
  • Security teams should implement strict monitoring of HTTP traffic patterns on load balancers and establish baseline behavioral profiles to detect anomalous traffic interception or injection activities
  • The overlap with known North Korean APT groups suggests continued targeting of South Korean critical infrastructure sectors, warranting enhanced threat intelligence sharing and proactive defensive measures across the automotive and media industries

TL;DR

  • 朝鲜关联威胁行为者使用新型Linux工具包攻击韩国汽车和媒体组织,包含"ted backdoor"和多个篡改系统工具
  • ted backdoor深度集成于HAProxy 2.8.12,利用其原生API、内存池和事件调度器实现流量拦截和持久化潜伏
  • 攻击链包括Groupware漏洞初始访问、SSH密钥记录器凭证收集、curl-based RAT(每12小时轮询C&C)和交互式PTY shell部署
  • 工具包支持Cookie会话窃取、凭证盗取、定向用户重定向、drive-by下载攻击,并能针对特定IP范围隐藏篡改证据
  • 攻击手法与APT37和Lazarus的watering-hole技术一致,时间线与Operation SyncHole重叠,指向朝鲜背景威胁组织

为什么值得看

本文揭示了朝鲜网络威胁组织在Linux基础设施层面的高级持久化技术,展示了如何通过篡改HAProxy负载均衡器实现深度隐蔽的长期监控。对安全从业者而言,这提供了针对关键基础设施供应链攻击的最新战术情报和防御参考。

技术解析

  • ted backdoor架构:作为自定义HAProxy插件编译进HAProxy 2.8.12源码,直接挂钩到负载均衡器的内置HTTP解析器,利用原生过滤器API、内部内存池、事件调度器和进程管理基础设施拦截流量并隐藏于正常负载均衡操作之下。

  • 多组件协同机制:stager检测目标环境中是否存在crond或HAProxy,仅当条件满足时部署CurlRAT(从数据段或边缘Web服务器获取),同时并行部署ted backdoor到HAProxy负载均衡器,形成双重持久化。

  • CurlRAT功能:基于curl的远程管理工具,每12小时轮询C&C服务器获取指令,可解密执行配置中存储的命令、解码并写入新配置载荷到磁盘,以及部署完整的交互式PTY shell。

  • 隐蔽与 evasion 技术:使用低成本通用TLD注册域名,将载荷交付流量混入正常网页浏览,模仿Naver的pstatic.net静态内容域名;针对特定IP范围隐藏篡改页面证据,实现选择性攻击。

  • 攻击链流程:通过Groupware登录门户漏洞获取边缘服务器初始访问→SSH密钥记录器(兼作staging服务器)收集凭证→横向移动到内部系统→ted backdoor建立C&C通信用于数据外泄、脚本注入和命令执行→负载均衡器开始向选定客户端重定向或提供恶意内容。

行业启示

  • 关键基础设施组件(如HAProxy负载均衡器)的供应链安全需加强,建议对生产环境运行的开源软件进行完整性校验和版本审计,防范编译级后门植入。
  • 针对Linux服务器的长期潜伏攻击呈现工具链专业化趋势,安全团队应建立针对系统工具(agetty、crond、sshd等)异常行为的检测基线,并监控HAProxy等中间件的内存和行为异常。
  • 朝鲜网络威胁组织持续演进其攻击手法,建议企业加强边缘服务器和Groupware系统的漏洞管理,实施网络流量异常检测,并对静态资源域名进行白名单管控。

Disclaimer: The above content is generated by AI and is for reference only. 免责声明:以上内容由 AI 生成,仅供参考。

Security 安全 Research 科学研究