BACK TO BLOGS Back to Press Releases

AI penetration testing frameworks and their abuse

Written by:

Kenneth Walker Threat Intelligence Research Engineer

Written by:

AI-driven penetration testing frameworks can help authorized teams find weaknesses and validate defenses. The same capabilities can also help attackers scan targets, test credentials, exploit vulnerable services, and coordinate follow-on activity at a speed that manual operations cannot match.

In a November 2026 FLASH, the FBI warned that threat actors had used the open-source ARTEX framework since at least August to automate multiple phases of intrusions, from reconnaissance through data exfiltration. The lesson is broader than one tool: AI is compressing the time between finding an exposed weakness and abusing it.

What are AI penetration testing frameworks?

AI pentesting frameworks connect a large language model to security tools, scripts, shells, and data about a target. The frameworks can break an objective into tasks, while specialized agents perform reconnaissance, analyze results, select the next step, and record findings. Human operators may set the target and intervene at decision points while the framework handles much of the repetitive work.

ARTEX is one example. Other open-source projects include PentAGI, CAIRN, CyberStrikeAI, and AntiFox, a fork of an earlier ARTEX release. Their designs differ, but the security issue is similar: An AI model can orchestrate familiar tools across several attack paths and targets in parallel. The original ARTEX repository was removed after reports of abuse, but forks and archived copies remain available.

How attackers are abusing these frameworks

Public reporting shows that attackers are using agentic frameworks to accelerate established techniques rather than invent an entirely new attack chain. As these frameworks are open source, it allows modifications to the code.

  • Storm-0940. Microsoft reported that the China-aligned actor used ARTEX during activity connected with the ConnectWise Cloud Backup compromise. The framework accelerated scanning, password spraying, and OAuth application abuse. Microsoft recorded more than 151,000 failed sign-ins in one campaign, with a peak of 2,900 failures per minute.
  • VAPOR PANDA. CrowdStrike observed an actor using ARTEX against more than 200 organizations across at least 14 countries. Post-exploitation was confirmed at nine organizations. Recovered transcripts showed that a human operator still directed agents at key points while the framework ran multiple engagements in parallel.
  • Storm-3358. Microsoft reported that this financially motivated cluster combined ARTEX with conventional automation to scan internet-facing systems, exploit file-upload and server-side request forgery weaknesses, and install remote access trojans.
  • CL-STA-1238. Palp Alto’s Unit 42 reported that the China-nexus cluster used CAIRN in 25 operations against at least 19 organizations. The framework autonomously enumerated attack surfaces and pursued weaknesses involving credentials, authentication, exposed cloud services, and configuration.

What AI changes for defenders

AI increases tempo, scale, and persistence. An agent can retry failed steps, compare results, switch paths, and work across several targets without waiting for an operator to perform each action. The FBI reported that some ARTEX-enabled intrusions progressed from initial targeting to privileged access in under three hours. Alert-only workflows may leave too little time for manual review before the attacker moves on.

The underlying opportunities are still recognizable: exposed applications, weak passwords, reusable secrets, excessive cloud privileges, vulnerable software, and broad network access. Eliminating or constraining those paths reduces the value of the attacker's automation.

How to detect AI-assisted intrusion activity

  • Do not rely on a framework name or a single indicator. Correlate identity, endpoint, cloud, application, and network telemetry.  
  • Investigate sudden scanning, rapid password-spray bursts, repeated API enumeration, unusual OAuth changes, new service-principal credentials, web-shell activity, unexpected command interpreters, database dumping, and high-rate connections across many systems.
  • Process lineage matters. An approved web server or utility launching curl, netcat, PowerShell, other shells, or unfamiliar remote access tools may reveal the post-exploitation chain.  
  • Retain enough telemetry to connect the initial access event to credential use, privilege changes, network movement, and data access. Machine-speed attacks require automated containment as well as fast investigation.

How to reduce the risk of AI pentesting tools abuse

  • Reduce exposed weaknesses. Prioritize internet-facing applications, remote access services, cloud control planes, and third-party integrations. Patch known vulnerabilities, remove unused services, test authentication controls, and inventory externally reachable assets.
  • Protect identities and application credentials. Use phishing-resistant multifactor authentication where possible, rotate exposed secrets, restrict OAuth applications and service principals, and alert on new credentials or privilege assignments. A valid token should not provide unrestricted reach.
  • Control execution and trusted tools. Default-deny application control can prevent unapproved scanners, remote access tools, web shells, and payloads from running. Place boundaries around approved interpreters and utilities so they cannot launch unrelated processes, read sensitive data, or connect anywhere by default.
  • Limit movement and egress. Segment sensitive systems and allow only required application-to-application connections. Restrict outbound traffic by process, destination, and port so a compromised service cannot freely retrieve tools, reach command infrastructure, or exfiltrate data.
  • Prepare for high-speed response. Use detections that can isolate a device, disable a risky process, revoke a token, or block a connection when confidence is high. Validate those actions in exercises so containment does not depend on a person noticing every alert in time.

How ThreatLocker can help constrain the attack path

ThreatLocker deploys Zero Trust, default-deny controls to prevent unauthorized applications and actions and reduce the attack surface in the event accounts or devices are compromised.  

Application Allowlisting can block unapproved tools and payloads, while Ringfencing can restrict what approved applications, scripts, and command interpreters may launch, access, or connect to. Privileged Access Management and Zero Trust Endpoint Firewall can narrow administrative rights and communication paths while EDR Real-Time Threat Detection and MDR provide the telemetry and response layer needed to investigate activity that reaches an allowed path.

Organizations that deploy AI agents for authorized security testing can also use Zero Trust AI Control (ZTAIC) to define which applications, files, scripts, and destinations those agents may use. This does not stop an external attacker from running ARTEX, but it can keep an organization's own AI-enabled tools within approved boundaries.

Control the attack path, not the framework name

Agentic tools will change, fork, and rebrand. Security teams should focus on the actions they enable. Removing exposed weaknesses, limiting credentials, controlling execution, restricting connections, and automating containment can deny both human and AI-assisted attackers the paths they need.

Frequently asked questions

What is an AI penetration testing framework?

It is software that connects an AI model to security tools and workflows so it can plan, execute, and document testing tasks. Authorized teams can use it to assess defenses, but attackers can direct the same capabilities at systems they do not own.

Is ARTEX malware?

ARTEX is an open-source penetration testing framework, that’s not inherently malicious. Its risk depends on how it is used. Threat actors have weaponized it to automate reconnaissance, exploitation, credential attacks, persistence, and data-access activity.

Do AI frameworks create new vulnerabilities?

Usually, they accelerate the discovery and exploitation of existing weaknesses. They can search more broadly, retry more quickly, and coordinate several techniques, which reduces the time defenders have to patch or contain an intrusion.

Can EDR detect AI-assisted attacks?

EDR can detect many resulting behaviors, such as suspicious process chains, remote access tools, scripts, or credential activity. It may not identify that AI selected the action, so prevention, identity, cloud, application, and network telemetry remain important.

What is the best defense against agentic cyberattacks?

No single control is sufficient. Reduce exposed weaknesses, protect credentials, enforce least privilege, control application execution and trusted-tool behavior, restrict network paths, correlate telemetry, and automate containment for high-confidence events.

‍

Start your path to stronger defenses

Start your trial

Try ThreatLocker free for 30 days and experience full Zero Trust protection in your own environment.

Book a demo

Schedule a customized demo and explore how ThreatLocker aligns with your security goals.

Ask an expert

Just starting to explore our platform? Find out what ThreatLocker is, how it works, and how it’s different.