LITTLELAMB.WOOLTEA
- Type
- Backdoor
- Capabilities
- PersistenceDefense evasionProcess injectionPost exploitationReconnaissance
- Platforms
- LinuxNetwork device
LITTLELAMB.WOOLTEA is a stealthy backdoor used to maintain access to compromised enterprise network appliances, particularly Ivanti Connect Secure VPN devices. It has been deployed by UNC5325, a suspected China-nexus cyberespionage actor, during exploitation of Ivanti vulnerabilities, including CVE-2024-21893 chained with CVE-2024-21887. The backdoor supports SSL-encrypted communications using the compromised appliance’s web-server private key, SOCKS proxying, and standalone operation through a Unix-domain socket.
Its persistence mechanisms include appending malicious components to an archive in the appliance’s factory-reset partition. These modifications are intended to preserve access across upgrades, patches, and factory resets; observed Ivanti persistence attempts failed because the malware did not account for an encryption-key mismatch.
A backdoor discovered on a Palo Alto Networks firewall following exploitation of CVE-2024-9474 was assessed as associated with LITTLELAMB.WOOLTEA. That implementation masquerades as a legitimate logging service, modifies startup and upgrade handling, and injects a library into nginx to intercept incoming connections. It recognizes operator traffic through a distinctive handshake, reuses an existing listening port, and encrypts communications using the appliance’s management-interface certificate. Its command set provides interactive shell access, file reading and writing, host-information retrieval, multi-node routing, network tunneling, and SOCKS5-style proxying over the backdoor network. Some tunneling functions were incomplete or nonfunctional in the analyzed implementation.
Associated vulnerabilities
3 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.
Mandiant has identified UNC5325 using a combination of living-off-the-land (LotL) techniques to better evade detection, while deploying novel malware such as LITTLELAMB.WOOLTEA in an attempt to persist across system upgrades, patches, and factory resets.
Mandiant has identified UNC5325 using a combination of living-off-the-land (LotL) techniques to better evade detection, while deploying novel malware such as LITTLELAMB.WOOLTEA in an attempt to persist across system upgrades, patches, and factory resets.
Techniques & procedures
12 distinct techniques documented for this family, organized by ATT&CK tactic.
Initial Access
1 technique
Initial Access
"Mandiant identified active exploitation of CVE-2024-21893 by UNC5325... targeting... Ivanti Connect Secure appliances."
Persistence
3 techniques
Persistence
"...deploying novel malware such as LITTLELAMB.WOOLTEA in an attempt to persist across system upgrades, patches, and factory resets."
[LITTLELAMB.WOOLTEA](https://attack.mitre.org/software/S1121) can initialize itself as a daemon to run persistently in the background.(Citation: Mandiant Cutting Edge Part 3 February 2024)
[LITTLELAMB.WOOLTEA](https://attack.mitre.org/software/S1121) can append malicious components to the `tmp/tmpmnt/bin/samba_upgrade.tar` archive inside the factory reset partition in attempt to persist post reset.(Citation: Mandiant Cutting Edge Part 3 February 2024)
Privilege Escalation
1 technique
Privilege Escalation
[LITTLELAMB.WOOLTEA](https://attack.mitre.org/software/S1121) can initialize itself as a daemon to run persistently in the background.(Citation: Mandiant Cutting Edge Part 3 February 2024)
Stealth
1 technique
Stealth
"...deploying novel malware such as LITTLELAMB.WOOLTEA in an attempt to persist across system upgrades, patches, and factory resets."
Defense Impairment
1 technique
Defense Impairment
"...modified the appliance's settings in order to evade detection and attempt to maintain persistence."
Discovery
2 techniques
Discovery
[LITTLELAMB.WOOLTEA](https://attack.mitre.org/software/S1121) can check the type of Ivanti VPN device it is running on by executing `first_run()` to identify the first four bytes of the motherboard serial number.(Citation: Mandiant Cutting Edge Part 3 February 2024)
[LITTLELAMB.WOOLTEA](https://attack.mitre.org/software/S1121) can monitor for system upgrade events by checking for the presence of `/tmp/data/root/dev`.(Citation: Mandiant Cutting Edge Part 3 February 2024)
Command and Control
5 techniques
Command and Control
[LITTLELAMB.WOOLTEA](https://attack.mitre.org/software/S1121) has the ability to function as a SOCKS proxy.(Citation: Mandiant Cutting Edge Part 3 February 2024)
Aria-body has the ability to use a reverse SOCKS proxy module... BADHATCH can use SOCKS4 and SOCKS5 proxies... GoBear implements SOCKS5 proxy functionality... Neo-reGeorg has the ability to establish a SOCKS5 proxy... Remcos uses the infected hosts as SOCKS5 proxies...
[LITTLELAMB.WOOLTEA](https://attack.mitre.org/software/S1121) can function as a stand-alone backdoor communicating over the `/tmp/clientsDownload.sock` socket.(Citation: Mandiant Cutting Edge Part 3 February 2024)
The content repeatedly describes malware and threat actors using SSL, TLS, HTTPS, RSA, AES, Blowfish, RC4, ECIES, Diffie-Hellman, OpenSSL, WolfSSL, and mutual TLS to protect command and control traffic.
[LITTLELAMB.WOOLTEA](https://attack.mitre.org/software/S1121) can communicate over SSL using the private key from the Ivanti Connect Secure web server.(Citation: Mandiant Cutting Edge Part 3 February 2024)
Observables
5 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.
Recent activity
10 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.