ARTEX inside AWS: what an AI attack framework leaves in CloudTrail

Datadog Security Labs traced the ARTEX agentic attack framework through real AWS accounts. What the agents read, why they searched CloudWatch logs for AKIA keys, and the CloudTrail signals you can hunt for this week.

Antivenom5 min read

On November 9, Datadog Security Labs published a detailed account of what ARTEX did inside real AWS environments. ARTEX is an AI penetration testing framework: an operator sets a target and an objective, and LLM agents plan and run the attack. In CloudTrail, the agents read public S3 buckets anonymously, used stolen long-term access keys to search CloudWatch logs 1,000 events at a time, and signed themselves up in public Cognito user pools to get AWS credentials.

No new vulnerability appears anywhere in the write-up. The agents used what the accounts already exposed, and they left a clear trail doing it.

Diagram: three ARTEX entry paths into AWS seen by Datadog (anonymous S3 reads, stolen long-term keys searching CloudWatch logs, and self-registered Cognito accounts), each with the CloudTrail signal that gives it away.

What ARTEX is

According to Datadog, a Chinese developer published ARTEX on GitHub in July 2026 and made it closed-source on October 8, after it had passed 12,000 forks. The same platform shows up under several names. Operators plug in their own API keys for AI providers, and ARTEX switches to another provider when one cuts off a key, so a single campaign can run across several providers.

The FBI's November 13 FLASH says that since at least August 2026, "a variety of malicious cyber actors" have used ARTEX against organizations in finance, government, technology, energy, healthcare and other sectors. Datadog notes that Microsoft tied ARTEX to Storm-0940, which Datadog describes as a China-aligned actor, and says it does not independently confirm that link. Treat ARTEX as a tool many groups use, not as the signature of one.

What the agents did in AWS

Datadog groups what it saw into three patterns.

Anonymous reads first. Each session began with unauthenticated requests to S3. In CloudTrail these show a userIdentity.type of AWSAccount and an accountId of anonymous, calling GetObject, ListObjects and similar read APIs. The agents went for front-end assets: build manifests and runtime configs. They also requested deliberately nonexistent placeholder keys before they started guessing real ones, which shows them how a bucket answers a miss.

Stolen long-term keys, then the logs. In the first cluster, the attacker held compromised long-term access keys. The most frequent call was CloudWatch Logs FilterLogEvents, always with a limit of 1,000 events. The searches combined the names of cryptocurrency companies, hedge funds and financial institutions with words like Fund, Invoice, Billing and LLC. On October 20, the same key came from a different IP address and the searches widened: file and storage links (.pdf, .xlsx, .csv, presigned URLs), databases, internal address ranges like 10. and 172., and secrets such as password and AKIA.

Public Cognito pools. In the second cluster, no stolen keys were needed. The agents self-registered in public Cognito user pools, signed in, and obtained AWS credentials through an identity pool. A pre sign-up Lambda trigger rejected several attempts, and the agent kept trying different values. Its discovery calls (ListBuckets, ListSecrets, ListFunctions and others) all failed, because the identity pool's role had no permissions. We cover that path in detail in public Cognito pools hand out AWS credentials.

Why the log search matters

AKIA is the prefix of a long-term IAM access key ID, according to AWS's own identifier reference. An agent that searches your logs for AKIA is looking for keys that someone, at some point, printed into a log line: a debug dump, an error with the environment attached, a request body.

That makes log read access a credential store by accident. Teams tend to grant it widely because reading logs feels harmless. In this case it gave a stolen key a way to look for more keys, and for invoices and spreadsheets that point at money.

It also shows what agentic tooling changes. Running FilterLogEvents with hundreds of search terms across every log group, then changing the terms when the target changes, is tedious for a person. For an agent it's a loop. The method is old. The patience is new.

What it looks like from the defender's side

The good news in Datadog's write-up is that this activity is noisy. The agents generated the kind of signal that's easy to find if you look for it:

  • User agents. Datadog lists strings such as artex-readonly/1.0, artex-pentest/1.0 and ARTEX-worker/1.0. It also warns that user agents are trivial to change, so treat a match as a bonus, not a control.
  • AccessDenied spikes. An agent that doesn't know what a key can do asks everything. That produces bursts of permission errors from one identity.
  • S3 object enumeration. Anonymous ListObjects and GetObject on buckets that hold front-end builds.
  • Instance-role credentials used outside AWS. Datadog calls this out as a hunting lead. GuardDuty has a finding for it, UnauthorizedAccess:IAMUser/InstanceCredentialExfiltration.OutsideAWS, which fires when temporary credentials created on an EC2 instance are used from a host outside AWS.

What to do this week

  • Search CloudTrail for the ARTEX user agents and the IP addresses in Datadog's indicator list. Then search for the behavior, which survives a changed user agent.
  • Find long-term keys that call FilterLogEvents. Few legitimate workloads need it from a long-term key, and fewer from a new IP address. Repeated calls with a limit of 1,000 are worth a look.
  • Mask secrets in logs. A CloudWatch Logs data protection policy can detect and mask credentials such as AWS secret access keys at ingestion. It only applies to events ingested after you set it, so also search existing log groups for keys and rotate what you find.
  • Narrow who can read logs. Treat logs:FilterLogEvents and logs:GetLogEvents on application log groups like read access to a secrets store, because in practice that's what they can be.
  • Retire long-term keys. The posture checks in Datadog's write-up cover the basics: rotate keys every 90 days or less, remove inactive keys older than a year, and deactivate unused credentials. Better still, replace them with roles.
  • Read your public buckets as a stranger would. List what an anonymous caller can fetch, and open the build manifests and runtime configs. If they name internal hosts, API keys or bucket names, an agent will read them first.
  • Alert on AccessDenied bursts per identity, then check what succeeded inside the burst. The denials are the noise. The few successes are the story.

The short version

ARTEX didn't need anything exotic in these accounts. It needed an anonymous bucket, a long-term key and a sign-up form, and it found all three. Each of those is an ordinary finding. Together, and worked through without getting bored, they become a path.

That's the problem we're building Antivenom for. An AI red team, run only against your own systems and with your permission, walks the same paths with proof. The AI blue team closes them, and the red team retests to confirm they stay closed. For the credential side of this story, read leaked secrets and the rotation gap.

← All posts
  • ARTEX
  • AI agents
  • agentic AI
  • AWS security
  • cloud security
  • CloudTrail
  • AI security
  • threat hunting

The arms race has started

Evolve as fast as the attacker.

Antivenom is opening to a small group of security and platform teams first. Join the waitlist to get early access.