cd /news/ai-safety/ai-is-running-the-password-spray-now… · home › topics › ai-safety › article
[ARTICLE · art-180182] src=dev.to ↗ pub= topic=ai-safety verified=true sentiment=· neutral

AI is running the password spray now. Here is how it looks in Sentinel.

A security researcher at CD Security Lab published a Sentinel-based detection approach for ARTEX, a free open-source agentic attack tool tied to real intrusions since August 2026, whose password spraying runs at a near-constant one attempt per second. The write-up walks through a KQL hunting query that groups failed sign-ins by source IP and user agent and flags median gaps of 0-2 seconds across 200+ attempts on 20+ accounts, and reviews ThreatDefence's MIT-licensed agentic-attack-detections pack (31 ARTEX hunting queries, 7 scheduled analytics rules, an AGENTIC_IOCs watchlist) that the author notes is marked Experimental and has not been tested against a captured ARTEX intrusion.

recommendation

Hunt for password spray by measuring inter-attempt timing per IP and user agent, and treat a metronomic 0-2 second median gap across many accounts as agentic rather than human.

more in playbook: Securing agents and AI tools
read3 min views18 publishedDec 2, 2026

Lab write-up — CD Security Lab

Attackers have started handing the whole break-in to AI. One of the tools they use is called ARTEX. It is free and open source. Public reporting ties it to real intrusions since August 2026.

The detail I like, because it is the one thing the AI cannot hide: it is too regular. Its password guessing runs at a steady beat, roughly one try every second. People are never that steady.

Think of it as a small team of AI agents:

Targets in the reporting: Microsoft 365, Entra ID, Okta, AWS, Azure, web apps and Active Directory.

        [ THE PLAN ]          <- one AI decides the next move
         /    |    \
     [AI 1][AI 2][AI 3]       <- others run the real attack tools
       |      |      |
   M365   Entra ID  Azure / AWS

A company called ThreatDefence published a detection pack on GitHub under the MIT licence. Free, no sign-up.

For Microsoft Sentinel you get:

What How many
KQL hunting queries (ARTEX) 31
Scheduled analytics rules 7
Watchlist of known-bad indicators 1 ( AGENTIC_IOCs )

It also ships Sigma, Suricata, Zeek, YARA, Splunk and Elastic versions, and covers ten other agentic frameworks besides ARTEX.

Repo: https://github.com/ThreatDefence/agentic-attack-detections

Failed sign-ins, grouped by source IP and user agent, then measure the gap between attempts.

union isfuzzy=true SigninLogs, AADNonInteractiveUserSignInLogs
| where TimeGenerated between (datetime(2026-08-01) .. now())
| where ResultType != "0"
| project TimeGenerated, IPAddress, UserAgent, UserPrincipalName, ResultType
| sort by IPAddress asc, UserAgent asc, TimeGenerated asc
| extend GapSec = iff(IPAddress == prev(IPAddress) and UserAgent == prev(UserAgent),
    datetime_diff('second', TimeGenerated, prev(TimeGenerated)), long(null))
| summarize Attempts=count(), Users=dcount(UserPrincipalName),
    MedianGapSec=percentile(GapSec, 50)
    by IPAddress, UserAgent, bin(TimeGenerated, 1h)
| where Attempts between (200 .. 100000000) and Users between (20 .. 100000000) and MedianGapSec between (0 .. 2)

Read it in plain words:

prev() gives you the previous row, so GapSec is the between two tries. A person who forgot their password does not fail 200 times across 20 accounts at a metronome pace. A script does.

(This is hunt 02-password-spray-at-a-fixed-rhythm.kql from the repo. Microsoft reported that one-second rhythm in Storm-0940 ARTEX sprays.)

The repo's own hunting order, which is worth following because each step narrows the next:

The author is honest about this, so I will be too:

Status: Experimental. Tested for syntax, conversion and against a synthetic pcap. No rule here has been tested against a captured ARTEX intrusion.

So:

AGENTIC_IOCs watchlist. I checked the repo before recommending it (commit 31631af, 25 Nov 2026):

Check Result
Files 826, all plain text (KQL, Sigma YAML, Suricata rules, CSV, Markdown, Python, shell) plus 4 small test captures
Programs (EXE, DLL, ELF, archives) None
Executables hidden inside the test captures None
Scripts that download and run code, or long encoded blobs None found
Sentinel template Only analytics rules, saved searches and one watchlist. No role assignments, no VMs, no automation

Two honest limits. This was a manual static review, not an antivirus verdict. And because the pack lists attacker strings, hashes and addresses, your antivirus may flag the YARA and indicator files. That is a false positive on signatures, the same way an antivirus flags its own definitions.

Lab build. No customer data, no production telemetry.

Made by CD with love from VietNam. One short Microsoft security video a day at 20:00 (Vietnam time) on YouTube: CD Security Lab.

Thanks for reading! I'm Cuong, and on CD Security Lab I rebuild real Microsoft security cases in a safe lab and explain them simply. Follow along:

Got a question about your own tenant? Drop it in the comments.

── more in #ai-safety 4 stories · sorted by recency
── more on @cd security lab 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
→ Live at https://your-agent.zahid.host ✓
Get free account → Pricing
from €0/mo · no card required
LIVE [news/ai-is-running-the-pa…] indexed:0 read:3min 2026-12-02 · —