← Threats · Compromise hunt · Agent tool channel

MCP-as-C2 Compromise Hunt — The Gentlemen Files

CloudSEK "Caught in 4K: The Gentlemen Files" (week-ending-2026-10-13 agentic-AI security roundup) — operator "Azazel" registered a reverse shell as an MCP tool inside an AI coding assistant; intrusions led to multi-country data theft including a medical-imaging provider. This is confirmed operational criminal use of agent tool access for command-and-control and data exfiltration — the agent's own tooling becomes the attacker's infrastructure. Who is affected: Anyone with coding assistants/agents wielding tool access.

What this is — and is not. This is a guided self-check over answers you declare about your own fleet. BreachHunter cannot inspect your agents, tool registrations or tool-call logs, never probes anyone's MCP servers, and never emits a “you are compromised” finding. The verdict is an exposure posture grade (EXPOSED / AT-RISK / COVERED / NOTEXPOSED / UNKNOWN) over your declared answers — a hunt-checklist signal for your own team, never proof of breach and never proof of safety. The indicators below are a checklist to run on your own configs and logs — never automated remediation — and no credential material belongs in this form. Source: CloudSEK, “Caught in 4K: The Gentlemen Files” (Week ending 2026-10-13 (agentic-AI security roundup; relay: aiagentstore.ai)).

The pattern

Technique: MCP as a COMMAND CHANNEL: a reverse shell registered as an MCP tool inside an AI coding assistant.

Impact: Intrusions leading to multi-country data theft, including a medical-imaging provider — CONFIRMED operational criminal use of agent tool access for C2 and data exfiltration.

Known unknowns: Attacker identity beyond the operator alias "Azazel", the full victim list, and the total scale of data theft are unknown — assume more victims exist.

Run the hunt

Answer for your whole fleet — engineers' machines, IDEs, CI and automation all count, including shadow setups nobody centrally approved. “Don't know” is an honest answer: it scores as an open gap, not as a pass.

Do AI coding assistants or agents with tool access (MCP or built-in tools) run anywhere in your fleet — engineers' machines, IDEs, CI, automation?

Have you inventoried every MCP tool registered across the fleet — every assistant config, agent runner and CI agent, including shadow setups?

Has the inventory turned up any unapproved tools — reverse-shell / network-dial patterns, or anything off the approved allowlist?

Do tool-call logs show anomalous cadence consistent with C2 heartbeats — fixed-interval, off-hours or metronome-like calls with no human workflow behind them?

Do tool-call logs show bulk reads of sensitive stores (credentials, records, repositories, backups) through tool calls, beyond an agent's assigned task?

Do any tool calls resolve to external IPs or domains outside your estate — endpoints the agent's task never referenced?

Have you preserved evidence first — exported the tool-call audit logs and snapshotted every MCP server config — before any cleanup or credential rotation?

Compromise-hunt indicators — run these on your own configs and logs

MCP tool registrations with reverse-shell / network-dial patterns

The live pattern is a reverse shell REGISTERED as an MCP tool. Audit every MCP server config in the fleet (mcpServers blocks in assistant configs, agent runner configs, CI agent setups): tool names, descriptions, and JSON schemas mentioning shell execution (bash/sh/powershell/cmd), raw socket or network dial-out, download-and-execute helpers (curl/wget), /dev/tcp-style redirections, or base64-encoded command payloads. Any tool whose schema allows arbitrary command execution or network egress that the assistant's job never needed is a suspected implant — quarantine the registration, do not just delete it (evidence first).

Tool calls whose payloads resolve to external IPs / domains

Export the agent tool-call audit logs and inspect tool-call arguments for IPs, domains, or URLs outside the organization's estate: lookups that resolve externally, callbacks to VPS or bulletproof hosts, and data sent to endpoints the agent's task never referenced. A coding assistant has no legitimate reason to dial infrastructure the engineer never asked for — such calls are the operator's channel hiding inside sanctioned tooling.

Anomalous tool-call cadence consistent with C2 heartbeats

Beaconing hides in the tool-call timeline. Baseline each agent's normal tool-invocation rhythm, then hunt deviations: fixed-interval invocations with no jitter, regular off-hours activity, a steady drip of low-value calls whose only purpose is keeping a channel alive, and bursts that follow a metronome rather than a human workflow. Correlate suspicious cadence with the external destinations from the previous indicator — heartbeat + external endpoint is the C2 signature of this pattern.

Bulk reads of sensitive stores THROUGH tool calls (exfil via sanctioned channels)

Azazel's payoff was data theft, and the channel was legitimate tooling: file-read, database-query, API-fetch, and backup tools pulling credential stores, patient records (the medical-imaging victim), source repositories, and backups in volumes inconsistent with the agent's assigned task. Review which stores each agent's tools touched, how much was read, and where the output went — exfiltration through sanctioned channels looks legitimate in the logs, so scope the audit by data sensitivity, not by tool legitimacy. Regulated data touched this way carries breach-notification duty.

Remediation playbook — evidence first, in this order

PRESERVE EVIDENCE FIRST — export tool-call audit logs before touching anything

Removing a rogue MCP tool or rotating a credential wipes the trail. BEFORE any remediation: export the full agent tool-call audit logs, snapshot every MCP server config (mcpServers blocks) across the fleet, and preserve agent session histories. Image or snapshot agent hosts where feasible. Patch and cleanup guidance comes AFTER this step, never before.

Enumerate registered MCP tools across the fleet

Inventory every tool registered on every assistant/agent instance: built-in tools, custom tools, and MCP-server-provided tools. Include shadow setups — personal assistant configs, IDE plugins, and CI agents count. You cannot diff what you have not listed.

Diff against the approved tool allowlist

Compare the fleet inventory against the approved tool allowlist. Anything not on the allowlist — or matching the reverse-shell / network-dial patterns — is an unapproved tool and is treated as a suspected implant until your own team clears it. Quarantine the registration for forensics; do not silently delete it.

Isolate agents carrying unapproved tools

Revoke network and credential access for every agent instance carrying an unapproved tool, freeze its sessions, and pull it out of CI / automation schedules. Isolation is at the AGENT level — the tool is the channel, the agent is the compromised asset.

Rotate every credential the agent could reach

The operator inherits the agent's privileges: rotate EVERYTHING in the agent's reach — the agent's own API keys and OAuth tokens, cloud / service credentials it used, vault and secret-store access it held, repository and deploy tokens. Re-issue and revoke; do not just re-password. Scope the rotation by the tool-call audit: whatever the agent could read, assume the operator could read.

Audit data accessed via tool calls — scope notification duty

Reconstruct what the agent read and exfiltrated through its tools (bulk sensitive-store reads from the indicator set). The live pattern hit a medical-imaging provider: regulated data (health, financial, personal) touched through tool calls triggers breach-notification obligations — engage legal/compliance once the audit names the data classes involved.

Hunt steps, in order

1. PRESERVE EVIDENCE FIRST: export agent tool-call audit logs and snapshot every MCP server config BEFORE removing tools or rotating credentials — cleanup wipes the trail.

2. Answer the exposure triage: coding assistants with tool access in the fleet, MCP tools inventoried, unapproved tools (reverse-shell/network-dial patterns or off-allowlist), heartbeat cadence, bulk sensitive reads via tools, external tool-call destinations?

3. If EXPOSED: assume-breach triage — enumerate and allowlist-diff every registered MCP tool, isolate agents carrying unapproved tools, rotate every credential the agent could reach, audit data touched via tool calls (regulated data => notification duty).

4. Enforce the allowlist going forward: approve only known-good tools, pin MCP server sources, re-inventory after every agent/config/tool change.

5. Re-run this hunt after any agent, config, or tool change — and keep watching CloudSEK and agentic-AI security coverage (operator "Azazel"; full victim list and scale unknown).

Agent tooling is now part of the attack surface: BreachHunter's Pro scan grades the public surface attackers see from outside — headers, TLS, exposed files, edge and mail configuration — while this hunt covers the tool channel only your own team can see. Monitoring ($29/mo) watches the public surface continuously; the paid door is a one-time $49 Pro scan with fixes.

Run the free scan · See BreachHunter plans — Pro $49 one-time · Monitoring $29/mo · Fortinet edge-appliance compromise hunt · Browse the full KEV catalog · All Ingenious AI platforms

Intel source: CloudSEK via the week-ending-2026-10-13 agentic-AI security roundup (relay: aiagentstore.ai). Nothing on this page was probed, scanned or verified against your systems — every verdict rests on the answers you declared.