{"slug": "ai-is-running-the-password-spray-now-here-is-how-it-looks-in-sentinel", "title": "AI is running the password spray now. Here is how it looks in Sentinel.", "summary": "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.", "body_md": "*Lab write-up — CD Security Lab*\n\nAttackers 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**.\n\nThe 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.\n\nThink of it as a small team of AI agents:\n\nTargets in the reporting: **Microsoft 365, Entra ID, Okta, AWS, Azure, web apps and Active Directory**.\n\n```\n        [ THE PLAN ]          <- one AI decides the next move\n         /    |    \\\n     [AI 1][AI 2][AI 3]       <- others run the real attack tools\n       |      |      |\n   M365   Entra ID  Azure / AWS\n```\n\nA company called **ThreatDefence** published a detection pack on GitHub under the **MIT licence**. Free, no sign-up.\n\nFor Microsoft Sentinel you get:\n\n| What | How many | \n|---|---|\n| KQL hunting queries (ARTEX) | 31 | \n| Scheduled analytics rules | 7 | \n| Watchlist of known-bad indicators | 1 ( `AGENTIC_IOCs` ) | \n\nIt also ships Sigma, Suricata, Zeek, YARA, Splunk and Elastic versions, and covers ten other agentic frameworks besides ARTEX.\n\nRepo: [https://github.com/ThreatDefence/agentic-attack-detections](https://github.com/ThreatDefence/agentic-attack-detections)\n\nFailed sign-ins, grouped by source IP and user agent, then **measure the gap between attempts**.\n\n```\nunion isfuzzy=true SigninLogs, AADNonInteractiveUserSignInLogs\n| where TimeGenerated between (datetime(2026-08-01) .. now())\n| where ResultType != \"0\"\n| project TimeGenerated, IPAddress, UserAgent, UserPrincipalName, ResultType\n| sort by IPAddress asc, UserAgent asc, TimeGenerated asc\n| extend GapSec = iff(IPAddress == prev(IPAddress) and UserAgent == prev(UserAgent),\n    datetime_diff('second', TimeGenerated, prev(TimeGenerated)), long(null))\n| summarize Attempts=count(), Users=dcount(UserPrincipalName),\n    MedianGapSec=percentile(GapSec, 50)\n    by IPAddress, UserAgent, bin(TimeGenerated, 1h)\n| where Attempts between (200 .. 100000000) and Users between (20 .. 100000000) and MedianGapSec between (0 .. 2)\n```\n\nRead it in plain words:\n\n`prev()` gives you the previous row, so `GapSec` is the pause between two tries.\nA person who forgot their password does not fail 200 times across 20 accounts at a metronome pace. A script does.\n\n*(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.)*\n\nThe repo's own hunting order, which is worth following because each step narrows the next:\n\nThe author is honest about this, so I will be too:\n\n**Status: Experimental.** Tested for syntax, conversion and against a synthetic pcap. No rule here has been tested against a captured ARTEX intrusion.\n\nSo:\n\n`AGENTIC_IOCs` watchlist.\nI checked the repo before recommending it (commit `31631af`, 25 Nov 2026):\n\n| Check | Result | \n|---|---|\n| Files | 826, all plain text (KQL, Sigma YAML, Suricata rules, CSV, Markdown, Python, shell) plus 4 small test captures | \n| Programs (EXE, DLL, ELF, archives) | None | \n| Executables hidden inside the test captures | None | \n| Scripts that download and run code, or long encoded blobs | None found | \n| Sentinel template | Only analytics rules, saved searches and one watchlist. No role assignments, no VMs, no automation | \n\nTwo 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.\n\nLab build. No customer data, no production telemetry.\n\n*Made by CD with love from VietNam. One short Microsoft security video a day at 20:00 (Vietnam time) on YouTube: CD Security Lab.*\n\n**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:\n\nGot a question about your own tenant? Drop it in the comments.", "url": "https://wpnews.pro/news/ai-is-running-the-password-spray-now-here-is-how-it-looks-in-sentinel", "canonical_source": "https://dev.to/cdsecuritylab/ai-is-running-the-password-spray-now-here-is-how-it-looks-in-sentinel-34b7", "published_at": "2026-12-02 13:09:23+00:00", "updated_at": "2026-12-02 13:15:26.245635+00:00", "lang": "en", "topics": ["ai-safety", "ai-agents", "artificial-intelligence"], "entities": ["CD Security Lab", "ThreatDefence", "ARTEX", "Microsoft Sentinel", "Microsoft 365", "Entra ID", "Okta", "Storm-0940"], "also_reported_by": [], "takeaway": "Detect agentic password spray by grouping failed sign-ins by source IP and user agent and flagging median gaps of 0-2 seconds across 200+ attempts on 20+ accounts, since ARTEX sprays at a steady one try per second.", "recommendation": {"advice": "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.", "playbook": "agent-security", "playbook_url": "https://wpnews.pro/playbooks/agent-security"}, "alternates": {"html": "https://wpnews.pro/news/ai-is-running-the-password-spray-now-here-is-how-it-looks-in-sentinel", "markdown": "https://wpnews.pro/news/ai-is-running-the-password-spray-now-here-is-how-it-looks-in-sentinel.md", "text": "https://wpnews.pro/news/ai-is-running-the-password-spray-now-here-is-how-it-looks-in-sentinel.txt", "jsonld": "https://wpnews.pro/news/ai-is-running-the-password-spray-now-here-is-how-it-looks-in-sentinel.jsonld"}}