Skip to main content
Mallory
Malware1 associated actor4 associated CVEs

GhostWebShell

Tracked since May 31, 2026 · Updated 1 month ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 daysNo mention activity in the last 30 days.
Vulns4Associated
Actors1Associated
ATT&CK1Technique
IOCs0Tracked
Type
Webshell
Capabilities
PersistencePost exploitationDefense evasion
Platforms
Windows

GhostWebShell is an ASP.NET web shell that provides remote command execution and persistent access to compromised Windows web servers. It embeds a Base64-encoded ASP.NET page that accepts attacker-supplied commands through an HTTP query parameter, executes them using the Windows command interpreter, and returns standard output and standard error as HTML-formatted responses. It uses reflection to temporarily modify internal ASP.NET BuildManager flags, bypass application precompilation checks, and register a custom VirtualPathProvider. This allows a malicious page to be supplied from memory or a nonstandard location and exposed through an apparently legitimate application path. GhostWebShell executes the injected page through ASP.NET server functionality, restores the original flags to reduce its footprint, and communicates exceptions through a custom HTTP response header.

GhostWebShell has been deployed following exploitation of on-premises Microsoft SharePoint servers through the ToolShell vulnerability chain, involving CVE-2025-49704, CVE-2025-49706, CVE-2025-53770, and CVE-2025-53771. It has also been found on an internet-facing web server during a Medusa ransomware intrusion, where web shells maintained access after exploitation of a vulnerable public-facing application. GhostWebShell code from the ysoserial utility is incorporated into GhostContainer, a separate modular backdoor deployed by NightEagle, also known as APT-Q-95, on Microsoft Exchange servers in attacks against Russian businesses.

Is this in your environment?See whether this family's indicators match your telemetry and which of your assets are exposed to the CVEs associated with it.
Check your exposure
Associated CVEs

Associated vulnerabilities

4 CVEs Mallory has correlated with this family across public research and vendor advisories. Each card links to the full Mallory page for that vulnerability.

CVE-2025-53771via fortinet threat researchExploited in the wildAuthentication Bypass in Microsoft SharePoint Server (ToolShell)Threat actors are combining two previously patched vulnerabilities (CVE-2025-49704 and CVE-2025-49706) with two fresh, zero-day variants (CVE-2025-53770 and CVE-2025-53771) to achieve remote code execution.View vulnerability →Source ↗
CVE-2025-53770via fortinet threat researchExploited in the wildToolShell: Unauthenticated Remote Code Execution in Microsoft SharePoint ServerThis attack leverages a newly identified exploit chain dubbed "ToolShell." Threat actors are combining two previously patched vulnerabilities (CVE-2025-49704 and CVE-2025-49706) with two fresh, zero-day variants (CVE-2025-53770 and CVE-2025-53771) to achieve remote code execution. | Threat actors are combining two previously patched vulnerabilities (CVE-2025-49704 and CVE-2025-49706) with two fresh, zero-day variants (CVE-2025-53770 and CVE-2025-53771) to achieve remote code execution.View vulnerability →Source ↗
CVE-2025-49704via fortinet threat researchExploited in the wildMicrosoft SharePoint Server Code Injection RCE (ToolShell)Threat actors are combining two previously patched vulnerabilities (CVE-2025-49704 and CVE-2025-49706) with two fresh, zero-day variants (CVE-2025-53770 and CVE-2025-53771) to achieve remote code execution.View vulnerability →Source ↗
CVE-2025-49706via fortinet threat researchExploited in the wildAuthentication bypass in Microsoft SharePoint Server (ToolShell)Threat actors are combining two previously patched vulnerabilities (CVE-2025-49704 and CVE-2025-49706) with two fresh, zero-day variants (CVE-2025-53770 and CVE-2025-53771) to achieve remote code execution.View vulnerability →Source ↗
Threat actors

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.

View more details →
NightEagle

GhostContainer ... includes elements connected to the Neo-reGeorg tunnel, code for CVE-2020-0688, and the GhostWebShell class.

via cyber security newscybersecuritynews.com
MITRE ATT&CK

Techniques & procedures

1 distinct technique documented for this family, organized by ATT&CK tactic.

Persistence

1 technique
T1505.003Web ShellEvidence3

On Microsoft Exchange servers, the attackers deployed GhostContainer, a .NET backdoor assembled from public components. It includes elements connected to the Neo-reGeorg tunnel, code for CVE-2020-0688, and the GhostWebShell class.

Activity feed

Recent activity

5 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.

View more in app →
+1 more in the timeline. Sign up to see them
Is this in your environment?See whether this family's indicators match your telemetry and which of your assets are exposed to the CVEs associated with it.
Check your exposure
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets match these IOCs, which detections are missing, which campaigns to expect next, and what to do in the next 30 minutes.
IOC matchingMatch every observed IP, domain, and hash against your live telemetry.
Associated threat actors1Groups linked to this family, with evidence pinned to each claim.
Associated vulnerabilities4CVEs linked to this family, with the reporting behind each link.
Detection signaturesYARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
MITRE ATT&CK mapping1Every documented technique, ranked by evidence weight.
Researcher chatterReddit, Mastodon, and CTI community discussion around this family.