この記事は英語で公開されています。
By UNST33R
ThreeAM hybrid AI ransomware: the 40-second loop defenders can hunt
Bitdefender documented a September 2026 ThreeAM affiliate intrusion across a UK school estate. The evidence, its limits, a detection map for agent-like retries, and a safe lab workflow for validating the signals.
Bitdefender published a detailed account on November 3, 2026 of a ThreeAM ransomware affiliate compromising a UK school estate. The intrusion ran from credential theft through cross-domain access and encryption. Its distinctive feature was the hands-on cadence: some decisions arrived minutes apart, while retries arrived every 40 to 100 seconds and often changed only one command. Bitdefender assessed the operation as a hybrid of human direction and an agent-like loop.
That wording matters. Investigators did not recover the attacker's workstation, model, prompt history, or orchestration code. They cannot prove whether software automatically relayed command output to a model or a person copied it into a chat window. Their November 3 research documents behavior and labels the hybrid explanation as a working model. The associated IOC file gives defenders concrete hashes, paths, task names, account names, and registry artifacts.
The useful lesson is operational. Agent-assisted intrusion activity may be slower, noisier, and easier to cluster than the phrase "machine-speed attack" suggests. Security teams can test that hypothesis against their own telemetry today.
What Bitdefender actually observed
| Field | Confirmed detail | Why it matters |
|---|---|---|
| Victim environment | UK school estate; 47 systems listed, including about 21 servers and 8 domain controllers | Multiple initially separate Active Directory domains created an observable trust boundary |
| Recorded intrusion | September 10 through September 19, 2026 | The activity developed over days, leaving several detection windows |
| Attribution | ThreeAM ransomware affiliate; Rust-based encryptor and command-line pattern matched earlier tracking | Attribution rests on the payload and tradecraft rather than on an assumed model |
| Hands-on pace | Decision gaps of 2 to 16 minutes; retry sequence at 41, 49, and 47 seconds | Two cadences support the human-goal/model-retry interpretation |
| Cross-domain work | Three domains joined by two-way trusts during an approximately three-hour window on September 18 | Trust creation is rare, privileged, and high-signal |
| Fan-out | Loader deployed to about 40 machines at roughly 101 seconds per host; encryption at 12 to 13 seconds per host | Deterministic deployment loops must be separated from model decision time |
| Evidence limit | No access to the unmanaged attacker host | Model identity, hosting mode, prompts, and automation mechanism remain unknown |
The attack path itself was conventional. The affiliate stole credentials from backup servers, copied a browser credential database, created or used rogue administrator accounts, enumerated domains, staged finance files, attempted to remove endpoint protection, deployed a loader, and ran a commodity encryptor. PowerShell, WMI, reg, netsh, rundll32, scheduled tasks, Mimikatz, and Impacket-style remote execution did most of the work.
The model signal lived in the way these familiar tools were used. A backup-software API call used port 9392 and HTTP Basic authentication, although the relevant Veeam REST examples use port 9419 and OAuth2. A Windows parsing command mishandled CSV delimiters. Bash-style escaping and /dev/null appeared inside Windows command lines. Scripts were saved as numbered revisions, while probe files recorded whether each step had succeeded.
The evidence ladder
Calling every odd PowerShell command "AI-generated" would produce useless threat intelligence. Bitdefender's report is stronger because it separates observations from interpretation. A defender can preserve the same discipline with an evidence ladder.
| Evidence | Strength | Alternative explanation |
|---|---|---|
| Exact command repeated after 41 seconds, one-call edit after 49 seconds, then a full tool switch after 47 seconds | Moderate | A human operator could prepare alternatives or work from copied snippets |
Numbered revisions such as av_remove.ps1, av_remove2.ps1, and a third hashed version | Moderate | Manual operators also save revisions instead of editing in place |
| Self-labeled output, confirmation files, and terse result formatting | Moderate | A disciplined human script author may optimize output for remote shells |
| Recurrent Unix syntax inside Windows commands on three dates | Moderate | One operator may simply mix shell dialects |
| Two command-length regimes across 60 distinct hands-on steps | Weak alone | Different tasks naturally produce different command lengths |
| Conventional encryptor, public tools, and no natural-language comments in bespoke payloads | Evidence against a strong claim | Most of the operation could remain fully human-directed |
The combined pattern supports a model-authorship hypothesis. It does not identify an autonomous agent. That boundary should survive every downstream report, detection ticket, and tabletop exercise.
Five signals worth hunting
1. Retry clusters with low semantic distance
The September 13 sequence is unusually useful. One PowerShell command ran, repeated byte-for-byte 41 seconds later, changed its final output call 49 seconds later, then became a wmic command 47 seconds after that. Each attempt targeted the same goal.
A practical analytic groups commands by host, parent process, user, and a two-minute sliding window. Normalize timestamps, output redirection, encoded payload bytes, and temporary filenames. Then calculate similarity between adjacent commands. Alert when a cluster contains an exact retry, a small edit, and a tool-family change against the same target.
Avoid a rule based only on a 40-second interval. Administrative automation, software deployment, and health checks all repeat. The combination of short cadence, shared objective, progressive edits, and an interactive remote-execution parent is the valuable shape.
2. Probe and confirmation artifacts
The public IOC file includes da_proof.txt, diag_member.bat, diag_nl.bat, lmhosts_test.bat, wb_probe.bat, psexec-ok, VEEAMPROBE, and WindowsTempDiag. The loader wrote step1.txt, step2.txt, and step3.txt. These names reveal an author that expects to consume a compact success signal before deciding the next step.
Search production servers and domain controllers for literal probe names, short-lived scheduled tasks, and numbered progress files under Windows temporary directories. A single test123 file is weak. Several confirmation artifacts created by PowerShell or a service-launched process inside one session form a strong cluster.
3. Script revision trails
The intrusion left dcboot and dcboot2, multiple av_remove scripts, three prx variants, multiple loader iterations, and two different hashes for grant_lib.ps1. Revision proliferation can expose a generate-run-observe cycle even when command-line logging is incomplete.
File telemetry should retain the original name, hash, first-seen time, creator process, and signer status. Group similarly named unsigned scripts created within one hour. Add weight when a later version executes shortly after the previous version fails.
4. Domain-trust modification
On September 18, the attacker used dnscmd and netdom trust to connect three previously separate domains, ran diagnostic probes, verified trusts in both directions, restarted Netlogon, and pushed account access across the estate. This is the highest-value prevention point in the case.
Alert on every new domain trust, netdom trust invocation, conditional DNS forwarder creation, and Netlogon restart near either event. Require a change record and known administrator identity. Domain trusts change rarely enough that review volume should remain manageable. The control catches a human operator, an agent loop, and ordinary ransomware equally well.
5. Backup credential access and recovery deletion
The first recorded September activity queried credentials stored by backup software. The encryptor later invoked wbadmin to delete system-state backups. This brackets the operation: backup infrastructure supplied access early and recovery destruction appeared during impact.
Monitor direct database reads against backup credential tables, DPAPI decryption from unusual processes, remote scheduled tasks on backup servers, and wbadmin delete systemstatebackup. Isolate backup administration from ordinary domain administration and require separate credentials. Those controls interrupt the path before attribution becomes relevant.
A safe validation workflow for red teams
Defenders should verify these analytics in a lab without recreating ransomware behavior. Build a small Windows test domain, use synthetic logs or benign commands such as whoami, and constrain every tool to read-only telemetry. The goal is to reproduce cadence and revision patterns, with no credential access, trust creation, defense impairment, or encryption.
A three-role harness keeps the experiment auditable:
| Role | Task | Suggested tier | Required control |
|---|---|---|---|
| Scenario generator | Turn the sanitized timeline into benign retry sequences and artifact names | unst33r-flash | Output text only; no shell tool |
| Detection engineer | Convert one sequence into a candidate query for the lab's event schema | unst33r-deepseek | Read-only schema lookup tool; JSON arguments validated |
| Reviewer | Compare the query with the source timeline and label unsupported assumptions | unst33r-pro | Separate prompt and model family from the generator |
Reduced-refusal models directly serve this workflow because defensive prompts contain ransomware commands, credential terminology, and evasion artifacts that general endpoints sometimes reject. Tool calling is equally important: the detection engineer needs access to field definitions, saved searches, and synthetic events while remaining unable to run commands on endpoints. The multi-agent attack-surface primer explains why each hop needs its own permissions and logs.
An acceptable tool contract can expose one function:
{
"name": "query_synthetic_events",
"description": "Search the isolated ThreeAM lab dataset. Production indexes are unavailable.",
"parameters": {
"type": "object",
"properties": {
"dataset": {"const": "threeam-lab-v1"},
"start": {"type": "string"},
"end": {"type": "string"},
"process_names": {"type": "array", "items": {"type": "string"}}
},
"required": ["dataset", "start", "end", "process_names"],
"additionalProperties": false
}
}
The executor must validate the arguments outside the model, reject extra fields, enforce the dataset constant, and record the raw tool call. Never let the model choose an index name or free-form query against production. See the model-tier selection guide for routing logic and the acceptable-use policy for authorization boundaries.
Test the analytic, then test its failure modes
Run at least four negative controls alongside the synthetic agent-like sequence:
- A software deployment job that touches 40 hosts at a fixed interval.
- An administrator retrying one failed command manually.
- A monitoring agent writing numbered health-check files.
- A legitimate, ticketed domain-trust change.
The analytic should downgrade the first three when there is no progressive change toward a shared objective. The trust rule should still alert on the fourth and close only after matching its change record. This distinction prevents the team from training analysts to dismiss high-value events simply because automation produced them.
Measure precision per signal, alert latency from the first retry, and which source fields were required. Record unsupported model assumptions as failures. A useful harness returns a query, a mapping to source observations, expected false positives, and a rollback instruction. Free-form prose without those artifacts does not enter production.
What changes for incident response
The ThreeAM case does not justify a new "AI ransomware" playbook. It justifies three additions to the existing one.
First, preserve high-resolution process timestamps and script hashes. Minute-level aggregation erases the retry cadence that made this case interpretable. Second, cluster related failed commands instead of discarding them as noise. Failure trails may contain more authorship signal than the successful payload. Third, keep confidence labels attached to every claim. "Commands likely model-authored" and "autonomous agent confirmed" lead responders toward different evidence requests.
Bitdefender also reports that AI-generated malware represents about 0.07% of the malware samples it collects monthly. This investigation is one documented case, and the researchers explicitly decline to call it a trend. The defensive value survives that caution. Repeated commands, probe debris, domain-trust changes, backup credential access, and recovery deletion are observable regardless of who or what typed them.
For teams building their own authorized attacker harness, the incident offers a mirror image of the same lesson: retain every tool call, constrain every target, and treat retries as security-relevant state. Our guide to running autonomous pentest agents covers endpoint wiring; this case supplies the telemetry requirements that belong beside it.