AI Security AI安全 4h ago Updated 1h ago 更新于 1小时前 50

Tengu Botnet Reboots Compromised Linux Devices When Defenders Kill Its Process 当防御者终止其进程时,Tengu 僵尸网络会重启被入侵的 Linux 设备

Tengu is a new Mirai-derived botnet that uses hardware watchdogs to reboot compromised Linux devices when its main process is killed, enabling persistence through other mechanisms. It supports 25 DDoS methods, runs a SOCKS5 proxy, executes shell commands, collects system data, and updates itself with ELF or APK payloads. The malware employs multiple persistence techniques including fake systemd services, init scripts, shell startup modifications, and immutable binary flags. Communication with C2 Tengu是一种新型Mirai衍生僵尸网络,利用硬件看门狗机制在进程被杀时触发设备重启以维持持久化。 该恶意软件支持25种DDoS攻击方法、SOCKS5代理、命令执行及系统数据收集,并具备自我更新和多平台载荷加载能力。 Nozomi Networks Labs指出其自防御机制远超同类变种,但尚未确认实际感染规模或受害者。

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

Analysis 深度分析

TL;DR

  • Tengu is a new Mirai-derived botnet that uses hardware watchdogs to reboot compromised Linux devices when its main process is killed, enabling persistence through other mechanisms.
  • It supports 25 DDoS methods, runs a SOCKS5 proxy, executes shell commands, collects system data, and updates itself with ELF or APK payloads.
  • The malware employs multiple persistence techniques including fake systemd services, init scripts, shell startup modifications, and immutable binary flags.
  • Communication with C2 servers uses plaintext for registration/heartbeat but custom ChaCha20/Poly1305-like encryption for commands and updates.
  • Nozomi Networks Labs observed the botnet via Telnet credential brute force targeting honeypots, with no confirmed real-world victims or operator identified yet.

Why It Matters

This represents an evolution in IoT botnet sophistication by combining traditional Mirai-style exploitation with advanced self-defense mechanisms that actively thwart removal attempts. For security practitioners, it highlights the need for deeper inspection of device persistence layers beyond simple process termination and underscores the importance of securing administrative interfaces like Telnet against credential stuffing attacks. The use of hardware-level watchdog abuse demonstrates how attackers are leveraging low-level system features to create resilient malware that survives defensive actions.

Technical Details

  • Watchdog-based persistence: A background worker masquerading as [kworker/0:0] arms the hardware watchdog with ~30-second timeout and sends keepalive signals only while the main malware process runs; killing the process stops signal transmission triggering automatic reboot.
  • Guardian process: Forks a detached child process checking the main malware every 60 seconds and relaunching the binary if terminated.
  • System manipulation: Creates fake systemd services, modifies init/RC scripts, alters shell startup files, marks installed binaries immutable, and includes broken cron-based persistence referencing /proc/self/exe.
  • Defense disruption: Overwrites ELF headers of reboot/shutdown utilities with "ELFOOD" string to interfere with normal system administration commands.
  • C2 communication: Uses TCP port 9931 for command/control with plaintext registration/heartbeat but custom authenticated encryption (ChaCha20/Poly1305 variant) for sensitive operations; also fetches payloads from IPFS gateways on same server.
  • Multi-architecture support: Samples compiled for i386, amd64, MIPS, ARM, PowerPC, and m68k indicating broad IoT device targeting capability.
  • Payload flexibility: Can retrieve and execute additional ELF binaries or Android APK packages from C2-controlled sources.

Industry Insight

Security teams should prioritize hardening IoT devices by disabling unnecessary remote access protocols (especially Telnet), enforcing strong unique credentials, implementing network segmentation to contain potential outbreaks, and establishing regular firmware update schedules. Monitoring systems should detect abnormal watchdog activity and unexpected process restart patterns as indicators of sophisticated botnet presence. Organizations must develop incident response procedures specifically designed to handle malware with self-recovery capabilities, recognizing that standard containment measures may be insufficient against such persistent threats. The emergence of hybrid attack vectors combining traditional exploitation with novel persistence techniques suggests continued evolution of IoT botnets requiring proactive threat intelligence sharing across security communities.

TL;DR

  • Tengu是一种新型Mirai衍生僵尸网络,利用硬件看门狗机制在进程被杀时触发设备重启以维持持久化。
  • 该恶意软件支持25种DDoS攻击方法、SOCKS5代理、命令执行及系统数据收集,并具备自我更新和多平台载荷加载能力。
  • Nozomi Networks Labs指出其自防御机制远超同类变种,但尚未确认实际感染规模或受害者。

为什么值得看

本文揭示了一种具有高级持久化和反检测能力的新型IoT僵尸网络,对网络安全从业者理解现代恶意软件的生存策略与防御挑战具有重要参考价值。同时,其针对Android TV等设备的潜在威胁提示了嵌入式系统安全的新风险点。

技术解析

  • 双轨持久化机制:Tengu通过守护进程每60秒检查主进程状态并在终止后重启,同时滥用硬件看门狗——伪装为[kworker/0:0]的后台线程仅在进程存活时发送心跳信号,一旦进程被杀即触发设备重启,从而绕过常规进程清除手段。
  • 多架构兼容性:提供i386、amd64、MIPS、ARM、PowerPC和m68k等多个CPU架构版本,表明其设计目标是广泛适配各类嵌入式Linux设备。
  • C2通信与载荷分发:采用TCP 9931端口进行明文注册与心跳传输,但使用自定义ChaCha20/Poly1305加密方案保护指令与更新;另可从同一IP的IPFS网关获取并验证ELF/APK载荷,实现动态扩展功能。
  • 破坏性干扰行为:硬编码列出重启/关机工具列表,将其ELF头部覆盖为“ELFOOD”,导致管理员无法正常使用这些系统命令关闭或恢复受控设备。
  • 隐蔽性与残留控制:创建虚假systemd服务、修改init脚本、设置shell启动文件、标记二进制不可变,并尝试cron定时任务(虽引用/proc/self/exe可能未完整实现),形成多层次隐藏链。

行业启示

  • 强化边缘设备访问控制:应立即禁用Telnet等非必要远程管理接口,强制更改默认凭证,并从网络层面隔离IoT设备以减少暴露面。
  • 构建主动式端点响应体系:鉴于Tengu能利用硬件级机制对抗进程终止,传统杀软式防护失效,需引入基于行为异常的检测与自动修复机制,如监控看门狗调用频率、文件系统完整性变更等。
  • 关注新兴协议滥用风险:IPFS作为去中心化存储正被用于恶意载荷分发,安全团队应加强对非标准协议通道的审计与过滤策略,尤其警惕结合区块链技术的隐蔽C2架构演进。

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

Security 安全