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.