FRAMESTING is a Python webshell used on compromised Ivanti Connect Secure VPN appliances to enable arbitrary command and code execution. It embeds malicious functionality into the appliance's legitimate CAV Python package, providing persistent HTTP-accessible access through an existing application component. It has been observed in Ivanti exploitation activity associated with the espionage threat actor UNC5221, also known as UTA0178.
FRAMESTING accepts payloads through an HTTP cookie that mimics a legitimate VPN-session cookie or through compressed request bodies. Its processing uses Base64 decoding, AES in ECB mode, zlib decompression, and Python exec to execute supplied code, with a shared cache retaining execution results. It can send and receive zlib-compressed data in HTTP POST requests. Embedding within legitimate application code and disguising malicious communications as normal appliance traffic support covert post-exploitation access.
1 distinct threat actor Mallory has associated with this family across public reporting. Open in Mallory to see the full evidence chain and overlapping campaigns.
The group has been observed using other distinct malware including CHAINLINE backdoor, FRAMESTING webshell.
10 distinct techniques documented for this family, organized by ATT&CK tactic.
[FRAMESTING](https://attack.mitre.org/software/S1120) is a Python web shell that can embed in the Ivanti Connect Secure CAV Python package.(Citation: Mandiant Cutting Edge Part 2 January 2024)
During the 2016 Ukraine Electric Power Attack, Sandworm Team used a trojanized version of Windows Notepad to add a layer of persistence for Industroyer.
[FRAMESTING](https://attack.mitre.org/software/S1120) is a web shell capable of enabling arbitrary command execution on compromised Ivanti Connect Secure VPNs.(Citation: Mandiant Cutting Edge Part 2 January 2024)
[FRAMESTING](https://attack.mitre.org/software/S1120) can embed itself in the CAV Python package of an Ivanti Connect Secure VPN located in `/home/venv3/lib/python3.6/site-packages/cav-0.1-py3.6.egg/cav/api/resources/category.py.`(Citation: Mandiant Cutting Edge Part 2 January 2024)
[FRAMESTING](https://attack.mitre.org/software/S1120) can decompress data received within `POST` requests.(Citation: Mandiant Cutting Edge Part 2 January 2024)
During the 2016 Ukraine Electric Power Attack, Sandworm Team used a trojanized version of Windows Notepad to add a layer of persistence for Industroyer.
Examples in the content include malware extracting or unpacking ZIP, RAR, CAB, tar.gz, and other archived content, such as 'Emotet has used a self-extracting RAR file to deliver modules to victims' and 'Rocke has extracted tar.gz files after downloading them from a C2 server.'
[FRAMESTING](https://attack.mitre.org/software/S1120) can send and receive zlib compressed data within `POST` requests.(Citation: Mandiant Cutting Edge Part 2 January 2024)
[FRAMESTING](https://attack.mitre.org/software/S1120) uses a cookie named `DSID` to mimic the name of a cookie used by Ivanti Connect Secure appliances for maintaining VPN sessions.(Citation: Mandiant Cutting Edge Part 2 January 2024)
[FRAMESTING](https://attack.mitre.org/software/S1120) can retrieve C2 commands from values stored in the `DSID` cookie from the current HTTP request or from decompressed zlib data within the request's `POST` data.(Citation: Mandiant Cutting Edge Part 2 January 2024)
Examples include 'Dark Caracal's version of Bandook communicates ... using HTTP payloads Base64 encoded,' 'BBSRAT ... send ZLIB compressed data back to the C2 server,' and 'FRAMESTING ... from decompressed zlib data within the request's POST data.'
1 indicator attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.
7 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.