Agentic Pentest Framework Detection and Containment
Find the consoles, keep the logs, and shut the doors autonomous testing tools live behind.
Detect and contain agentic penetration-testing frameworks in your environment: hunt for exposed consoles, collect ARTEX and Cairn-style telemetry, preserve logs long enough to reconstruct autonomous actions, isolate abused hosts, and close the internet-facing management paths these tools depend on to operate.
Install it in 3 steps
No sign-up. No CLI tools. Pick your AI, copy one line, paste it over.
Prefer doing it yourself? Download the ZIP for free, unzip it into the directory shown above, restart your AI session — same result. Your AI assistant can download it for you too.
What's inside
One SKILL.md (the playbook) + one starter template. A preview:
The idea
Agentic penetration-testing frameworks chain reconnaissance, vulnerability discovery, and exploitation with little human pacing. Two November 2026 disclosures show the shape. An FBI flash on November 13 noted more than 1,600 exposed ARTEX consoles, and Microsoft reported on November 25 that six actors, including Storm-0940, had attempted activity against more than 2,250 Microsoft 365 tenants. Separately, Amazon Threat Intelligence disclosed on November 20 that AI agents built on the Cairn framework had autonomously found and exploited CVE-2026-133968 in MONAI Label during a September 8–10 campaign. Defenders face two problems at once: these tools may be running against you, and their consoles and logs — if exposed or discarded — decide whether you can reconstruct what an autonomous agent actually did. This skill covers hunting, telemetry, containment, and evidence preservation as one drill.
Workflow
- Inventory offensive tooling you own. List every legitimate red-team framework, scanner, and agent console in your estate, with owner, host, and network exposure. Anything agentic you cannot attribute to an owner is a finding, not a curiosity.
- Hunt for exposed consoles. Scan your external footprint and cloud accounts for framework consoles, dashboards, and APIs reachable from the internet. The FBI's count of exposed ARTEX consoles is the warning: a console left open hands an attacker both a weapon and its target list.
- Collect the right telemetry. Centralise authentication logs, process and command-line records, outbound connection logs, and framework task queues where you run such tools legitimately. For suspected hostile use, preserve web, application, and identity logs around every touched account and host.
- Set retention that survives an investigation. Autonomous campaigns can run quietly and surface weeks later — the Cairn campaign ran in September and was disclosed in November. Keep security logs for at least 90 days, longer for identity and public-signup systems, and protect them from tampering by the accounts they monitor.
- Detect agent-shaped behaviour. Alert on machine-paced enumeration, rapid sequential vulnerability probes, exploit attempts minutes after a new service appears, and tooling fingerprints in user agents, TLS, and request structure. Feed public-flow alerts from [signup-recovery-ai-defense] into the same queue.
- Contain without destroying evidence. Isolate the abused host or tenant, revoke sessions and tokens, snapshot disks and memory where feasible, and export framework logs before shutting anything down. Record a timeline as you go; autonomous actions compress hours of human activity into minutes.
- Close the management paths. Remove consoles from the public internet, put them behind SSO with MFA and allow-listed networks, rotate every credential the framework held, and audit what targets and results it stored.
- Write the reconstruction. Produce a step-by-step account of what the agent did, sourced from preserved telemetry, separating confirmed actions from inference. Label outside attributions at their stated confidence — Amazon's China-nexus call on the Cairn campaign was moderate-confidence, with no named group.
Template preview
Agentic Pentest Detection and Containment — Checklist
1. Framework inventory
2. Exposure hunt
- [ ] External scan for consoles, dashboards and APIs completed on: ______
- [ ] Cloud accounts checked for unknown agent workloads
- [ ] Consoles moved behind SSO + MFA + allow-list
3. Telemetry and retention
- [ ] Identity, web, application and process logs centralised
- [ ] Retention set to at least 90 days (identity / signup: ______ days)
- [ ] Logs protected from tampering by monitored accounts
4. Containment record
- Host / tenant isolated at: ______ Sessions revoked: [ ]
- Disk / memory snapshot taken: [ ] Framework logs exported and hashed: [ ]