ASPXSpy
- Type
- Webshell
- Capabilities
- PersistencePost exploitationReconnaissance
- Delivery
- Exploit kit
- Platforms
- Windows
ASPXSpy is a publicly available ASP.NET web shell used to maintain remote access to compromised Windows web servers, including systems running Microsoft Internet Information Services (IIS) and Microsoft Exchange. It provides a password-protected control panel supporting system-information lookup, file creation, and process execution. Attackers use it for reconnaissance, persistent server access, and deployment of additional malware, including remote-access trojans. An observed implementation authenticates operators by checking an MD5 password hash.
ASPXSpy is typically planted after exploitation of vulnerable internet-facing servers or web applications. Its execution privileges depend on the compromised web application’s security context; attackers have used separate privilege-escalation tools after obtaining web-shell access. Deployments have included large-scale placement across hosted websites to preserve multiple externally accessible footholds.
Multiple unrelated threat actors have used ASPXSpy, including APT27, HAFNIUM, APT39, Earth Alux, Lebanese Cedar, and XE Group. APT27, also known as Threat Group-3390, has deployed a modified variant called ASPXTool on IIS servers. Observed use spans government espionage, compromises of web-hosting and IT providers, and opportunistic intrusions against businesses across multiple industries. The family is not exclusive to any single actor or campaign.
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
10 distinct threat actors Mallory has associated with this family across public reporting. Open in Mallory to see the full evidence chain and overlapping campaigns.
Initial access came from exploited Exchange and web servers carrying ASPXSpy, Godzilla, Bysunue.aspx and Suo5 web shells
[Threat Group-3390](https://attack.mitre.org/groups/G0027) has used a modified version of ASPXSpy called ASPXTool.(Citation: Dell TG-3390)(Citation: Profero APT27 December 2020)
[Agrius](https://attack.mitre.org/groups/G1030) relies on web shells for persistent access post exploitation, with an emphasis on variants of [ASPXSpy](https://attack.mitre.org/software/S0073).(Citation: SentinelOne Agrius 2021)
+4 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
Principal : Exploitation de serveurs Microsoft Exchange et serveurs web non patchés, déploiement de web shells (ASPXSpy, Godzilla, Bysunue.aspx, Suo5)
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
POST requests to ASPXSpy, Godzilla, Bysunue.aspx and Suo5 web shell paths; reconnaissance commands and payload staging from web worker processes on internet-facing servers
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
28 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.