Credential Spray Testing at Machine Speed: Proving Whether Your Throttles Hold
AI-orchestrated frameworks spray one attempt per account from many networks, so per-IP counters never fire. Test the aggregate with two accounts and prove whether a token is still issued.

Credential Spray Testing at Machine Speed: Proving Whether Your Throttles Hold
TL;DR
AI-orchestrated credential spray does not get smarter than a human operator — it gets faster, and it spreads attempts across many source networks so per-IP counters never fire. What you can test is narrower and more useful: does your sign-in path stop a low-volume, high-diversity attempt pattern before it issues a token? Run it with two accounts you control, a small password list, and egress from more than one network, then log every response. The finding is proven when a valid credential returns a token with no step-up, no lockout, and no alert — not when a single attempt returns a 401.
What this is
Machine-speed credential spray is the attack practitioners have run for a decade — one likely password tried against many accounts, one attempt per account per window — executed by a planner/worker agent stack instead of a person at a terminal. The framework picks the target, harvests usernames, selects egress, paces the attempts, and moves to the post-auth step without waiting for a human to read output.
For a tester, that reframes the hypothesis. The question is not whether the sign-in page is reachable — it is public by design. The question is whether the controls that separate an unauthenticated request from an authenticated session still hold when attempts are spread thin: a few attempts per account, a few accounts per address, no single source loud enough to trip a per-IP rule.
Call it a throttle hypothesis. If someone holding a valid username and one leaked or weak password cannot get a token without meeting a lockout, an MFA challenge, or a detection, the control holds. If any of those three is missing, the impact is a session.
Why it matters
Identity endpoints are the rare case where exposure is total: the IdP, the VPN portal, and the token endpoint have to answer the internet. Exposure management here is not a reachability question — it is a control question, and the control fails quietly.
The failure modes are boring and common:
- Per-IP rate limits and IP blocklists, which do nothing when attempts arrive from residential proxies and cloud egress in different ASNs.
- Account lockout tuned for helpdesk load, disabled for service accounts, or skipped for federated users.
- Low-and-slow pacing that keeps each account under the lockout threshold indefinitely.
- Alternate auth paths — basic auth on mail protocols, older token endpoints, app-credential flows — that never inherit the MFA policy the browser flow enforces.
Talos makes the consequence concrete: Storm-0940 used ARTEX to accelerate sign-in attempts against more than 2,250 downstream Microsoft 365 tenants after compromising ConnectWise application credentials, with follow-on activity through Microsoft Graph and privilege changes. The number that matters for defenders is not 2,250 — it is that the pacing was chosen by software that does not get tired.
How it works
The framework chain dictates what your telemetry should catch. Reconnaissance against public mapping services (Censys, Shodan) identifies the identity provider, the mail records that map to a tenant, and exposed services. Username harvesting follows from anything public — email formats, staff pages, prior breach corpora. Egress selection uses proxy services so attempts look local. Then the spray, usually with jitter: one attempt per account, rotate, return later. Post-auth, the agent uses whatever the token opens.
Two properties break conventional detection:
- Per-source volume is trivial. Ten attempts across ten networks is one attempt per network. Every per-IP threshold is satisfied.
- Per-account volume is trivial. One attempt per account per hour never accumulates into a lockout counter.
The overlap — many accounts, many networks, correlated in time and in password choice — is where the signal lives, and most teams never write a query for it.
There is no CVE to match here. The exposure is configuration and policy: lockout thresholds, Conditional Access scope, legacy protocol state, and per-identity aggregation in the SIEM. Talos's description of these frameworks (ARTEX published on GitHub in July 2026, adopted in criminal and targeted campaigns within weeks) is the mechanism source, not a version advisory: https://blog.talosintelligence.com/artex-and-beyond/
Test design: what to send and what each result proves
| Test | Attempts | Control holds if | Control usually fails because |
|---|---|---|---|
| Per-IP throttle | 10 from one address, one account | 429 or block after a few | Threshold raised to avoid NAT false positives |
| Per-account lockout | 10 against one test account | Lockout code returned | Lockout disabled or scoped to on-prem only |
| Distributed spray | 1 each against 25 accounts from 5 networks | Alert or block on the aggregate pattern | No per-identity or per-ASN-diversity query exists |
| MFA enforcement | Valid credential on a test account | Challenge raised or token refused | Token issued with the password factor alone |
Detection and response

The telemetry exists in every major IdP; the aggregation is what is missing.
Microsoft Entra ID sign-in logs: count failed sign-ins per user over a rolling 24 hours (50126 invalid credentials, 50053 locked, 50074/50076 MFA required), then count distinct ASNs per user and distinct users per ASN in the same window. A single account with six failures from six ASNs in an hour is the shape. Read the authentication requirement on any later success — a token marked single-factor after a failure streak is the finding.
Okta System Log: user.session.start with outcome.result = FAILURE, plus security.threat.detected from ThreatInsight. If ThreatInsight runs in log-only mode, the detection fires and nothing blocks. Check the policy mode, not just the alert.
Both platforms: service principal and app-credential sign-ins are a separate log stream and a separate blind spot. Storm-0940's pivot ran through application credentials; if nobody watches app sign-ins, the spray test you pass may not be the door that gets used.
After a positive test, a defender checks lockout and smart-lockout thresholds per account, whether federated or break-glass accounts are exempt, which apps and client types Conditional Access actually covers, and whether the SIEM query pages anyone.
What to do
- List the auth endpoints in scope. Browser SSO, token endpoint, VPN portal, mail protocols, admin consoles, app-credential flows. Note which inherit your MFA policy and which were bolted on.
- Create accounts you own in a test tenant: a target with a deliberately weak password from your test list, a control with a strong password, and a non-existent username for enumeration comparison.
- Baseline the responses. One valid and one invalid attempt each. Record status code, error code, body, headers, timing, and whether an MFA prompt appears. Any difference is user enumeration — note it and move on.
- Run the distributed spray. Five likely passwords against 25 test accounts, one attempt per account per 10 minutes, sourced from at least five networks or cloud egress ranges. Log every request and response with timestamp and source address.
- Compare counters at the end. Did any single account reach its lockout threshold? Did any single source hit a rate limit? Did an alert fire? Three "no" answers mean the pacing worked.
- Prove the post-auth step. Take the credential that succeeded, obtain a token, and call one real API or Graph endpoint. Capture the raw request and the 200 response containing the principal.
- Attach the evidence to the finding: attempt log, threshold table, token response, follow-on call. A second researcher must be able to reproduce it from the artifact alone.
- Retest after tuning. Set per-identity failure thresholds, tighten smart lockout, remove exemptions, enforce MFA at token issuance, then re-run step 4 with identical parameters. The retest is the only proof the fix landed.
FAQ
Does AI orchestration change the spray test itself? No — the attempts are still HTTP requests. It changes pace, egress diversity, and follow-through after a success. Test the same controls; expect attempts faster and wider than a human would send them.
Isn't account lockout sufficient? No. Lockout is per account, needs a threshold low enough to matter, and creates a denial-of-service tradeoff — so it gets disabled or exempted. A spray that holds each account to one attempt per window never reaches the threshold at all. Lockout is a backstop, not the control.
What separates a blocked attempt from a proven finding? A blocked attempt proves one control engaged on one path. A proven finding is a token: credential accepted, no MFA step-up, and a follow-on API call that returned data. Attach that exchange; anything less is a configuration observation.
Can I run this against production? Not against real user accounts. Spray test accounts in a tenant you control, under written scope, coordinated with the identity team — a mistuned run locks out staff. If production policy differs, test the difference with one account and one attempt.
Does a CAPTCHA solve this? It raises the cost of the browser flow. It does not cover token endpoints, legacy protocols, or app-credential flows, which is where machine-speed frameworks go once the front door gets expensive.
Sources
- Cisco Talos, "ARTEX and beyond: AI-enabled penetration testing platforms" — https://blog.talosintelligence.com/artex-and-beyond/
- MITRE ATT&CK T1110.003, Password Spraying — https://attack.mitre.org/techniques/T1110/003/
- OWASP Automated Threats to Web Applications (OAT-008 Credential Stuffing) — https://owasp.org/www-project-automated-threats-to-web-applications/
- NIST SP 800-63B, Digital Identity Guidelines: Authentication and Lifecycle Management — https://pages.nist.gov/800-63-3/sp800-63b.html