LINE VIPER
- Type
- Loader
- Capabilities
- Post exploitationDefense evasion
- Platforms
- Network device
LINE VIPER is a malware family deployed against Cisco Adaptive Security Appliance (ASA) network-security devices by state-sponsored threat actors. Its deployment has been associated with zero-day exploitation of CVE-2025-20333 in campaigns that also deployed the RayInitiator malware family.
Associated vulnerabilities
5 CVEs Mallory has correlated with this family across public research and vendor advisories. Each card links to the full Mallory page for that vulnerability.
Associated threat actors
2 distinct threat actors Mallory has associated with this family across public reporting. Open in Mallory to see the full evidence chain and overlapping campaigns.
This bootkit facilitates the deployment of LINE VIPER, a user-mode shellcode loader, on Cisco ASA 5500-X Series lacking secure boot.
The attack chain begins with exploitation of known vulnerabilities (CVE-2025–20333, CVE-2025–20362) to gain initial access, followed by the deployment of LINE VIPER and FIRESTARTER to take control of the network device itself.
Techniques & procedures
33 distinct techniques documented for this family, organized by ATT&CK tactic.
Initial Access
3 techniques
Initial Access
This activity was associated with user accounts that existed but were no longer active within the agency [T1078].
CISA identified that APT actors first deployed LINE VIPER to establish illegitimate virtual private network (VPN) sessions [T1133] that bypassed all VPN authentication policies.
The attackers successfully exploited these vulnerable devices to deploy malware, execute remote commands, and potentially exfiltrate data.
Execution
5 techniques
Execution
The attackers successfully exploited these vulnerable devices to deploy malware, execute remote commands, and potentially exfiltrate data.
The hackers ... initially deployed a shellcode loader tracked by the U.K. National Cyber Security Center as Line Viper
The vulnerabilities allow remote attackers to execute arbitrary code as root due to improper validation of user-supplied input in HTTP(S) requests.
An attacker possessing valid VPN user credentials could exploit CVE-2025-20333 by sending specially crafted HTTP requests to a vulnerable device
Cisco's investigation uncovered a sophisticated attack that employed advanced evasion techniques, including disabling logging, intercepting CLI commands, and deliberately crashing devices to thwart diagnostic analysis.
Persistence
6 techniques
Persistence
This activity was associated with user accounts that existed but were no longer active within the agency [T1078].
CISA identified that APT actors first deployed LINE VIPER to establish illegitimate virtual private network (VPN) sessions [T1133] that bypassed all VPN authentication policies.
Line Viper malware ... created illegitimate VPN sessions
RayInitiator is a persistent multi-stage bootkit which facilitates the deployment of LINE VIPER to Cisco ASA (Adaptive Security Appliance) 5500-X series devices without secure boot... RayInitiator is a persistent GRand Unified Bootloader (GRUB) bootkit discovered flashed to victim devices. It survives reboots and firmware upgrades
These vulnerabilities allow attackers to execute arbitrary code, exfiltrate data and implant persistent malware to maintain access even after a device is rebooted.
LINE VIPER ... dokáže ... obchádzať VPN AAA...
Privilege Escalation
3 techniques
Privilege Escalation
CVE-2025–20333 (CVSS 9.9) affects the same WebVPN component and allows an authenticated remote attacker with valid VPN credentials to execute arbitrary code with root privileges.
This activity was associated with user accounts that existed but were no longer active within the agency [T1078].
These vulnerabilities allow attackers to execute arbitrary code, exfiltrate data and implant persistent malware to maintain access even after a device is rebooted.
Stealth
8 techniques
Stealth
LINE VIPER patches system integrity checks and returns results as if the device wasn’t compromised. It also collects CLI commands which would enable monitoring of user activity.
Cisco's investigation uncovered a sophisticated attack that employed advanced evasion techniques, including disabling logging, intercepting CLI commands, and deliberately crashing devices to thwart diagnostic analysis.
This activity was associated with user accounts that existed but were no longer active within the agency [T1078].
LINE VIPER has the ability to grant itself level 15 privilege and execute CLI commands, for example: • show vpn-sessiondb anyconnect
LINE VIPER and RayInitiator utilise victim specific tokens... To check for a LINE VIPER request, the <group-select> element is verified to ensure it starts with a hard-coded, victim specific, 8-byte ASCII string... LINE VIPER tasking payloads sent to victim devices are checked for multiple victim-specific tokens before they are run.
za účelom prevencie diagnostiky spôsobuje úmyselné reštarty zariadenia.
RayInitiator is a persistent multi-stage bootkit which facilitates the deployment of LINE VIPER to Cisco ASA (Adaptive Security Appliance) 5500-X series devices without secure boot... RayInitiator is a persistent GRand Unified Bootloader (GRUB) bootkit discovered flashed to victim devices. It survives reboots and firmware upgrades
Cisco's investigation uncovered a sophisticated attack that employed advanced evasion techniques, including disabling logging, intercepting CLI commands, and deliberately crashing devices to thwart diagnostic analysis.
Defense Impairment
2 techniques
Defense Impairment
LINE VIPER ... dokáže ... obchádzať VPN AAA...
Cisco's investigation uncovered a sophisticated attack that employed advanced evasion techniques, including disabling logging, intercepting CLI commands, and deliberately crashing devices to thwart diagnostic analysis.
Credential Access
4 techniques
Credential Access
LINE VIPER ... dokáže ... zachytávať pakety...
CVE-2025–20362... enabling session validation bypass, credential harvesting, or reconnaissance... LINE VIPER toolkit enables packet capture, VPN authentication bypass, syslog suppression, and credential harvesting
LINE VIPER ... dokáže ... obchádzať VPN AAA...
Line Viper is used to establish VPN sessions and access all configuration details, including administrative credentials, certificates, and private keys on compromised Firepower devices.
Discovery
4 techniques
Discovery
LINE VIPER ... dokáže ... zachytávať pakety...
LINE VIPER enabled APT actors access to all configuration elements of the victim Firepower device, including administrative credentials, certificates, and private keys [T1082].
Line Viper malware ... facilitated universal access to the device's files
za účelom prevencie diagnostiky spôsobuje úmyselné reštarty zariadenia.
Collection
1 technique
Collection
In the federal agency incident analyzed by CISA, the attackers first deployed a separate implant, called Line Viper, to gain access to device configurations, credentials, and encryption keys.
Command and Control
7 techniques
Command and Control
LINE VIPER is loaded into memory by RayInitiator and it receives command and control instructions over WebVPN client authentication sessions over HTTPS or via ICMP with responses over raw TCP.
LINE VIPER is loaded into memory by RayInitiator and it receives command and control instructions over WebVPN client authentication sessions over HTTPS
A second tasking method, via ICMP, has been observed. Responses to tasking, i.e. exfiltration, via this method are sent in raw TCP packets... LINE VIPER can receive tasking via ICMP.
Upon successful verification, the next stage of the malware is loaded by copying it into LINA’s memory and invoking mprotect to enable execution of the newly injected code.
LINE VIPER responds to ICMP tasking via raw TCP using high-ephemeral ports... Observed destination ports used are random high ports, >60000.
After this challenge the rest of the data is decrypted using AES-CBC-256 with the corresponding decryption IV and key... LINE VIPER receives tasking encrypted with a per-request AES key.
LINE VIPER uses per-victim RSA keys for securing tasking and exfiltration via the WebVPN client authentication method... LINE VIPER uses an RSA public key to perform a symmetric key exchange.
Impact
1 technique
Impact
Cisco's investigation uncovered a sophisticated attack that employed advanced evasion techniques, including disabling logging, intercepting CLI commands, and deliberately crashing devices to thwart diagnostic analysis.
Recent activity
119 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.