Key Takeaways
- Tengu is a Mirai‑derived botnet that leverages a Linux device’s hardware watchdog to force a reboot when its main process is killed, giving its other persistence mechanisms another chance to relaunch.
- The malware uses Telnet credential brute‑force for initial access and supports 25 DDoS methods, a SOCKS5 proxy, shell command execution, system/network data collection, self‑updating, and delivery of ELF or APK payloads.
- Persistence techniques include a detached guardian process, fake systemd service, modified init/RC scripts, altered shell startup files, immutable file flags, and a (currently broken) cron‑based routine.
- Tengu overwrites common reboot/shutdown utilities with the string “ELFOOD” to hinder defender‑initiated restarts or power‑downs.
- Command‑and‑control (C2) communication occurs over TCP 9931 to 64[.]89.163.8; registration/heartbeat traffic is plaintext, while commands and updates are protected with a custom ChaCha20/Poly1305‑like authenticated encryption scheme.
- The bot can fetch additional payloads from an IPFS gateway hosted on the same server, validating them as ELF or APK before execution or installation.
- Nozomi Networks recommends disabling unnecessary administrative services (especially Telnet), changing default credentials, updating firmware, segmenting IoT networks, and auditing systemd/init scripts, shell startup files, and cron paths before returning a device to service.
- As of late July 2026, the exact scale, infection count, and real‑world impact of Tengu remain unknown; observed C2 and IPFS endpoints were not confirmed reachable, and URLhaus telemetry showed only general Mirai‑related hosting at the same IP address.
Overview of Tengu’s Discovery
Nozomi Networks Labs first observed the Tengu dropper reaching its honeypots via Telnet credential brute‑force attacks on July 27, 2026. The malware is a variant of the well‑known Mirai family but distinguishes itself through advanced self‑defense and persistence mechanisms. Researchers noted that most Mirai variants implement few, if any, of these capabilities, making Tengu a notable evolution in the threat landscape. The report deliberately focuses on Tengu’s functional abilities rather than its prevalence, as no specific vendor, device model, infection count, or confirmed real‑world DDoS victims were identified at the time of publication.
Persistence Mechanisms
Once installed, Tengu forks a detached guardian process that checks the principal malware binary every 60 seconds. If the main process is absent, the guardian relaunches the installed binary. To survive reboots, Tengu creates a fake systemd service, adds init and RC scripts, modifies shell startup files (e.g., .profile, .bashrc), and sets the immutable flag on its binary using chattr +i. Additionally, a cron‑based persistence routine exists, though Nozomi observed that its reference to /proc/self/exe appears unfinished or broken, suggesting it may not function reliably in the current sample.
Hardware Watchdog Abuse
A standout feature of Tengu is its exploitation of the device’s hardware watchdog timer. A background worker masquerades as the kernel thread [kworker/0:0], reopens the watchdog device if present, arms it with an approximate 30‑second timeout, and sends periodic keep‑alive signals only while the main malware process remains alive. Should defenders kill the main process, the watchdog stops receiving these signals, expires, and triggers a system reboot. After the reboot, Tengu’s other persistence mechanisms (guardian, fake systemd service, init scripts, etc.) get another opportunity to reinstall and relaunch the bot, effectively turning a defensive kill‑action into a revival vector.
Capabilities and Functionalities
Tengu is equipped with a broad arsenal: it supports for conducting distributed denial‑of‑service attacks, offering 25 distinct DDoS methods. Beyond flooding, the malware can run a SOCKS5 proxy, execute arbitrary shell commands, harvest system and network information, and update itself by retrieving additional ELF (Linux) or APK (Android) payloads from its C2 server. The binary includes architecture‑specific builds for i386, amd64, MIPS, ARM, PowerPC, and m68k, indicating a design intended to infect a wide range of embedded Linux devices and potentially Android‑based systems such as TV boxes.
C2 Communication and Encryption
The analyzed sample contacts a command‑and‑control server at IP 64[.]89.163.8 on TCP port 9931. Registration messages, heartbeat traffic, and command output are transmitted in plaintext, simplifying detection for network monitors that inspect unencrypted traffic. However, actual commands from the server and any subsequent updates are protected using a custom ChaCha20/Poly1305‑like authenticated encryption scheme, which aims to thwart casual inspection and tampering while preserving integrity and authenticity of the directives sent to the botnet.
Payload Delivery via IPFS
Tengu can query an InterPlanetary File System (IPFS) gateway hosted on the same C2 server to obtain a content identifier supplied by the attacker. Upon receipt, the malware validates the fetched object as either an ELF executable or an Android APK package. If validation passes, the payload is executed directly (for ELF) or installed (for APK) on the compromised host. Nozomi assessed that the APK pathway likely targets poorly secured Android TV boxes or similar IoT devices, although no confirmed Android victims were documented in the report.
Defensive Recommendations
To mitigate Tengu infection, defenders should begin by eliminating unnecessary exposure of administrative services—most critically Telnet—by disabling it or restricting it to trusted networks. Default credentials must be replaced with strong, unique passwords. Firmware updates should be applied promptly to close known vulnerabilities. Network segmentation helps isolate IoT devices from critical infrastructure, limiting lateral movement. Administrators are also advised to audit systemd unit files, init/RC scripts, shell startup files (e.g., ~/.profile, /etc/profile), and cron‑related directories for unauthorized entries, and to verify that critical binaries are not inadvertently marked immutable by malware. Re‑imaging or rebuilding a suspect device before returning it to service is a prudent final step.
Current Status and Unknowns
While URLhaus recorded 17 malware‑hosting URLs at the same IP address (64[.]89.163.8) beginning June 17, 2026—including shell scripts, ELF files tagged as Mirai, and an APK—none of the SHA‑256 hashes matched the sample hash published by Nozomi Networks, and URLhaus does not label those files as Tengu. Consequently, the telemetry only confirms general Mirai‑related hosting at that address. Neither Nozomi nor URLhaus has verified whether the C2 service on port 9931 or the IPFS gateway on port 8080 is reachable, nor if the configured C2 has issued any active commands. As of late July 2026, the true scale of Tengu’s deployment, its operational infrastructure status, and any linkage to specific threat actors remain uncertain, underscoring the need for continued monitoring and proactive hardening of Linux‑based IoT assets.

