Wiz Research has published a significant body of work this cycle: "Agentic Attacks: In The Wild" documents what many of us in the IR trenches have been bracing for — autonomous, AI-driven offensive frameworks operating against production cloud environments at machine speed. The centerpiece is ARTEX, an agentic offensive framework observed driving a measurable surge in cloud intrusions. Wiz's reporting is unusually rich: it includes both sides of a single attack reconstructed from the operator's own leaked logs, an update on the Black October campaign, and — most valuable for defenders — a catalog of the detections that actually fire on these noisy, high-velocity operations.
The strategic takeaway is one I've been delivering to CISOs for months: your detection-and-response timelines were built for human adversaries. Agentic frameworks compress the kill chain from days to minutes. An autonomous agent doesn't sleep, doesn't make typos, and doesn't pause to exfiltrate carefully — it enumerates, escalates, and moves at API rate limits. If your SOC triage queue assumes an attacker who works an 8-hour shift, you are structurally behind.
The good news, and Wiz says this explicitly: these attacks are noisy. Machine-speed operation generates behavioral signatures — enumeration bursts, impossible API velocity, robotic call sequences — that are easier to detect than a patient human operator, provided you are looking for velocity and sequence anomalies rather than atomic indicators.
Technical Analysis
What ARTEX-style agentic frameworks actually do
Based on the behaviors Wiz describes, agentic offensive frameworks share a consistent operational pattern in cloud environments:
-
Rapid reconnaissance burst. On gaining an initial foothold — typically a leaked or stolen cloud credential, an exposed access key in a public repo, or a compromised workload identity — the agent immediately fires off enumeration calls:
GetCallerIdentity,ListUsers,ListRoles,ListBuckets,DescribeInstances,GetCallerIdentityloops across regions. A human runs these over minutes to hours. An agent runs them in seconds, often in parallel. -
Autonomous privilege escalation attempts. The framework programmatically tests privilege escalation paths — attempting
CreateAccessKeyon other principals,AttachUserPolicy,PassRoleabuse against Lambda or EC2 — iterating through escalation primitives far faster than any human operator. -
Credential material harvesting. On endpoints, agentic tooling goes straight for cloud credential stores:
~/.aws/credentials,~/.azure/, instance metadata service (169.254.169.254) queries, and environment variables containing tokens. -
Aggressive lateral expansion. Security group modifications (
AuthorizeSecurityGroupIngressopening0.0.0.0/0), new access keys, and persistence via newly created IAM users or role trust policy edits. -
Operator-in-the-loop artifacts. The leaked operator logs Wiz analyzed show the hybrid reality: the agent executes autonomously at machine speed, but a human supervisor reviews output and redirects objectives. This creates a distinctive telemetry fingerprint — long bursts of perfectly regular machine activity punctuated by idle gaps, then abrupt pivots.
Exploitation status
This is not theoretical. Wiz documents confirmed in-the-wild intrusions, including a fully reconstructed attack from the operator's own leaked logs, and an update on the Black October campaign indicating continued active operations. There is no CVE here — the attack surface is identity, misconfiguration, and credential exposure, which no patch fixes. That is precisely why detection engineering is your primary control.
Why traditional detections underperform
Most cloud detections are built around single events: "access key created," "security group opened to the world," "IAM policy attached." Agentic attacks trip those rules too — but they also generate an avalanche of them in a 60-second window, which either floods the queue into alert fatigue or, worse, gets auto-closed as noise. The detections that matter are velocity and sequence-based: calls per identity per minute, enumeration breadth per session, and deviation from an identity's historical baseline.
Detection & Response
Sigma
---
title: AWS IAM Enumeration Burst Indicative of Agentic Automation
description: Detects high-breadth IAM and resource enumeration from a single identity, a hallmark of agentic offensive frameworks performing autonomous reconnaissance at machine speed.
id: 8f3a1c92-4b7d-4e2a-9c6f-1a2b3c4d5e6f
status: experimental
references:
- https://www.wiz.io/blog/agentic-attacks-artex-offensive-ai-frameworks
- https://attack.mitre.org/techniques/T1580/
author: Security Arsenal
date: 2026/01/15
tags:
- attack.discovery
- attack.t1580
- attack.t1069
logsource:
product: aws
service: cloudtrail
detection:
selection:
eventSource:
- 'iam.amazonaws.com'
- 'sts.amazonaws.com'
eventName:
- 'GetCallerIdentity'
- 'ListUsers'
- 'ListRoles'
- 'ListPolicies'
- 'ListAttachedRolePolicies'
- 'GetAccountSummary'
- 'ListAccessKeys'
condition: selection
falsepositives:
- Legitimate infrastructure-as-code pipelines (Terraform/CloudFormation) — correlate with known CI/CD principals and exclude
- CSPM and cloud security tooling performing scheduled scans
level: medium
---
title: AWS Persistence via New Access Key or Open Security Group
id: 2d7e9f41-6a3b-4c8d-b1e5-9f8a7c6d5e4f
status: experimental
description: Detects credential persistence and network exposure changes commonly executed by agentic frameworks during autonomous lateral expansion.
references:
- https://www.wiz.io/blog/agentic-attacks-artex-offensive-ai-frameworks
- https://attack.mitre.org/techniques/T1098/
author: Security Arsenal
date: 2026/01/15
tags:
- attack.persistence
- attack.t1098
- attack.t1098.001
logsource:
product: aws
service: cloudtrail
detection:
selection_key:
eventName: 'CreateAccessKey'
selection_user:
eventName: 'CreateUser'
selection_ingress:
eventName: 'AuthorizeSecurityGroupIngress'
requestParameters.cidrIp|contains: '0.0.0.0/0'
selection_trust:
eventName: 'UpdateAssumeRolePolicy'
condition: 1 of selection_*
falsepositives:
- Legitimate administrative provisioning — investigate identity, source IP, and adjacent API call velocity
level: high
---
title: Cloud Credential File Access by Non-CLI Process
id: 5c1a8e73-2f4d-4b9a-a7c2-3d4e5f6a7b8c
status: experimental
description: Detects processes outside expected cloud CLI tooling accessing local cloud credential stores, consistent with agentic harvesting of credential material on compromised workloads.
references:
- https://www.wiz.io/blog/agentic-attacks-artex-offensive-ai-frameworks
- https://attack.mitre.org/techniques/T1552/
author: Security Arsenal
date: 2026/01/15
tags:
- attack.credential_access
- attack.t1552.001
logsource:
category: file_access
product: linux
detection:
selection:
TargetFilename|contains:
- '/.aws/credentials'
- '/.aws/config'
- '/.azure/accessTokens.json'
- '/.config/gcloud/'
filter_cli:
Image|endswith:
- '/aws'
- '/aws2'
- '/az'
- '/gcloud'
- '/terraform'
condition: selection and not filter_cli
falsepositives:
- Backup agents and EDR sensors reading credential paths
- Developer tooling and IDE plugins
level: high
KQL — Microsoft Sentinel
The single highest-value analytic against agentic attacks is API velocity per identity. Humans do not issue 40 distinct read API calls per minute for ten straight minutes; agents do. This query works against the AWSCloudTrail table in Sentinel (ingested via the AWS connector) and surfaces identities exhibiting machine-speed enumeration bursts.
let VelocityThreshold = 40;
let DistinctApiThreshold = 12;
let Window = 5m;
AWSCloudTrail
| where TimeGenerated > ago(24h)
| where EventTypeName == "AwsApiCall"
| summarize
ApiCalls = count(),
DistinctApis = dcount(EventName),
DistinctSources = dcount(EventSource),
FirstSeen = min(TimeGenerated),
LastSeen = max(TimeGenerated),
SampleApis = make_set(EventName, 25)
by UserIdentityArn, SourceIpAddress, bin(TimeGenerated, Window)
| where ApiCalls >= VelocityThreshold and DistinctApis >= DistinctApiThreshold
| extend CallsPerMinute = round(todouble(ApiCalls) / 5.0, 1)
| project TimeGenerated, UserIdentityArn, SourceIpAddress, ApiCalls, CallsPerMinute, DistinctApis, DistinctSources, SampleApis
| order by CallsPerMinute desc
;
// Correlate burst identities with subsequent high-risk actions
let BurstIdentities =
AWSCloudTrail
| where TimeGenerated > ago(24h)
| summarize ApiCalls = count(), DistinctApis = dcount(EventName) by UserIdentityArn, bin(TimeGenerated, 5m)
| where ApiCalls >= VelocityThreshold and DistinctApis >= DistinctApiThreshold
| summarize by UserIdentityArn;
AWSCloudTrail
| where TimeGenerated > ago(24h)
| where EventName in ("CreateAccessKey", "CreateUser", "AttachUserPolicy", "AttachRolePolicy", "PutUserPolicy", "UpdateAssumeRolePolicy", "AuthorizeSecurityGroupIngress", "CreateLoginProfile", "RunInstances")
| where UserIdentityArn in (BurstIdentities)
| project TimeGenerated, UserIdentityArn, EventName, SourceIpAddress, UserAgent, RequestParameters, ResponseElements
| order by TimeGenerated asc
Tune the thresholds against your baseline — CI/CD principals will legitimately exceed them, so maintain an allowlist of known automation ARNs and alert hard when a human-assumed role or console identity shows agent-class velocity.
Velociraptor VQL
On compromised workloads, hunt for processes touching cloud credential stores and for cloud CLI tooling spawned by interpreter processes — a pattern consistent with an agent orchestrating CLI calls rather than a human shell session.
-- Hunt: non-CLI processes accessing cloud credential stores and
-- cloud CLIs spawned by interpreters (agentic orchestration pattern)
LET cred_paths = {
SELECT * FROM glob(globs=['/home/*/.aws/credentials', '/root/.aws/credentials',
'/home/*/.azure/accessTokens.json', '/home/*/.config/gcloud/credentials.db'])
};
LET suspicious_cli_parents =
SELECT Pid, Ppid, Name, Exe, CommandLine, Username, CreateTime,
get_item(field='CommandLine') AS CL
FROM pslist()
WHERE (Name =~ '(?i)^(aws|az|gcloud|kubectl)$' OR Exe =~ '(?i)(aws|azure|gcloud)')
AND get_member(member='Ppid', item=pslist(Pid=Ppid)) =~ 'x'
;
-- Processes with interpreter parents running cloud CLIs
SELECT Pid, Ppid, Name, CommandLine, Username, CreateTime
FROM pslist()
WHERE Name =~ '(?i)(aws|az|gcloud|kubectl)'
AND CommandLine =~ '(?i)(credential|token|secret|iam|sts)'
ORDER BY CreateTime DESC
Deploy this as a hunt across your cloud workload fleet. Any hit on an interpreter-spawned CLI reading credential material outside of a known automation account warrants immediate IR escalation and credential revocation.
Remediation & Hardening Script
This Bash audit gives you a fast exposure picture for the exact vectors agentic frameworks exploit: stale access keys, missing CloudTrail coverage, and world-open security groups. Run it with read-only audit credentials per account and region.
#!/bin/bash
# Security Arsenal - Agentic Attack Surface Audit (AWS)
# Checks: stale access keys, CloudTrail coverage, 0.0.0.0/0 ingress, unused credentials
set -euo pipefail
echo "=== [1] Access keys older than 90 days (rotate immediately) ==="
aws iam list-users --query 'Users[].UserName' --output text | tr '\t' '\n' | while read -r user; do
aws iam list-access-keys --user-name "$user" \
--query "AccessKeyMetadata[?Status=='Active'].{User:'$user',Key:AccessKeyId,Created:CreateDate}" \
--output text
done
echo ""
echo "=== [2] CloudTrail multi-region logging status (must be IsLogging=true) ==="
aws cloudtrail describe-trails --query \
'trailList[].{Name:Name,MultiRegion:IsMultiRegionTrail}' --output table
aws cloudtrail get-trail-status --query '{Logging:IsLogging,LastError:LatestDeliveryError}' --output table 2>/dev/null || true
echo ""
echo "=== [3] Security groups open to 0.0.0.0/0 (prime agentic expansion targets) ==="
for region in $(aws ec2 describe-regions --query 'Regions[].RegionName' --output text); do
echo "--- Region: $region ---"
aws ec2 describe-security-groups --region "$region" \
--filters Name=ip-permission.cidr,Values='0.0.0.0/0' \
--query 'SecurityGroups[].{Group:GroupId,Name:GroupName}' --output table
done
echo ""
echo "=== [4] IAM users with console passwords AND no MFA (high-risk initial access) ==="
aws iam get-credential-report --query 'Content' --output text | base64 -d | \
awk -F',' 'NR>1 && $4=="true" && $8=="false" {print $1}'
echo ""
echo "=== [5] Roles with wildcard trust principals (autonomous pivot risk) ==="
aws iam list-roles --query 'Roles[].{Role:RoleName,Trust:AssumeRolePolicyDocument}' \
--output json | python3 -c \
"import sys,json; [print(r['Role']) for r in json.load(sys.stdin) if '*' in json.dumps(r['Trust'])]"
echo ""
echo "Audit complete. Rotate any key in section 1 older than 90 days and"
echo "revoke keys attached to identities showing anomalous API velocity."
Remediation
There is no patch for this threat class — the remediation is architectural and operational:
-
Eliminate long-lived credentials. Agentic frameworks feast on leaked access keys. Migrate human and workload access to short-lived, role-based credentials (IAM Roles Anywhere, instance profiles, OIDC federation for CI/CD). Enforce a 90-day maximum key age with automated rotation and alert on any key older than that.
-
Deploy velocity-based detection now. Atomic detections won't save you against a machine-speed adversary. Implement per-identity API-rate analytics (the KQL above is a starting point), baseline normal automation accounts, and alert on human identities exhibiting machine-class call patterns.
-
Enforce MFA everywhere and kill console passwords on service accounts. The Wiz cases follow a familiar initial-access pattern: valid credentials walk straight in. Phishing-resistant MFA on every human principal removes the cheapest entry vector.
-
Lock down role trust policies and PassRole. Audit every role trust for wildcard principals and every policy granting
iam:PassRolewithout resource constraints. Autonomous escalation engines systematically test these paths. -
Restrict the metadata service. Enforce IMDSv2 with hop limit 1 on all EC2 workloads, and consider blocking metadata access from containers that don't need it. Credential harvesting from IMDS is a first-stop move for agentic tooling on a compromised workload.
-
Compress your response loop. If an attacker completes recon, escalation, and persistence in four minutes, a 4-hour SOC SLA is a death sentence. Pre-authorize automated containment for high-confidence velocity alerts: revoke the session, disable the access key, and isolate the workload via SOAR before a human even opens the ticket.
-
Hunt the leaked-log lesson. The operator logs Wiz analyzed show agents leave enormous telemetry footprints. Run the Velociraptor hunt and CloudTrail analytics retroactively over the last 30 days — machine-speed recon bursts are unmistakable in hindsight.
Review the full Wiz Research write-up for the campaign-specific indicators and the Black October update: https://www.wiz.io/blog/agentic-attacks-artex-offensive-ai-frameworks
Related Resources
Security Arsenal Penetration Testing Services AlertMonitor Platform Book a SOC Assessment vulnerability-management Intel Hub
Is your security operations ready?
Get a free SOC assessment or see how AlertMonitor cuts through alert noise with automated triage.