Attackers are using a new Linux rootkit to compromise Cisco network devices and keep access long after the initial breach. The exploit begins in the SNMP service, where a privilege flaw provides the necessary foothold to access the kernel. From there, the code blends in with regular system activity and hides everything that matters.
Once it’s running, the rootkit masks processes, rewrites logs, and filters what monitoring tools can see. A system check might look clean while the attacker still has control. That’s what makes this campaign so effective — it doesn’t break anything loud enough to notice.
For security teams managing Linux infrastructure, this is a clear reminder of how persistence has evolved. It’s not about desktop malware or file infections anymore. It’s about attackers targeting the kernel itself, which means Linux security must extend beyond routine visibility.
The issue at the center of these attacks sits in Cisco’s SNMP service — software most admins rarely think about until something goes wrong. It’s been part of network infrastructure for decades, meant for management and monitoring, not for intrusion. But a small flaw in the way it handles packets has opened a door that attackers are now walking through.
The flaw is triggered by a malformed SNMP request that overflows a buffer in the SNMP handler. This is not a blind internet-wide RCE — attackers need SNMP access, such as a community string or SNMPv3 credentials, typically with write privileges. Once authenticated, they can deliver a packet that overflows the handler and leads to code execution and full device compromise.
At its core, this is a simple overflow with complex consequences. It turned a background management protocol into a direct path for kernel-level control. That’s why it matters for Linux security — because it shows how deep attackers can go when old services stay exposed.
Once word got out, attackers didn’t waste time. They scanned for exposed devices, found ones running vulnerable SNMP builds, and sent carefully crafted packets to trigger the flaw. From there, they gained root access and installed a Linux rootkit built specifically for persistence.
The NVD CVE-2025-20352 record confirms how the exploit works. What matters more is what happens next — the rootkit turns that one-time vulnerability into a lasting foothold inside the system.
So far, observed behavior indicates the implant’s purpose is stealth and persistence rather than autonomous propagation. It hooks directly into the kernel, intercepts calls that list processes or files, and forges clean results when admins check what’s running.
For teams focused on Linux security, the lesson is clear: visibility has to extend below the surface. The hardest part about defending against a Linux rootkit isn’t removing it — it’s realizing it’s there in the first place.
This attack doesn’t just target Cisco devices — it goes after the Linux core that runs beneath them. It’s a reminder that network infrastructure is part of the Linux ecosystem, and when attackers reach the kernel, the rest of the stack follows.
The affected devices include Cisco routers and switches running older versions of IOS and IOS XE firmware. Both rely on Linux kernels that can be modified once attackers gain system-level access. The issue is less about model numbers and more about configuration and patch discipline.
This isn’t an isolated case. The Houken kernel rootkit used the same approach earlier this year in attacks against Ivanti Connect Secure gateways. Different target, same concept — compromise the Linux kernel on an appliance that most defenders consider “infrastructure,” not “endpoint.” That’s what makes this shift significant for Linux security: it blurs the distinction between where the operating system ends and where the network begins.
Rootkits have always been a blind spot in Linux defense, but this campaign shows how much harder detection has become. Once attackers gain kernel access, they control what the system reports. Metrics, process lists, even logs — all can be rewritten to look normal.
For teams managing Linux-based infrastructure, this demands a shift in priorities. Detection has to rely less on what the system says and more on what can be independently verified.
Large-scale campaigns like Cyclops Blink and VPNFilter used the same principle: compromise network gear running Linux, stay quiet, and move laterally through trusted traffic. What’s different now is how refined that persistence has become. As shown in the analysis of how secure Linux is, even hardened systems can be manipulated once attackers move below the user space. It’s not a Linux weakness — it’s a matter of depth. Once the kernel is compromised, everything above it becomes unreliable.
The Cisco campaign underscores how far rootkits have evolved and how well attackers now understand embedded Linux. They’re not brute-forcing visibility anymore — they’re shaping it.
For defenders, the message is straightforward. Linux security can’t stop at patches or intrusion alerts. It must include continuous verification of the kernel, the firmware, and the intervening systems. Because once control slips below the surface, you can’t defend what you can’t see.
|
Threat Vector |
Mitigation Strategy |
Linux Security Rationale |
|
SNMP service exposure |
Disable or restrict SNMP to local networks |
Reduces the attack surface on Linux-based systems and limits remote exploitation paths |
|
Unpatched firmware |
Apply Cisco firmware updates immediately |
Eliminates the remote code execution vector before it can be weaponized |
|
Rootkit persistence |
Re-flash firmware or verify kernel integrity |
Restores a trusted state and re-establishes kernel-level assurance |
Applying these mitigations quickly is critical to maintaining Linux infrastructure trust. Disabling exposed SNMP services closes off the entry point that attackers used here. Firmware updates and kernel verification prevent persistence — the step that turns an exploit into a long-term breach.
These actions aren’t just reactionary. They’re part of the broader discipline of continuous hardening and visibility that defines strong Linux defense today. As outlined in current best practices for how to optimize Linux security, maintaining kernel integrity and enforcing tight patch cycles are central to preventing deep compromises like this one. Together, they move Linux systems back toward a known, verifiable state — the foundation of effective incident recovery and resilience.
Start with the entry point. If SNMP isn’t needed, disable it. If it is, keep it local and monitored. Most of the exposure seen in these attacks comes from management ports left open to the internet. Reducing that reach cuts off the simplest path to compromise and limits what an attacker can touch inside Linux-based systems.
From there, patch fast. Cisco’s firmware update closes the flaw that makes remote code execution possible. Unpatched devices stay visible to automated scans, and attackers have already shown they’re looking for them. Firmware maintenance isn’t optional anymore — it’s a baseline for keeping Linux infrastructure trustworthy.
If a system’s already been hit, persistence is the problem. Rootkits can live below what most tools see. Re-flashing the firmware or verifying the kernel against a trusted baseline is the only way to be sure the system’s clean. Once the kernel is trusted again, everything above it can be trusted too.
These aren’t one-off fixes; they’re habits. This kind of hygiene — limiting exposure, patching quickly, validating integrity — is what separates recovery from recurrence. It’s the same principle behind every effective Linux security program: keep the surface small, keep the kernel verified, and never assume what you can’t confirm.
This attack makes one thing clear: Linux security doesn’t stop at servers. The same kernel runs in routers, VPN gateways, firewalls, and appliances that rarely get attention until something breaks. When attackers plant a rootkit in one of those systems, they’re not just stealing access — they’re taking control of the infrastructure that everything else depends on.
The shift we’re seeing isn’t just about tools. It’s about awareness. Adversaries understand Linux well enough now to build implants that live quietly inside trusted systems. They know defenders are watching processes and logs, not kernel hooks and firmware calls. That’s where the next fights will happen — at the level most teams still treat as static.
Improving defense means going deeper. Open-source firmware audits, kernel integrity checks, and shared research between vendors and the community aren’t optional anymore. They’re how we keep visibility in places where attackers now live.
The focus needs to stay here:
Linux was built on that kind of openness. It’s what gives defenders a chance to stay ahead — if we keep looking where the code actually runs