ASPXSpy
- Type
- Webshell
- Capabilities
- PersistencePost exploitationReconnaissanceDefense evasion
- Delivery
- Exploit kit
- Platforms
- Windows
ASPXSpy is a publicly available ASP.NET web shell used to maintain remote access to compromised Windows web servers, particularly those running Microsoft Internet Information Services (IIS), including on-premises Microsoft Exchange servers. It provides a password-protected control panel supporting system-information lookup, file creation, and process and command execution. Observed versions validate access against an MD5 password hash, and attackers commonly modify the access password. Its execution privileges depend on the hosting application pool; operators have used separate privilege-escalation tools when the shell initially runs with restricted permissions.
Attackers typically deploy ASPXSpy after exploiting vulnerabilities in internet-facing applications or abusing file-upload functionality. Deployments include persistent access following Exchange exploitation and mass placement across hosted websites. Modified variants have been concealed in deeply nested directories, disguised as certificate-related text files, or Base64-encoded to hinder detection. The shell enables follow-on execution of additional tools but is distinct from the credential-theft utilities, tunneling software, ransomware, and cryptocurrency miners used alongside it.
ASPXSpy has been used by multiple unrelated espionage and financially motivated actors, including APT27, HAFNIUM, APT39, Agrius, Lebanese Cedar, and XE Group. APT27, also tracked as Threat Group-3390 and BRONZE UNION, has used a modified variant called ASPXTool. Documented deployments span government environments, web-hosting and IT providers, and businesses across multiple industries; the family is not exclusive to a particular actor or sector.
Associated vulnerabilities
8 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
9 distinct threat actors Mallory has associated with this family across public reporting. Open in Mallory to see the full evidence chain and overlapping campaigns.
We observed a mix of custom and publicly available web shells, including variations of ASPXSpy, Godzilla, Bysunue.aspx and Suo5.
ASPXSpy is a Web shell. The ASPXTool version used by Threat Group-3390 has been deployed to accessible servers running Internet Information Services (IIS).
ASPXSpy is a Web shell. The ASPXTool version used by Threat Group-3390 has been deployed to accessible servers running Internet Information Services (IIS).
ASPXSpy is a Web shell. The ASPXTool version used by Threat Group-3390 has been deployed to accessible servers running Internet Information Services (IIS).
Among the web shells Veloxity said it saw deployed were China Chopper variants and ASPXSPY.
+3 more in the app. View in Mallory
Techniques & procedures
13 distinct techniques documented for this family, organized by ATT&CK tactic.
Resource Development
1 technique
Resource Development
The HAFNIUM threat group uses the following tools to help its post-compromise behaviors.
Initial Access
1 technique
Initial Access
a growing number of attackers are attempting to exploit four recently patched zero-day vulnerabilities in the software
Execution
2 techniques
Execution
webshelly ASPXSpy ... umožňuje vytvoriť si zadné vrátka do systému.
Web shells used by the HAFNIUM threat group, such as China Chopper, allow adversaries to execute commands on the victim server using Windows Command Shell (cmd.exe).
Persistence
1 technique
Persistence
[ASPXSpy](https://attack.mitre.org/software/S0073) is a Web shell. The ASPXTool version used by [Threat Group-3390](https://attack.mitre.org/groups/G0027) has been deployed to accessible servers running Internet Information Services (IIS).(Citation: Dell TG-3390)
Stealth
4 techniques
Stealth
CVE-2024-57968 ... umožňuje vzdialeným autentifikovaným útočníkom útok typu path traversal a nahrávanie súborov do priečinkov, ktoré na to neboli určené.
a malicious script they hid inside “Certificate” text files
HAFNIUM masquerade names of deployed web shells as identical or similar names of legitimate files, such as log.aspx, logout.aspx, default.aspx, errorPage.aspx, and server.aspx.
The content repeatedly describes malware and threat actors decoding, decrypting, deobfuscating, or unpacking payloads, strings, configuration data, commands, and C2 responses prior to execution or use.
Credential Access
1 technique
Credential Access
HAFNIUM creates and steals copies of the NTDS.dit file using deployed web shells.
Discovery
1 technique
Discovery
CVE-2021-26858 (CVSS 7.8) is a post-authentication arbitrary file write vulnerability in Exchange... they could then use this vulnerability to write a file to any path on the server.
Lateral Movement
1 technique
Lateral Movement
Agrius uses those webshells to tunnel RDP traffic in order to leverage compromised accounts to move laterally.
Command and Control
1 technique
Command and Control
The HAFNIUM threat group communicates with deployed web shells using application-layer web protocols (HTTP/HTTPS).
Observables
15 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.
Recent activity
22 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.