Article
Living off the Land: The Cyberattack You’ll Never See Coming
Living off the land (LotL) attacks explained: how attackers abuse legitimate tools such as PowerShell and WMI, plus detection strategies and defense steps.
Quick links
Press Enter to search, Esc to close
Malware profile
VersaMem is a web shell that MITRE ATT&CK says was built for Versa Director servers, which help manage SD-WAN networks.
In short
VersaMem is a web shell that MITRE ATT&CK says was built for Versa Director servers, which help manage SD-WAN networks. It is a Java Archive that captures logon credentials and can run further Java payloads. MITRE lists it as used by Volt Typhoon in a zero-day campaign against ISPs and MSPs in 2024.
Versa Director is a product used to manage SD-WAN networks, and CISA says some Internet Service Providers and Managed Service Providers use it. MITRE says VersaMem was placed on these servers after the attackers had broken in, so that they could keep stealing logon details and run more code.
MITRE describes it as running inside the web server rather than as a separate program. It hooks the login routine and the web request path, so it sees passwords as people submit them.
Public sources use several names for this malware.
| Name | Where it appears |
|---|---|
| VersaMem | MITRE ATT&CK software S1154 (no other names listed)[1, 2] |
What MITRE ATT&CK lists this malware as doing, by tactic. Each id opens our technique page where one exists, otherwise MITRE.
Command and Scripting Interpreter T1059
It ships as a Java Archive that runs by attaching itself to the Apache Tomcat servlet and web server.[1]
Exploitation for Client Execution T1203
It was installed by exploiting CVE-2024-39717 in Versa Director servers.[1]
Shared Modules T1129
It uses the Java Instrumentation API and Javassist to change Java code that is already in memory.[1]
Input Capture: Credential API Hooking T1056.004
It hooks and overrides Versa's own authentication method, setUserPassword, to catch plaintext credentials as they are submitted.[1]
Network Sniffing T1040
It hooks the Tomcat filter chain to watch all inbound requests to the local web server for passwords and for follow-on Java modules.[1]
Obfuscated Files or Information: Encrypted/Encoded File T1027.013
It encrypts captured credentials with AES and then Base64 encodes them before writing them to local storage.[1]
Indicator Removal: File Deletion T1070.004
It deletes files left from the first install, such as temporary files tied to the process ID of the main web process.[1]
MITRE says VersaMem was installed after attackers exploited CVE-2024-39717 in Versa Director servers. CISA lists this flaw in its Known Exploited Vulnerabilities Catalog (added 23 August 2024) as an unrestricted file upload flaw in the Versa Director GUI. MITRE describes the campaign as aimed at Versa Director servers at managed service providers and internet service providers, to enable follow-on access to the providers' clients. No government source found describes any other way it spreads.
The order of steps in a typical infection, as the sources describe it.
Attackers exploit a vulnerability in Versa Director servers, since identified as CVE-2024-39717, for initial access and code execution.[2]
The exploitation is followed by delivery of the VersaMem web shell, for credential theft and follow-on code execution.[2]
VersaMem hooks the login routine, then encrypts and stages captured credentials locally.[1]
MITRE says the credentials let attackers gain follow-on access to the clients of the service provider.[2]
AA24-038A says the agencies assess that PRC state-sponsored actors are pre-positioning on IT networks of US critical infrastructure. It does not mention VersaMem or Versa Director.[8]
MITRE dates the campaign it attributes to Volt Typhoon from early June 2024.[2]
The National Vulnerability Database record for the Versa Director flaw is first published.[7]
CISA adds CVE-2024-39717 to its Known Exploited Vulnerabilities Catalog, based on evidence of active exploitation.[4]
CISA urges organizations to apply updates, hunt for malicious activity and report positive findings to CISA.[5]
MITRE ATT&CK calls it a web shell designed for deployment to Versa Director servers following exploitation, delivered as a Java Archive. It captures logon credentials and can run further Java payloads.
MITRE says VersaMem was installed through exploitation of CVE-2024-39717 in Versa Director servers. CISA added that flaw to its Known Exploited Vulnerabilities Catalog on 23 August 2024.
MITRE ATT&CK lists Volt Typhoon as the user, in a campaign it dates June to August 2024. CISA's alerts on the Versa flaw do not name an actor.
MITRE says the campaign focused on Versa Director servers at managed service providers and internet service providers, to enable follow-on access to their clients.
CISA urges organizations to apply updates for the Versa flaw, hunt for malicious activity and report positive findings to CISA.
Take control of your digital security with an exclusive demo of our AI-driven threat intelligence platform.