Microsoft’s ARTEX Field Guide: Catch the AI Agent by Its Speed
Microsoft breaks down ARTEX, the AI pentest framework used by six threat groups including Salt Typhoon, and publishes hunting queries built on machine-speed behavior rather than indicators.
Microsoft has published a defender’s guide to ARTEX, the open-source AI penetration testing framework that has spread through criminal and state-backed toolkits since July. Microsoft Threat Intelligence says it has now seen six groups fold ARTEX into their operations: Storm-0940, Storm-3358, Onyx Sleet, Pearl Sleet, Crystal Typhoon and Salt Typhoon. The headline advice: ARTEX uses ordinary tools and its operators change IPs and user agents freely, so the signal that lasts is tempo, not indicators.
For defenders
How it works: a Go backend runs several LLM agents. A planner reads a knowledge graph of what’s been found and issues short tasks; worker agents run them with nmap, curl, Playwright, sqlmap, hydra, nuclei, Metasploit and the like, then write results back, and a reporter documents each confirmed finding. Operators can plug in almost any model, including guardrail-stripped open-weight ones, and a pool feature fails over between providers and keys. It focuses on web apps and APIs (SQL injection, template injection, XXE, upload flaws, auth bypass, IDOR), then moves to web shells, secret files, Kerberoasting and cloud identity abuse. Microsoft says it can go from first scan to privileged access in minutes. The original author pulled the code in October; forks live on, and ThreatBook now sells “ARTEX Pro”.
What to look for: bursts of varied requests from one source, retries of the same technique with small changes, and the jump to the next stage at machine speed. Two default user agents, artex-enrich/* and norma/*, show up in some traffic but are easy to change. On hosts: web server processes spawning shells or curl, wget, netcat and certutil; several short-lived web shells with incrementing names; rapid reads of /etc/shadow, .env files, keys and cloud credentials; and two or three attack chains running at once. Mapping per Microsoft includes T1190 (Exploit Public-Facing Application), T1505.003 (Server Software Component: Web Shell), T1552.001 (Unsecured Credentials: Credentials In Files) and T1098.003 (Account Manipulation: Additional Cloud Roles).
Mitigation: shrink internet-facing exposure, rate-limit request bursts, get secrets out of code and config files, and let your XDR contain hosts automatically. Microsoft also recommends honeypots, tarpits and “fake wins” that convince the agent it has finished. Our earlier coverage: Storm-0940’s ConnectWise campaign and Storm-3358’s financial-sector attacks.
What it means for you
ARTEX is attack software that lets a computer, rather than a person, try thousands of ways into a website or online account and keep going the moment one works. It doesn’t use new tricks, so the usual basics still stop it: up-to-date software, no passwords or keys left in website files, and strong sign-in protection. If you run a small business website, the main change is speed. An unpatched site or a reused password can be found and abused in minutes, not days.
Do this now
- Update your website software, plugins and any internet-facing admin tools, and remove ones you don’t use.
- Search your site’s code and config files for passwords and API keys; move them out and change them.
- Turn on multi-factor sign-in for every admin and cloud account, ideally with a hardware security key.
- Ask your host or IT provider whether they rate-limit and alert on bursts of failed requests.
Source article: What defenders need to know about ARTEX, the agentic AI framework threat actors abuse
Publisher: Microsoft Threat Intelligence
Published: Nov. 25, 2026
URL: https://www.microsoft.com/en-us/security/blog/2026/11/25/what-defenders-need-to-know-artex-agentic-ai-framework-threat-actors-abuse/
Executive Summary
ARTEX (AI autonomous penetration testing system) is an open-source agentic AI framework published in July 2026 by GitHub user Autumn-27, withdrawn by its author in October but kept alive in forks, and now sold commercially as “ARTEX Pro” by China-based ThreatBook. Microsoft Threat Intelligence reports that both state-sponsored and financially motivated actors use it, naming Storm-0940, Storm-3358, Onyx Sleet, Pearl Sleet, Crystal Typhoon and Salt Typhoon. A Go backend coordinates goals, planner, worker and reporter agents over a knowledge graph; worker agents run stock offensive tools (nmap, curl, Playwright, sqlmap, hydra, nuclei, Metasploit, hashcat and others) against operator-defined targets with any LLM, including abliterated models, and can fail over between providers and keys. The intrusion chain runs from network and web-application reconnaissance through exploitation of injection, upload and authentication flaws, web shell persistence, harvesting of secrets from files, /etc/shadow, databases and Kerberos, credential reuse, and cloud identity abuse that adds application credentials and assigns privileged roles, at times reaching privileged access within minutes. The impact is acceleration of existing intrusion workflows rather than new techniques, which makes behavior, tempo and stage-to-stage speed the durable signal. Hunt leads, false positive expectations, Microsoft’s published hunting queries and indicators are detailed below.
ATT&CK chain: Resource Development → Reconnaissance → Initial Access → Execution → Persistence → Privilege Escalation → Credential Access → Discovery → Lateral Movement → Collection → Command and Control
Hunt Lead Grid
| Hunt Lead Level | Hunt Lead Name | ATT&CK | Risk of False Positives |
|---|---|---|---|
| 1 (Junior) | Default ARTEX User Agents in Web and Sign-In Logs | T1594 (Search Victim-Owned Websites) | Low. No legitimate client is known to send artex-enrich or norma user agents; the sweep anchors on those exact prefixes, though their absence proves nothing because operators change them. |
| 2 (Pro) | Web Server Processes Running Bursts of Shell Commands | T1505.003 (Server Software Component: Web Shell), T1059 (Command and Scripting Interpreter) | Medium. Build and automation servers run shells under Java or Node.js; the query anchors on ten or more distinct commands from a web server parent within five minutes, and those hosts need excluding. |
| 2 (Pro) | Rapid Reads of Several Kinds of Secret Files | T1552.001 (Unsecured Credentials: Credentials In Files), T1003.008 (OS Credential Dumping: /etc/passwd and /etc/shadow) | Medium. Configuration management and backup jobs touch these files; the query anchors on three or more distinct secret-file types in one command stream within ten minutes. |
| 3 (Elite) | Service Principal Sign-Ins for Several Applications from One IP | T1078.004 (Valid Accounts: Cloud Accounts) | Medium. Shared automation hosts and NAT egress can sign in several apps; the query anchors on a mix of failures with invalid or expired secrets and at least one success from the same IP within an hour. |
| 3 (Elite) | App Credential Change and Role Assignment by the Same Identity | T1098.001 (Account Manipulation: Additional Cloud Credentials), T1098.003 (Account Manipulation: Additional Cloud Roles) | Low to Medium. Admins onboarding an app may do both; the query anchors on one identity doing both within an hour, which is rare outside change windows and very rare for an application acting on itself. |
Default ARTEX User Agents in Web and Sign-In Logs
Microsoft documents two default user agents: artex-enrich/*, sent with a short GET to each newly discovered web asset that does not follow redirects, closes the connection early and reads only enough to extract the page title, and norma/*, sent when agents fetch pages through their built-in web-fetch tool rather than through shell tools. The sweep is any web server, WAF, reverse proxy, CDN, Microsoft Graph activity or Entra sign-in record whose user agent starts with either string, plus the pattern of a single title-sized GET with no redirect follow against many hosts from one source.
Search IIS, App Service, Application Gateway or other web logs and Entra sign-in and Graph activity logs for the last 90 days, since ARTEX abuse dates from July 2026. Microsoft stresses that operators and agents change these values to beat static rules, so an empty result is not a clean bill of health; pair a hit with the burst-based leads below. Blocking the strings at the WAF is cheap and fine, but it is not a control to rely on. Any hit is reconnaissance by a known offensive framework: identify every asset the source touched and check those for follow-on exploitation.
Hunt Lead Level: 1 (Junior Analyst)
ATT&CK: Reconnaissance → T1594 (Search Victim-Owned Websites), T1595.003 (Active Scanning: Wordlist Scanning) (mapping per source article)
Sources: “What defenders need to know about ARTEX, the agentic AI framework threat actors abuse”, Microsoft Threat Intelligence, Nov. 25, 2026, https://www.microsoft.com/en-us/security/blog/2026/11/25/what-defenders-need-to-know-artex-agentic-ai-framework-threat-actors-abuse/ (source article)
Web Server Processes Running Bursts of Shell Commands
After exploiting a web application, ARTEX agents run commands through web shells and retry at machine speed, correcting errors until a shell runs cleanly, and have used curl and netcat to pull down remote access trojans. Microsoft also describes several short-lived web shells with incrementing names, each running a different command, and web shells written through database log files redirected into a web directory. The detection is a web or application server process (w3wp.exe, httpd, apache2, nginx, php-fpm, java, node) starting shells or download tools, counted per five-minute window, with a threshold of ten distinct command lines as Microsoft’s default.
Use EDR process telemetry on internet-facing Windows and Linux servers; Microsoft’s query below targets Defender for Endpoint’s DeviceProcessEvents. Sweep 90 days. Exclude build, CI and automation servers that legitimately run shells under Java or Node.js by device group, not by process name. Pair it with Microsoft’s companion query for .php, .jsp, .aspx and similar files created by web or database server processes, which catches the incrementing web shells and the database-log trick. Don’t hash-block the web shells, which are generated per target. A hit on a production web server is an incident: isolate, collect the web root and logs, and assume secrets on the host are exposed.
// Shells and download tools started by web or application server processes
let WebServerProcesses = dynamic(["w3wp.exe", "httpd", "apache2", "nginx", "lighttpd",
"java", "node"]);
let ShellsAndTools = dynamic(["sh", "bash", "dash", "zsh", "cmd.exe", "powershell.exe",
"pwsh", "pwsh.exe", "curl", "wget", "nc", "ncat", "certutil.exe", "python3", "perl"]);
DeviceProcessEvents
| where InitiatingProcessFileName in~ (WebServerProcesses)
or InitiatingProcessFileName startswith "php"
| where FileName in~ (ShellsAndTools)
| summarize DistinctCommands = dcount(ProcessCommandLine), Tools = make_set(FileName, 20),
SampleCommands = make_set(ProcessCommandLine, 25), FirstSeen = min(Timestamp),
LastSeen = max(Timestamp)
by DeviceId, DeviceName, InitiatingProcessFileName, bin(Timestamp, 5m)
| where DistinctCommands >= 10
| order by DistinctCommands desc
Query published by Microsoft Threat Intelligence in the source article (Microsoft Defender XDR advanced hunting, KQL).
Hunt Lead Level: 2 (Pro)
ATT&CK: Persistence → T1505.003 (Server Software Component: Web Shell); Execution → T1059 (Command and Scripting Interpreter) (mapping per source article)
Sources: “What defenders need to know about ARTEX, the agentic AI framework threat actors abuse”, Microsoft Threat Intelligence, Nov. 25, 2026 (source article)
Rapid Reads of Several Kinds of Secret Files
Once they have a foothold, ARTEX agents read /etc/shadow, .env and configuration files, private keys and cloud credential files in rapid succession, and dump databases; Microsoft has also seen an XXE flaw used to query a cloud metadata service for role credentials. The detection counts distinct secret-file types referenced in command lines on one device under one account within ten minutes and alerts at three or more: /etc/shadow, .env, SSH private keys, .aws/credentials, .azure/, .kube/config, .git-credentials, .pgpass, .my.cnf, wp-config.php, web.config and appsettings.json.
Run it on EDR process telemetry from internet-facing and application servers; add file-access auditing on Linux (auditd watches on /etc/shadow and key directories) where command lines miss reads done inside a script. Sweep 90 days. Exclude configuration management, backup and secret-rotation service accounts by account and parent image, after confirming their usual file set. A hit following a web server shell lead on the same host is high confidence. Rotating only the passwords seen in the command line is the wrong response: rotate every secret on the host, including cloud keys and database credentials, and check where they were used afterward.
// Commands that reference three or more kinds of credential and secret files
let SecretFiles = dynamic(["/etc/shadow", ".env", "id_rsa", "id_ecdsa", "id_ed25519",
".aws/credentials", ".azure/", ".kube/config", ".git-credentials", ".pgpass",
".my.cnf", "wp-config.php", "web.config", "appsettings.json"]);
DeviceProcessEvents
| where ProcessCommandLine has_any ("shadow", "env", "id_rsa", "id_ecdsa", "id_ed25519",
"credentials", "azure", "kube", "pgpass", "cnf", "config", "appsettings")
| extend SecretFile = SecretFiles
| mv-expand SecretFile to typeof(string)
| where ProcessCommandLine contains SecretFile
| summarize SecretFileTypes = dcount(SecretFile), SecretFilesSeen = make_set(SecretFile),
SampleCommands = make_set(ProcessCommandLine, 20), FirstSeen = min(Timestamp)
by DeviceId, DeviceName, AccountName, bin(Timestamp, 10m)
| where SecretFileTypes >= 3
| order by SecretFileTypes desc
Query published by Microsoft Threat Intelligence in the source article (Microsoft Defender XDR advanced hunting, KQL).
Hunt Lead Level: 2 (Pro)
ATT&CK: Credential Access → T1552.001 (Unsecured Credentials: Credentials In Files), T1003.008 (OS Credential Dumping: /etc/passwd and /etc/shadow) (mapping per source article)
Sources: “What defenders need to know about ARTEX, the agentic AI framework threat actors abuse”, Microsoft Threat Intelligence, Nov. 25, 2026 (source article)
Service Principal Sign-Ins for Several Applications from One IP
Microsoft says agentic tools have used leaked application credentials across many applications and tenants; during Storm-0940 activity ARTEX agents signed in to Microsoft 365 tenants with stolen app credentials and reached downstream tenants through an already-consented third-party app. The detection groups service principal sign-ins by source IP per hour and flags three or more distinct applications with both failures and at least one success, or any sign-in with an artex or norma user agent. Error codes 7000215 (invalid client secret) and 7000222 (expired client secret) show someone trying a credential for the app; a success after those failures from the same address needs immediate investigation.
This needs Entra ID service principal sign-in logs (recorded separately from user sign-ins, so make sure they’re collected) and, for the query below, Entra ID P2 for the EntraIdSpnSignInEvents table; Microsoft Graph activity logs help scope what the app did next. Sweep 90 days. Expect hits from shared automation hosts and NAT egress that legitimately run several apps; allowlist those by documented IP and app set, not by app alone. Disabling the app outright can break a business process, so rotate its secrets and certificates first, then review its consented permissions and recent Graph, Key Vault and Storage access. Treat a success following invalid-secret failures as a compromised credential.
// Service principal sign-ins for several applications from one IP address
EntraIdSpnSignInEvents
| where IsManagedIdentity == false
| summarize ServicePrincipals = dcount(ServicePrincipalId),
SucceededFor = dcountif(ServicePrincipalId, ErrorCode == 0),
FailedSignIns = countif(ErrorCode != 0),
InvalidOrExpiredSecret = countif(ErrorCode in (7000215, 7000222)),
ArtexUserAgent = countif(UserAgent has_any ("artex", "norma")),
Applications = make_set(ServicePrincipalName, 20),
Resources = make_set(ResourceDisplayName, 20), UserAgents = make_set(UserAgent, 10),
FirstSeen = min(Timestamp), LastSeen = max(Timestamp)
by IPAddress, bin(Timestamp, 1h)
| where (ServicePrincipals >= 3 and SucceededFor >= 1 and FailedSignIns >= 1)
or ArtexUserAgent > 0
| order by ServicePrincipals desc
Query published by Microsoft Threat Intelligence in the source article (Microsoft Defender XDR advanced hunting, KQL).
Hunt Lead Level: 3 (Elite)
ATT&CK: Initial Access → T1078.004 (Valid Accounts: Cloud Accounts) (mapping per source article)
Sources: “What defenders need to know about ARTEX, the agentic AI framework threat actors abuse”, Microsoft Threat Intelligence, Nov. 25, 2026 (source article)
App Credential Change and Role Assignment by the Same Identity
During Storm-0940 activity, ARTEX agents added credentials to applications to keep access and assigned privileged roles, including an application that assigned itself the Global Administrator role. The detection joins, per acting identity per hour, a successful “Add service principal credentials” or certificates-and-secrets change with a successful “Add member to role” or “Add app role assignment to service principal”, and flags identities that did both. An application principal that grants itself a directory role is close to a definitive signal.
Use Entra ID audit logs in Sentinel or another SIEM; the query below runs against the AuditLogs table. Sweep 90 days and keep the rule running, since both actions are rare. Expect occasional benign hits when administrators onboard a new app; confirm against change tickets and the admin’s usual source IP, and suppress by ticketed change window rather than by user. Removing the role without also removing the added credential leaves the attacker a way back. Any hit where the actor is an application, or where the credential change followed suspicious service principal sign-ins, should go to incident response.
// Credential changes and role assignments made by the same identity within an hour
AuditLogs
| where Result =~ "success"
| where OperationName in ("Add service principal credentials", "Add member to role",
"Add app role assignment to service principal")
or OperationName contains "Certificates and secrets management"
| extend Stage = iff(OperationName has_any ("credentials", "Certificates"), "Credential",
"Role")
| extend ActorUpn = tostring(InitiatedBy.user.userPrincipalName),
ActorServicePrincipalId = tostring(InitiatedBy.app.servicePrincipalId),
ActorAppId = tostring(InitiatedBy.app.appId),
TargetName = tostring(TargetResources[0].displayName)
| extend Actor = coalesce(ActorUpn, ActorServicePrincipalId, ActorAppId)
| summarize Stages = make_set(Stage), Operations = make_set(OperationName),
Targets = make_set(TargetName, 20), FirstSeen = min(TimeGenerated),
LastSeen = max(TimeGenerated)
by Actor, ActorAppId, bin(TimeGenerated, 1h)
| where array_length(Stages) == 2
| order by FirstSeen desc
Query published by Microsoft Threat Intelligence in the source article (Microsoft Sentinel, KQL).
Hunt Lead Level: 3 (Elite)
ATT&CK: Persistence → T1098.001 (Account Manipulation: Additional Cloud Credentials); Privilege Escalation → T1098.003 (Account Manipulation: Additional Cloud Roles) (mapping per source article)
Sources: “What defenders need to know about ARTEX, the agentic AI framework threat actors abuse”, Microsoft Threat Intelligence, Nov. 25, 2026 (source article)
Hash Appendix
ARTEX framework
The source article publishes no file hashes; ARTEX is distributed as open-source code in many forks and drives legitimate offensive tools, so hashes would not be durable. No lookups in OTX AlienVault or VirusTotal were made for this report.
MD5s
(not available) # no files published
SHA1s
(not available) # no files published
SHA256s
(not available) # no files published
References Appendix
- “What defenders need to know about ARTEX, the agentic AI framework threat actors abuse”, Microsoft Threat Intelligence, Nov. 25, 2026, https://www.microsoft.com/en-us/security/blog/2026/11/25/what-defenders-need-to-know-artex-agentic-ai-framework-threat-actors-abuse/