Dev.to Security 🔐 Cybersecurity 👁 2 📖 10 min read

ARTEX Explained: How the AI Attack Tool Works and 3 Fingerprints It Leaves in Microsoft 365 Logs

News from October 21, November 6 and November 13, 2026. Facts checked on November 21, 2026. In five days, one attack tool sent more than 151,000 failed sign-ins at 327 accounts in eight organizations. At the peak it tri

ARTEX Explained: How the AI Attack Tool Works and 3 Fingerprints It Leaves in Microsoft 365 Logs

News from October 21, November 6 and November 13, 2026. Facts checked on November 21, 2026.

In 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.

This 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.

Everything 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.

What happened, in one paragraph

ARTEX 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.

What ARTEX is: you give a target, AI agents do the rest

5 terms in plain words

Term Plain meaning
AI agent A program that uses an AI model to decide its next step by itself. It does not wait for a person.
Penetration test A paid, agreed test where someone attacks your systems to find the weak spots before a criminal does.
Password spraying Trying a few common passwords against many accounts, instead of many passwords against one account.
Service principal The identity an app uses to sign in to your tenant. No person, no password prompt, no MFA.
User agent The name a tool gives when it connects, for example a browser name or curl/7.88.1.

What ARTEX is

Microsoft describes ARTEX as "an open-source penetration testing framework that can use any AI model to automate a variety of offensive security workflows."

In plain words:

  • It was made for defenders. A company can point it at its own systems to find weak spots.
  • It is a team of AI agents. Microsoft calls it "a multi-agent LLM system." The agents can run a whole test, from the first look at a target to taking data out.
  • It is not tied to one AI model. It can use any of them.
  • It uses common tools that many admins also use. Microsoft lists Nmap, curl, wget, Python HTTP clients and a headless Chromium browser.

The tool is not the crime. Pointing it at someone else's systems is.

Who used it

Group (Microsoft's name) What Microsoft says Source
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
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

Microsoft also wrote that in several Storm-0940 cases, the time from first targeting to privileged access was less than 3 hours.

Two attacks on Microsoft 365, with the numbers

Two attacks: a password spray that failed, and sign-ins through trusted apps

Attack 1: the password spray (October 10 to 14, 2026)

What Number
Accounts targeted 327
Organizations 8
Failed sign-ins more than 151,000
Peak 2,900 failures a minute, on October 11
Busiest day more than 111,000 failures
Accounts with more than 1,000 failures each 48
Share of responses that were account lockouts almost 98%
Successful sign-ins seen by Microsoft none

So 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.

Attack 2: signing in as a trusted app (from October 15, 2026)

The second attack was quieter and more dangerous.

  • The attackers took control of the identities of several cloud apps from a vendor called ConnectWise. Many companies had already approved these apps in their tenant.
  • The AI agents then signed in to customer tenants as the app. No user, no password prompt, no MFA.
  • Microsoft counted attempts to sign in to more than 2,250 tenants. Microsoft says most of the targeting was not successful. It does not give the number that succeeded.
  • Where it worked, Microsoft saw the app give itself the Global Administrator role, add new credentials to existing apps so the attackers could come back, and read many secrets from Azure Key Vault.

One 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.

3 fingerprints in your logs

Three fingerprints: speed, user agent, an app that changes itself

Fingerprint 1: speed

A person fails a sign-in a few times. ARTEX failed 2,900 times a minute.

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.

In Microsoft Sentinel (table SigninLogs):

// 1. Which address fails many sign-ins in one minute?
SigninLogs
| where TimeGenerated between (ago(30d) .. now())
| where ResultType != "0"
| summarize Failures = count(), Accounts = dcount(UserPrincipalName) by IPAddress, bin(TimeGenerated, 1m)
| where Failures >= 100 or Accounts >= 20
| order by Failures desc

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.

Fingerprint 2: the user agent

Tools 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:

User agent What it is
Python-urllib/3.12 A Python script
python-requests/2.31.0 A Python script
python-requests/2.34.2 A Python script
curl/7.88.1 The curl command line tool
azure-toolkit/1.0 A name the attackers' tooling used

In the portal: Sign-in logs → open one sign-in → tab Basic info → field User agent.

In Microsoft Sentinel (tables SigninLogs and MicrosoftGraphActivityLogs):

// 2. Who signs in or calls Microsoft Graph with a script-style user agent?
let Names = dynamic(["python-urllib", "python-requests", "curl/", "azure-toolkit"]);
union isfuzzy=true
    (SigninLogs | project TimeGenerated, Source = "Sign-in", Who = UserPrincipalName, IPAddress, UserAgent),
    (MicrosoftGraphActivityLogs | project TimeGenerated, Source = "Graph", Who = coalesce(UserId, ServicePrincipalId), IPAddress, UserAgent)
| where TimeGenerated between (datetime(2026-10-01) .. now())
| where UserAgent has_any (Names)
| summarize Calls = count(), LastSeen = max(TimeGenerated) by Source, Who, IPAddress, UserAgent
| order by LastSeen desc

You 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?

Microsoft 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.

Fingerprint 3: an app that changes itself

People 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".

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.

In Microsoft Sentinel (table AuditLogs):

// 3. Did an app (not a person) hand out a role or add a credential?
AuditLogs
| where TimeGenerated between (datetime(2026-10-01) .. now())
| where OperationName in ("Add member to role", "Add service principal credentials", "Add app role assignment to service principal")
| extend ActorApp = tostring(InitiatedBy.app.displayName)
| where isnotempty(ActorApp)
| project TimeGenerated, OperationName, ActorApp, Target = tostring(TargetResources[0].displayName), Result

Some 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.

The addresses Microsoft published

Microsoft lists three addresses for the Storm-0940 activity. I write them the way Microsoft does, with brackets, so nobody clicks them by mistake:

  • 144.172.64[.]99 (the password spray came from this one)
  • 144.172.64[.]128
  • 144.172.64[.]60

Microsoft 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.

The ConnectWise apps

If 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.

App name Application (client) ID
ConnectWise Cloud Backup 506e08f9-6e9a-4da4-942b-a099a03644ae
ConnectWise - MS Teams 24205314-2b89-4e07-a2a4-579e898a5640
ConnectWise - MS Graph 0de14c77-b9b0-4137-9360-34878a929827

One 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.

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.

What to do

What to do if you find something, and what to set up before

If you find one of the apps or a strange sign-in

This is Microsoft's advice from the October 21 post, in short:

  1. Do not delete the app first. Deleting it also deletes evidence. Keep the configuration and the logs.
  2. Keep the affected ConnectWise connections disabled until ConnectWise gives restoration instructions.
  3. Save the logs: Entra sign-in and audit logs, Microsoft Purview Audit, and anything in your SIEM. Do not wait for the export to finish before you contain.
  4. Review from at least October 15, 2026. Where you still have the logs, go back to October 1 for service principal sign-ins.
  5. Look at successful and failed app sign-ins separately.
  6. Check what changed: new credentials on apps, new app owners, new role assignments, new consent grants, changes to Conditional Access.
  7. Then clean up: an authorized responder removes the credentials, grants and roles that should not be there, and rotates secrets.

Before anything happens

Do this Why Microsoft Learn
Keep smart lockout on and ban weak passwords The spray failed because accounts locked. Almost 98% of the responses were lockouts. Smart lockout
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
Limit who can approve new apps Fewer surprise apps in the tenant Configure user consent
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
Have the password spray playbook ready So nobody has to invent the steps at 2 AM Password spray investigation

Microsoft'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.

What this does not mean

  • It does not mean AI can break into any tenant. The spray failed on basic lockout.
  • It does not mean ARTEX is a virus. It is a testing tool that was misused.
  • It does not mean you need a new product. Everything above uses the Entra admin center, plus Microsoft Sentinel if you have it.

It does mean attackers can now try more things, faster, with fewer people. The basics matter more, not less.

Checklist

  • [ ] Sign-in logs: any address with hundreds of failures in one minute?
  • [ ] User agents: any script-style name I do not know?
  • [ ] Audit logs: any app that gave out a role or added a credential?
  • [ ] Enterprise applications: any of the three ConnectWise app IDs?
  • [ ] Smart lockout on, weak passwords banned
  • [ ] Someone on the team opens the Service principal sign-ins tab every week
  • [ ] If something is found: disable, keep the logs, do not delete first

I also made a 4-minute video on why this news moved security stocks, with three tenant checks: https://youtu.be/vo6wzcPtJbE

Sources

Official Microsoft:

Other:

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.

📰 Read the original article on Dev.to Security

Originally published by Dev.to Security. Aggregated on AIWithGhost for educational purposes — full credit and traffic to the original publisher.