NetGhost
- Capabilities
- Post exploitationDefense evasion
- Platforms
- LinuxNetwork device
NetGhost is a malicious shell script used by ViciousTrap to turn compromised, internet-facing routers into traffic-redirection nodes for a distributed, honeypot-like interception network. Observed activity dates to March 2025 and includes exploitation of CVE-2023-20118 in Cisco Small Business routers. NetGhost has also been deployed on D-Link DIR-850L routers compromised through a buffer-overflow vulnerability. Many affected devices are end-of-life systems.
After execution, NetGhost deletes its own script to reduce forensic artifacts, selects an available web-service port, removes existing redirection rules associated with attacker infrastructure, and configures iptables network address translation rules to forward inbound connections to an attacker-controlled listener. It also sends HTTP notifications containing a victim-specific identifier and the selected port, enabling operators to register and track successful compromises.
The resulting infrastructure enables adversary-in-the-middle interception of network flows and observation of incoming exploitation attempts. Internet measurements identified approximately 5,300 compromised hosts across 84 countries associated with the redirection network. ViciousTrap's ultimate objectives and attribution remain unresolved.
Associated vulnerabilities
1 CVE 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.
This malicious script, internally named as NetGhost, is designed to redirect network traffic from the compromised system to third-party infrastructure controlled by the attacker, effectively enabling Man-in-the-Middle (MitM) capabilities .
Observables
14 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.
Recent activity
4 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.