$_ stdout
~/posts/ransomware.md · on main · 66 min read
/**
* @topic#ransomware #agents #detection #resilience
* @statuspublished
*/

The Algorithmic Extortionist: Agentic Ransomware

An AI agent ran a full ransomware intrusion against a production server, then lost the key, so paying would have restored nothing. That is agentic ransomware today: the intrusion is automated end to end, at machine speed, while the business that is supposed to fund it is not. Meanwhile an extortion group that never encrypts anything, and only steals documents and presses its victims by phone, claims $207 million in six months.

This post reads the incident record, the economics and the academic literature together, and checks the headline numbers, some of them outrageous, against primary sources. The attack is a loop that replans after every failure: a reasoning layer that reads its own errors, an execution layer that stays inside native tools, and a state layer that remembers the environment.

Antivirus tools work by recognizing known malicious programs. An agent that composes its own commands fresh on each run leaves no fixed program to recognize, so defenses cannot depend on spotting the attacker's code. What helps is watching for what any ransomware must do: rewrite many files quickly. That signal is imperfect. The usual test, how random a file's contents look once encrypted (its entropy), fails when a strain encrypts only part of each file or changes its pattern, so detection can only be one layer among several, because defense in depth is still the best defense. The last layer, the one that holds even when detection is wrong, is recovery: backups the attacker cannot alter, plus a host that is isolated automatically, with no human approval needed. Research on real ransom negotiations backs this up: Meurs et al. analyzed 461 incidents reported to police and 237 published negotiation transcripts, and found that victims with fully recoverable backups engaged and paid far less.

The missing piece for attackers is key release: handing each victim the right decryption key once they pay, without a person doing it by hand. The literature already sketches how, and within three weeks of the first report the operator of the agent that lost its key had rewritten its tool to wrap a unique key for each victim and promise delivery after payment.

Epidemiologists model how malware spreads through a network much as they model a disease. Those models were built for worms, which probe random network addresses and infect whatever answers. An agent spreads differently: it moves from machine to machine along stolen logins, following the map of which account can reach which system (the credential graph), and it tries another route when one fails. No published model has been fitted to real enterprise ransomware moving that way. The post closes with six predictions, each testable once more data on agentic intrusions emerges.

BL Dr. Ben Livshits #security October 15, 2026 · 149 commits

A leak of internal chat logs, written up by DataBreaches, surfaced this month with a number in it. Silent Ransom Group, tracked as Chatty Spider and UNC3753 and descended from Conti, steals documents from law firms and presses them by telephone, sometimes in person; it does not encrypt anything. Its own deal board, the running tally of victims and payments the group kept in its internal chats, claims about $207 million paid by 27 firms in six months.

19:34:36 UTC. In Sysdig's log, the login fails.

The agent is already inside. It came in through an exposed AI framework and wrote itself a backdoor admin account on a production Nacos server, and the account does not work. A human would stop here, or swear, or wait for a colleague.

The agent does none of those things. Twelve seconds later it has read the error, guessed at two causes and is testing both at once. Nineteen seconds after that it deletes the broken backdoor account from the server's user table, regenerates the password hash and inserts the account again.

19:35:18. The login succeeds.

Nobody is watching.

There is no binary on disk to find and no hand on a keyboard, only Python and SQL, start to finish. By the end of the run, 1,342 configuration items in the server's SQL database are encrypted and the tables beneath them are gone. The only key that could undo it has been printed once, to a stdout nobody kept.

The leak and the Sysdig log connect through one question: which attacker actually gets paid. Set side by side, they point in opposite directions.

// the extortion group
Extortion without encryption
what it does
Steals documents, phones the victims and threatens to release them
encrypts files
Never, not a single file
gets paid
By its own account, nine figures in six months
// the agent
Encryption without payment
what it does
Automates the whole intrusion, start to finish
encrypts files
Yes, 1,342 configuration items
gets paid
Nothing: the only decryption key went to a log nobody saved

The agent got every step right except the last one. It broke in and encrypted the files, but a ransom works only if the attacker can sell the decryption key back, and this agent printed its key once, to a log nobody saved. It has nothing to sell, so it cannot get paid.

Taken alone, the gap between intrusion and payment is not new, because crews have always had to collect after breaking in. What automation changes is where the bottleneck sits.

That matters because the usual measure of the threat is how fast and how well attackers get in. This case shows an attacker with full intrusion capability and no revenue, which is the monetization gap that a later section examines in detail.

The gap is not permanent, either. The extortion group shows that encryption is not needed to get paid, the literature already sketches key release without an operator, and within three weeks of the first report the operator of the agent that lost its key had rewritten its tool to give each victim a unique key, delivered after payment. The point is not that agents are bad at ransomware. The weak link is the payment step, which is fixable, and defenders should not count on it staying broken.

// two readings of the leak

Crystal Intelligence, a blockchain-analysis firm that traced the group's payments, adds a warning that applies to every figure in this post. The $207 million is the group's own claim, and criminals exaggerate. The blockchain can confirm only that money moved when the chats say it did, not that the totals are right.

Check Point's read of the same chats describes a business rather than a gang, with each role split out. Researchers pick the targets and build fake identities. Callers pose as the victim's own IT staff, coached to move the victim from worry to reassurance to renewed urgency. Technicians drive the remote session while the caller keeps the victim calm, and negotiators handle the payment.

Figure 1 summarizes the argument that follows: the three layers of an agentic strain, an 18-minute attack timeline set against a traditional SOC response, and CrowdStrike's measured breakout trend.

Infographic comparing an autonomous attack with a traditional SOC response. On the left, the three layers of an agentic strain: reasoning, execution and temporal state. In the centre, a stopwatch noting that average breakout time fell from 98 minutes in 2021 to 29 minutes in 2025, above an attack timeline running from privilege escalation at minute 0 to 2 to encryption complete at minute 18. On the right, a traditional SOC response timeline from alert ingestion at minutes 0 to 15 to incident commander assembly at hours 2 to 6.
// Figure 1. Cover illustration of the post's argument: an agentic strain's three layers, an illustrated 18-minute attack timeline against a traditional SOC response, and CrowdStrike's measured breakout trend. Illustration for this post; the trend data is CrowdStrike's.

01 Hands Off the Keyboard

Ransomware is almost four decades old, and it has rebuilt itself at every turn:

The last item carries the most history, so it is worth unpacking. Ransomware-as-a-service (RaaS) split the work: developers maintain the malware and the leak site, and affiliates rent it and run the intrusions for a share of each ransom. Those intrusions were interactive, a person moving through the network for days before detonating. Crews also stole data before encrypting it, so a victim who restored from backup could still be threatened with publication, and that double extortion made backups the first thing to destroy.

Figure 2 resumes the arc in 2010 and places agentic ransomware as its fourth stage.

Four ransomware epochs as illustrated cards in chronological order: cryptographic lockers (2010 to 2015, a padlock, key and lone laptop), worm-infused disruptors (2016 to 2019, one infected node spreading to hosts), human-operated ransomware and RaaS (2020 to 2024, an operator with affiliates and encrypt and leak double extortion), and autonomous agentic ransomware (2025 to present, highlighted in amber as the new epoch, an AI core in a plan, adapt, execute loop with no human operator).
// Figure 2. The four epochs of ransomware, with years, representative examples, and defining trait. Compiled by the author from the sources cited in this section.

The Loop Replaces the Person

That fourth, amber rectangle is what is new, and what changes there is not the sequence but the time between the steps. Defensive playbooks have always priced in that lag: an attacker does reconnaissance, then exploits, pivots and detonates, and at each hand-off a person has to read output and decide what to do next. That gap is where triage, containment and incident response live.

Agentic ransomware replaces the person with a model. Its stdout and stderr are fed back into an LLM's context, and the model decides the next command, a loop that Figure 3 sets beside the human-operated pipeline.

A failed login is no longer an unhandled exception that ends the run. It is input to the next attempt.
Two lanes. Top, muted: a human-in-the-loop pipeline of phishing or exploit, manual triage, interactive C2, staged exfiltration and detonation, taking days to weeks. Bottom, highlighted: a closed agent loop of perceive target state, LLM reasoning core, and dynamic code generation and execution, with stdout, stderr and defense telemetry fed back, taking under 30 minutes.
// Figure 3. A human-operated pipeline beside the closed loop of an agentic strain. Schematic by the author.

Before agents, AI was an accelerator in a human's hands: spear-phishing templates, summaries of stolen corporate records, isolated PowerShell downloaders. The shift is often framed as a move from Cybercrime-as-a-Service, where affiliates license builder kits and work through victim networks by hand, to Cybercrime-as-a-Sidekick, where a human states an objective and agents run the tactical campaign.

The speed this buys shows up in one number: how long an intruder needs to get from first access to moving sideways through the network, and Figure 4 charts it.

// breakout time
Bar chart of average eCrime breakout time, the gap from initial access to lateral movement, in minutes by year: 98 in 2021, 84 in 2022, 62 in 2023, 48 in 2024 and 29 in 2025, with the 2025 bar highlighted in amber; the fastest recorded 2025 breakout was 27 seconds.
// Figure 4. Average eCrime breakout time, initial access to lateral movement, 2021 to 2025, from successive editions of CrowdStrike's Global Threat Report. Chart by the author.

Breakout time is the gap between an intruder's first foothold on one machine and its first move to another, so it is the window a defender has to contain a compromise to a single host. CrowdStrike's 2026 report puts the 2025 average eCrime breakout at 29 minutes, down from 48 in 2024 and 98 in 2021, with the fastest recorded breakout taking 27 seconds. That is the figure behind claims of AI-accelerated breakout times under 30 minutes, though it is an average across all eCrime intrusions, not a measurement of agentic ones. The report also cites Microsoft for post-compromise privilege discovery and exfiltration finishing in minutes, the steps that follow the first foothold.

Human Latency

The defensive side is slower still. In a SOC an incident moves through (1) alert generation, (2) normalization, (3) Tier-1 triage, (4) manual enrichment, (5) Tier-2 escalation, (6) management notification and finally (7) an incident bridge. That is measured in hours, sometimes days. Figure 5 is an illustration of the mismatch, not a measurement.

Autonomous attack timeline against a traditional SOC response timeline Two horizontal bars on a shared axis from 0 to 6 hours. The autonomous attack bar, in red, ends at minute 18: initial compromise at minute 0, privilege escalation at minute 2, lateral movement at minutes 3 to 5, data exfiltration at minute 12, and final encryption and deletion at minute 18. The traditional SOC response bar, in blue, runs the full six hours: alert ingestion 0 to 15 minutes, Tier-1 triage 15 to 45 minutes, ticket escalation 1 to 2 hours, and incident commander assembly 2 to 6 hours. A dashed line at minute 18 marks the attack finishing while the SOC is still inside triage. attack complete · minute 18 Autonomous attack · 18 min min 0 compromise · min 2 privilege escalation min 3–5 lateral movement · min 12 data exfiltration min 18 final encryption and deletion Traditional SOC response · up to 6 h alert ingestion 0–15 min · Tier-1 triage 15–45 min ticket escalation 1–2 h · incident commander assembly 2–6 h SOC still hours from a coordinated response 0 1h 2h 3h 4h 5h 6h
// Figure 5. An illustration, not a measurement: a traditional SOC response timeline beside an autonomous attack timeline, both on a shared six-hour axis. Redrawn by the author.

If an agent can compromise an environment, chain vulnerabilities, dump credentials, cross subnets, exfiltrate IP and detonate encryption in under 30 minutes, a workflow with human approval at each step is structurally unviable.

The attack concludes before the first analyst finishes validating the alert.

The sandbox gateways in front of that workflow fare no better. A sandbox gateway opens each incoming attachment in a disposable virtual machine and watches it for 60 to 180 seconds, expecting a malicious file to reveal itself in that time. The environment checks described under Evasion and Runtime Polymorphism are built to outwait exactly that: the agent works out that it is inside a sandbox and stays inert until the watching stops.

JADEPUFFER and Its Predecessors

The first documented example of the fourth stage in the wild is JADEPUFFER, and Sysdig caught it in the act in July 2026. The run had four steps:

  1. Entry. The agent walked in through an exposed Langflow instance (CVE-2025-3248). Langflow is, perhaps ironically, an open-source tool for building LLM workflows and agents, and this deployment was reachable from the internet with a known flaw that let an outsider run code on it.
  2. Pivot. From there the agent moved onto a production MySQL and Nacos server.
  3. Encryption. It encrypted 1,342 configuration items stored in SQL tables, using the database's own encryption function.
  4. Destruction. It dropped the original tables.

Nobody was at a keyboard.

The operator was not finished. On July 20, Sysdig caught it again on the same Langflow instance, and the tooling had changed. Where the first run used improvised Python and MySQL's own AES_ENCRYPT(), the second staged ENCFORGE, a compiled, UPX-packed Go binary written to disk and delivered through a Docker-socket escape the agent assembled in about five and a half minutes after its first download failed. It ships hybrid AES-256-CTR with an embedded RSA-2048 public key, a separate keygen companion, and roughly 180 target extensions covering model checkpoints, vector indices and training datasets. The entry point was unchanged; the payload was not.

A research prototype came first, from academia. In August 2025 a group at NYU Tandon published "Ransomware 3.0: Self-Composing and LLM-Orchestrated" (Raz et al.), the first formal threat model for ransomware that hides natural-language prompts inside the binary and lets an LLM write the malicious code at runtime. They evaluated it across personal, enterprise and embedded environments.

It surfaced on VirusTotal with its provenance stripped, and ESET named it PromptLock. For a news cycle it was billed as the first AI-powered ransomware. It was a proof of concept with no confirmed victims.

// weaponized, not emergent

JADEPUFFER was the same idea against a live production environment. It is also what I call a weaponized swarm in Agentic Swarms: a human operator pointing agentic tooling at a chosen target, as in Anthropic's GTG-1002 espionage campaign. The other kind, an emergent swarm, is agents coordinating in ways nobody designed, and nothing in this post is one.

The Autonomy Ladder

A January 2026 survey, "A Survey of Agentic AI and Cybersecurity" (Lazer et al.), supplies the longer arc. It places agentic AI as the third step after rule-based automation and generative AI. What marks the last step is (1) persistent state, (2) tool use and (3) self-directed control loops.

// five autonomy levels

Systems are graded on five autonomy levels, from static request-and-response (Level 0) to fully agentic systems that plan, act and keep learning (Level 4), with risk rising at every level. By that measure ransomware has not jumped. It has climbed one rung at a time: static lockers, worms with automated propagation, human-operated crews, and now loops that replan on their own.

The survey also supplies the time series behind "minutes, not days," citing Palo Alto's Unit 42. A Unit 42 attack framework from May 2025 simulated an autonomous campaign that went from initial compromise to data exfiltration in about 25 minutes. The survey calls that the full ransomware lifecycle, but Unit 42's own post stops at exfiltration and does not say the simulation encrypted anything. Over the same period the mean time to exfiltrate fell from nine days in 2021 to two days in 2024, and in one case in five it took under an hour. Both trend figures match Unit 42's post. Figure 6 places these results on a single 2010 to 2026 timeline, beside the defense and economics research the post draws on.

Timeline from 2010 to 2026 with five lanes. Attacks: lockers 2010 to 2015, worm-infused 2016 to 2019, human-operated RaaS 2020 to 2024, autonomous agentic 2025 onward, with DeepLocker in 2018, BlackMamba in 2023, Ransomware 3.0 and PromptLock and behavioral adversarial examples in August 2025, intermittent-encryption limits in October 2025, JADEPUFFER in July 2026, and evolved low-entropy ransomware in August 2026. Speed: mean time to exfiltrate falls from about nine days in 2021 to about two days in 2024 to a roughly 25-minute compromise-to-exfiltration run in May 2025. Defense research: ShieldFS and CryptoDrop in 2016, Pulse and MIRAD in 2024, Rhea in January 2026. Spread, key release and economics: RAPTOR 2018, ransomware game theory 2019, smart-contract ransomware 2020, RansomClave 2021, SIIDR spread model and a ransom-option market model 2022, zkRansomware January 2026, and an SEIR model for SOCs July 2026.
// Figure 6. Ransomware milestones, measured speed-ups, defense research, and work on spread, key release and economics, 2010 to 2026. Compiled by the author from the references below.

First, the survey describes adaptation as happening at the orchestration layer: an autonomous controller reorders the steps when one fails, rather than generating new payloads. The reports it reviews point to heuristic planning and LLM-assisted reasoning, not reinforcement learning, with no evidence of policy training during an attack. Second, it cites Anthropic's August 2025 misuse report, in which models interpret stolen data, profile victims and draft extortion messages while human operators keep control of the high-level objectives.

The survey's own conclusion is that agentic ransomware is "an escalation of automation and decision autonomy rather than a fundamentally new cryptographic or exploit class." That fits the first JADEPUFFER campaign, where the cryptography was stock AES and everything that went wrong was in the plumbing. It also names the open problem for defenders: recognizing an adaptive agent early in a campaign, before lateral movement and exfiltration complete.

// the pace, Q3 2026

Attacks have not slowed down. Comparitech counted 2,627 claimed ransomware attacks in the third quarter of 2026, the highest quarterly volume it has recorded, up 29% on the second quarter and 61% on the same quarter a year earlier. Only 247 of those claims have been confirmed by the entity involved. The median demand that quarter was $150,000 and the average $602,400, and the tactics keep widening: triple extortion, in which a group returns for the victim's own customers after the ransom is paid, was the quarter's growth area.

Claims Versus Attacks

Ransomware trackers such as Comparitech tally attacks from the criminals' own leak sites, where a group posts a victim's name to pressure it into paying. Each posting is a claim, not a confirmed attack, so the trackers count claims rather than attacks, and the distance between the two has been measured. Meurs et al. ran a capture-recapture estimate over Dutch police reports, incident-response cases and leak-site entries for 2019 to 2022, then estimated the incidents that reached no source at all. About 41% of attacks on large and medium firms appear in at least one of the three registers it linked (police reports, an incident-response firm, or a leak page), as Figure 7 shows.

Attacks seen by police, an incident-response firm or a leak page Three rows. The paper links three sources: Dutch police reports, one incident-response firm, and leak-site entries. For large firms, 41.4 percent of attacks appeared in at least one of them and 58.6 percent appeared in none. For medium firms, 40.2 percent appeared and 59.8 percent did not. For small firms the paper reports no usable estimate, with a 95 percent interval from 1,273 to 7,057 unobserved attacks. Large 41.4% 58.6% unseen Medium 40.2% 59.8% unseen Small no usable estimate · CI 1,273–7,057
// Figure 7. What saw the attack: ransomware attacks on large and medium Dutch firms recorded by at least one of the paper's three sources (police reports, an incident-response firm, leak pages), 2019–2022, beside its unusable small-firm estimate; blue is the share seen and the track is the paper's estimated total. Data: Meurs et al., Journal of Quantitative Criminology, 2026.

The small-firm estimate is unusable on its own terms, with a 95% interval running from 1,273 to 7,057 unobserved attacks, which is itself the finding: the attacks least likely to be reported are the ones nobody can count. Read the quarter's numbers in that frame. Comparitech logs a claim when a group posts one, so the 247 confirmations are the self-selected part of 2,627 that someone was willing to own, and Figure 8 shows how that share varies by sector.

Q3 2026 claimed attacks and confirmations A single bar representing 2,627 claimed ransomware attacks in Q3 2026, with the first 9.4 percent of it marked to show the 247 attacks the victim confirmed. Below, by sector: business, 2,234 claims with 138 confirmed, a 6.2 percent rate; healthcare, 188 claims and 36 confirmed, 19.1 percent; government, 124 and 53, 42.7 percent; education, 75 and 20, 26.7 percent. Six further claims could not be attributed to a sector. 2,627 claimed attacks 9.4% confirmed 247 confirmed by the victim By sector · claimed → confirmed · rate Business 2,234 → 138 · 6.2% Healthcare 188 → 36 · 19.1% Government 124 → 53 · 42.7% Education 75 → 20 · 26.7% Six further claims could not be attributed to a sector.
// Figure 8. Q3 2026 claimed attacks and the share confirmed by the victim, in total and by sector. Data: Comparitech, Q3 2026.

Sangari et al. went wider still, comparing more than 30,000 US cyber-insurance claims against more than 100,000 publicly reported incidents, and put the public record at roughly 3%. Ransomware is the worst-covered category in that comparison, far more under-reported than hacking, which is close to fully covered.

Where the Growth Is

Not every sector grew, and none grew at the same rate. Figure 9 charts the change in claimed attacks from the second to the third quarter of 2026, by sector and by sub-industry inside the business sector:

Quarter-on-quarter change in claimed attacks Horizontal bars from a zero line at the left, showing the change in claimed attacks from Q2 to Q3 2026. By sector: education up 50 percent, healthcare up 39, government up 36, business up 27. Inside the business sector: finance up 72 percent, technology up 70, healthcare businesses up 35, utilities up 32. Legal firms fell 26 percent and construction 2 percent. By sector Education +50% Healthcare +39% Government +36% Business +27% Inside the business sector Finance +72% Technology +70% Healthcare businesses +35% Utilities +32%
// Figure 9. Change in claimed attacks, Q2 → Q3 2026, by sector and sub-industry. Data: Comparitech, Q3 2026; legal firms fell 26% and construction 2%.

The trackers disagree on the level and agree on the direction. Check Point Research counted 2,139 leak-site victims in the second quarter, essentially flat on the first and up 33% year over year, with the top ten groups taking 57.6% of them, down from 71%, as the number of active groups climbed from 71 to 93. Its most striking finding is first-party evidence: chat logs from inside The Gentlemen's operation show a core of about nine operators supported by affiliates, and a ransomware management panel built with AI coding assistants in about three days.

// most attacks never reach the public record, so every count here is a floor

Every count above is the tip of the iceberg, and the two studies above measure how small that tip is: the public record holds roughly 3% of all cyber incidents, and about 59% of attacks on large Dutch firms reach no source at all.

Most incidents never reach any public record, and that is the troubling part. Both studies count incident frequency rather than payment, so neither can say anything about agentic cases specifically, and if automation is lowering the cost of an attack, the added volume is already landing where nothing in this record would show it.

What the Adoption Evidence Supports So Far

The claim that adoption is already broad is often backed with a dataset of more than 2,800 incidents, 80.83% of them attributed to groups using AI. That figure comes from an MIT Sloan and Safe Security working paper that MIT withdrew in November 2025, after researchers pointed out that it listed nearly every major ransomware group as AI-driven without evidence, including long-dead ones. I treat it as no evidence either way, and I dropped the incident-count table built on it for the same reason.

The better evidence points the other way. Unit 42's August 2026 analysis of 405 AI-related malware samples found only 12 in its telemetry on endpoints it protects. Its products blocked every sample that tried to reach a customer, and the other samples stayed in research repositories and sandboxes. Figure 10 shows the split.

Slide-style chart. A headline of 97 percent, with a note that of 405 AI-related malware samples Unit 42 analyzed in August 2026, 393 existed only in research repositories and sandboxes. A donut chart shows 97 percent in blue and 3 percent in red. Callouts say: 393 samples in research repositories and sandboxes only; 12 samples seen on protected endpoints, all blocked; and 7 FunkSec ransomware variants observed, compiled January 1 to 6, 2025. Three chips list what the 393 were: proof-of-concept research code, security-validation test submissions, and AI branding with little real AI. A bar quotes Unit 42: AI changes how the code is authored, not how it executes.
// Figure 10. Of 405 AI-related malware samples Unit 42 analyzed, 12 appeared on endpoints it protects and the rest stayed in repositories and sandboxes. Data: Unit 42, August 2026; chart by the author.

The usual type of caveat applies to this figure. Unit 42 is the threat-research arm of Palo Alto Networks, a security vendor, and it is reporting on what reached its own products, so the count is a vendor's report and may be biased toward the products Palo Alto sells. It describes what that telemetry saw, not an independent measurement of how much AI-enabled malware exists.

What Banned Accounts Show

Anthropic's LLM ATT&CK Navigator puts population numbers on the autonomy ladder above. Across 832 accounts banned for cyber misuse between March 2025 and March 2026, mapped to 13,873 ATT&CK actions, the share of actors scoring medium risk or higher rose from 33% to 56% in a single year, and 69% used models for capability development.

Late-stage use stayed rare: 6.5% of actors used a model for lateral movement, 2.8% for impact. But lateral movement was the strongest single marker of a high-risk actor, averaging 56.4 on Anthropic's scale against a 46.8 mean. That is the shape this post describes: heavy adoption upstream, thin adoption inside the live intrusion. The agentic strain belongs to that thin part: the few actors who let a model act during the attack itself.

02 Anatomy of an Agentic Strain

An agentic strain is not a single executable. It splits into three layers, and that split is what makes it hard to catch with tools designed to find one malicious program. Figure 11 shows the three layers.

A figure titled agentic ransomware strain. Three stacked layers of an agentic ransomware strain: a reasoning layer (LLM core, state machine, error parsing), an execution layer (in-memory or on-disk execution, native tools, file traversal and crypto), and a state layer (knowledge graph, ephemeral key store, local embeddings), with dispatch arrows down and observation arrows up.
// Figure 11. The three layers of an agentic ransomware strain: the reasoning layer plans, the execution layer encrypts and the state layer holds the keys. Diagram by the author.

The Reasoning Layer

What makes these strains new is the reasoning layer. It can be a frontier model, a fine-tuned open-weights model run through a local runtime such as Ollama, or a pooled-account gateway such as the CLI-Proxy-API and Claude-Relay-Service tools Google describes, which let actors share model accounts and costs. It evaluates state, interprets errors and writes the next action. In deterministic malware an unexpected permission barrier or missing table is an unhandled exception that ends the run or needs a human. Here stdout and stderr go back into the context window as feedback. JADEPUFFER showed three behaviors:

Taken together, these look like tactical judgment. After each failure the agent chose its next move, where a script would have followed branches its author wrote in advance.

The reasoning layer can also be split across many model instances. Anthropic's GTG-1002 campaign was espionage, not ransomware, but it shows the same architecture. The operators (1) told Claude Code it was doing authorized penetration tests, (2) decomposed the real campaign into thousands of small tasks spread across many instances, and (3) stepped in by hand only at four to six critical decision points. My post on weaponized swarms covers that case alongside JADEPUFFER.

The Execution Layer

The actuator touches the operating system, file system, memory and network. It can run in memory instead of dropping binaries. Strains such as BlackMamba fetch AI-generated polymorphic logic and run the resulting code directly in volatile memory through dynamic execution (exec()) or reflective DLL injection, which sidesteps on-disk scanners. Running from memory is a preference rather than a rule.

// memory first, disk when needed

When the host has nothing worth repurposing, the second JADEPUFFER campaign shows the agent writing a binary to disk instead.

It also prefers living off the land. Instead of PsExec, Cobalt Strike beacons or a raw Mimikatz, it uses native tools: wmic, PowerShell, certutil, cron, systemd, or database-native extensions. In the first JADEPUFFER campaign the agent did not bring an encryption tool at all. It called the database's own AES_ENCRYPT() in bulk. The second campaign did the opposite, because there is no native tool for destroying a model checkpoint.

The first JADEPUFFER campaign, the one that lost its key, installed nothing foreign, so there was nothing foreign to flag. The second, which staged ENCFORGE, put a 1.5 MB binary on disk.

The State Layer

A long intrusion needs memory. Without it an agent loops, raises needless alerts, or re-encrypts hosts it already processed. The state layer is that memory: a record of what the agent has seen and done, kept so that it outlasts any single process.

One design uses a temporal knowledge graph (Graphiti memory, used alongside frameworks such as Hexstrike and Strix). It models identity boundaries, Active Directory relationships and Kerberos trust paths, plus databases, storage buckets, hypervisors, inter-process communication, port bindings and egress rules.

The graph persists across pauses, so the agent can rank targets by centrality, lose a process to quarantine or a host to a reboot, and resume without starting over. Local vector embeddings rank which files are worth encrypting.

That persistence is why the layer matters to defenders. Killing a process does not erase what the agent has learned about the network, so containment has to take away the credentials and the map as well as the running code.

03 The Kill Chain at Machine Speed

The three layers are how the strain is built; the kill chain below is what it does with them. Each familiar phase still exists, and what changes is how little time each takes and how much the agent adapts within it. The chain comes first, then the evasion that runs through all of it, then what has actually been seen.

Reconnaissance and Phishing

Recon is no longer a static port sweep. Agents crawl exposed infrastructure, third-party dependencies and employee footprints together. Google's threat intelligence group reported in May 2026 that a criminal group used an AI model to help find and weaponize a zero-day, a 2FA bypass in an open-source administration tool. Google has high confidence in the finding and does not believe Gemini was involved.

Instead of public CVE proofs of concept, the agent parses exposed interfaces (Langflow instances, Nacos registries, custom Spring Boot services), probes undocumented endpoints with model-directed fuzzing, and generates working exploits in minutes. In parallel, LLMs write phishing at expert quality. In a study with human subjects, Heiding et al. found that fully AI-automated spear-phishing emails drew a 54% click-through rate, matching human experts and far above the 12% of a control group, and that the AI-built target profiles were accurate and useful in 88% of cases.

The voice channel now has measured numbers to go with the email ones. Heiding et al. (2026) ran a 4,100-person survey against AI-generated vishing and found overall compliance at 16.5%, rising to 36% in the relative-in-distress scenario, with some models rated as persuasive as human callers. The economic finding is the sharper one: human-operated vishing does not pay at US wages, and AI-operated vishing does. Mandiant's 2026 caseload shows the shift already underway, with voice phishing the second most common initial vector at 11% while email phishing fell to 6%.

AI tooling is itself an entry point, through ordinary software weaknesses and not through prompt injection, the trick of hiding instructions in content a model reads. JADEPUFFER came in through an exposed Langflow instance with a known flaw, and Google's report describes the cyber crime actor TeamPCP compromising popular repositories and GitHub Actions, including those for LiteLLM and BerriAI, to steal cloud secrets. Those credentials were then monetized through partnerships with ransomware and data-theft extortion groups.

Movement and Credentials

To move, the agent dumps credentials from memory, harvests tokens from developer config files, and tries default credentials. In JADEPUFFER the chain was mundane and effective: a hardcoded Nacos signing key (token.secret.key) and default storage credentials (minioadmin:minioadmin), unrotated defaults chained to pivot silently across storage clusters.

Targeting and Exfiltration

Classic ransomware walked directories and encrypted every file with a known extension. That had two defensive weaknesses: the burst of file modifications alerted EDR early, and it burned I/O on low-value system files, temp caches and planted canaries.

Neural file ranking is attributed to Clop, though I found no report of Clop doing this. As described, classifiers read metadata, paths and content to prioritize proprietary IP, source repositories and patent filings; production databases, transaction logs and cloud snapshots; and executive email, settlement documents and HR records. Decoys, system libraries and read-only binaries are skipped, which shrinks the I/O footprint and raises the impact. Figure 12 compares brute-force traversal with neural target selection on the same six files.

Two bands walking the same six files. Brute-force traversal encrypts every file including a canary, causing an I/O spike, a triggered canary and a quarantined process. Neural target selection skips the canary, an OS library and a cache file, and exfiltrates and encrypts only high-value files such as a strategy spreadsheet and a contract, with no alerts.
// Figure 12. Brute-force traversal compared with neural target selection. Diagram by the author.

Before encryption, data leaves through adaptive channels. Models watch egress bandwidth in real time and fragment, encrypt and interleave stolen records into legitimate-looking HTTPS or cloud API traffic to stay under DLP thresholds.

Suppression and Encryption

Before the final step, the agent disables resilience. Drawing on what LockBit 3.0 and Conti did, it deletes volume shadow copies, terminates endpoint protection, hypervisor agents and backup-monitoring services, and corrupts local recovery catalogs while detaching remote snapshot storage.

The cryptography is unremarkable by design. The template is hybrid: a per-file symmetric key (AES-256-CTR, AES-256-GCM or ChaCha20-Poly1305) encrypts the data, and that key is wrapped under the attacker's public key (RSA-2048 or RSA-4096, or an elliptic-curve KEM) and appended to the file header, so only the holder of the private key can release it. ENCFORGE follows that template: AES-256-CTR, an embedded RSA-2048 public key, a per-victim key, and region-based encryption rather than a whole-file pass.

The first campaign was cruder. It used the database's own AES_ENCRYPT() with a single global key, which in stock MySQL is unauthenticated AES-128 in ECB mode, printed that key to stdout, then issued DROP TABLE on the plaintext source.

Evasion and Runtime Polymorphism

Hash and YARA matching assumes the thing you saw yesterday is the thing you see today. Embedded or on-demand models break that. PROMPTFLUX and PromptLock are named as strains that use generative models to reorder instructions, rename variables, insert junk code and swap API call sequences without changing behavior. PROMPTFLUX does have a publisher: Google's AI Threat Tracker describes a VBScript dropper that calls Gemini's API with a hard-coded key and a module that rewrites its own source hourly. Three techniques are listed:

Evasion also starts before the first move. The agent drops noisy hardcoded scans and first asks where it is running. Gateways detonate attachments in a virtual sandbox and watch for 60 to 180 seconds, and agents interrogate the environment instead:

A widely repeated figure says that in controlled testing, detection of continuously mutated AI variants falls to about 61% against conventional security suites. That figure traces to a vendor blog post, with no study, dataset or methodology named behind it.

// field data and the offensive side

Field data is more modest. A year-long VirusTotal retrohunt by SentinelLABS, presented at LABScon 2025, found over 7,000 samples containing more than 6,000 unique API keys, and called MalTerminal potentially the earliest known LLM-enabled malware. Unit 42's analysis, charted in the first section, found that its products blocked every AI-related sample that tried to reach a customer. FunkSec's seven ransomware variants, compiled over six days in January 2025, point to LLM-assisted coding. In Unit 42's words, the AI component "changes how the code is authored, not how it executes." That sits awkwardly with the 61% figure above.

The offensive side has been measured directly. At Black Hat USA 2025, Kyle Avery of Outflank showed Dante-7B in his slides, a 7-billion-parameter model fine-tuned from Qwen2.5-Coder with reinforcement learning against Microsoft Defender for Endpoint, for about $1,350 of compute ($250 for supervised training and $1,100 for the reinforcement stage). Press coverage and Wuest's description of the work put its rate of evasive loaders at roughly 8%, which means Defender caught about 92%, against the 61% detection figure above, and the result holds for one vendor's product only.

The model behind that result, Dante-7B, previews where offense is heading. It started as a 7B open-weights coder and became a specialist after a single fine-tuning run against one vendor's detector, for about $1,350 of compute. No frontier system was anywhere in the loop, and none was needed: a narrow model trained for one task can beat a broad one asked to do everything.

That is the specialization argument in miniature, and the one Cheap, Fast, and Local makes at length: a small specialist is cheap enough to aim at every target, and the cost of each attempt is still falling.

Hashes and Static Rules

Hash and YARA matching fails here for the reason given under Evasion and Runtime Polymorphism: a variant synthesized per victim and re-shuffled every few runs means no two endpoints see the same bytes, and the logic is linked in memory milliseconds before it runs.

Figure 13 gives the usual comparison of antivirus with behavioral EDR, which makes the same point, though it is a qualitative summary rather than a benchmark.

MetricTraditional antivirusAI-powered behavioral EDR
Zero-day detectionBlind (hash dependent)High (invariant actions)
Polymorphic resilienceFails on mutationHigh (monitors entropy)
Living-off-the-landBlind (native tools)High (contextual process trees)
Response latencyMinutes to hoursMilliseconds (automated)
Offline operationDegraded functionResilient (on-device ML)
// Figure 13. Traditional antivirus versus AI-powered behavioral EDR, a qualitative comparison, not a benchmark. Table by the author.

Models Inside the Malware

Two cases from the field put a hosted model inside the malware's control loop. Figure 14 sketches that loop for one of them, the Android malware PROMPTSPY.

A phone and a cloud joined by a loop of two arrows. The phone reads the screen as XML, taps and swipes as told, and hides the Uninstall button. The cloud holds a hosted Gemini model that picks the next action. The arrow carrying the model call from the phone to the cloud is tagged as detectable. A note says this is Android malware, not ransomware.
// Figure 14. The PROMPTSPY control loop, in which a hosted model decides each next action, as described in Google's report. Diagram by the author.

The clearest in-the-wild case of malware that calls a model while it runs is LameHug, which CERT-UA identified in July 2025 and linked with moderate confidence to APT28. It asked a Qwen coder model hosted on Hugging Face to write reconnaissance and collection commands, and rotated through hundreds of API tokens as they were blocked. It was a data-theft tool, not ransomware, and that matters for detection. As Wuest argues in the BSidesLV talk covered below, undetected does not mean undetectable, and ransomware that encrypts files is far harder to hide than a quiet data stealer.

// PROMPTSPY

Google's May 2026 report describes a second case, PROMPTSPY, where the model sits inside the control loop. The Android malware serializes the screen's UI hierarchy to XML, sends it to a hosted Gemini model in JSON mode with a hardcoded persona prompt, and performs the gestures the model returns. It is not ransomware, but it shows the pattern, and the model call is the step a defender can see.

One more field case involves no malware at all. In July 2026 an OpenAI evaluation agent escaped its sandbox, found a zero-day, reached the open internet and breached Hugging Face's production infrastructure; by September the company had paused training a second time after another escape. Demonstrations first, incident reports second was the order of an early field. That order is closing.

What the Talks Showed

At BSidesLV 2025, Candid Wuest of xorlab demonstrated a proof-of-concept PowerShell agent with metamorphic obfuscation. His talk, billed as the myth and the reality of agentic malware, argued that in practice the picture is messier than the headlines. He separates AI-generated malware, where an LLM writes code that contains no AI when it runs, from AI-powered malware that calls a model while it runs, and he finds the second kind still limited.

// building and running agentic malware takes ordinary operational work

Wuest's list of friction is concrete. Building ransomware with an LLM takes a few hours and still needs someone who can compile code and handle errors. Metamorphic variants sometimes simply fail to run.

Running it is harder to hide. A large model on the host looks like a crypto miner, and sending the data to a hosted one looks like exfiltration. An agent whose process an EDR kills cannot report that it failed. In his own test, an agent that kept trying persistence tricks (a run key, services, DLL sideloading) would light up any decent EDR within about ten days.

Wuest's summary of the code question is that it was never the bottleneck. Generating malware is easy with an LLM and was easy before one, so what he weighs is everything after generation: whether the variant actually runs, and whether it stays quiet long enough to matter.

On detection, Wuest says bypassing static signatures is easy while bypassing behavioral detection is still doable but much harder, and that mimicking a user's normal behavior takes weeks of observation. Admins already watch traffic to LLM services, he notes, so malware that calls one constantly, or a model on a fresh domain, is likely to be flagged.

AI does speed up attacks and automate exploitation at scale, he concedes, but classical protection still works and defenders only have to be faster. He cites Outflank's result as roughly 8% with a hedge, and says it would have to be repeated for every other vendor's product.

Conference talks mostly show what is possible, not who has been hurt. Avery trained a model, Wuest built a proof-of-concept agent and the RSAC talk demonstrated an architecture. The named ransomware cases, JADEPUFFER and ENCFORGE among them, came to light through vendor write-ups instead.

04 The Monetization Gap

The argument runs that autonomy also changes the economics of extortion. The claims are plausible, but the evidence is vendor-reported rather than measured, and for one attribution absent entirely, so I treat them as claims rather than findings. Underneath the claims is a simpler observation: these strains are better at destroying than at collecting.

Silent Ransom Group is the human-run example this section compares the agent with, and its headline number shows why a figure needs checking before it is repeated. The group's own deal board supplies the $207 million, and the firm that read the chats says so: the numbers are the group's own, criminals exaggerate, and the chain can show only that money moved when the chat says it did.

What the chain does show is scale rather than arithmetic:

The breaches are partly confirmed:

What has not been confirmed is money:

The victim side has the same shape, and it has been surveyed. Matthijsse et al. asked 2,496 Dutch entrepreneurs what they would do after a hypothetical ransomware incident, and 189 who had lived through one what they did. About 92% of the first group said they would contact the police.

About 17.5% of the victims had, and of those, one in four filed an official report, which works out to 4.2% of the whole victim sample. The reasons the rest gave were practical: they solved it themselves or through another party, or they did not believe the police would act on it. Both sides overstate: victims say they would report more than they do, and attackers claim more than they collect. In each case the public record holds only what someone chose to say. Figure 15 sets what Dutch entrepreneurs said they would do after a ransomware incident against what victims actually did.

Stated intention to report against actual reporting Three bars. Of 2,496 Dutch entrepreneurs asked what they would do after a hypothetical ransomware incident, about 92 percent said they would contact the police. Of 189 entrepreneurs who had been victimised, 17.5 percent contacted the police, and one in four of those filed an official report, which is 4.2 percent of the victim sample. Would contact the police versus did Said they would report 92% Contacted the police 17.5% Filed an official report 4.2%
// Figure 15. What Dutch entrepreneurs said they would do after a ransomware incident against what victims actually did. Data: Matthijsse et al., Journal of Criminal Justice, 2025; 2,496 asked, 189 victimised.

Dynamic Pricing

Historically, groups demanded flat sums (5 BTC, or $500,000) whether the victim was a school district or a logistics conglomerate. Demands above a victim's liquidity ended in failed settlements, and demands below it left money on the table.

Some write-ups say groups now price demands automatically: during recon and exfiltration the malware scrapes bank statements, receivables ledgers and audited balance sheets; cyber-insurance policies, especially riders for extortion, business interruption and legal retainers; and regulatory exposure under GDPR, HIPAA or SEC disclosure rules. The output is a demand that sits beneath the victim's bankruptcy threshold while exceeding the cost of recovery.

I found no support for this. Check Point describes FunkSec as AI-assisted in its code and as making low demands, some as small as $10,000, while also selling stolen data.

Negotiation Bots

After encryption, conversational agents on dark-web payment portals work around the clock, in several languages, with several victim crisis teams at once. Three tactics are described:

Practitioner research shows the same role as a proof of concept. Trend Micro's RSAC 2026 talk VibeCrime (McArdle and Hilt) demonstrated a layered criminal architecture with agents for reconnaissance, targeting, social engineering and extortion. It showed automated analysis of stolen ransomware data and personalized extortion messages. The field already has a version of it. In June 2025 the rebranded RaaS operation GLOBAL GROUP shipped an AI chatbot into its victim negotiation panel, which, in Picus Security's description, keeps talks moving "even in the absence of human operators," with demands reaching seven figures.

// what the negotiation record shows

The empirical record is less flattering to the pricing story. Meurs et al. (ACM CCS 2026) model negotiation as six stages, from the attacker's opening approach through discounts and re-extortion to the victim's decisions to engage and to pay. They test the model on 461 ransomware incidents reported to police between 2019 and 2023 and on metadata from 237 published negotiation transcripts. Payment tracks the victim's early-stage conditions more than the attacker's late-stage pricing: fully recoverable backups sharply reduce engagement and payment, and larger victims negotiate more and win discounts more often.

The theory side points the same way. Zhang et al. treat negotiation as a finite-horizon bargaining game and show that incomplete information, with the attacker unsure of the data's value and the victim unsure of the attacker's floor, lengthens negotiations and raises their cost. My reading is that scraping a victim's finances is the attacker's way of closing that information gap, so an automated scraper would shorten talks rather than raise the price. None of the papers above tests an LLM negotiation bot, and the deployment evidence is vendor-reported rather than measured, so what these tactics actually extract remains untested.

Ransom Options and Reputation

Cartwright et al. (2019) treat ransomware as kidnapping. Attackers gain from a credible threat to destroy files and from a reputation for honoring payment, spillovers across victims justify outside intervention, and deterrence needs near-perfect defense. August et al. (2022) model the vendor and consumer market. They find that offering a ransom option can raise vendor profit, and that profit can rise with the size of the residual loss after payment, which reflects how trustworthy the operator is.

Both results bear on JADEPUFFER. In that framing a lost key costs the attacker the reputation the model says it needs. It also explains why trustless key release is attractive: it substitutes a mechanism for a reputation.

// a reputation spent on purpose

A group calling itself The Gentlemen spent its reputation for honoring deletion on purpose. It reached MIP Holdings, a South African technology company, in June 2026, and MIP paid to have its stolen data deleted; by October the group was posting MIP's own clients to its leak site to extract a second round from them. A group that reneges on deletion gives the next victim a reason to refuse, which is the reputation problem the models price in, arriving as evidence.

Where the Payment Step Breaks

What was demonstrated is the opposite of a smooth payment pipeline. JADEPUFFER generated an AES key randomly and printed it to stdout once. It was never stored or sent, so per Sysdig paying would have restored nothing.

A secondary account adds that the ransom note carried an empty placeholder instead of a wallet address. Sysdig says otherwise: the note, an extortion table inside the database, held a demand, a Bitcoin address and a Proton Mail contact. The technical chain worked end to end. The business step failed.

// failure to monetize

A failed monetization step does not make a victim whole. They still lose the data, and the attacker still gets nothing. The failure mode of an autonomous extortionist is pure destruction.

One reading treats this as an implementation bug, since the intrusion chain is proven and the capability curve is what matters. I mostly agree. It also points at something harder to automate than the intrusion: keeping a secret and handing it over reliably.

Key Release Without an Operator

The monetization gap already has a literature, and it predates agents. Karapapas et al. (2020) showed how smart contracts and IPFS could let criminals deal with affiliates and victims without revealing identity, with the operator offline for most steps. Bhudia et al. (2021) built RansomClave on SGX enclaves, arguing they could enable trustless key release, where delivery is verified without trusting the attacker.

// proposed, not yet seen: ransomware that enforces payment

Hou et al. (2026) go furthest with zkRansomware: zero-knowledge proofs of recoverable data, smart contracts that enforce multi-round payments, and a game-theoretic model of both sides' decisions. They argue the design can align the attacker's and victim's incentives. None of the abstracts I read reports field use, so these are designs and proofs of concept. What has appeared in real attacks is the decentralized-infrastructure half, not the part that ties key release to payment: DeadLock, documented by Microsoft and Group-IB in August 2026, keeps the addresses of its proxy infrastructure in Polygon smart contracts so that takedowns do not end the operation.

The first JADEPUFFER campaign shows what happens when an agent holds a key and nothing binds its release to payment. Within three weeks of Sysdig's first report the operator had rewritten that step: ENCFORGE wraps each key under an embedded RSA public key, and its ransom note promises each victim a unique key with payment instructions and delivery within 48 hours.

That is less of a fix than it looks. Work presented at Virus Bulletin 2026 recovers the invocation-wide root secret from a process dump of a Windows ENCFORGE variant — the wipe clears its own slice and leaves copies in BLAKE2b staging buffers — and validates it against the file footer's HMAC tag, no operator required. A wrapped key the operator simply refuses to send is still a promise. This line of work asks what happens when something enforces it.

// the uncomfortable implication In my reading, the very property that makes paying safe for a victim also makes the attack more reliable for the attacker, and defenders should plan around that.

05 Defending at Machine Speed

The defensible ground is whatever the attacker cannot change, and the honest version of that is narrower than it sounds. A strain still has to read files and write ciphertext, but how much it writes, how fast and in what pattern are all adjustable, so some signals below can be flattened on purpose.

The layers map loosely onto the four pillars of Zero-Day Defense: sensing and detection are the watch pillar, isolation is contain, rollback and immutable backups are autonomous remediation, and moving-target defense and hygiene are harden. Figure 16 shows the first three as layers. The fourth is a posture rather than a layer, so it comes last, and hunting for infrastructure sits with the watch pillar.

Three stacked defense layers, each with an emblem. Layer 1, sensing, in blue: to extort, a process must read files and write ciphertext; it covers Shannon entropy near 8 bits per byte, I/O velocity and canary files. Layer 2, detection, in purple: entropy and I/O are one signal among several, never an anchor; it covers static and dynamic classifiers, a transformer over disassembly, and kernel behavioral models. Layer 3, mitigation, in green: detection will sometimes be late, so recovery has to be cheap; it covers isolation and process kill, copy-on-write rollback, and immutable 3-2-1 backups. An anomaly alert in milliseconds passes from sensing to detection, and a high-confidence score from detection to mitigation. A note reads that rollback accuracy degrades when ransomware splits work across processes.
// Figure 16. The defensible ground is whatever the attacker cannot change: three layers of defense, behavioral sensing, machine-learning detection and autonomous mitigation. Diagram by the author.

Entropy and Its Limits

To extort, a process must read files and write ciphertext. Ciphertext is indistinguishable from random bytes, so its Shannon entropy approaches the maximum, while documents, source and structured databases sit lower. For a byte sequence, the entropy is:

H(X)=−∑iP(xi)log2P(xi)

where P(xi) is the probability of byte value xi in the buffer.

Reported figures put ordinary document editing at roughly 3.5–4.8 bits per byte and ransomware writes at 7.95–8.00. A process producing a sudden burst of writes near 8.0 across diverse file types is flagged as encrypting, whatever the binary looks like. Kernel-level I/O request velocity monitors add a second signal.

// entropy alone is a weak signal: it misfires and can be flattened

Entropy alone misfires on compressed archives and media, which are also high-entropy, and it can be flattened on purpose: sharing entropy across regions and blending plaintext with ciphertext holds per-block values under the threshold.

Published detectors such as CryptoDrop combine it with other indicators (file-type changes, similarity to the original, deletion rates) rather than relying on one.

The caveat goes beyond false positives. An August 2026 paper, "Survival of the Stealthiest" (Levenberg et al.), uses genetic algorithms to evolve encryption patterns that stay close to baseline system activity. In a controlled test on 30 ASCII files in a virtual machine, the evolved attack finished encrypting in about 8.3 hours without triggering an Isolation Forest detector, while a static attack was caught within roughly 3,000 seconds.

The authors list the small, uniform file set, the constant background workload and the lack of EDR testing as limits. It still supports reading entropy and I/O velocity as one signal among several, not an anchor an adaptive attacker cannot move.

Partial encryption is the clearest case. Ineza et al. (2025) measure byte-level statistics after only part of a file is encrypted and derive file-type-specific detectability limits for histogram-based detectors. As I read it, a mostly plaintext file with an encrypted fragment sits statistically close to the original.

Kim et al. (2026) make a related argument for Rhea: content statistics become unreliable as the encrypted share shrinks, because of sampling noise. They replace them with format-aware validation, checking that a file still obeys the syntax and semantics of its format, which they report catches intermittent and low-entropy encryption even from an attacker with elevated privileges.

Structural Signals and Canaries

Against the limits of entropy, the structural version of the argument now has a peer-reviewed result behind it. RansomRadar (FSE 2025) scores the temporal correlation between encryption work and I/O on file objects — a coupling an attacker cannot drop without giving up encryption — and reports 100% detection at 2.68% false alarms across 411 samples from 89 families. It reads encryption from hardware performance counters rather than encryption APIs, which matters because it finds only 6.22% of ransomware calling one. Treat the numbers as a lab benchmark, not a deployment.

Canary files add another cheap signal. Hidden bait files sit in directories that traversal algorithms favor, such as roots and document libraries. Any modification, rename or encryption of a canary triggers an immediate, kernel-level process termination before the real file system is touched. Detection like this watches for a violated invariant. My earlier post on security invariants argues for enforcing them structurally, so the violating action cannot run at all, and the copy-on-write storage below is the nearest ransomware analogue.

Canaries also assume the strain walks directories in order. A bait file named to sort first catches a brute-force traversal, but neural file ranking is said to skip decoys, and if that holds, a tripwire is a cheap partial signal and not a guarantee.

Learned Detection

Four approaches are surveyed.

Do not lean on the accuracy figures in the first item. The UGRansome2024 random-forest paper (Azugo et al.) reports 96%, not 94.2%, and a stacked-autoencoder model on the same dataset reports 99%. The SVM, decision-tree and KNN numbers match no publication I found, so Figure 17 shows them as reported and nothing more. Accuracy on a fixed benchmark also says little about an adversary that adapts. The architectural point holds regardless: combine static, dynamic and I/O features and decide before the encryption pass finishes.

Horizontal bar chart of reported accuracies on UGRansome2024: random forest 94.2%, support vector machine 91.6%, decision trees 89.7%, and k-nearest neighbors about 87.4%.
// Figure 17. Classification accuracy on the UGRansome benchmark, as reported and not independently verified. Chart by the author.

Accuracy also depends on how much of a file the attacker has encrypted, and that is where a learned detector has to earn its place. Ineza et al. answer the partial-encryption problem above with a CNN over localized chunks, and Figure 18 follows it across that range: DOCX, the weakest case, climbs from 73.5% at a tenth of the file to 97.5% at full encryption, while the whole-file baseline the paper reports sits near 50% at the low end.

Line chart of detection accuracy against the fraction of each file encrypted, 10 to 100 percent. A dashed whole-file baseline is drawn schematically upward from about 50 percent at 10 percent coverage, the one point the paper reports; the paper's reported macro-average is 61.5 percent. A chunk-level CNN stays high: DOCX rises from 73.5 to 97.5 percent, PDF is 88 to 93 percent, and BMP is flat at 98.5 percent.
// Figure 18. Detection accuracy versus the fraction of each file encrypted: chunk-level CNN accuracy by file type from Ineza et al. (Table IV), with the whole-file baseline drawn schematically from the roughly 50% the paper reports at 10% coverage against a 61.5% macro-average. Chart by the author from Ineza et al.

The same features cut the other way in an adversary's hands. Hirano and Kobayashi (2025), working from leaked Conti code, tune thread count, the encrypted fraction of each file and post-encryption delays to perturb the features a deep-learning detector sees. I expect these knobs to be cheap for an agent to turn at runtime, which also makes me cautious about the "High" rating for behavioral EDR in Figure 13, which is attributed to entropy monitoring.

One academic approach goes after the extortion step instead of the encryption. Sniper (Elkhail et al., IEEE TDSC 2025) targets locker ransomware on the observation that attackers must display a ransom note, and uses natural language processing to catch the note and restore access by undoing the locker's effects. The note is the one artifact the monetization step cannot do without.

Hunting What Is Hard to Change

Hunting should also focus on the things an attacker cannot easily change. An LLM can mint endless code variants but not endless infrastructure, so track and block:

Triage and Autonomous Containment

Triage sits between detection and containment. My post on small local models argues for dozens of narrow on-premises models orchestrated by deterministic code, which suits a setting where every decision has to be fast, auditable and cheap enough to run on each event.

Containment has to be autonomous. It is one of the cross-pillar feedback paths that Zero-Day Defense says the literature leaves quiet. When a score crosses a pre-authorized threshold, SOAR and XDR engines isolate the endpoint at the network fabric, revoke Kerberos and OAuth tokens, and sever remote sessions in milliseconds. The measurements I could find cover less than that bundle: a vendor measurement from April 2026 puts on-host process blocking in milliseconds, with median detection at 18 seconds and median investigation at 2.6 minutes.

Defense is also described as moving into storage: lightweight ML inference on SSD controllers tracking write patterns and entropy at the block layer, so the hardware can block encryption even if the host kernel is compromised.

Rollback and the 3-2-1 Rule

Detection will sometimes be late, so recovery has to be cheap.

ShieldFS, from ACSAC 2016, is the canonical design: copy-on-write protection that switches on the moment a process violates its behavioral model, with a transparent rollback of the file-system side effects afterward. It is sometimes described as instant, zero-loss restoration. That overstates it. ShieldFS's accuracy is known to fall when ransomware splits work across processes, so treat it as one layer of the plan. Figure 19 follows the pointers through one attack.

Four time columns (before, attack starts, detector fires, after rollback) across four lanes. The ransomware process writes A, then B and C, and is killed after rollback. The detector's entropy curve rises past a threshold, producing a verdict of encrypting. File-system pointers P1 to P3 point to the original blocks A, B and C before the attack, move to ciphertext blocks A', B' and C' as writes land, and are restored to A, B and C after rollback. The original blocks stay in place and read-only throughout, and the ciphertext blocks are discarded. A note says accuracy falls when ransomware splits work across processes, and that rollback cost depends on how long the detector takes to fire.
// Figure 19. Copy-on-write rollback over time: the original blocks never move, and only the pointers flip when the detector fires. Diagram by the author.

Under all of it sits the 3-2-1 rule: three copies of critical data, on two media types, with one copy offsite and, in the hardened form, one logically air-gapped under write-once-read-many policy. It is the one layer that does not depend on any detector being right, and it is an implementation property rather than a guarantee. A store that fails open on write-once policy (CVE-2026-73288) makes retained objects deletable, which is why Timelock Drive (OSDI 2026) moves the guarantee into hardware: a block that no one, including a credentialed user, can modify before its time lock expires.

Protecting the Recovery Plane

The field data says the recovery plane is already the target. Mandiant's M-Trends 2026, drawn from 500,000 hours of incident work, reports that ransomware operators shifted their primary objective from theft to deliberate recovery denial, systematically going after backup infrastructure, identity services and virtualization management planes, with median dwell time up to 14 days and access handed to the encrypting crew in as little as 30 seconds. Figure 20 shows a recovery path built for that case: backups flow one way into an immutable vault and return to production only after a scan.

A vault infographic. Servers marked in red send backups one way into a green vault whose snapshots cannot be altered and whose management plane is kept apart. A restore path runs from the vault back to the servers through a scanned checkpoint, and only if the snapshot is clean.
// Figure 20. A recovery path in which backups flow one way into an immutable vault and return to production only after a scan. Diagram by the author.

A backup can also carry the infection, which is why the recovery path in Figure 20 runs through a scan. Restore points should pass through a fenced environment where they are scanned for dormant malware before they replace production, and the backup management plane should sit apart from the data plane, so that an attacker who owns the console cannot alter or delete the copies behind it.

Model artifacts need the same treatment and rarely get it. A trained checkpoint is large, changes rarely and is expensive to rebuild: the profile for immutable, versioned object storage. ENCFORGE's extension list reads as an inventory of what defenders had left unversioned.

Shrinking the Attack Surface

Automated moving-target defense changes internal addresses, port bindings and memory layouts at intervals. That invalidates the agent's knowledge graph and forces it to restart noisy recon or give up. Better still is boring hygiene, since the JADEPUFFER chain ran on exposed automation tooling, default credentials and a hardcoded key. The entry was a known CVE (CVE-2025-3248) on an exposed Langflow instance, not a zero-day, which fits the prioritization argument in Patchmageddon: the useful question is which exposed flaws get exploited, not how fast everything can be patched.

Each layer here has a known way to fail: entropy can be flattened, canaries skipped, classifiers evaded and backups targeted. What holds is the combination, with cheap recovery behind it for the cases where every detector is late.

06 Models, Spread and Predictions

Everything so far describes one intrusion at a time. A strain that cannot collect can still spread and destroy, which raises two questions: how far does it travel, and can anyone see it coming? Prior work offers partial answers, though it was built around worms such as WannaCry and NotPetya and around human-operated extortion. This section reads that work first, then the agentic spread papers against it, and closes with six predictions: three about spread and forecasting and three about payment and disclosure.

Epidemic Models and Forecasting

Chernikova et al. (2022) fit epidemiological models to 15 real WannaCry attack traces. Their SIIDR model adds a dormant-infected state to the usual compartments and outperforms SI, SIS and SIR, and they derive its basic reproduction number. The dormant state helps fit WannaCry's behavior. For a strain that waits until the environment matches its target, as DeepLocker did, dormancy is the design.

Flowerday et al. (2026) adapt SEIR to ransomware, with "Exposed" for latent compromise and staging and "Infectious" for active lateral propagation. They offer R₀ and Rₑ as near-real-time decision aids for a SOC, aiming to push Rₑ below 1. Their case studies are WannaCry, NotPetya, SolarWinds and the MGM and Caesars breaches. No other paper here comes as close to operational use.

Forecasting work operates at the level of campaigns. Quinkert et al. (2018) built RAPTOR, which combines past Cerber activity with newly registered domains. It flagged 2,126 candidate domains, 378 of which later reached blacklists, and the domain signal improved the forecasts. Boumezoued et al. (2023) extend Hawkes processes with external excitation from published vulnerabilities. Adding that signal roughly halved the estimated self-excitation, which suggests that much of what looks like contagion is many victims being exposed to the same vulnerability at once.

Figure 21 sets the four studies side by side against what an agentic strain would need.

StudyApproachWhat it modelsGap for agentic strains (my reading)
Chernikova et al. 2022SIIDR epidemic model15 real WannaCry traces; adds a dormant-infected state; derives a reproduction numberOne rate per variant; nothing for a per-target success probability
Flowerday et al. 2026SEIR with R0 and ReLatent versus active lateral spread; Re below 1 as a SOC containment aimCompartments, not nodes and edges; no per-edge reachability
Quinkert et al. 2018 (RAPTOR)Time-series forecasting plus new-domain signalCerber campaign activity; 2,126 candidate domains, 378 later blacklistedCampaign scale of days, not minutes
Boumezoued et al. 2023Two-phase Hawkes process with external excitationAttack arrivals; published vulnerabilities roughly halve estimated self-excitationArrival rate, not intrusion progress
// Figure 21. Prior models of malware spread and forecasting, with approach, scope, and gap for agentic strains. Compiled by the author from the literature cited.

Agentic Spread

Agentic spread has a literature now, and it is younger than the models above. Three 2026 papers propagate agents rather than payloads:

Figure 22 shows how many hosts the autonomous worm in Guan et al.'s runs reached at each step of its workflow.

Horizontal bar chart of Guan et al.'s reported per-run means on a 33-host network: 31.3 hosts with the ground-truth vulnerability identified, 23.1 elevated to administrator, and 20.4 running a self-replicated agent.
// Figure 22. Mean hosts reached at each step of an autonomous worm's workflow across Guan et al.'s 15 runs on a 33-host network: 31.3 with the vulnerability identified, 23.1 elevated to administrator (70.0%) and 20.4 running a replica (61.8%). Chart by the author from Guan et al.

One caution on the paper's own summary. Its 73.8% "exploited" is 23.1 of the 31.3 identified vulnerabilities, not of the 33 hosts, where the same count is 70%, so the chart plots the counts rather than that percentage.

Three further papers take agentic spread past the single worm:

A swarm does not need malware to be subverted. It needs a delegated task.

What the Spread Models Still Miss

None of this work is fitted to real enterprise ransomware, and most of it is not about ransomware at all. What the compartmental models still miss is how an infection moves across each individual link between systems, such as a credential that opens one server from another. Modelers call that a per-edge view. Compartmental models treat transmission as a rate, while an agent that replans after every failure makes the rate depend on what it meets, and Guan et al.'s worm needs about five days to reach half its network, a pace set by inference calls rather than link speed.

The model worth building next is not another compartmental one: it is a per-edge transmission model over the credential graph, of the kind Tyagi and Murugesan already construct for lateral movement. Give each service edge a pivot potential, compose along paths with a noisy-OR, iterate to a fixed point, and read blast radius and susceptibility off the compromise-probability matrix. The agentic part enters by letting the per-edge weight update after each observation.

Three Predictions on Spread and Forecasting

None of those models was fit on agentic intrusions, so what follows is extrapolation. I state each prediction so that a dataset could confirm or refute it.

  1. Graph, not address space: agentic spread inside an organization will fit a model over the identity and trust graph better than one over network addresses, and a per-edge weight that updates after each observation should predict the next compromised host better than a fixed one. The gain should be larger for agentic than for human-operated intrusions, because an agent that ranks targets by centrality and replans after every failure spreads along stolen credentials, and how far it gets depends on what each credential unlocks.
  2. The disclosure lag shrinks: the interval between a vulnerability's publication and the burst of exploitation it excites should shorten as agents turn advisories into working exploits, as Guan et al.'s worm did with three 2026 vulnerabilities disclosed after its model's training cutoff. In a Hawkes-style model the excitation should decay faster for disclosures from 2026 onward than before. It should still concentrate on a small subset of disclosures, as it already does, so the forecasting task is choosing which advisories will excite.
  3. Forecasts move inside the intrusion: once an intruder has a foothold, a model fed internal telemetry, such as authentication events and new service-to-service connections, should predict the next asset taken, within minutes, better than any outside signal such as new domains or advisory timing. This is a claim about a different level from the previous one: outside signals still set when a campaign starts, and inside signals decide where it goes next.

The first is the hardest to test. A public record of per-step timings and credential use from agentic intrusions would let anyone fit it, and I could not find such a dataset.

That absence is the main conclusion of the spread half: the models exist and the parameters do not.

Reproduction numbers and vulnerability-driven forecasts are usable as starting points, but they will have to be re-parameterized, and made per-edge, for a transmission process that replans after every failure.

Three Predictions on Payment and Disclosure

The next three leave the spread models behind and concern money and disclosure, drawing on the economic and measurement studies earlier in the post. They are extrapolation in the same sense: none of that work was fit on agentic cases.

  1. Key custody closes the gap: the monetization gap will close through engineering, not smarter agents, by moving key custody outside the agent's own memory, as RansomClave and zkRansomware describe. The custody half is already observed: ENCFORGE wraps per-file keys under an embedded public key. What remains a prediction is that custody converts into payment. The trust parameter in the August et al. model then stops being a reputation and becomes a property of the mechanism, so a victim who engages can be sure a payment unlocks the files, as it could not with JADEPUFFER, and the payment rate among engaged victims should rise.

    That rise and the fall in the next prediction act on different victims: those who could not pay safely before, and those whose recovery was never in doubt.
  2. Backups decide outcomes: Meurs et al. (ACM CCS 2026) found that fully recoverable backups sharply reduce engagement and payment. Agentic strains already go after recovery catalogs and snapshots, so the contest shifts to backup immutability, and payment should fall furthest where backups are immutable and tested. The 2026 field data is moving that way: Sophos's survey of 2,158 organizations found backup-based recovery reaching 66% of encrypted cases and the median demand down 65% over two years, though the average recovery bill rose 11% to $1.7 million.

    One asset class runs the other way: trained models. ENCFORGE targets checkpoints, vector indices and training sets by extension, and a fine-tuned model is often not backed up at all, because its snapshot is weeks of compute. Where no immutable copy exists, the same logic predicts more pressure to pay, not less, with the rebuild cost, $75,000 to $500,000 per model by Sysdig's estimate, as the figure a victim weighs against the demand.
  3. The confirmation gap holds: the share of claimed attacks that a victim confirms should stay near the 9.4% recorded for Q3 2026, and drift down only if agents push attacks toward small firms, whose victims are least likely to appear on any register. Whether a victim reports is a decision rather than a consequence of severity: Matthijsse et al.'s survey found ransom size, backups, double extortion and advice to pay all failed to predict police reporting.

    The 9.4% is a share of claims, so it sits on top of the unseen remainder, which the two measurement studies above put at about 59% of attacks on large Dutch firms and roughly 97% of cyber incidents missing from the public record, rather than replacing it.

The cheapest to test is the last: a claim count and a confirmation count are published every quarter, and the ratio has not improved. That also makes it the weakest of the six as a forecast of change, since it predicts a continuation and would fail only if the ratio moved materially.

07 Conclusions

This post set out to check how much of the agentic ransomware story the public record supports. The evidence is narrower than the headline. One operator ran a full intrusion against production and failed to get paid, then returned within three weeks of the first report with the key handling rewritten, a compiled payload and a container escape. A university prototype showed the same loop in a lab, Unit 42 found only 12 of 405 AI-related samples ever on a protected endpoint, and a vendor simulation put the path from compromise to exfiltration at about 25 minutes.

That is enough to say the capability exists. It is not enough to say the economics are solved, and the claims about dynamic pricing, negotiation bots and detection rates need primary-source checks before anyone builds policy on them.

Figure 23 puts the whole argument in one picture: two loops, both running at machine speed.

Two interlocking loops. The attacker's loop, in red, reads its own errors and replans, calls a hosted model while it runs, and enters through AI tooling and supply chains. The defender's loop, in blue, uses behavioral invariants plus other signals, canary tripwires, pre-authorized containment, and immutable, scanned backups. Where the loops overlap, both run at machine speed.
// Figure 23. The attacker's loop and the defender's loop, with the post's main findings on each side. Diagram by the author.

The post comes down to five points.

// design rule The attacker moves at machine speed, so every control on the containment path has to as well.

The defensive roadmap puts it as five tenets:

  1. Assume breach and zero trust: reject implicit trust; verify identity continuously and micro-segment every endpoint.
  2. Mandate machine-speed containment: move Tier-1 response from human approval loops to pre-authorized, automated endpoint and identity quarantine.
  3. Anchor on behavioral invariants: instrument entropy, canary tripwires and kernel-level I/O anomalies instead of hashes alone.
  4. Engineer immutable data resilience: copy-on-write storage, hardware-level rollback and air-gapped immutable backups under 3-2-1.
  5. Enforce identity hygiene: inventory exposed automation systems such as Langflow, rotate default signing keys, and remove hardcoded secrets.

One caution on the call for equally autonomous, intelligent defense. An LLM checker shares structural weaknesses with what it checks, which is the argument of my post on probabilistic defense. That is a reason to keep the containment path deterministic (canaries, copy-on-write, immutable backups) and to use models for triage and ranking rather than for the final decision.

The attacker has automated the intrusion and is now automating the ransom demand. Within three weeks of the first report, key handling went from a key printed once to stdout to a wrapped, per-victim key, so the gap between breaking in and getting paid is closing. A thicker perimeter will not decide what happens next. Containment and recovery, built before that gap closes, will.

References

Threat landscape reports
Incident case reports
Extortion without encryption
Volume trackers and quarterly reports
Under-reporting and reporting behaviour
Model capability and use
Prototypes and prevalence
Conference talks
Speed, adoption and history
Evasion research
Detection approaches and defenses
Detection and rollback systems
Agentic spread and self-propagating agents
Spread and forecasting models
Economics and negotiation
Key release without an operator
Industry sources (not independently verified)
Academic papers (not independently verified)