AI Security AI安全 8h ago Updated 3h ago 更新于 3小时前 46

China-Linked Fire Ant Hijacks Cisco Routers to Steal Credentials and Blind Security Logs 中国关联Fire Ant组织劫持思科路由器窃取凭证并屏蔽安全日志

China-linked Fire Ant espionage group expanded its campaign from VMware hypervisors to compromise Cisco IOS XR routers, TACACS servers, and Linux management hosts The group deployed purpose-built router malware that suppressed security logs by filtering for the string "Health" and hid tunnel configurations using command-execution path manipulation A novel credential-harvesting tool called TacTap used library injection into tac_plus authentication processes, with credentials obfuscated via single 中国关联网络间谍组织Fire Ant将攻击范围从VMware超融合平台扩展至Cisco IOS XR路由器、TACACS认证服务器及Linux管理主机 攻击者利用 compromised 路由器作为流量收集平台,窃取网络凭证并系统性抑制安全日志与遥测数据 发现新型TACACS凭证窃取工具TacTap,采用未公开披露的tac_plus库注入技术,凭证经0xEF XOR轻混淆存储 发现新型Linux后门BridgeAgent,伪装为Zabbix监控代理,以root权限持久化并通过TLS 443端口建立C2通道 攻击者在Linux主机上部署Medusa/REPTILE rootkit、自定义SSH后

68
Hot 热度
72
Quality 质量
58
Impact 影响力

Analysis 深度分析

TL;DR

  • China-linked Fire Ant espionage group expanded its campaign from VMware hypervisors to compromise Cisco IOS XR routers, TACACS servers, and Linux management hosts
  • The group deployed purpose-built router malware that suppressed security logs by filtering for the string "Health" and hid tunnel configurations using command-execution path manipulation
  • A novel credential-harvesting tool called TacTap used library injection into tac_plus authentication processes, with credentials obfuscated via single-byte XOR (key 0xEF)
  • A second new implant, BridgeAgent, masqueraded as a Zabbix monitoring agent while running as root and communicating over TLS on port 443
  • The actor built a durable access layer using Medusa and REPTILE rootkits, custom SSH backdoors, and binaries impersonating SentinelOne and Cybereason endpoint protection agents

Why It Matters

This campaign demonstrates how threat actors are increasingly targeting network infrastructure devices—routers and authentication servers—as high-value collection platforms rather than stopping at endpoint compromise. For AI and security practitioners, it underscores the critical need to treat network edge devices and management infrastructure as first-class forensic assets, since controlling routers provides both reach into connected networks and visibility into all traffic traversing trusted paths.

Technical Details

  • Router Malware (Cisco IOS XR): Purpose-built for the IOS XR control plane, not generic Linux. One component embedded a modified system library that inspected outgoing log messages for the string "Health" and forwarded them only when present, effectively blinding defenders. Another component altered the command-execution path to automatically append an | exclude filter to show commands, hiding the attacker's GRE tunnel configuration from administrators.
  • TacTap Credential Harvesting: An injector named acppid loaded a malicious library (/lib/libseconfd.so) into the running tac_plus authentication process. The library hooked connection-acceptance functions and passed live session handles to a second process over a local Unix socket. Captured credentials were written to /var/log/.tacplus.acct and obfuscated with a single-byte XOR key of 0xEF. Sygnia noted this specific tac_plus library-injection technique had not been publicly described before.
  • BridgeAgent Linux Backdoor: Deployed on a tunnel-connected legacy Linux host, this implant persisted via a zabbix_agent.service systemd unit running as root. It disguised its process as /usr/bin/gnome-shell, stored encrypted configuration at /opt/.ICEauthority, and polled attacker infrastructure over TLS on port 443 for commands and reverse-shell instructions.
  • Durable Access Layer: Across Linux management hosts, Fire Ant deployed the open-source Medusa and REPTILE rootkits, custom SSH backdoors, and binaries renamed and timestamped to impersonate SentinelOne and Cybereason endpoint security agents. At least one backdoor maintained memory residency after its disk files were deleted, with components planted in 2025 and reused for 2026 operations.
  • Anti-Forensics: The actor suppressed router logs, SNMP traps, and authentication requests; disabled SELinux on Linux hosts; rewrote login-history records; and removed privileged command entries from system logs. Packet captures (PCAPs) were exfiltrated via external FTP servers, one of which was installed on the same day as the uploads.

Industry Insight

  • Network infrastructure devices (routers, TACACS servers, hypervisors) must be prioritized in threat hunting and incident response playbooks; they should be treated as equal forensic assets alongside endpoints and servers, with log validation spanning memory, disk, network, authentication, and configuration evidence rather than relying on any single telemetry source.
  • The evolution of Fire Ant's tradecraft—particularly the novel tac_plus library injection and the use of legitimate monitoring agent identities for C2—suggests state-sponsored actors are continuously refining their persistence and credential-theft techniques; defenders should monitor for anomalous systemd services, unexpected library injections into authentication daemons, and process name impersonation of security tools.
  • The overlap with UNC3886 reporting but lack of conclusive attribution highlights the importance of maintaining independent threat intelligence analysis; organizations should assess their Cisco IOS XR, VMware, and TACACS infrastructure against the published IoCs regardless of attribution certainty, and consider network segmentation that limits router compromise from cascading into high-value environment access.

TL;DR

  • 中国关联网络间谍组织Fire Ant将攻击范围从VMware超融合平台扩展至Cisco IOS XR路由器、TACACS认证服务器及Linux管理主机
  • 攻击者利用 compromised 路由器作为流量收集平台,窃取网络凭证并系统性抑制安全日志与遥测数据
  • 发现新型TACACS凭证窃取工具TacTap,采用未公开披露的tac_plus库注入技术,凭证经0xEF XOR轻混淆存储
  • 发现新型Linux后门BridgeAgent,伪装为Zabbix监控代理,以root权限持久化并通过TLS 443端口建立C2通道
  • 攻击者在Linux主机上部署Medusa/REPTILE rootkit、自定义SSH后门及伪装成终端安全代理的二进制文件,部分后门在文件删除后仍驻留内存

为什么值得看

本文揭示了国家级APT组织对网络基础设施层的深度渗透能力,展示了攻击者如何将路由器从"传输设备"转化为"情报收集平台",对网络安全架构设计提出根本性挑战。

技术解析

  • Cisco IOS XR路由器恶意软件:针对控制平面定制,嵌入修改版系统库过滤出站日志(仅转发含"Health"字符串的消息),并篡改命令执行路径在show命令中自动附加| exclude过滤器,使管理员无法看到隧道配置。
  • TacTap凭证窃取工具:通过acppid注入器将恶意库/lib/libseconfd.so加载至运行中的tac_plus进程,挂钩新连接接受函数,将实时会话句柄通过Unix socket传递至第二进程,凭证写入/var/log/.tacplus.acct并以0xEF XOR密钥轻混淆。
  • BridgeAgent后门:以zabbix_agent.service systemd单元持久化,进程伪装为/usr/bin/gnome-shell,加密配置存储于/opt/.ICEauthority,通过TLS 443端口轮询C2基础设施获取命令和反向shell指令。
  • 多层持久化机制:在Linux管理主机上构建由Medusa和REPTILE开源rootkit、自定义SSH后门组成的访问层,部分二进制文件重命名并篡改时间戳以模仿SentinelOne和Cybereason终端安全代理,至少一个后门在磁盘文件删除后仍保持内存驻留。
  • 日志抑制与证据破坏:系统性压制路由器日志、SNMP陷阱和认证请求,禁用Linux主机SELinux,重写login-history记录,删除系统日志中的特权命令条目,严重阻碍攻击重建。

行业启示

  • 网络基础设施(路由器、TACACS服务器、跳板主机)应被提升为"一等公民"的取证资产,安全团队需建立跨内存、磁盘、网络、认证和配置的多源日志验证机制,而非依赖单一遥测数据源。
  • 攻击者正从终端和应用层向网络边缘和认证基础设施迁移,组织需重新评估网络设备的信任边界,强化对控制平面的完整性监控和异常配置检测能力。
  • 建议对关键网络设备实施运行时行为基线监控,特别关注GRE隧道等封装协议的异常创建、日志过滤行为及命令输出的隐藏模式,同时建立对tac_plus等认证守护进程的库注入检测能力。

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

Security 安全 Research 科学研究