NadMesh Botnet Targets AI and MCP Servers With 20+ Remote Code Execution Vectors

Discovered in early July 2026, NadMesh identifies itself in code as “n4d mesh controller” and operates as a long‑lived, iteratively developed botnet rather than a one‑off worm outbreak.

It is written in Go and integrates Scanning, exploitation, credential theft, and AI/MCP service intelligence collection into a single mesh‑style infrastructure centered on attacker‑controlled VPS nodes.

The name NadMesh comes from the controller component, which coordinates large numbers of bots and maintains persistent visibility via a web panel, statistics, and canary‑style updates.

Unlike traditional worms that spray exploits, NadMesh behaves like a productized attack platform with a clear focus on AI workloads and the emerging MCP ecosystem.

It tracks operational metrics such as exploit conversion funnels, successful deployments, and honeypot avoidance, indicating a commercial‑style mindset that optimizes return on investment rather than opportunistic vandalism.

NadMesh Targets AI Servers

At the core of NadMesh is an autonomous scanning engine seeded with more than 90 cloud provider address ranges, allowing the botnet to expand continuously without human intervention.

Bots request tasks from the controller via HTTP APIs, receive CIDR blocks and port sets, and fall back to generating random /24 ranges when the central task queue runs dry, ensuring they never sit idle.

NadMesh Targets AI Servers (Source: qianxin)
NadMesh Targets AI Servers (Source: qianxin)

The standard scan set covers 30 ports associated with web services, Kubernetes, Docker APIs, databases, monitoring, and AI/MCP endpoints, including 8188 (ComfyUI), 11434 (Ollama), 5678 (n8n), and 7860 (Gradio), which are explicitly treated as priority targets.

On top of this discovery layer, NadMesh exposes more than 20 exploitation vectors, many of them high‑risk RCE paths into cloud and AI infrastructure.

These include MCP JSON‑RPC tools that can call execute_command, Kubernetes API abuse via pods with hostPath mounts, Docker API misuse to launch containers with host networking and auto‑restart, and classic Redis CONFIG SET dir plus SAVE to plant cron‑driven persistence.

Additional vectors target Elasticsearch, SSH/Telnet weak credentials, Jenkins script consoles, Spring Cloud Gateway expression injection, code‑server, Airflow, Superset, XXL‑Job, and WebLogic deserialization bugs, all orchestrated through a unified “chains” abstraction in the controller that models multi‑step exploit paths.

NadMesh Targets AI Servers (Source: qianxin)
NadMesh Targets AI Servers (Source: qianxin)

Once a deployment attempt completes, agents report status strings that the controller normalizes into success, exploit‑sent, failed, or intel categories, feeding a conversion funnel that shows how many scans led to exploitation and persistent footholds.

Hosts that repeatedly accept deployments without yielding results are flagged as suspected honeypots and automatically blocked, reducing wasted effort on researcher‑controlled traps, qianxin said.

An auxiliary script, ai_harvest.py, feeds the controller with fresh AI targets by querying Shodan for ComfyUI, Ollama, n8n, Open WebUI, Langflow, and Gradio signatures, converting results into high‑priority /32 scan tasks.

Combined with yield‑based task amplification and periodic rescan of “dangerous” hosts, this forms a feedback loop in which productive AI and MCP assets are repeatedly targeted until they are exploited or classified as honeypots.

Indicators of Compromise

IOC TypeIndicatorContext / Notes
C2 IP209.99.186[.]235Primary NadMesh controller / VPS hosting the mesh scanner and HTTP API endpoints (/api/*, /panel). Used for bot registration, tasking, intel, and deployment reporting.
C2 Domaincdnorigin[.]netCDN‑style distribution host used to serve agent binaries and updates, including disguised assets via paths such as /cdn/<binaryToken>/assets/img.bin.

Note: IP addresses and domains are intentionally defanged (e.g., [.]) to prevent accidental resolution or hyperlinking. Re-fang only within controlled threat intelligence platforms such as MISP, VirusTotal, or your SIEM.

Prevent critical incidents and financial loss with stronger proactive defense. Integrate a live threat feed from 15K SOCs

Varshini
Varshini
Varshini is a Cyber Security expert in Threat Analysis, Vulnerability Assessment, and Research. Passionate about staying ahead of emerging Threats and Technologies..

Trending News

Related Stories