Inside the Doorway Botnet: A Global IoT Compromise Campaign

Inside the Doorway Botnet: A Global IoT Compromise Campaign

Evidence recovered from victim logs indicates that the operators systematically captured PPPoE subscriber records from internet service providers to expand their reach. This discovery, made in late 2026, highlights a shift in how botnet operators move beyond simple device infection to deeper infrastructure infiltration. The Doorway campaign represents a modern evolution of automated cybercrime, utilizing a sophisticated Rust-based engine to manage a global fleet of compromised hardware. By focusing on internet service providers and enterprise-grade network equipment, the threat actors have secured a foothold that allows for massive data harvesting and the creation of resilient proxy networks. The scale of this operation is underscored by the identification of over 41 gigabytes of operational data, which includes detailed logs of victim interactions, credential databases, and specialized exploit modules. This campaign is not merely a collection of random attacks but a calculated effort to build a persistent, high-performance infrastructure. As the digital landscape becomes more integrated with IoT devices, the success of Doorway serves as a stark reminder of the vulnerabilities inherent in unpatched and misconfigured hardware. The methodical nature of their approach, combining traditional exploitation with advanced management tools, sets a new standard for operational maturity in the criminal underground.

1. Botnet Attack Execution Workflow: From Screening to Persistence

The initial phase of the Doorway botnet’s expansion relies on a highly efficient target screening process designed to maximize success rates while minimizing noise. The engine begins by sending a standard web request to a broad range of IP addresses, specifically using a hard-coded header to identify devices that are likely to be vulnerable. This request is characterized by a unique User-Agent string, which serves as a beacon for the scanning engine to detect responsive systems. By limiting the scope of initial interaction to a single, bounded request, the operators can rapidly scan millions of potential targets without triggering basic rate-limiting or anomaly detection systems. This phase is critical because it allows the botnet to ignore non-responsive or irrelevant IP addresses, focusing its resources solely on hardware that exhibits the specific characteristics of the targeted device families, such as routers and IP cameras.

Once a device responds to the initial probe, the Doorway engine transitions into a response filtering stage where it matches the returned data against a vast library of known fingerprints. This technical refinement is managed by a sophisticated matching system that evaluates headers, server strings, and specific ASCII patterns. The engine is programmed to be conservative; if a device returns too many distinct fingerprints or conflicting server headers, it is flagged as a potential honeypot and dropped from the queue. This filtering ensures that the botnet does not waste time on defensive traps or incompatible hardware. By narrowing the target pool to specific firmware versions and hardware models, the operators can apply the most effective exploitation modules with surgical precision. This level of automation allows for a high degree of concurrency, as the engine can process thousands of potential joins simultaneously while maintaining a strictly defined target profile.

Following successful filtering, the system conducts a non-invasive identification check to confirm the device type and its current state. This read-only probe is a strategic choice designed to avoid making permanent changes to a system that might not be fully compatible with the secondary payloads. During this stage, the engine verifies the presence of specific directories, service endpoints, or configuration files that are necessary for the exploit to succeed. For instance, if the target is a specific brand of router, the probe might check for the existence of a particular management interface or a known configuration file. This step acts as a secondary validation layer, distinguishing between a device that simply looks correct and one that is truly exploitable. This careful verification process reduces the failure rate of subsequent stages and ensures that the operational logs accurately reflect the growth of the botnet fleet.

The actual takeover occurs during the exploit triggering stage, where the engine invokes a specialized software module tailored to the discovered vulnerability. The Doorway arsenal includes 59 distinct run modules, covering a wide array of techniques from pre-authentication command injection to configuration manipulation. These modules are written in Rust, benefiting from the language’s performance and memory safety, which ensures that the exploitation engine remains stable even under heavy load. When a module is triggered, it delivers a precise sequence of commands intended to bypass the device’s security controls. Whether the vulnerability is a legacy bug in an embedded web server or a more recent flaw in an enterprise service, the engine handles the execution logic seamlessly. This modular approach allows the operators to quickly integrate new vulnerabilities as they are discovered in 2026 and beyond, keeping the botnet’s capabilities at the cutting edge of the threat landscape.

The final step in the workflow is the malware installation phase, where the malicious code is transferred to the device and the successful compromise is recorded. The engine uses a variety of delivery mechanisms, including common utilities like wget, curl, and TFTP, to ensure that the payload reaches its destination regardless of the target’s restricted environment. Once the code is executed, the device sends a beacon back to the command-and-control infrastructure, providing confirmation of the successful join. This event is logged with detailed metadata, including the device’s IP address, architecture, and the specific module used for the compromise. These logs are essential for the operators to track their progress and manage their expanding proxy infrastructure. By maintaining a clear record of every successful infection, the campaign managers can optimize their strategy and ensure the long-term persistence of the Doorway botnet.

2. Multi-Tiered Malware Distribution: Ensuring Cross-Platform Compatibility

To overcome the challenges of infecting a diverse range of hardware architectures, the Doorway botnet utilizes a sophisticated tiered delivery method. The process begins with the initial dropper deployment, which involves sending a minimal command or script through the established vulnerability. This dropper is typically a very small, lightweight sequence of characters designed to fit within the constraints of character-limited injection points, such as CGI fields or URL parameters. By keeping the initial footprint small, the attackers increase the likelihood that the command will be accepted and executed by the target system. This first stage does not contain the full malware binary; instead, it serves as a bridge, preparing the environment for more substantial downloads. This approach is highly effective for compromising embedded systems where memory and storage space are often extremely limited.

Once the initial dropper is active on the target, it initiates a system profiling routine to determine the specific hardware and software environment. This script is responsible for identifying the processor architecture, such as MIPS, ARM, or x86, as well as the underlying operating system and available system utilities. This information is critical because a binary compiled for one architecture will not function on another. The dropper checks for the presence of specific tools like busybox, which provides a suite of common commands in a single executable. By profiling the device in real-time, the botnet can ensure that it only requests payloads that are compatible with the target’s capabilities. This dynamic assessment reduces the risk of crashing the device or alerting administrators through failed execution attempts, which is a common problem with less sophisticated botnet campaigns.

Building on the information gathered during profiling, the system proceeds to architecture-specific retrieval. The dropper contacts the command server and requests a binary file that perfectly matches the identified hardware profile. These files are hosted on redundant staging servers and are often protected by IP-bound signatures, ensuring that only the intended target can successfully download the payload. The retrieval process is designed to be resilient, with the script attempting multiple transport protocols if the first one fails. For example, if a firewall blocks outgoing HTTP requests, the script might try to use TFTP or even a raw TCP stream to pull the necessary files. This redundancy is a hallmark of the Doorway campaign, reflecting a deep understanding of the network restrictions often found in ISP and enterprise environments.

The final stage of this distribution process is the primary client launch, where the retrieved binary is executed to complete the infection. This binary may serve as the final persistent client or as an intermediate stage that downloads even more complex software components. In many cases, the program is designed to run in the background, masking its presence while establishing a persistent connection to the command-and-control backend. Once the primary client is running, it may also perform cleanup tasks, such as removing the initial dropper and temporary files, to hide the evidence of the breach. This transition from a simple command to a fully functional, architecture-matched client allows the Doorway botnet to maintain a high degree of reliability across a global fleet of thousands of different devices. This multi-tiered strategy is what allows the campaign to scale so effectively in the complex digital ecosystem of 2026.

3. Java-Based Service Compromise: Targeted Attacks on Enterprise Systems

The Doorway botnet does not limit itself to consumer IoT devices; it also features specialized modules for compromising enterprise-grade Java applications. The first step in this process involves command instantiation, where the attackers leverage known vulnerabilities to trigger the execution of a hidden shell process. This is often achieved by exploiting serialization flaws or insecure management interfaces in applications like ActiveMQ or Jenkins. By using a legitimate Java class to start the process, the attackers can often bypass security software that monitors for unauthorized executable launches. The resulting shell provides a persistent foothold within the server environment, allowing the operators to execute arbitrary commands with the privileges of the service account. This technique is particularly dangerous because it targets the core infrastructure of modern businesses, potentially leading to the compromise of sensitive data and internal networks.

Following the creation of the hidden shell, the attackers use a redundant tool selection strategy to ensure the next stage of the infection can be successfully downloaded. Real-world server environments are often highly restricted, and common utilities like wget or curl may be disabled or removed by administrators. To counter this, the Doorway scripts are programmed to attempt downloads using every available method in sequence. If one tool is missing or blocked, the script immediately moves to the next option, such as using a raw socket connection or a built-in Java utility to fetch the payload. This persistence ensures that the attack can proceed even in hardened environments where simple automated scripts would normally fail. The goal is to reach the command server and retrieve the architecture-matched dropper that will facilitate the rest of the infection process.

The final phase of the Java-based compromise involves script execution, where the downloaded payload is saved, configured, and launched. The attackers typically choose temporary folders or hidden directories to store their files, often renaming them to blend in with legitimate system components. Once the file is on the disk, the script modifies its permissions to make it executable and then runs it in the background. In the case of Java services, this might involve loading a malicious JAR file as a plugin or a library, which then executes its payload within the context of the application server. This method allows the malware to remain resident in memory, making it much harder to detect through traditional file-level scanning. By successfully compromising these powerful servers, the Doorway botnet gains access to high-bandwidth connections and significant computing resources, which are then used to support further scanning and proxy activities.

The success of these Java-based attacks is often attributed to the slow patching cycles found in many enterprise environments. Vulnerabilities like CVE-2023-46604 in ActiveMQ or various flaws in the Openfire messaging server provide a wide window of opportunity for botnet operators. The Doorway campaign systematically scans for these specific services, applying its modular exploits as soon as an unpatched host is identified. By integrating these enterprise-focused attacks into its broader IoT strategy, the botnet creates a diverse and resilient network that spans both consumer and business sectors. This hybrid approach makes the Doorway botnet one of the most versatile threats observed in 2026, as it can leverage different types of hardware and software to achieve its operational goals. The combination of lightweight IoT infections and heavy-duty server compromises provides the campaign with a robust and nearly unstoppable infrastructure.

4. RouterOS Exploitation Procedure: Infiltrating the Network Core

The Doorway botnet places a high priority on compromising MikroTik routers, which are widely used by internet service providers and in enterprise networking. The procedure begins with version detection, where the botnet’s scanning engine confirms the firmware version and hardware architecture of the targeted router. This is often done by querying the router’s management interfaces, such as the web-based WebFig or the proprietary Winbox service. Understanding the exact version is critical because the primary exploit used by the botnet, known as FOISted or CVE-2023-30799, is sensitive to the memory layout and specific configuration of the RouterOS environment. By identifying the architecture—typically big-endian MIPS for many MikroTik models—the engine can select the correct gadget mappings and exploitation parameters needed for a successful breach.

After confirming the target’s compatibility, the botnet attempts initial authentication using a variety of methods. In many cases, the operators rely on default credentials or previously leaked password lists that have been collected from across the web. The Doorway engine includes a specialized credential store that ranks passwords based on their historical success rates, allowing it to prioritize the most likely combinations. If the default admin account with an empty password is still active, the engine can gain access immediately. This stage is a critical bottleneck; without some form of valid authentication, the advanced privilege elevation exploits cannot be triggered. The fact that many routers remain deployed with default settings in 2026 continues to provide a massive attack surface for campaigns like Doorway, allowing them to gain a foothold in sensitive network environments with very little effort.

Once the engine has established a session, it moves to the privilege elevation phase to gain full administrative control over the router. This involves submitting specialized, crafted data to the management interface that triggers the FOISted vulnerability. This exploit allows the attacker to bypass the normal security boundaries of RouterOS, granting them the ability to execute code at the highest privilege level. This is a significant escalation from a standard user account, as it allows the botnet to modify the router’s core configuration, monitor network traffic, and even capture sensitive ISP records. The technical sophistication required to implement this exploit across multiple RouterOS versions demonstrates the high level of expertise behind the Doorway campaign. By securing “super-admin” access, the operators ensure that their presence is difficult to remove and that they have total control over the device’s functions.

The final step in the RouterOS procedure is payload injection, where the botnet delivers its malicious library and integrates it into the system. The engine opens a second connection to the router and uses a variety of methods to transfer a file, often named stage2.so, to the local disk. This file is a shared object that, once loaded, establishes a reverse shell or a persistent beacon to the command-and-control server. The attackers may also use the router’s built-in fetch tools to download the library from their own infrastructure. Once the library is in place, the router becomes a permanent node in the botnet, capable of acting as a proxy for malicious traffic or a scanning station for finding new victims. This level of compromise at the network core allows the Doorway botnet to intercept data and manipulate internet traffic at its source, making it an exceptionally powerful tool for both cybercrime and state-sponsored activities.

5. Automated Operational Management: The AI-Driven Watcher System

The most innovative aspect of the Doorway botnet is its use of an automated management system known as “The Watcher.” This system operates like a digital site reliability engineer, constantly performing performance monitoring to ensure the health and productivity of the entire network. The Watcher does not simply run on a fixed schedule; it carries context and makes intelligent decisions based on the current state of the botnet. It tracks infection rates across different device families, monitors the uptime of compromised hosts, and evaluates the success of various exploit modules. By maintaining a real-time overview of the operation, the Watcher can identify which parts of the infrastructure are functioning correctly and which areas require attention. This data-driven approach allows the campaign to maintain a high level of efficiency that would be impossible with manual management alone.

A key function of the Watcher is conducting gap analysis to identify target groups that are no longer producing successful infections. In the fast-paced world of cybersecurity, vulnerabilities are patched, and defensive measures are updated constantly. A set of targets that was highly productive last month might be entirely secured by 2026. The Watcher detects these shifts by analyzing the ratio of scanning attempts to successful joins. If a specific device family or a particular geographic region shows a significant decline in production, the system flags it for review. This prevents the botnet from wasting valuable scanning resources on targets that are unlikely to yield results. This proactive identification of “dead” target pools is a sophisticated tactic that allows the operators to stay one step ahead of defensive efforts.

Beyond simple gap analysis, the Watcher also performs trend evaluation to measure the overall health of the campaign. It looks at long-term metrics to determine whether the total output of the botnet is increasing, stable, or in decline. This involves analyzing thousands of logs to find patterns in device behavior and network stability. If the system detects a downward trend in total infections or payload fetches, it can trigger automated alerts for the human operators. These reports include detailed breakdowns of which modules are failing and which infrastructure components are underperforming. By treating the botnet like a professional enterprise service, the Doorway operators can ensure that their criminal enterprise remains profitable and resilient over long periods. This level of strategic oversight is rare in the world of commodity malware and indicates a highly organized threat actor.

The most critical role of the Watcher is resource reallocation, where it directs the scanning engines to focus on more productive areas. Based on the data gathered through monitoring and analysis, the system can automatically update the botnet’s targeting directives. If a new vulnerability is added to the arsenal, the Watcher can prioritize scanning for devices that are susceptible to that specific flaw. Conversely, if a certain type of router becomes too difficult to exploit, the system can shift its focus to IP cameras or enterprise Java servers. This dynamic reallocation ensures that the botnet’s scanning power is always being used where it will have the greatest impact. The use of AI-driven tools to manage these complex workflows represents a significant advancement in botnet operations, allowing the Doorway campaign to adapt to changing network conditions in real-time.

6. Recommended Defense and Mitigation Plan: Securing the Digital Perimeter

Protecting an organization from the Doorway botnet requires a comprehensive and proactive defense strategy. The first and most immediate step is infrastructure blocking, which involves preventing all traffic to and from known malicious IP addresses and domains. Security teams should update their firewall rules and DNS filters to include the indicators of compromise associated with the campaign, such as the specific payload fileservers and beacon receivers. By cutting off the communication channels between internal devices and the botnet’s command-and-control backend, organizations can prevent the initial infection from progressing to a full compromise. This blocking should be performed at the network perimeter to ensure that no internal systems can even reach the malicious infrastructure. Maintaining an up-to-date list of these indicators is essential, as the operators frequently rotate their servers to avoid detection.

In addition to perimeter blocks, organizations must engage in active infection hunting to identify any devices that may have already been compromised. This involves searching network logs for the specific signals used by the Doorway botnet, such as ICMP echo requests to known beacon addresses or unauthorized outbound connections on port 4444. These signals are the “heartbeat” of the botnet and are often the only visible sign of an infected device. Security analysts should also look for the unique “Hello World” User-Agent string in their web server logs, which can indicate that the Doorway scanning engine has been probing their infrastructure. By identifying these signs early, administrators can isolate infected devices before they are used to launch further attacks or steal sensitive data. This proactive hunting is a critical component of a modern security posture in 2026.

Hardware hardening is another essential pillar of defense against IoT-focused campaigns like Doorway. Organizations should ensure that all internet-facing devices, including routers, cameras, and network-attached storage, have remote management interfaces disabled by default. If remote access is required for business operations, it should be restricted to specific IP addresses and protected by a robust VPN. Furthermore, it is imperative to change all default passwords on every piece of hardware connected to the network. The Doorway botnet relies heavily on default credentials to gain initial access, so a strong, unique password can effectively neutralize a large portion of its attack strategy. Regularly auditing the configuration of these devices to ensure they are following security best practices is a simple but highly effective way to reduce the overall attack surface.

Service auditing and timely patching are the final steps in securing the network against the botnet’s enterprise-focused modules. Administrators must prioritize the patching of Java-based applications and other critical services that are frequently targeted by the Doorway campaign. This includes keeping platforms like Jenkins, Openfire, and ActiveMQ up to date with the latest security releases. Organizations should also conduct regular audits of these services to check for unauthorized plugins, unexpected administrative accounts, or suspicious configuration changes. In many cases, the botnet leaves behind subtle markers of its presence, and a thorough audit can reveal a compromise that was otherwise missed. By combining technical controls with diligent management and evidence collection, organizations can build a resilient defense that is capable of withstanding the sophisticated tactics of the Doorway botnet.

The investigation into the Doorway botnet revealed a level of operational sophistication that was previously reserved for advanced persistent threats. By analyzing the 41 GB of exposed data, security researchers established a clear picture of how the campaign functioned as a metrics-driven enterprise. The use of the Rust-based “doorway” engine, combined with the AI-driven “Watcher” management system, allowed the operators to maintain a global proxy fleet with minimal manual intervention. The systematic capture of PPPoE subscriber records from various internet service providers confirmed that the threat went beyond simple IoT infection, targeting the very core of internet connectivity. It was clear that the operators used a redundant infrastructure to ensure that their staging and command-and-control capabilities remained resilient against takedown attempts. These findings provided the necessary evidence for a coordinated global response by cybersecurity agencies and network operators.

In the months following the initial discovery, the defense community successfully disrupted large portions of the botnet’s infrastructure by applying the recommended mitigation strategies. Security providers integrated the identified Sigma rules and indicators of compromise into their platforms, allowing for the widespread detection of Doorway’s scanning and beaconing activity. Network administrators across the globe took action by patching vulnerable RouterOS devices and securing exposed Java applications, significantly reducing the botnet’s available attack surface. The capture of the operational playbook and the “Watcher” directives allowed for a deeper understanding of the attackers’ decision-making process, which in turn informed more effective long-term defense policies. The collaborative effort between private researchers and public institutions demonstrated that even highly automated and sophisticated botnets can be dismantled through persistence and information sharing. The campaign ultimately highlighted the critical importance of foundational security practices in an era of increasingly complex and automated cyber threats.

Subscribe to our weekly news digest.

Join now and become a part of our fast-growing community.

Invalid Email Address
Thanks for Subscribing!
We'll be sending you our best soon!
Something went wrong, please try again later