AI Integration
Attackers Now Run AI Agents: What ARTEX and Microsoft Perception Change for Your Defences
In one intrusion Microsoft investigated this autumn, an AI agent found GitHub client secrets and used them to reach an Azure Key Vault in about five minutes. In a campaign by the group Microsoft tracks as Storm-0940, it recorded more than 151,000 failed sign-ins, peaking at 2,900 a minute. In several of that group's intrusions, privileged access came less than three hours after the first probe.
The tool behind this is ARTEX, an open-source AI penetration testing platform that was released on GitHub in July 2026 and turned into a working attack tool within weeks. Microsoft has now tied it to six threat groups, including state-sponsored actors such as Salt Typhoon and Onyx Sleet as well as financially motivated crews. A few days after that report, Microsoft made Microsoft Perception, its own multi-agent defensive system, generally available to Defender customers.
So both sides are now running agents. Businesses need to understand what that changes, and what it does not.
ARTEX breaks an engagement into goals, then loops planner, worker and reporter agents until it has access.
What ARTEX actually does
Strip away the novelty and the picture is uncomfortable for a different reason than you might expect. Microsoft is explicit that ARTEX introduces no new attack techniques. It scans ports, enumerates DNS, discovers web and API routes, sprays passwords, reads secrets from config files, uploads web shells and, in cloud tenants, adds credentials to app registrations and assigns itself roles. Every one of those is decades old or well documented.
What changes is tempo and labour. A planner agent reads a knowledge graph of what it has found so far and issues short instructions; worker agents carry them out with a real shell and tools such as nmap, curl and Impacket; a reporter agent records what worked. The operator can plug in almost any language model, including ones with their safety training removed, and fail over between providers if one is blocked. A small crew can now run the kind of patient, methodical attack that used to need a team.
The original developer pulled the source in October. Forks are still circulating, and a Chinese security firm has since claimed ownership and started selling a commercial edition. This tool is not going away.
The one piece of good news
By default, ARTEX makes no attempt to hide itself. Its default user agents are known, and Microsoft's more durable advice is to watch behaviour: bursts of varied requests, rapid retries, very fast transitions between stages. A human attacker pauses. An agent loop does not, and that rhythm is detectable if you are collecting the right signals.
What an AI defender looks like in practice
Microsoft Perception is the useful counterpoint, because it shows what agentic AI on the defensive side really does today. Its "Protect against a threat" playbook takes one threat article as input and hands it to four agents in turn: one extracts the actors, indicators and techniques; one checks whether your tenant is exposed; one drafts detections; one ranks what to fix first.
Microsoft ran it against ARTEX-related reporting in a simulated enterprise tenant. In one run it mapped 11 ATT&CK techniques, found 183 internet-facing candidate resources, proposed nine detections (three ready to deploy, six needing tuning) and flagged 23 storage accounts with public or shared-key access. In both runs, internet-facing Function Apps without authentication landed near the top of the fix list.
Two caveats matter. The tenant was a demo, so the numbers describe that configuration, not yours. And the detections still need a human to review them before they go live: in one replay against 14 days of data they produced zero hits, which Microsoft itself notes mainly proves the queries are quiet, not that they are ready.
Microsoft Perception's threat playbook: four agents, each answering one question a security lead would ask.
What to do this month
The honest lesson from both reports is that AI has shortened the gap between an attacker finding a weakness and using it. It has not created new weaknesses. That makes the boring controls more valuable, not less.
- Inventory what faces the internet. Function Apps, API endpoints, storage accounts and old test sites are what both Perception runs flagged first. If you cannot list them, an agent will list them for you.
- Make sign-in attacks pointless. Enforce MFA through Conditional Access, block weak passwords and monitor risky sign-ins. Nearly 3,000 attempts a minute only matters if one of them works.
- Get secrets out of code and config. Rotate anything that has ever sat in a repository, move workloads to managed identities, and restrict who can add credentials to app registrations or assign roles.
- Turn on automatic containment. Defender's automatic attack disruption and automated investigation exist precisely for incidents that move faster than a person can respond. Five minutes from secret to Key Vault leaves no time for a ticket queue.
- Treat AI defenders as analysts, not autopilots. If you adopt Perception or similar tools, budget time for someone to review the detections and act on the priority list. The value is in the shortlist it produces, not in the dashboard.
The test is simple: pick your most exposed internet-facing service and ask how long an automated attacker would need to get from there to a privileged identity. If the answer is measured in minutes, start there. Endpoint Craft can run that exposure review across your Microsoft 365, Entra and Azure estate and hand you a ranked fix list your team can work through this quarter.
Get Started
Ready to bring your idea to life?
Get in touch to talk through your goals and find out how Endpoint Craft can help you work smarter, stay secure, and embrace the AI era.
Contact Now →