ARTEX is an open-source, LLM-driven penetration testing framework that has become a common tool for threat actors since its release in July 2026. In our previous post we covered the PHP2Shell exploit skill that one of its forks now ships. This post takes a step back and looks at a question defenders keep asking us, which is how to tell whether ARTEX is being used against them.
In most cases you can’t tell, and you don’t need to. Outside of operators who leave the default settings in place, there is no artifact that reliably identifies ARTEX. Instead, defenders should focus their attention in two areas:
- Shrink the attack surface: Use a private access solution to isolate internal systems from the internet and ensure all systems exposed to the internet get timely patches.
- Prioritize behavioral detection: Catch and contain the actual attack techniques in real time, regardless of the tool used to execute them.
What ARTEX is
ARTEX was published on GitHub by the user Autumn-27 as an “AI autonomous penetration testing system.” It has a Go backend, a Next.js console, and a PostgreSQL store (Microsoft’s analysis), and it splits an engagement across several agents:
- A goals agent breaks the engagement into verifiable objectives.
- A planner agent reads a knowledge graph of discovered assets and issues tasks, called “intents.”
- Worker agents claim intents and carry them out with an interactive shell and standard tools (nmap, curl, Playwright, sqlmap, hydra, nuclei, and whatever else the operator installs).
- A reporter agent writes up findings with reproduction steps.
The operator chooses the model (frontier, open-weight, or one with its safety training removed), defines scope and targets, and leaves the rest to the agents.
The intended use is authorized testing. In practice, Microsoft reports state-sponsored and financially motivated groups, including Storm-0940, Onyx Sleet, and Salt Typhoon, folding ARTEX into their operations. After reports of misuse, the original repository went offline in October 2026, but independent forks remain available and maintained, as we showed in the PHP2Shell post.
Detecting ARTEX
First, there is no reliable ARTEX artifact, however if left to their default values, indicators that do point to ARTEX are:
- User agents.
artex-enrich/*on asset enrichment requests,norma/*on the agents’ built-in web fetch, andartex-selfupdateon update checks. - Headers. The
X-ARTX-KEYheader used to access its web shells. - Intent IDs. Every task gets a numeric ID that leaks into file names, account names, and cloud resource names, often with an
artex-prefix. Wiz traced these IDs across several incidents, for exampleartex-i37257in artifacts at Chainstack andi3694canaryas an account name at Bitrise.
These are useful when they appear. The DIVD forensic report is a good example. Investigators found an account named artex.ops@divd.nl and an API token labeled artex-i13033 on a compromised Zammad server, and called them “the strongest indicators of the attacker likely using the ARTEX attack framework.”
But every one of these is a string in a config file or a naming habit of the model. An operator can change the user agent in one line, and a fork can rename the header or the intent prefix. Detection logic built only on these strings will catch careless operators and miss the rest.
Second, ARTEX does not introduce new techniques. As Microsoft puts it, the framework “uses common, pre-existing penetration testing tools and techniques,” so the traffic that reaches a target (nmap, curl, sqlmap, and Python scripts a model writes on the fly) looks like any other penetration test.
Third, look for agent-speed behaviour: DIVD and Merlon did not identify ARTEX from a signature in the first place. What they noticed was volume, with 990 custom Python, Ruby, and Bash scripts dropped in about 26 hours, most of them fully commented, which they judged “practically infeasible for a human attacker.” Microsoft makes the same point, writing that “the most durable signal of AI-driven activity is the pattern formed by the bursts of machine speed activity.”
Non-human identities are the main prize
The incidents tied to ARTEX share a pattern. The agent looks for credentials that belong to applications rather than people, and then uses them.
In the DIVD intrusion, the attacker pulled Google OAuth tokens from the Zammad database, then switched Zammad’s OAuth configuration from online to offline access so new tokens would carry refresh tokens, and left a poller to harvest them. It also took a Slack bot API key and a Jira OAuth consumer private key. Storm-0940 intrusions followed the same thread. Microsoft saw ARTEX agents adding credentials to existing applications, including one application that assigned itself the Global Administrator role. In another case, an agent went from searching GitHub for client secrets to reading data from Azure Key Vault in five minutes.
Service principals, OAuth apps, API keys, and bot tokens are a good fit for an autonomous agent. They usually bypass MFA, they rarely trigger interactive sign-in alerts, they often carry broad permissions, and they show up in source code, .env files, and ticketing systems where an agent with a shell can grep for them. Once an agent holds one, it can call SaaS APIs directly, at machine speed, from wherever it runs.
For defenders, that means the inventory and monitoring of non-human identities matters as much as user accounts. Know which applications hold tokens to your SaaS tenants, what scopes they have, and what normal API activity looks like for each.
What Netskope detects
What ARTEX does depends on the attack surface the operator selects. If the target is a customer’s SaaS tenant, the agent will run the same attacks that any operator or tool runs: credential spraying, token theft and replay, enumeration through APIs, privilege escalation through app registrations, and bulk data access. Netskope’s Advanced Compromise behavioral analytics rules key on these activities, not on tool strings, so they fire regardless of which framework or model is driving the attack. Many of them compare activity against a per-user or per-organization baseline, which is where an agent working at machine speed stands out most.
The table below lists some of the Advanced Compromise rules that ARTEX-style activity against a SaaS tenant could trigger, grouped by what the attacker is doing. More rules in this area are planned.
| Attacker activity | Why it applies to ARTEX-style attacks | Netskope Advanced Compromise rules |
|---|---|---|
| Credential attacks and logins from known-bad infrastructure | Agents iterate through password spraying and brute force quickly, and operators often route through Tor or reused infrastructure. |
|
| Use of stolen credentials or tokens from new locations | Harvested passwords, session cookies, and OAuth tokens get replayed from wherever the agent runs, at any hour. |
|
| OAuth app and non-human identity abuse | Agents grant or broaden app access to get long-lived tokens, as in the DIVD intrusion, then pull data through the app. |
|
| Privilege escalation and persistence | New accounts, groups, and role assignments are how agents hold on to access, like the self-assigned Global Administrator role in Storm-0940 intrusions. |
|
| Data collection and staging | Bulk downloads through APIs, and archives encrypted or password-protected before exfiltration. |
|
| Destruction and covering tracks | Deleting mail, files, repositories, or identities to hide activity or cause damage. |
|
| Payload staging and ransomware | Web shells, tools, and payloads uploaded to cloud storage, or files encrypted in place. |
|
| Signals from the SaaS provider | Provider-side detections that Netskope ingests and correlates with the rest of the user’s activity. |
|
Netskope IPS also detects ARTEX’s default user agents, X-ARTX-KEY web shell header, and console pages (see the full list in our PHP2Shell post). A hit is high confidence, but because any operator can change these defaults, but a miss says nothing about whether ARTEX is in use.
Recommendations
- Reduce exposure by using a private access solution to isolate internal systems from the internet
- Build detections around behavior, such as bursts of failed sign-ins, token use from new locations, new credentials added to applications, and API reads well above an identity’s baseline.
- Inventory non-human identities with access to SaaS and cloud tenants. Remove unused ones, reduce scopes, and prefer managed identities over long-lived secrets.
- Scan code repositories, ticketing systems, and wikis for secrets, and rotate anything found.
- Use ARTEX default indicators for hunting, and pair them with an anchor, such as an
artex-prefix next to an intent ID, before alerting. - Plan for speed. Microsoft observed privileged access in less than three hours from initial targeting, and DIVD saw a breach within 12 hours of the first probe. Automated containment matters more against an agent than against a human.



