← All Use Cases

ARTEX Up Close: Analyze the Tool, Reframe the Risk

November 2026

How we analyzed a recovered agentic-AI attacker tool air-gapped, then audited our own Microsoft 365 tenant against its kill chain.

One leaked service-principal secret is all ARTEX needs — no exploit, no user click. We recovered the tool, deliberately chose not to run it, and audited our own Microsoft 365 tenant against its kill chain. The uncomfortable finding: we passed the hygiene checks ARTEX usually exploits and were still exposed. Here is what that meant, and what we changed.

What ARTEX is

ARTEX is an agentic-AI attack chain, not an exploit: it turns one leaked credential into tenant compromise with no user interaction.

Reported by Microsoft Threat Intelligence in November 2026, ARTEX agents scan public GitHub for leaked OAuth and service-principal secrets, sign in as the service principal, then enumerate Azure and Microsoft 365 and exfiltrate Key Vault secrets, storage keys, and API keys — reportedly within minutes. Its public repository has since been taken down, which shapes how you can safely study it. The defining trait: every stage runs on a secret the attacker already found, so the whole chain hinges on one credential escaping your control.

Lesson 1: Don't run it — analyze it

The first decision was to not run the recovered tool, and that was the right call.

We loaded the pulled ARTEX image into an isolated sandbox with no network and inspected it statically. What we found:

An egress allowlist cannot bound a binary that can rewrite itself from infrastructure you don't control — least of all one from a project whose public repo was taken down. Giving that tool a network path next to production is the risk, not the mitigation. We never attached egress; we emulated the kill chain with vetted, inspectable tooling instead. Treat "analyze recovered attacker tooling air-gapped" as the default, and "run it" as the exception that needs its own justification.

Lesson 2: Clean app hygiene wasn't safe

Our tenant passed the checks ARTEX usually exploits — and was still exposed, because the real gap was structural.

A read-only audit mapped our tenant to each stage of the ARTEX chain:

1 · ENTRYCLEAN hygiene checks passed 2 · ACCESSGAP no containment - signs in from anywhere 3 · LOOTCLEAN nothing to raid - no Key Vaults 4 · DETECTIONGAP no detection - leaked use invisible ● clean / held● open gap
ARTEX chain vs. our tenant - clean entry, no containment or detection

The break-in point held; the open stages are access and detection.

The app estate was clean: no over-permissioned Graph grants, no never-expiring secrets, and no Key Vaults for ARTEX's signature exfiltration step to raid. Two gaps still made a leaked secret devastating. No containment: nothing restricted where a service principal could sign in from — and at the tenant's license tier, Conditional Access cannot be configured at all, while Security Defaults does not cover workload identities, so a stolen secret authenticates from anywhere. No detection: service-principal sign-in logs were not queryable and were not flowing to the SIEM, so use of a leaked secret would be invisible. One "read-only" auditor application had even been granted Conditional-Access and authentication-method write permissions — vestigial grants from an old project that were never revoked.

The lesson: clean app hygiene is necessary but not sufficient. Containment and detection for workload identities are a separate, structural control — and here license tier was what blocked them, not a misconfiguration. The caution: the fix isn’t “buy the upgrade and you’re safe.” The control is containment and detection themselves; license tier was simply this tenant’s obstacle to having them, however your platform lets you get there.

Lesson 3: An agentic audit, with guardrails that held

We ran the read-only audit with a local AI agent on a self-hosted model — and the guardrails are the point of the story.

The agent authenticated with read-only credentials and performed the whole posture assessment with GET-only calls. Two honest moments are worth reporting. The small local model fumbled an operation and created duplicate objects during a later step. When it then proposed deleting them, a human-approval gate stopped the automated deletion and required a person to confirm. That is the system working as designed: an agent can do the laborious enumeration, but destructive actions stay behind a human. If you deploy agentic security tooling, design for the fumble — least-privilege credentials, read-only by default, and a hard approval gate on anything that writes or deletes.

Takeaways and fixes

If your app hygiene is already clean, move your attention to containment and detection for workload identities.

Methodology and safety note

Everything here was done read-only, air-gapped, and de-identified.

Every tenant call was a read (GET); no production secret was used offensively; the recovered attacker binary was never executed with a network path; and all tenant identifiers, application IDs, and secrets have been removed from this write-up. The findings are presented as a generic case study, not as an operational map of any live environment.