Skip to main content
Mallory
Malware1 associated actor1 associated CVE

NetGhost

Tracked since Nov 25, 2025 · Updated today
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 daysNo mention activity in the last 30 days.
Vulns1Associated
Actors1Associated
ATT&CK0Techniques
IOCs14Tracked
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.

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

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.

CVE-2023-20118via sekoia blogExploited in the wildRoot Command Injection in Cisco Small Business RV Series RoutersInitial access is obtained by the attacker through exploitation of the CVE-2023-20118 vulnerability, which affects several Cisco SOHO routers. The first exploitation attempt attributed to this actor was observed in March 2025. | 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 .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 →
ViciousTrap

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 .

via sekoia blogsekoia.com
Indicators of compromise

Observables

14 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.

View all in app →
Indicator values are available in Mallory. Pivot on every hash, domain, URL, and IP, or pipe them straight into your SIEM.View all in Mallory
Activity feed

Recent activity

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

View more in app →
scworldNews · May 27, 2025Over 5.5K edge devices breached to become honeypotsA post-exploitation script deployed on compromised edge devices to reduce/curb forensic artifacts, redirect inbound traffic (supporting honeypot/traffic manipulation use cases), and alert the operator when a compromise succeeds.Read more ↗the hacker newsNews · May 23, 2025ViciousTrap Uses Cisco Flaw to Build Global Honeypot from 5,300 Compromised DevicesNetGhost is a shell script deployed on compromised routers that redirects network traffic to attacker-controlled infrastructure, enabling adversary-in-the-middle attacks and observation of exploitation attempts. It also has self-removal capabilities to evade forensic analysis.Read more ↗sekoia blogNews · May 22, 2025ViciousTrap - Infiltrate, Control, Lure: Turning edge devices into honeypots en masse. - Sekoia.io BlogA post-exploitation shell script that uses iptables NAT rules to redirect inbound traffic (notably ports 80/8000/8080) from compromised edge devices to attacker-controlled interception servers, enabling man-in-the-middle traffic interception and collection of exploitation/webshell activity. It also beacons/registrations to attacker infrastructure using a dropped wget binary and self-deletes to reduce artifacts.Read more ↗sekoia blogNews · May 22, 2025ViciousTrap: Turning Edge Devices into Honeypots at ScaleMalicious shell script deployed by ViciousTrap on compromised edge devices, primarily end-of-life routers. It uses iptables to redirect inbound traffic on an available port among 80, 8000, and 8080 to attacker-controlled interception servers. It deletes itself and sends registration requests containing the redirected port and a unique victim identifier. The resulting honeypot-like network potentially enables interception of exploitation attempts, collection of non-public exploits, and reuse of other attackers' access.Read more ↗
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 matching14Match every observed IP, domain, and hash against your live telemetry.
Associated threat actors1Groups linked to this family, with evidence pinned to each claim.
Associated vulnerabilities1CVEs 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 mappingEvery documented technique, ranked by evidence weight.
Researcher chatterReddit, Mastodon, and CTI community discussion around this family.