RansomAI: AI-powered Ransomware for Stealthy Encryption
Jan von der Assen, Alberto Huertas Celdr\'an, Janik Luechinger, Pedro, Miguel S\'anchez S\'anchez, G\'er\^ome Bovet, Gregorio Mart\'inez P\'erez,, Burkhard Stiller

TL;DR
RansomAI is a reinforcement learning framework enabling ransomware to adapt encryption strategies dynamically, significantly improving its stealth capabilities against detection systems in real-world scenarios.
Contribution
This work introduces RansomAI, the first AI-powered ransomware framework that learns to optimize encryption behavior to evade detection, demonstrating its effectiveness on a Raspberry Pi 4.
Findings
RansomAI evades detection with over 90% accuracy within minutes.
The framework successfully adapts encryption strategies using reinforcement learning.
Experimental validation on Raspberry Pi 4 confirms its practical effectiveness.
Abstract
Cybersecurity solutions have shown promising performance when detecting ransomware samples that use fixed algorithms and encryption rates. However, due to the current explosion of Artificial Intelligence (AI), sooner than later, ransomware (and malware in general) will incorporate AI techniques to intelligently and dynamically adapt its encryption behavior to be undetected. It might result in ineffective and obsolete cybersecurity solutions, but the literature lacks AI-powered ransomware to verify it. Thus, this work proposes RansomAI, a Reinforcement Learning-based framework that can be integrated into existing ransomware samples to adapt their encryption behavior and stay stealthy while encrypting files. RansomAI presents an agent that learns the best encryption algorithm, rate, and duration that minimizes its detection (using a reward mechanism and a fingerprinting intelligent…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsAdvanced Malware Detection Techniques · Network Security and Intrusion Detection · Cybercrime and Law Enforcement Studies
MethodsQ-Learning
