Genetically evolved ransomware evades behavior monitors by staying low-entropy
A genetic algorithm can generate ransomware that avoids detection by behavioral monitoring systems
Security & privacy arXiv 20 Aug 2026 Attack Prototype evidence
Published as “Survival of~the~Stealthiest: Evolving Low-Entropy Ransomware via~Genetic Algorithms”
Why it matters
The work reveals that current entropy-based detection can be bypassed by search-based, adaptive ransomware, motivating the development of more resilient, behavior-aware defenses.
Summary
The GA-evolved ransomware can remain undetected for more than eight hours while achieving 100% encryption of the target files. In a controlled experiment on 30 ASCII text files, the genetic algorithm adapted its low-and-slow encryption rate to stay below an Isolation Forest’s dynamic anomaly threshold, avoiding terminal termination. The evidence comes from a single synthetic setup with a simple substitution cipher, so the claim’s strength is limited to that environment.
What they found 4
- The GA optimizer achieved full coverage of the dataset in over eight hours.
“the GA optimizer achieved 100% dataset coverage over 30,230 seconds.”
- The GA adapted to a throughput of one character per 60 seconds, treating transient spikes as fitness penalties.
“the GA treated these spikes as fitness penalties, subsequently adapting toward a stealthy throughput of 1 char/60s.”
- Static baseline triggered a terminal detection, whereas the GA produced only transient detections.
“Detection 1 (Terminal) 21 (Transient)”
- Partial ransomware can stay undetected for >8 hours by adapting to detection system behavior.
“A partial ransomware can be stealthier than a traditional ransomware, as it remains undetected for a long time (>8 hours), through adaptation to the detection systems’ behavior.”
Caveats 5
- The GA still caused 21 transient anomaly spikes during the attack.
- The evaluation used only 30 ASCII files and a simple Caesar substitution cipher, which may not reflect real-world file diversity and entropy.
- First, the evaluation used a controlled dataset of 30 ASCII files; real-world environments with diverse file types and higher entropy may alter the Isolation Forest’s baseline.
- Second, we assumed a constant system workload, whereas real-world noise from human activity could either mask or expose the attack’s signals.
- Finally, while we simulated an adaptive threshold, further research is required to evaluate persistence against active endpoint defense (EDR) systems that may employ more aggressive defenses.
What’s new here 3
- Frames stealthy encryption as a Search-Based Software Engineering problem and applies a genetic algorithm to evolve the attack.
- Demonstrates an adaptive low-and-slow ransomware that evades a dynamically updated entropy-based detector.
- Provides an open replication package for the GA-based ransomware prototype.