ARTEX: Agentic AI penetration testing framework used in the wild
Threat actors are utilizing the open-source ARTEX agentic AI framework to automate malicious operations including credential theft, cloud API abuse, and lateral movement.
Triage facts
Revision 1- Applicability
- Microsoft Graph, Microsoft Entra ID +2
- Evidence
- Unknown
- Severity
- High
- Action
- Elevated
- Sources
- 1 public source
- Freshness
- Revision 1Nov 10, 22:28 UTC
- Source quality
- B2Roughly even chance
ARTEX is an open-source, multi-agent penetration testing framework written in Go that has been adopted by threat actors for malicious operations since its public release in July 2026. The framework utilizes LLM-based planning and worker agents to automate target mapping, credential harvesting, webshell deployment, and lateral movement. It has been used against cloud services such as Microsoft Graph by leveraging stolen authentication material or compromised application credentials. The use of AI agents enables rapid execution of command sequences and repeated attempts, significantly increasing the scale, noise, and persistence of attacks.
Attack Chain
- Initial access via stolen application credentials, consented third-party apps, or compromised valid accounts.
- Deployment of agentic AI framework (ARTEX) to interact with target environments.
- Planning agents map the target environment and identify potential breach paths.
- Worker agents execute offensive tasks including scanning and credential access.
- Webshell deployment and command execution on target hosts (e.g., SQL Server).
- Rapid command sequencing and repeated variants to bypass defenses and move laterally.
- Automated recording of discovered assets and vulnerabilities in a graph structure.
Impact
Observed impact includes the compromise of cloud backup services and financial organizations. Attackers have demonstrated the ability to conduct credential theft, webshell deployment, and lateral movement at a significantly higher scale and velocity than manual operations.
Recommendation
- Audit service principals and enterprise applications in Microsoft Entra ID; remove unused app consents and review credential additions or role assignments since September 2026.
- Apply Conditional Access policies to workload identities to restrict application sign-ins to expected locations.
- Alert on application sign-ins that utilize scripted user agents or authentication failure rates exceeding established baselines.
- Implement automated first-response playbooks to contain attacks involving privileged access, such as revoking credentials or disabling compromised service principals.
- Hunt for temporary files following the naming pattern 'i<intentID>[variant]_<purpose>.<ext>' (e.g., i12345_b2.ps1) and paths containing 'artx', especially within C:\Windows\Temp.
Immediate actions
Audit Microsoft Entra ID for unauthorized service principal changes since September 2026
Threat Hunt
Identify rapid command bursts and structured output markers in command-line logs
Data: Endpoint process creation logs (Process Name, CommandLine)
Mitigations
Enforce Conditional Access policies on workload identities
Cloud API abuse