Security researchers at Ontinue have identified that the open-source Nezha server monitoring tool, originally intended for legitimate IT administration, is being exploited by sophisticated threat actors as a Remote Access Trojan (RAT). Attackers are leveraging Nezha’s legitimate features—such as system health monitoring, command execution, file transfer, and interactive terminal sessions—to gain persistent, undetected access to compromised systems. The tool’s popularity and benign reputation, with nearly 10,000 GitHub stars and zero detections on VirusTotal, allow it to evade traditional security solutions, making it an attractive option for malicious actors.
Investigations revealed that attackers deploy Nezha using a bash script containing Chinese-language status messages and configuration details pointing to a command and control server hosted on Alibaba Cloud. The deployment is silent, granting SYSTEM/root level access across a wide range of platforms, including Windows, Linux, macOS, and even home routers. This approach has enabled the compromise of hundreds of endpoints, demonstrating the scale and effectiveness of this technique. The incident highlights the growing trend of repurposing legitimate open-source tools for stealthy post-exploitation activities.

Pull IOCs and campaign context straight into your stack.
3 events from the most recent confirmed update back to the earliest known activity.
Ontinue researchers accessed the attackers’ Nezha dashboard in a sandbox, confirming the scale of the compromise and the use of the tool for centralized control of compromised devices. Their public reporting highlighted the detection challenges posed by abuse of legitimate administrative software and urged organizations to hunt for unauthorized Nezha installations.
Ontinue researchers discovered that threat actors were abusing Nezha as a post-exploitation remote access trojan, using its legitimate command execution, file transfer, and terminal features to control compromised systems. The activity affected hundreds of endpoints, with agents running as SYSTEM or root and infrastructure linked to Alibaba Cloud in Japan and Chinese-language deployment artifacts.
Previous incidents involving the legitimate open-source monitoring tool Nezha were reported by Huntress in October 2025, with organizations in East Asia identified as targets. This established an earlier pattern of attackers repurposing Nezha for malicious access.
Vulnerabilities, threat actors, malware, products, organizations, breaches, and observables Mallory has linked to this story. Indicator values are masked here and available in full in the app.
Indicator values are masked on this page. See the values in Mallory Domains, IPs, hashes, and URLs are exportable to your SIEM.
Pull the IOCs, campaigns, and victimology behind this family, ready to push into your SIEM and EDR.
2 references tracked. Mallory keeps watching after this page renders.
Map indicators from this story to your assets and identify affected systems in minutes.
Every observed campaign, victim, and pivot linked to actors named in this story.
Malware, exploits, and IOCs connected to the activity described here.
YARA, Sigma, and Snort rules deployed to your SIEM as soon as they’re published.
Get matching new stories delivered to your team as they break — not the next morning.
Ask questions about this story and take action on the answers.