Skip to main content
Mallory
Malware

Tengu

Tracked since Mar 4, 2026 · Updated 1 month ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 daysNo mention activity in the last 30 days.
Vulns0Associated
Actors0Associated
ATT&CK41Techniques
IOCs14Tracked
Type
Botnet
Capabilities
Initial accessBrute forcePersistenceDefense evasionReconnaissanceScanningDDOSExfiltrationPost exploitation
Delivery
USB
Platforms
LinuxIOTNetwork device

Tengu is a Mirai-derived botnet malware family targeting Linux servers, routers, and embedded IoT devices. It spreads through Telnet credential brute-forcing, with a shell-script dropper downloading and executing architecture-specific payloads. Identified builds support x86, x86-64, MIPS, ARM, PowerPC, and m68k architectures. Its functionality combines distributed denial-of-service attacks, remote command execution, system and network reconnaissance, traffic proxying, and additional payload delivery.

Tengu supports 25 denial-of-service methods, including UDP, TCP, ICMP, HTTP, and other protocol-specific attacks. It provides SOCKS5 and authenticated HTTP CONNECT proxy services, allowing compromised hosts to relay operator traffic. It collects and exfiltrates host and network configuration information, executes shell commands and returns their output, updates itself, and retrieves additional executable payloads. Server-to-bot commands and updates use authenticated encryption, while registration, heartbeat messages, and command output are transmitted in plaintext. Tengu can also retrieve and attempt to install Android packages, although confirmed Android infections have not been established.

Tengu employs extensive persistence and self-defense mechanisms. These include systemd services, initialization scripts, shell startup modifications, and a detached guardian process that restarts its main component. It masquerades as legitimate system processes or kernel worker threads and can mark its executable immutable. On devices with a suitable watchdog, it maintains keepalive signals only while its main process remains active; terminating that process can trigger a forced reboot, after which persistence mechanisms relaunch the malware. Tengu also corrupts the executable headers of shutdown and reboot utilities to obstruct normal administrative recovery, terminates competing malware, and supports memory-backed re-execution to reduce its on-disk footprint.

Is this in your environment?See whether this family's indicators match your telemetry and which of your assets are exposed to the CVEs associated with it.
Check your exposure
MITRE ATT&CK

Techniques & procedures

41 distinct techniques documented for this family, organized by ATT&CK tactic.

Initial Access

2 techniques
T1078Valid AccountsEvidence3

Tengu, observed by Nozomi Networks Labs, spreads through Telnet credential brute-forcing

T1133External Remote ServicesEvidence1

It targets internet-facing embedded Linux systems, particularly devices that leave Telnet or other remote administration services exposed.

Execution

5 techniques
T1053Scheduled Task/JobEvidence2

"[Tengu] attempts to survive reboots through ... scheduled tasks..."

T1053.003CronEvidence3

Besides persistence through systemd and init.d... Tengu tries to use cron, the tool for scheduling recurring tasks, though Nozomi found this method doesn’t work as intended.

T1059Command and Scripting InterpreterEvidence3

Эта малварь поддерживает 25 видов DDoS-атак, может развертывать SOCKS5-прокси, выполнять шелл-команды...

T1059.004Unix ShellEvidence3

It also adds a SOCKS5 proxy, shell command execution, system and network reconnaissance...

T1106Native APIEvidence1

T1106 – Native API: Uses memfd_create, raw sockets, and ioctl.

Persistence

11 techniques
T1037Boot or Logon Initialization ScriptsEvidence3

...добавляет init- и rc-скрипты, меняет стартовые файлы оболочки...

T1037.004RC ScriptsEvidence1

T1037.004 – RC Scripts: Modifies init.d, procd, rc.local, and rc*.d.

T1053Scheduled Task/JobEvidence2

"[Tengu] attempts to survive reboots through ... scheduled tasks..."

T1053.003CronEvidence3

Besides persistence through systemd and init.d... Tengu tries to use cron, the tool for scheduling recurring tasks, though Nozomi found this method doesn’t work as intended.

T1078Valid AccountsEvidence3

Tengu, observed by Nozomi Networks Labs, spreads through Telnet credential brute-forcing

T1133External Remote ServicesEvidence1

It targets internet-facing embedded Linux systems, particularly devices that leave Telnet or other remote administration services exposed.

T1543Create or Modify System ProcessEvidence2

Также для закрепления в системе Tengu создает фиктивный systemd...

T1543.002Systemd ServiceEvidence4

"[Tengu] attempts to survive reboots through systemd services..."

T1543.003Windows ServiceEvidence1

"[Tengu] attempts to survive reboots through ... SysV and OpenWrt startup scripts..."

T1546.004Unix Shell Configuration ModificationEvidence2

"[Tengu] attempts to survive reboots through ... local startup files."

T1547Boot or Logon Autostart ExecutionEvidence1

Its unique persistence strategy involves a guardian process that monitors the main malware and relaunches it if stopped. Critically, it can also leverage the hardware watchdog timer; if the main process is killed, the watchdog is left unfed, causing a device reboot, which then allows Tengu's other persistence methods to reactivate.

Privilege Escalation

10 techniques
T1037Boot or Logon Initialization ScriptsEvidence3

...добавляет init- и rc-скрипты, меняет стартовые файлы оболочки...

T1037.004RC ScriptsEvidence1

T1037.004 – RC Scripts: Modifies init.d, procd, rc.local, and rc*.d.

T1053Scheduled Task/JobEvidence2

"[Tengu] attempts to survive reboots through ... scheduled tasks..."

T1053.003CronEvidence3

Besides persistence through systemd and init.d... Tengu tries to use cron, the tool for scheduling recurring tasks, though Nozomi found this method doesn’t work as intended.

T1078Valid AccountsEvidence3

Tengu, observed by Nozomi Networks Labs, spreads through Telnet credential brute-forcing

T1543Create or Modify System ProcessEvidence2

Также для закрепления в системе Tengu создает фиктивный systemd...

T1543.002Systemd ServiceEvidence4

"[Tengu] attempts to survive reboots through systemd services..."

T1543.003Windows ServiceEvidence1

"[Tengu] attempts to survive reboots through ... SysV and OpenWrt startup scripts..."

T1546.004Unix Shell Configuration ModificationEvidence2

"[Tengu] attempts to survive reboots through ... local startup files."

T1547Boot or Logon Autostart ExecutionEvidence1

Its unique persistence strategy involves a guardian process that monitors the main malware and relaunches it if stopped. Critically, it can also leverage the hardware watchdog timer; if the main process is killed, the watchdog is left unfed, causing a device reboot, which then allows Tengu's other persistence methods to reactivate.

Stealth

8 techniques
T1027Obfuscated Files or InformationEvidence2

To reduce the chance of detection, Tengu decrypts its strings only during execution...

T1036MasqueradingEvidence3

...один из компонентов Tengu создает отдельный фоновый процесс, который маскируется под системный поток [kworker/0:0]...

T1036.004Masquerade Task or ServiceEvidence3

Malware can emulate that appearance in two ways. It can overwrite its own argv[0] ... or it can call prctl(PR_SET_NAME).

T1070Indicator RemovalEvidence2

It overwrites their ELF headers with the string ELFOOD, which can interfere with the normal commands defenders may use to restart or safely power down a compromised device.

T1078Valid AccountsEvidence3

Tengu, observed by Nozomi Networks Labs, spreads through Telnet credential brute-forcing

T1497Virtualization/Sandbox EvasionEvidence2

...looks for environment variables associated with hooking tools, measures instruction timing to detect emulation and periodically verifies the integrity of its own code.

T1497.001System ChecksEvidence1

Tengu monitors its own running state and checks whether its code has been changed. The malware reads memory-mapping information from the Linux proc filesystem, calculates a baseline SHA-256 value for part of its code, and repeatedly compares the result to identify tampering. It also checks for writable memory mappings that may indicate analysis or modification activity.

T1622Debugger EvasionEvidence2

...checks whether a debugger is attached to it...

Defense Impairment

2 techniques
T1222.002Linux and Mac PermissionsEvidence1

T1222.002 – Linux File Permissions Modification: Applies chattr +i to make the installed binary immutable.

T1685Disable or Modify ToolsEvidence5

"It also writes a protective value to the operating system’s out-of-memory control, reducing the chance that memory pressure will terminate the task. It then silences normal standard streams and continues quietly in the background."

Credential Access

1 technique
T1110Brute ForceEvidence6

Исследователи пишут, что ханипоты компании обнаружили дроппер Tengu, когда тот брутфорсил учетные данные Telnet.

Discovery

7 techniques
T1016System Network Configuration DiscoveryEvidence4

"It can gather basic host and network details..."

T1046Network Service DiscoveryEvidence1

Эта малварь поддерживает 25 видов DDoS-атак, может развертывать SOCKS5-прокси, выполнять шелл-команды, собирать информацию о системе и сети...

T1057Process DiscoveryEvidence2

Another process repeatedly scans running processes and terminates competing botnets.

T1082System Information DiscoveryEvidence5

"It can gather basic host and network details..."

T1497Virtualization/Sandbox EvasionEvidence2

...looks for environment variables associated with hooking tools, measures instruction timing to detect emulation and periodically verifies the integrity of its own code.

T1497.001System ChecksEvidence1

Tengu monitors its own running state and checks whether its code has been changed. The malware reads memory-mapping information from the Linux proc filesystem, calculates a baseline SHA-256 value for part of its code, and repeatedly compares the result to identify tampering. It also checks for writable memory mappings that may indicate analysis or modification activity.

T1622Debugger EvasionEvidence2

...checks whether a debugger is attached to it...

Lateral Movement

1 technique
T1021Remote ServicesEvidence2

Исследователи пишут, что ханипоты компании обнаружили дроппер Tengu, когда тот брутфорсил учетные данные Telnet.

Collection

1 technique
T1005Data from Local SystemEvidence1

Tengu ... supports 25 DDoS methods, a SOCKS5 proxy, shell command execution, and data collection.

Command and Control

7 techniques
T1001Data ObfuscationEvidence1

Registration, heartbeat traffic, and command output are sent in plaintext, while server commands and updates use a custom ChaCha20/Poly1305-like authenticated encryption scheme.

T1071Application Layer ProtocolEvidence3

Также обнаружилось, что Tengu мог получать идентификаторы дополнительных файлов с управляющего сервера злоумышленников...

T1090ProxyEvidence6

"[Tengu can] build authenticated HTTP CONNECT and SOCKS5 proxy functions" and "infected hosts can also be used to relay traffic."

T1090.003Multi-hop ProxyEvidence1

...including an encrypted channel for issuing commands, the ability to relay an operator’s traffic through the infected device... It also adds a SOCKS5 proxy...

T1105Ingress Tool TransferEvidence5

Эта малварь поддерживает 25 видов DDoS-атак... а также обновляться и загружать дополнительные файлы ELF или APK.

T1568.002Domain Generation AlgorithmsEvidence1

T1568.002 – Dynamic Resolution: Domain Generation Algorithms: Contains DGA-style generation logic, although this capability was not observed being used in practice.

T1573Encrypted ChannelEvidence1

T1573 – Encrypted Channel: Uses a custom AEAD-based C2 protocol.

Impact

4 techniques
T1486Data Encrypted for ImpactEvidence1

“With data secured, the attackers deploy the encryptor across as many systems as possible.”

T1498Network Denial of ServiceEvidence4

"The DDoS component has two UDP modes. One creates raw IPv4 packets with attacker-controlled header fields and checksums... The other sends traffic through ordinary datagram sockets."

T1499Endpoint Denial of ServiceEvidence2

"[Tengu can] issue HTTP GET, POST, and HEAD requests with randomized forwarding headers" and "performs SSH banner and key-exchange handshakes."

T1529System Shutdown/RebootEvidence1

Researchers at Nozomi identified the malware’s unusual ability to reboot an IoT device when someone attempts to terminate its malicious process... When the bot detects that an operator has tried to stop or alter it, it can trigger a reboot of the infected device.

Indicators of compromise

Observables

14 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.

View all in app →
Indicator values are available in Mallory. Pivot on every hash, domain, URL, and IP, or pipe them straight into your SIEM.View all in Mallory
Activity feed

Recent activity

18 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.

View more in app →
malware newsNews · Oct 20, 2026Fake Kernel Threads Are Hiding Backdoors on Linux Servers and Appliances - Malware News - Malware Analysis, News and IndicatorsMirai-modeled Linux bot targeting servers, routers, and embedded devices. It disguises its process as a kernel worker and establishes persistence through systemd, SysV init, OpenWrt procd, cron reboot jobs, and rc.local.Read more ↗eclypsium blogNews · Oct 20, 2026Linux Malware Hiding as Kernel Threads: How to Spot ItMirai-style bot targeting Linux servers, routers, and embedded devices. It impersonates kernel workers by changing its process name. Persistence mechanisms include a systemd service described as “System Helper Service,” SysV init scripts, OpenWrt procd entries, cron reboot jobs, and /etc/rc.local.Read more ↗malware newsNews · Sep 28, 2026Double Extortion Ransomware | What It Is, How It Works, and How to Defend Against It (2026 Guide) - Malware News - Malware Analysis, News and IndicatorsHands-on-keyboard ransomware-as-a-service operation employing double extortion through data theft and encryption.Read more ↗cryptika blogNews · Sep 7, 2026New Linux Bot Hides as Kernel Process and Launches DDoS Attacks | Cryptika CybersecurityA 32-bit Linux ELF bot that masquerades as a kernel worker process, reduces its likelihood of out-of-memory termination, suppresses standard streams, and establishes persistence through systemd, SysV/OpenWrt scripts, scheduled tasks, and startup files. It supports raw and socket-based UDP floods, HTTP GET/POST/HEAD request floods, SSH banner/key-exchange activity, and authenticated HTTP CONNECT/SOCKS5 proxying. Initial access and direct code lineage to Mirai are unconfirmed.Read more ↗
+14 more in the timeline. Sign up to see them
Is this in your environment?See whether this family's indicators match your telemetry and which of your assets are exposed to the CVEs associated with it.
Check your exposure
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets match these IOCs, which detections are missing, which campaigns to expect next, and what to do in the next 30 minutes.
IOC matching14Match every observed IP, domain, and hash against your live telemetry.
Associated threat actorsGroups linked to this family, with evidence pinned to each claim.
Associated vulnerabilitiesCVEs linked to this family, with the reporting behind each link.
Detection signaturesYARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
MITRE ATT&CK mapping41Every documented technique, ranked by evidence weight.
Researcher chatterReddit, Mastodon, and CTI community discussion around this family.