New to ShortSpan? We distil the AI-security research that matters into practitioner takeaways — edited by Ben Williams (NCC Group).Get the weekly email
// Analysis
AI Crafts Self-Wiping Ransomware, Defenders Scramble
Published: Fri, 29 Aug 2025 • By Clara Nyx
Attacks
Researchers demonstrate Ransomware 3.0, an LLM-orchestrated prototype that plans, writes and runs tailored ransomware without a human operator. It adapts payloads to the environment, stays polymorphic to evade signatures, and can run cheaply at scale. The finding raises urgent practical questions for defenders about monitoring, outbound model calls, and device governance.
New research shows what everyone half-feared and the other half dismissed: large language models can be stitched into a malware pipeline that plans, synthesizes code at runtime, and tailors attacks to the host. The prototype, dubbed Ransomware 3.0, automates reconnaissance, payload generation and extortion notes, and produces polymorphic binaries that look different each run. The most worrying takeaway is not sci-fi autonomy but cheap, scalable nuisance and targeted harm; experiments indicate low cost per run and stealthy behavior against signature-based tools.
There are two reasonable reactions. One side says this proves an imminent AI apocalypse for cybersecurity and calls for sweeping model bans and draconian controls. The other side argues the paper rests on lab setups, omits persistence and lateral movement, and overstates near-term risk. Both are partly right. The prototype is constrained and currently experimental, but the economics and adaptability are real enough to change an attacker calculus.
I come down on pragmatic alarm. We should not panic, but we must stop under-reacting. Classical defenses still matter, yet they need updates: runtime telemetry, anomaly detection, and strict controls on systems that can call external models. Policy makers and vendors also need to close the gap between model access and operational systems (see advisories from CISA and guidance from NIST and industry reporting in MIT Technology Review).
Actionable steps: enforce egress controls and block unauthorized model endpoints, add behavior-based detection for file access and in-memory execution, harden backups and network segmentation, and demand vendor attestations for enterprise model use. This threat is manageable if defenders act now, not when headlines force overreach or paralysis.
Additional analysis of the original ArXiv paper
📋Original Paper Title and Abstract
Ransomware 3.0: Self-Composing and LLM-Orchestrated
Authors: Md Raz, Meet Udeshi, P. V. Sai Charan, Prashanth Krishnamurthy, Farshad Khorrami, and Ramesh Karri
Using automated reasoning, code synthesis, and contextual decision-making, we
introduce a new threat that exploits large language models (LLMs) to
autonomously plan, adapt, and execute the ransomware attack lifecycle.
Ransomware 3.0 represents the first threat model and research prototype of
LLM-orchestrated ransomware. Unlike conventional malware, the prototype only
requires natural language prompts embedded in the binary; malicious code is
synthesized dynamically by the LLM at runtime, yielding polymorphic variants
that adapt to the execution environment. The system performs reconnaissance,
payload generation, and personalized extortion, in a closed-loop attack
campaign without human involvement. We evaluate this threat across personal,
enterprise, and embedded environments using a phase-centric methodology that
measures quantitative fidelity and qualitative coherence in each attack phase.
We show that open source LLMs can generate functional ransomware components and
sustain closed-loop execution across diverse environments. Finally, we present
behavioral signals and multi-level telemetry of Ransomware 3.0 through a case
study to motivate future development of better defenses and policy enforcements
to address novel AI-enabled ransomware attacks.
🔍ShortSpan Analysis of the Paper
Authors
not reported
Problem
Ransomware 3.0 is an autonomous threat model and research prototype that uses large language models to plan, adapt and execute the ransomware lifecycle without human input. It embeds natural language prompts in a binary and synthesises malicious code at runtime to yield polymorphic payloads that adapt to the execution environment. The approach enables end to end reconnaissance, payload generation and personalised extortion in a closed loop across personal, enterprise and embedded environments, creating a new attack surface for defenders and policy makers that requires robust runtime monitoring and governance.
Approach
The authors realise a four phase orchestrator written in Go that delegates planning, decision making and payload generation to an LLM. A Lua in memory interpreter executes generated Lua payloads inside a sandbox, while an OSS LLM interface connects to open weight models via an HTTP based gateway. Payloads include encrypt using SPECK 128 ECB, exfiltrate via HTTP, and destroy by overwriting files. The architecture supports multiple LLM backends and pluggable payload modules and logs all LLM interactions and host telemetry for interpretability. Experiments use the SaMOSA Linux sandbox to emulate three environments with benign and sensitive files, and run 30 experiments across personal computers, enterprise servers and embedded controllers. Open weight models GPT-OSS 20B and 120B are evaluated for feasibility and decision quality, with token usage and iterations recorded.
Key Findings
Feasibility established for an end to end LLM driven ransomware pipeline with autonomy across reconnaissance, payload generation and extortion in multiple environments.
Phase wise performance shows near perfect reconnaissance file enumeration, environment aligned payload selection in leverage, high payload execution accuracy in launch, and coherent personalised ransom notes in notify.
Model differences observed: GPT 120B more accurate in sensitive file identification and payload launching; GPT 20B produces longer outputs and more refusals in some tasks; encryption implementations meet SPECK standard with 120B but show errors with 20B in some runs.
Footprint and detection: the threat exhibits a polymorphic, low footprint behaviour with minimal high level system activity and network traffic, increasing stealth against signature based detection.
Economic and practical implications: end to end runs cost around 0.70 USD at GPT 5 API rates, enabling thousands of polymorphic personalised attacks on commodity hardware.
Limitations
The prototype omits persistence, lateral movement and advanced evasion; experiments are conducted in controlled sandbox environments and do not model real world infection vectors or ransom negotiations, limiting generalisability.
Why It Matters
Ransomware 3.0 demonstrates a new AI enabled, self evolving malware class that can tailor payloads and extortion notes to individual targets, complicating detection beyond static signatures. Defenders are urged to monitor sensitive file access, regulate outbound LLM calls, and enforce policy restrictions to limit autonomous decision making. The work highlights governance and defence research needs to address AI enabled threats across sectors including embedded and IoT devices and informs future countermeasures to mitigate emerging risks posed by LLM orchestrated ransomware.
- It tackles adapting to evolving ransomware (polymorphism and obfuscation) by using reinforcement learning to focus on harder, stealthier samples, wh...
- Targets early detection of AI-assisted ransomware by modeling sequences of file-system operations, a timely defense angle as malware behavior become...
- The study shows an LLM can generate a large, structurally diverse set of harmful payloads that all behave the same, making signature-based detection...
- Relevance in simple terms: It shows that AI-based security systems can be bypassed by subtle, low-level changes in ransomware behavior, outlining a ...
- It shows RL can autonomously learn realistic ransomware attack paths in a network, potentially speeding up threat modeling and defense testing.
- It...
Get the weekly digest
The few AI-security papers that matter, with the practitioner takeaway. No spam.