GIFTEDVISITOR
- Type
- Webshell
- Capabilities
- PersistencePost exploitationDefense evasion
- Platforms
- LinuxNetwork device
GIFTEDVISITOR, also known as WIREFIRE, is a Python web shell deployed on Ivanti Connect Secure VPN appliances. It is embedded into an existing Python application component, providing persistent HTTP-based access to compromised devices. Its capabilities include file upload, file download, and arbitrary command execution, with process output returned to the operator using Base64 encoding. By modifying legitimate appliance software, it integrates malicious functionality into the existing web application rather than operating as a separate service.
GIFTEDVISITOR is associated with the China-nexus espionage activity tracked as UNC5221 and UTA0178. Attackers deployed it after chaining the authentication bypass vulnerability CVE-2023-46805 with the command injection vulnerability CVE-2024-21887. In January 2024, it was identified on more than 2,100 compromised Ivanti appliances worldwide. Affected organizations ranged from small businesses to Fortune 500 companies across government, military, telecommunications, defense, technology, financial services, aerospace, and other sectors. It was also deployed during the intrusion into MITRE's research and virtualization environment, where it supported continued access and command execution on a compromised Ivanti appliance.
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
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.
Threat intelligence company Volexity also said in January 2024 that UNC5221 had backdoored more than 2,100 Ivanti appliances using the GiftedVisitor webshell in attacks chaining the CVE-2023-46805 and CVE-2024-21887 zero-days.
Techniques & procedures
17 distinct techniques documented for this family, organized by ATT&CK tactic.
Initial Access
1 technique
Initial Access
Threat actors use custom web shells planted on public facing applications which allows persistence in victims’ environment.
Execution
5 techniques
Execution
They function as dormant backdoors, activated only when attackers submit specific HTTP requests containing commands or credentials.
the adversary executed suspicious Python scripts and /bin/sh commands from the /tmp directory
the adversary executed suspicious Python scripts... from the /tmp directory
“Cyber actors will exploit software vulnerabilities such as command-injection and achieve unauthenticated remote code execution (RCE).”
During the 2016 Ukraine Electric Power Attack, Sandworm Team used a trojanized version of Windows Notepad to add a layer of persistence for Industroyer.
Persistence
2 techniques
Persistence
[WIREFIRE](https://attack.mitre.org/software/S1115) is a web shell that can download files to and execute arbitrary commands from compromised Ivanti Connect Secure VPNs.(Citation: Mandiant Cutting Edge January 2024)
[WIREFIRE](https://attack.mitre.org/software/S1115) can modify the `visits.py` component of Ivanti Connect Secure VPNs for file download and arbitrary command execution.(Citation: Mandiant Cutting Edge January 2024)(Citation: Volexity Ivanti Zero-Day Exploitation January 2024)
Stealth
2 techniques
Stealth
[WIREFIRE](https://attack.mitre.org/software/S1115) can decode, decrypt, and decompress data received in C2 HTTP `POST` requests.(Citation: Mandiant Cutting Edge 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.
Collection
1 technique
Collection
a base64 encoded logo.gif file was an exact copy of a log file on the system which the adversary exfiltrated
Command and Control
6 techniques
Command and Control
BEEFLUSH ... communicated with several internal IP addresses making POST requests.
[WIREFIRE](https://attack.mitre.org/software/S1115) can respond to specific HTTP `POST` requests to `/api/v1/cav/client/visits`.(Citation: Mandiant Cutting Edge January 2024)(Citation: Volexity Ivanti Zero-Day Exploitation January 2024)
[WIREFIRE](https://attack.mitre.org/software/S1115) has the ability to download files to compromised devices.(Citation: Mandiant Cutting Edge January 2024)
C2 traffic from ADVSTORESHELL is encrypted, then encoded with Base64 encoding... APT19 HTTP malware variant used Base64 to encode communications to the C2 server... APT33 has used base64 to encode command and control traffic.
[WIREFIRE](https://attack.mitre.org/software/S1115) can Base64 encode process output sent to C2.(Citation: Mandiant Cutting Edge January 2024)
[WIREFIRE](https://attack.mitre.org/software/S1115) can AES encrypt process output sent from compromised devices to C2.(Citation: Mandiant Cutting Edge January 2024)
Exfiltration
1 technique
Exfiltration
The adversary exfiltrated data from the NERVE using command-and-control infrastructure.
Observables
2 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.
Recent activity
18 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.