Tutoriel Linux

This Linux botnet restarts the machine as soon as you kill its process in order to reinstall itself.

Débutant4 min de lecture
À retenirLinux n'est pas réservé aux experts. Le bon point de départ : une distribution accessible, une sauvegarde propre et quelques commandes comprises.

This strategy poses a significant challenge for system administrators and security specialists. Manually deleting the main Tengu process can backfire, triggering a reboot that automatically relaunches the malware.

This behavior illustrates how botnets are evolving, complicating the cleanup of infected systems. Understanding the mechanisms behind this type of attack is crucial for improving responsiveness and efficiency.

How Tengu is circumventing the watchdog hardware to guarantee his return

The hardware watchdog is a component integrated into many Linux devices, such as routers or internet boxes. Its primary purpose is simple: to restart a device that is no longer responding, relying on signals sent regularly by the system to confirm that everything is functioning correctly.

But as soon as the administrator tries to kill Tengu’s main process, the mechanism malfunctions. Signal transmission ceases, and after about thirty seconds, the machine automatically restarts. This moment gives the botnet’s persistence scripts free rein to resume their activities at full speed.

Multiple entry points for a lasting foothold

Tengu is not content with a simple, drawn-out process. It is installed as a service. systemd

The botnet also makes its executable immutable. This subtle safeguard prevents administrators from easily deleting it, a real headache if you want to uproot the problem.

The Tengu botnet and the sabotage of Linux administration tools

Adding an extra layer of complexity is Tengu’s alteration of standard Linux utilities designed for a clean shutdown or restart. It’s a kind of insidious sabotage, designed to disrupt the system from its very foundations.

If you attempt to abruptly halt the process, instead of eradicating the threat, you are precisely triggering its restart mechanism. The device then comes back to life with the botnet ready to resume its activities.

To fully grasp the extent of the threat, it is worth remembering that this kind of tactic demonstrates a rare level of sophistication, particularly in the Linux community where people often believe they have a basic understanding of process management.

A guardian process in permanent alert

Tengu leaves nothing to chance. A dedicated process vigilantly monitors that its core is always running. Every 60 seconds, this sentinel checks for the presence of the botnet and restarts the main process as soon as it detects an absence.

This guardian of the software temple is one of the reasons why manual cleanup remains ineffective. The botnet proves capable of reacting as quickly as a wound-up spring, offering unparalleled resilience.

This principle illustrates a new stage in the art of camouflage and malware survival, and invites us to rethink approaches in computer security.

This botnet perfectly illustrates the rise of sophisticated threats targeting Linux infrastructures. Understanding its inner workings is essential for any system administrator concerned with maintaining a healthy infrastructure.

Classic kill-process or stop-service techniques can backfire here, a bit like trying to remove a weed whose root grows underground.

There are comprehensive resources and guides available for analyzing and combating these infected networks. Basing your strategy on a deep understanding of Tengu’s inner workings, available on specialized platforms, will make your defense much stronger.

To delve deeper into the concept of botnets and how to combat them, consult, for example, the detailed explanations available. on Illumio or the published technical advice

What is a hardware watchdog on Linux?

A hardware watchdog is an integrated circuit that automatically restarts a device if the system becomes unresponsive. It monitors the system’s health via regular signals emitted by the software.

How does Tengu use the watchdog to persist?

Tengu diverts the sending of watchdog signals through a secondary process. When its main process is killed, the signal stops, causing an automatic system reboot.

The botnet prevents standard shutdown commands by sabotaging certain utilities. Without a watchdog signal, the machine restarts, which automatically relaunches the botnet.

What are the signs of a Tengu infection?

An automatic restart after the suspicious process is removed, high persistence despite attempts to eliminate it, and processes disguised around system names are typical indicators.

Prevention involves standard Linux security measures: frequent updates, strict SSH access control, and prompt termination of unknown processes. Active monitoring using appropriate tools is also crucial.

Source: www.clubic.com

sudo apt update && sudo apt upgrade