Skip to content
StackPoint AI
HomeServicesProductsAboutContact
Sign inStart a project ↗
Loading articles page

Have a useful problem? Let’s engineer the system.

Bring us the workflow, product idea, or business problem you want to solve.

Start a conversation ↗
StackPoint AI

Applied AI and software engineering
for dependable business systems.

ExploreHomeServicesArticlesNews
CompanyPrivacyTermsAboutApproachProducts
ConnectContactEmail usstackpointai.com

© 2026 StackPoint AI Systems Inc. All rights reserved.

Back to top ↑
Article

Understanding the Tengu Botnet: A New Threat to Linux Devices

The Tengu botnet, a Mirai-derived malware, poses significant risks to Linux devices by employing advanced persistence techniques to survive removal attempts.

Back to articles
Understanding the Tengu Botnet: A New Threat to Linux Devices

Executive Summary

The Tengu botnet represents a significant evolution in IoT malware, derived from the notorious Mirai family. Discovered by Nozomi Networks Labs, Tengu employs sophisticated mechanisms to ensure its persistence on infected Linux devices, making it a formidable threat for organizations relying on these systems. This article delves into the technical intricacies of Tengu, its operational methods, and the essential steps for mitigation.

What Happened

Researchers at Nozomi Networks Labs identified Tengu through a machine-learning system designed to detect malware that does not conform to known signatures. The malware was first observed infiltrating honeypots via Telnet credential brute-force attacks. Unlike typical Mirai variants, Tengu incorporates advanced self-defense and persistence features, allowing it to reboot infected devices even after its main process is terminated.

Technical Root Cause

Tengu's architecture includes several innovative features that enhance its resilience against removal. Key characteristics include:

  • Reboot Mechanism: Tengu utilizes the Linux hardware watchdog to force a reboot of the infected device if its main process is killed. This mechanism allows it to re-establish its presence shortly after termination.
  • Persistence Techniques: The malware employs systemd and init.d to ensure it launches upon system startup. Additionally, it attempts to use cron for scheduled tasks, although this method is not fully effective.
  • Self-Defense Features: Tengu includes a hidden guardian process that checks every 60 seconds if the main malware process is active, restarting it if necessary. It also overwrites reboot and shutdown binaries, preventing administrators from easily powering down the infected system.

Exposure and Affected Environments

Tengu primarily targets Linux-based devices, including IoT systems and potentially poorly secured Android devices. Its ability to relay operator traffic, execute commands, and perform extensive reconnaissance makes it a versatile tool for cybercriminals. The malware's DDoS capabilities, which include 25 different methods, further amplify its threat level.

Organizations using Linux systems, particularly those with default credentials or inadequate security measures, are at heightened risk. The lack of publicly disclosed information regarding the number of infected devices complicates the assessment of the botnet's scale and impact.

Patch and Mitigation Playbook

To combat the Tengu botnet, organizations should implement a comprehensive security strategy that includes:

  • Apply Security Updates: Regularly update all software and firmware on Linux devices to patch vulnerabilities that Tengu may exploit.
  • Change Default Credentials: Replace factory-set usernames and passwords with strong, unique credentials to prevent unauthorized access.
  • Network Segmentation: Isolate IoT devices from critical network segments to limit the potential impact of a compromise.
  • Monitor for Unusual Activity: Employ monitoring tools to detect anomalous behavior on Linux-based and IoT devices, enabling early intervention.

Security Program Lessons Learned

The emergence of Tengu underscores several critical lessons for cybersecurity professionals:

  • Advanced Malware Capabilities: The sophistication of Tengu highlights the need for continuous monitoring and adaptation of security measures to counter evolving threats.
  • Importance of Threat Intelligence: Understanding the tactics, techniques, and procedures (TTPs) of emerging threats is essential for effective defense strategies.
  • Proactive Defense: Organizations must adopt a proactive approach to cybersecurity, focusing on prevention, detection, and response to mitigate risks associated with IoT devices.

“Most Mirai variants implement few, if any, of these self-defense capabilities.” - Nozomi Networks Labs

Sources

  • Help Net Security

The Tengu botnet, a Mirai-derived malware, poses significant risks to Linux devices by employing advanced persistence techniques to survive removal attempts.

was first observed infiltrating honeypots via Telnet credential brute-force attacks. Unlike typical Mirai variants, Tengu incorporates advanced self-defense and persistence features, allowing it to reboot infected devices even after its main process is terminated. Technical Root Cause Tengu's architecture includes several innovative features that enhance its resilience against removal. Key characteristics include: Reboot Mechanism: Tengu utilizes the Linux hardware watchdog to force a reboot of the infected device if its main process is killed. This mechanism allows it to re-establish its presence shortly after termination. Persistence Techniques: The malware employs

This report consolidates available public details and highlights where evidence is still limited, helping teams prioritize immediate defensive action while additional technical indicators are collected.

systemd and init.d to ensure it launches upon system startup. Additionally, it attempts to use cron for scheduled tasks, although this method is not fully effective. Self-Defense Features: Tengu includes a hidden guardian process that checks every 60 seconds if the main malware process is active, restarting it if necessary. It also overwrites reboot and shutdown binaries, preventing administrators from easily powering down the infected system. Exposure and Affected Environments Tengu primarily targets Linux-based devices, including IoT systems and potentially poorly secured Android devices. Its ability to relay operator traffic,

execute commands, and perform extensive reconnaissance makes it a versatile tool for cybercriminals. The malware's DDoS capabilities, which include 25 different methods, further amplify its threat level. Organizations using Linux systems, particularly those with default credentials or inadequate security measures, are at heightened risk. The lack of publicly disclosed information regarding the number of infected devices complicates the assessment of the botnet's scale and impact. Patch and Mitigation Playbook To combat the Tengu botnet, organizations should implement a comprehensive security strategy that includes: Apply Security Updates: Regularly update all software

Based on observed patterns in recent campaigns, the likely attacker objective is to establish durable access, exploit trust relationships, and later pivot toward higher-value systems. Where specific attribution or tooling data is absent, these details are not publicly disclosed and should be treated as unknown.

and firmware on Linux devices to patch vulnerabilities that Tengu may exploit. Change Default Credentials: Replace factory-set usernames and passwords with strong, unique credentials to prevent unauthorized access. Network Segmentation: Isolate IoT devices from critical network segments to limit the potential impact of a compromise. Monitor for Unusual Activity: Employ monitoring tools to detect anomalous behavior on Linux-based and IoT devices, enabling early intervention. Security Program Lessons Learned The emergence of Tengu underscores several critical lessons for cybersecurity professionals: Advanced Malware Capabilities: The sophistication of Tengu highlights the need for

continuous monitoring and adaptation of security measures to counter evolving threats. Importance of Threat Intelligence: Understanding the tactics, techniques, and procedures (TTPs) of emerging threats is essential for effective defense strategies. Proactive Defense: Organizations must adopt a proactive approach to cybersecurity, focusing on prevention, detection, and response to mitigate risks associated with IoT devices. “Most Mirai variants implement few, if any, of these self-defense capabilities.” - Nozomi Networks Labs Sources Help Net Security A new Mirai-derived IoT botnet can force an infected Linux device to reboot once its main process

is killed, giving its persistence mechanisms another opportunity to relaunch it, Nozomi Networks Labs has found. The malware, dubbed Tengu, was discovered by a machine-learning system the company uses to identify malware families that do not match known signatures. Researchers first observed the dropper reaching their honeypots through Telnet credential brute-force attacks. Tengu isn’t just another Mirai variant … More → The post Tengu botnet reboots Linux devices to survive removal appeared first on Help Net Security . relay an operator’s traffic through the infected device, delivery of new payloads,

Security engineering teams should validate exploitability across environments, map exposure by asset criticality, and confirm whether available telemetry can detect pre-compromise reconnaissance, exploitation attempts, and post-exploitation behavior.

collection of system and network details, and a wide set of denial-of-service functions covering several protocols. “It also includes multiple persistence and self-defense mechanisms designed to keep the malware running on compromised Linux-based devices and make recovery more difficult,” the researchers wrote. Tengu retains several Mirai characteristics , including plaintext registration messages and reused denial-of-service code. It also adds a SOCKS5 proxy, shell command execution, system and network reconnaissance, and the ability to download ELF binaries or Android This report consolidates available public details and highlights where evidence is still

Organizations with internet-facing systems, third-party integrations, or delayed patch cycles generally carry elevated risk. Internal segmentation gaps can increase blast radius if an attacker obtains initial foothold credentials.

Detection and Monitoring Priorities

  • Correlate authentication anomalies with unusual process execution and outbound traffic spikes.
  • Alert on privilege escalation events, lateral movement indicators, and unauthorized persistence changes.
  • Prioritize monitoring of externally exposed services and high-value identity providers.
  • Track integrity changes in scripts, scheduled tasks, startup items, and critical configuration files.
  • Hunt for command-and-control beaconing patterns and suspicious use of remote administration tools.

Detection coverage should be validated through tabletop simulation or controlled testing to ensure response teams receive actionable, high-confidence alerts quickly.

Mitigation Checklist

  • Patch affected services and validate version levels across all environments.
  • Restrict exposed management and service ports to trusted networks only.
  • Enable detailed logging and alerting for suspicious process or network activity.
  • Harden endpoint controls and isolate high-risk systems until remediation completes.
  • Conduct post-remediation validation and document residual risk.

Mitigations should be sequenced by risk: immediately reduce exposed attack surface, then remove persistence opportunities, and finally harden architecture to prevent recurrence.

Incident Response and Recovery Planning

  1. Establish a clear incident commander and communication cadence across security, IT, and leadership.
  2. Capture and preserve relevant logs and forensic artifacts before major containment changes.
  3. Contain compromised accounts and hosts, then execute structured eradication with validation checkpoints.
  4. Document lessons learned and implement control improvements with owner accountability and timelines.

Recovery should include business continuity planning, legal or regulatory assessment where required, and transparent stakeholder updates based on verified facts.

limited, helping teams prioritize immediate defensive action while additional technical indicators are collected. APKs through an IPFS gateway hosted on the same command-and-control (C2) server. Researchers believe the APK support targets poorly secured Android TV boxes and similar Android-based devices. The malware also includes 25 DDoS methods. Besides persistence through systemd and init.d, two Linux systems that automatically launch services when a device starts up, Tengu tries to use cron, the tool for scheduling recurring tasks, though Nozomi found this method doesn’t work as intended. The malware creates a hidden

guardian process that checks every 60 seconds whether the main malware process is still running and restarts it if necessary. Tengu also abuses the Linux hardware watchdog. A background process disguised as a kernel worker thread feeds the watchdog only while Tengu is running. If defenders terminate the main process, the watchdog is no longer refreshed and reboots the device after about 30 seconds, giving the malware another opportunity to restore itself. The malware overwrites reboot and shutdown binaries with the string ELFOOD, preventing administrators from restarting or powering down

Security leaders should align technical remediation with stakeholder communication, incident readiness, and continuous monitoring to reduce repeat exposure.

Related Reading

More articles

Texas Cyberattack: An In-Depth Analysis of the TCEQ IncidentA detailed examination of the recent cyberattack on the Texas Commission on Environmental Quality, its implications, and lessons learned.Mixpanel Security Breach: Understanding the Risks and ResponsesMixpanel has reported a security breach due to a vulnerability in third-party software, impacting customer data and raising concerns about cybersecurity practices.FBI Warns of Autonomous AI-Driven Cyber Attacks on Critical InfrastructureThe FBI has issued a warning about the use of autonomous AI frameworks by hackers targeting government and critical infrastructure organizations, emphasizing the need for heightened cybersecurity measures.
View more articles