{"slug": "artex-explained-how-the-ai-attack-tool-works-and-3-fingerprints-it-leaves-in-365", "title": "ARTEX Explained: How the AI Attack Tool Works and 3 Fingerprints It Leaves in Microsoft 365 Logs", "summary": "Microsoft reported that two threat groups, Storm-0940 and Storm-3358, used the open-source AI penetration-testing framework ARTEX to run automated password-spray attacks against Microsoft 365 tenants, with one campaign generating more than 151,000 failed sign-ins across 327 accounts in eight organizations and peaking at 2,900 attempts per minute. Microsoft said Storm-0940, a China-state-aligned group, also used stolen app identities to attempt sign-ins to more than 2,250 tenants and reached privileged access in under three hours in some cases, while the FBI issued a warning on November 13. The writeup outlines three log fingerprints, including high-volume failed sign-ins from a single IP and anomalous service-principal activity, that defenders can hunt for in Entra sign-in logs and Microsoft Sentinel.", "body_md": "News from October 21, November 6 and November 13, 2026. Facts checked on November 21, 2026.\n\nIn five days, one attack tool sent more than **151,000 failed sign-ins** at 327 accounts in eight organizations. At the peak it tried **2,900 sign-ins a minute**. No person types that fast. The tool is called ARTEX, and AI agents were doing the work.\n\nThis article explains, in plain words, what ARTEX is, what Microsoft saw it do, and three fingerprints you can look for in your own Microsoft 365 logs.\n\nEverything about the attacks comes from two Microsoft Security blog posts and one FBI warning, linked at the end. The queries are my own short versions. I have not run them against a real ARTEX attack, so read them, test them in your tenant, and tune them.\n\nARTEX is a free security testing tool. You give it a target, and AI agents do the testing for you. Attackers started using it against real organizations. Microsoft reported on October 21, 2026 that a group it calls Storm-0940 used ARTEX for password attacks on Microsoft 365, and then used it with stolen app identities to try to sign in to more than 2,250 tenants. On November 6 Microsoft reported a second group using ARTEX. On November 13 the FBI sent out a warning.\n\n| Term | Plain meaning | \n|---|---|\n| AI agent | A program that uses an AI model to decide its next step by itself. It does not wait for a person. | \n| Penetration test | A paid, agreed test where someone attacks your systems to find the weak spots before a criminal does. | \n| Password spraying | Trying a few common passwords against many accounts, instead of many passwords against one account. | \n| Service principal | The identity an app uses to sign in to your tenant. No person, no password prompt, no MFA. | \n| User agent | The name a tool gives when it connects, for example a browser name or `curl/7.88.1` . | \n\nMicrosoft describes ARTEX as \"an open-source penetration testing framework that can use any AI model to automate a variety of offensive security workflows.\"\n\nIn plain words:\n\nThe tool is not the crime. Pointing it at someone else's systems is.\n\n| Group (Microsoft's name) | What Microsoft says | Source | \n|---|---|---|\n| Storm-0940 | A China-state aligned group, active since 2021. Used ARTEX from as early as September 2026. Microsoft says it was responsible for the ConnectWise app compromise. | Microsoft, October 21 | \n| Storm-3358 | A Cambodia-based group that mostly targets financial organizations in Southeast Asia. Started using ARTEX in October 2026, together with ordinary attack tools. | Microsoft, November 6 | \n\nMicrosoft also wrote that in several Storm-0940 cases, the time from first targeting to privileged access was **less than 3 hours**.\n\n| What | Number | \n|---|---|\n| Accounts targeted | 327 | \n| Organizations | 8 | \n| Failed sign-ins | more than 151,000 | \n| Peak | 2,900 failures a minute, on October 11 | \n| Busiest day | more than 111,000 failures | \n| Accounts with more than 1,000 failures each | 48 | \n| Share of responses that were account lockouts | almost 98% | \n| Successful sign-ins seen by Microsoft | none | \n\nSo the spray was loud and it failed. Account lockout did its job. But look at the speed. This is what it looks like when software, not a person, runs the attack.\n\nThe second attack was quieter and more dangerous.\n\nOne honest note from Microsoft: finding one of these apps in your tenant, or even a successful sign-in, does not by itself mean your data was taken. It means you need to look.\n\nA person fails a sign-in a few times. ARTEX failed 2,900 times a minute.\n\n**In the portal:** Microsoft Entra admin center → **Monitoring & health** → **Sign-in logs**. Filter **Status** = Failure. Add the column **IP address** and sort by time. Hundreds of failures from one address in one minute is not a person.\n\n**In Microsoft Sentinel** (table `SigninLogs`):\n\n```\n// 1. Which address fails many sign-ins in one minute?\nSigninLogs\n| where TimeGenerated between (ago(30d) .. now())\n| where ResultType != \"0\"\n| summarize Failures = count(), Accounts = dcount(UserPrincipalName) by IPAddress, bin(TimeGenerated, 1m)\n| where Failures >= 100 or Accounts >= 20\n| order by Failures desc\n```\n\n`ResultType` 0 means success. Anything else is a failure. The two limits (100 failures, 20 accounts) are a starting point. Lower them if your tenant is small.\n\nTools say who they are. A browser says \"Chrome\" or \"Edge\". ARTEX used ordinary command line tools, and those tools left their names. Microsoft published these five:\n\n| User agent | What it is | \n|---|---|\n| `Python-urllib/3.12` | A Python script | \n| `python-requests/2.31.0` | A Python script | \n| `python-requests/2.34.2` | A Python script | \n| `curl/7.88.1` | The curl command line tool | \n| `azure-toolkit/1.0` | A name the attackers' tooling used | \n\n**In the portal:** Sign-in logs → open one sign-in → tab **Basic info** → field **User agent**.\n\n**In Microsoft Sentinel** (tables `SigninLogs` and `MicrosoftGraphActivityLogs`):\n\n```\n// 2. Who signs in or calls Microsoft Graph with a script-style user agent?\nlet Names = dynamic([\"python-urllib\", \"python-requests\", \"curl/\", \"azure-toolkit\"]);\nunion isfuzzy=true\n    (SigninLogs | project TimeGenerated, Source = \"Sign-in\", Who = UserPrincipalName, IPAddress, UserAgent),\n    (MicrosoftGraphActivityLogs | project TimeGenerated, Source = \"Graph\", Who = coalesce(UserId, ServicePrincipalId), IPAddress, UserAgent)\n| where TimeGenerated between (datetime(2026-10-01) .. now())\n| where UserAgent has_any (Names)\n| summarize Calls = count(), LastSeen = max(TimeGenerated) by Source, Who, IPAddress, UserAgent\n| order by LastSeen desc\n```\n\nYou will get results that are fine. Your own scripts use Python and curl too. The question for each row is simple: do I know this script, and do I know this address?\n\nMicrosoft adds a warning here, and it matters. Blocking these default names \"will not stop an attack by an AI agent.\" An attacker can change a user agent in one line. But seeing them tells you something is there.\n\nPeople give roles to apps. Apps should not give roles to themselves. In this attack Microsoft saw exactly that. One of its alerts is named **\"Application self-assigned Global Administrator role\"**.\n\n**In the portal:** Microsoft Entra admin center → **Monitoring & health** → **Audit logs**. Filter **Activity** = \"Add member to role\", then \"Add service principal credentials\". Open a row and look at **Initiated by (actor)**. If the actor is an app and not a person, stop and look closer.\n\n**In Microsoft Sentinel** (table `AuditLogs`):\n\n```\n// 3. Did an app (not a person) hand out a role or add a credential?\nAuditLogs\n| where TimeGenerated between (datetime(2026-10-01) .. now())\n| where OperationName in (\"Add member to role\", \"Add service principal credentials\", \"Add app role assignment to service principal\")\n| extend ActorApp = tostring(InitiatedBy.app.displayName)\n| where isnotempty(ActorApp)\n| project TimeGenerated, OperationName, ActorApp, Target = tostring(TargetResources[0].displayName), Result\n```\n\nSome rows are normal. Microsoft's own services and your deployment pipelines do this too. Make a list of the apps you expect. Anything outside that list is the one to open.\n\nMicrosoft lists three addresses for the Storm-0940 activity. I write them the way Microsoft does, with brackets, so nobody clicks them by mistake:\n\n`144.172.64[.]99` (the password spray came from this one)`144.172.64[.]128`` 144.172.64[.]60`\nMicrosoft also says: do not limit your review to the published addresses. Attackers change addresses fast. That is why the three queries above look at behavior, not at a list of addresses.\n\nIf your company uses, or ever used, ConnectWise cloud products, check for these three apps. Search by **application ID**, not by name. A name can be faked.\n\n| App name | Application (client) ID | \n|---|---|\n| ConnectWise Cloud Backup | `506e08f9-6e9a-4da4-942b-a099a03644ae` | \n| ConnectWise - MS Teams | `24205314-2b89-4e07-a2a4-579e898a5640` | \n| ConnectWise - MS Graph | `0de14c77-b9b0-4137-9360-34878a929827` | \n\nOne detail: Microsoft's checklist says \"all four application IDs\", but the post text I read lists these three. Open Microsoft's post and check if a fourth has been added.\n\n**In the portal:** Microsoft Entra admin center → **Enterprise applications** → **All applications** → paste an ID into the search box. Remove the \"Application type\" filter so nothing is hidden.\n\nThis is Microsoft's advice from the October 21 post, in short:\n\n| Do this | Why | Microsoft Learn | \n|---|---|---|\n| Keep smart lockout on and ban weak passwords | The spray failed because accounts locked. Almost 98% of the responses were lockouts. | [Smart lockout](https://learn.microsoft.com/entra/identity/authentication/howto-password-smart-lockout) | \n| Review which apps have high permissions, and remove what is not needed | An app with fewer rights can do less damage when its identity is stolen | [Review permissions granted to apps](https://learn.microsoft.com/entra/identity/enterprise-apps/manage-application-permissions) | \n| Limit who can approve new apps | Fewer surprise apps in the tenant | [Configure user consent](https://learn.microsoft.com/entra/identity/enterprise-apps/configure-user-consent) | \n| Read service principal sign-in logs, not only user sign-ins | App sign-ins live in a different tab. Many teams never open it. | [Service principal sign-ins](https://learn.microsoft.com/entra/identity/monitoring-health/concept-service-principal-sign-ins) | \n| Have the password spray playbook ready | So nobody has to invent the steps at 2 AM | [Password spray investigation](https://learn.microsoft.com/security/operations/incident-response-playbook-password-spray) | \n\nMicrosoft's November 6 post adds one more idea for larger teams: decoys. Fake accounts and fake systems that no real person ever touches. An AI agent that scans everything will touch them, and that is your alarm.\n\nIt does mean attackers can now try more things, faster, with fewer people. The basics matter more, not less.\n\nI also made a 4-minute video on why this news moved security stocks, with three tenant checks: [https://youtu.be/vo6wzcPtJbE](https://youtu.be/vo6wzcPtJbE)\n\nOfficial Microsoft:\n\nOther:\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/artex-explained-how-the-ai-attack-tool-works-and-3-fingerprints-it-leaves-in-365", "canonical_source": "https://dev.to/cdsecuritylab/artex-explained-how-the-ai-attack-tool-works-and-3-fingerprints-it-leaves-in-microsoft-365-logs-2oog", "published_at": "2026-12-06 01:10:18+00:00", "updated_at": "2026-12-06 01:14:32.315561+00:00", "lang": "en", "topics": ["ai-agents", "ai-safety", "artificial-intelligence"], "entities": ["Microsoft", "ARTEX", "Storm-0940", "Storm-3358", "FBI", "Microsoft 365", "Microsoft Sentinel", "ConnectWise"], "also_reported_by": [], "takeaway": "AI-agent-driven password spraying produced 2,900 failed sign-ins per minute and 151,000+ failures across 327 accounts, so defenders should alert on per-minute failure bursts from a single IP and on service-principal sign-ins that bypass MFA.", "recommendation": {"advice": "Alert on hundreds of failed sign-ins from one IP within a minute and audit service principals for anomalous sign-ins, since ARTEX-style agents spray at machine speed and pivot to stolen app identities.", "playbook": "agent-security", "playbook_url": "https://wpnews.pro/playbooks/agent-security"}, "alternates": {"html": "https://wpnews.pro/news/artex-explained-how-the-ai-attack-tool-works-and-3-fingerprints-it-leaves-in-365", "markdown": "https://wpnews.pro/news/artex-explained-how-the-ai-attack-tool-works-and-3-fingerprints-it-leaves-in-365.md", "text": "https://wpnews.pro/news/artex-explained-how-the-ai-attack-tool-works-and-3-fingerprints-it-leaves-in-365.txt", "jsonld": "https://wpnews.pro/news/artex-explained-how-the-ai-attack-tool-works-and-3-fingerprints-it-leaves-in-365.jsonld"}}