November 27, 2026 · Threat Intelligence
How Defenders Detect AI Pentest Agents: Hunt Behavior, Not Indicators
Blocking an attack tool by its indicators assumes the tool sits still. ARTEX, an open-source, multi-agent AI pentesting framework that surfaced in mid-2026, does not sit still. Unit 42’s October threat-intelligence note records that it “was moved to closed source on 08 October, after it had been forked more than 12,000 times”, and the forks and ARTEX-derived frameworks kept it circulating after that. Operators rotate infrastructure mid-campaign and draw model access from shared gateways that resell subscriptions, so anything you block today goes cold fast. For teams asking how to detect AI pentest agents, Unit 42’s November analysis of ARTEX closes with the blunt version: “Because the framework is open source and widely forked, indicator-based detection will not keep up.” What survives the churn is how the operator behaves. What follows: the behavioral hallmarks Unit 42 published, and a hunt list a small team can stand up without a dedicated detection engineer.
Why indicator blocking loses
The churn has an economic engine. ARTEX and its imitators are “free, quick to deploy and need little more than access to a large language model (LLM)”. Unit 42 analyzed 14 tools across the AI pentesting and red-teaming ecosystem, noting that off-the-shelf tooling plus models like DeepSeek lets financially motivated actors “launch and manage dozens of complex, concurrent network intrusions for minimal compute cost”. That is the force-multiplier pattern ENISA’s Threat Landscape 2026 describes for AI-assisted attacks. It also changes the target math: “Any internet-exposed asset, regardless of organizational size or sector, is equally likely to be impacted by automated, persistent intrusion attempts.”
Two cautions keep the picture honest. The October note records that other vendors have tied ARTEX to several unrelated threat groups, “so ARTEX use alone does not identify a specific actor”. And the researchers could not pin the model: “We did not observe direct evidence of the specific LLM in use; the assessment is behavioral”. A rule keyed to a tool version dies with the next fork; a rule keyed to what the operator does, whatever the tooling, survives it.
What the agent did, step by step
The October note documents one playbook, observed from 24 September to 27 October 2026 across multiple targets. Reconnaissance came first: ffuf-driven content discovery, thousands of requests from a single source, and “More than 700 denied attempts against internal applications behind a cloud provider’s Identity-Aware Proxy (IAP)”. The agent enumerated internal hostnames across dev, dev2, pt, qa, sit and prd naming conventions, behavior Unit 42 reads as “consistent with an agent extrapolating from observed naming patterns”. JavaScript bundles and source maps were harvested from production, development and UAT, alongside public OpenAPI specifications and runtime configuration. The identity-provider stage opened with a fabricated, nonexistent username used to record the baseline error response, and then attempted “admin” one second later.
When identity attacks failed, the agent fell back to exposed API surface. “In one case, API exploitation began two minutes after the final failed authorization attempt”. One production application showed “Successful self-registrations (HTTP 201) in about 40 minutes” followed by reads of roughly 50 MB of API data and bulk approval and record changes made from those new accounts. Against a development API’s document store, the summary reads “Public OpenAPI spec downloaded; collections created (HTTP 201); every spec-defined write endpoint called within three seconds”; insert attempts failed with HTTP 422 responses describing the expected fields, and “The agent re-downloaded the spec twice; writes succeeded 38 seconds later”. No exploit chain appears in that flow: attackers using ARTEX “are turning public password reset pages and exposed APIs into a path to cloud access, sometimes in less than a day”, observed “without exploiting a single software vulnerability”.
The hallmarks: what an AI-driven operator looks like
Unit 42’s November post compresses this behavior into a table of eight hallmarks, and its framing line is the detection thesis: “How the operator behaves is more durable, and the behavior across our observations consistently pointed to an automated planner reacting to what it sees.”
The cadence comes first: “Bursts of one to 14 requests about a second apart, then a pause of 25–31 seconds, consistent with an agent waiting on a model inference call”. That pause is the planner’s thinking time between bursts. The rest of the table reads the same way: “Pivots within about one minute of a credential download”, with “More than 200 client secrets validated in about three minutes”; “Routes from downloaded OpenAPI specifications and source maps targeted almost immediately”; “Failed requests (HTTP 422) adjusted and retried successfully moments later”; “A GET to the same path after almost every successful write. Write-then-delete tests on storage buckets.”; “Bogus usernames before real ones”, with placeholders such as deadbeefdeadbeefdeadbeef12 and canary strings like zz_no_such_user_9f3a; “An application delivery controller, more than a dozen VPN appliances, a NAS device, workforce identity and cloud ports attacked within the same hour”; and “Polling every 48 seconds for three days, and attack sequences replayed identically about 30 seconds apart”.
Read those rates as calibration examples from the campaigns Unit 42 observed, not thresholds or a signature set; your traffic, models and tooling will produce different numbers on the same shape. The false-positive problem is real, and Unit 42 states it plainly: “Any one of these traits could come from an unusually configured tool or a person testing an API by hand. Seen together, they point to autonomous tooling.” The signal is correlation across hallmarks in one strand of traffic, not any single tell. One tuning wrinkle: “In one engagement, the attacker switched from scripted clients to a desktop browser for the password reset and first token request. This suggests a human in the loop, or browser automation, for the most sensitive steps.” The most sensitive steps may look like browsers.
Monday morning: remove what the agent feeds on
Unit 42’s mitigation logic starts from an uncomfortable fact: “Autonomous tooling probes faster than people can review alerts. Defenses need to block by default and remove the credentials these tools are looking for.” The moves that matter most are removals. Start with the machine-readable attack maps: “Remove public attack maps. Take OpenAPI specifications, source maps and configuration files containing tokens or client IDs off internet-facing applications.” To an LLM planner, /docs is not documentation, it is a work queue; the October intrusions called routes from the spec seconds after downloading it. Close the write surface: “Require authentication on every write endpoint, including development and staging APIs.” Harden self-service flows: “Rate-limit and bot-protect registration, password reset and verification code endpoints. Remove unauthenticated account-existence checks.”
Identity and credentials need the same treatment. Block local passwords for workforce accounts in customer and partner identity providers and make sure “a password reset can never unlink a federated identity”. Replace long-lived cloud keys with role-based access, keep administrator credentials out of provisioning records, move function secrets into a secrets manager, and enforce least privilege on workload roles and on any function that can create roles, keys or tokens. Machine identities are where most programs lag, and NIST’s tenets for agent identity are the cleanest public reference for what those policies should cover.
Mind the public footprint too: “Certificate transparency can create target lists for threat actors”, so it pays to know which host names are public knowledge and to weigh private certificate authorities and CDN-only ingress. The logic underneath all of it: “Because these autonomous platforms cannot target what they cannot find, continuous discovery and mitigation of exposed edge assets remains an effective barrier against automated campaigns.”
Build the hunt list this week
Unit 42’s post closes with the hunts worth standing up:
- “Canary usernames in identity provider logs”
- “First use of a cloud key from a new IP address”
- “Write-then-delete storage tests”
- “Early-phase probing that precedes a later intrusion”
Each item maps to an observed behavior, and none needs telemetry a mid-market team lacks. The canary item mirrors the attacker’s own trick: the October agent generated canary and placeholder values, “reused across organizations”, so seeding your own canary usernames in the identity provider turns someone else’s baseline probe into a high-signal alert. The cloud-key item catches machine-speed pivots from credential download to first use. The fourth catches the shape behind the whole report: probing precedes the later intrusion.
The October note adds concrete, behavior-shaped rules: “Requests for *.js.map, /openapi.json, /docs or /redoc followed within seconds by calls to non-public API routes from the same source”. “Self-registration events followed by bulk export/bulk approval/user administration API calls from the same session”. “Request bursts separated by regular ~25-30 second pauses from a single source against an API”. “Write requests (PUT/POST/PATCH) followed by a GET read-back of the same resource within one to two seconds”. Identity-side, watch logins for usernames beginning with “zz” or containing “nonexistent” / “not-a-user” followed within seconds by privileged names. User agents announcing “security-testing; authorized” age like indicators, because they are indicators, but they cost nothing while they last.
Tune the combined pattern, not the components. An internal scanner produces bursts too, a load test produces write-then-read pairs, a scheduled pen test trips several rules at once. The correlation caveat applies to every rule here.
Last, watch what leaves production toward model providers. Unit 42 assesses that ARTEX operators likely buy model access through a subscription-conversion gateway, which “would let operators run the agent on converted or resold subscription access instead of directly billed, attributable API keys”. Such egress need not resemble a known LLM vendor, so baseline which AI endpoints production may call and alert on everything else. It is the outbound mirror of the shadow AI problem on the build side.
Where defenders hold the advantage
Three asymmetries favor the defender, and Unit 42 draws all three. Agents are loud: “Current autonomous frameworks prioritize rapid trial-and-error over stealth. In our study of a tool called Cairn, it generated hundreds of thousands of noisy, high-frequency requests across multiple edge protocols from a single origin IP address.” Organizations with unified perimeter telemetry and centralized logging can distinguish that traffic and block campaigns at the edge before exploitation. Deception is cheap: “When a target serves identical, generic error codes or enforces silent connection throttling, an AI agent lacks the contextual cues needed to adapt. Deprived of environmental feedback, autonomous loops burn context windows and compute budgets on dead ends.” A tarpit spends the attacker’s compute budget instead of yours.
The third asymmetry is the strongest: “Security teams do not need to guess an agent’s methodology; they can deploy identical open-weight offensive frameworks internally to surface, validate and remediate vulnerable exposure before external agents identify them.” A sanctioned internal run answers the only question that matters: what would an agent find first?
Keep the scope honest. “AI-driven tooling is not inventing new attacks. Self-service abuse, exposed APIs and stored credentials are long-standing weak points.” What changed is tempo: “An ARTEX operator can test every exposed workflow in parallel and switch routes within minutes of being blocked”, and acts on a stolen credential within about a minute of finding it. Indicators were always a convenience; behavior is the durable signal, and Unit 42 has now documented it well enough to build on. For the disclosure side of this story, the November incidents and the FBI alert, see the companion piece on the agentic attack wave. The hunt list above is a realistic first build for a small team, and it is written down.