LionTail
- Type
- Backdoor
- Capabilities
- Defense evasionExfiltrationPost exploitation
- Platforms
- Windows
LIONTAIL is a Windows malware framework comprising custom shellcode loaders and memory-resident backdoor implants. It is used by Scarred Manticore, an Iranian cyberespionage group linked to OilRig/APT34, against government and telecommunications organizations in the Middle East.
LIONTAIL abuses undocumented functionality in the Windows HTTP.sys driver to receive and extract payloads from incoming HTTP traffic. Its implants listen for, intercept, and decode messages matching attacker-defined URL patterns. Operators customize implants for individual compromised servers, allowing malicious communications to blend with legitimate HTTP activity. The framework supports reverse shells and reverse proxies, enabling covert remote access and data extraction. Its memory-resident execution further reduces visibility, and implants have been identified within a legitimate Windows WMI host process on critical servers. LIONTAIL supports low-visibility, post-compromise access in espionage operations.
Associated threat actors
3 distinct threat actors Mallory has associated with this family across public reporting. Open in Mallory to see the full evidence chain and overlapping campaigns.
The threat actor leveraged the LIONTAIL framework, which is a set of custom loaders and memory-resident shellcode payloads.
The threat actor leveraged the LIONTAIL framework, which is a set of custom loaders and memory-resident shellcode payloads.
...including the LionTail framework, TEMPLEDOOR, SASHEYAWAY, and a repurposed Windows kernel driver... designed to sustain long-term, low-visibility access.
Techniques & procedures
12 distinct techniques documented for this family, organized by ATT&CK tactic.
Execution
1 technique
Execution
The advisory identifies Native API under Execution.
Persistence
2 techniques
Persistence
LIONTAIL "attaches itself to a Windows server, listening for, intercepting, and decoding messages matching specific URL patterns"; the advisory also lists Server Software Component under Persistence.
Persistence was maintained through web shells and scheduled tasks
Privilege Escalation
1 technique
Privilege Escalation
Эти компоненты внедряют вредоносные DLL-библиотеки Eternalblue2.dll и Doublepulsar2.dll в процессы lsass.exe и explorer.exe...
Stealth
4 techniques
Stealth
The advisory identifies Obfuscated Files or Information under Defence Evasion.
Эти компоненты внедряют вредоносные DLL-библиотеки Eternalblue2.dll и Doublepulsar2.dll в процессы lsass.exe и explorer.exe...
LIONTAIL intercepts and decodes messages matching attacker-determined URL patterns; the advisory lists Deobfuscate/Decode Files or Information under Defence Evasion.
...сложным набором кастомных загрузчиков и резидентных имплантов на основе шелл-кода...
Collection
1 technique
Collection
The advisory identifies Data from Information Repositories under Collection.
Command and Control
3 techniques
Command and Control
This may indicate that the attacker exploited a vulnerability in the web application to gain remote code execution, allowing them to establish a reliable command and control channel that bypassed the firewall because it was initiated from inside the network.
LIONTAIL exploits HTTP traffic and extracts payloads from incoming HTTP traffic after intercepting messages matching specific attacker-defined URL patterns.
The attacker used Impacket to execute a PowerShell command that downloaded an executable from a command-and-control server.
Exfiltration
1 technique
Exfiltration
The advisory states Scarred Manticore deploys customized tools "to extract data" and lists Exfiltration Over C2 Channel under Exfiltration.
Observables
18 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.
Recent activity
6 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.