Real-Time Ransomware Detection Using Reinforcement Learning Agents
Traditional signature-based anti-malware tools often fail to detect zero-day ransomware attacks due to their reliance on known patterns. This paper presents a real-time ransomware detection framework that models system behavior as a Reinforcement Learning (RL) environment. Behavioral features—including file entropy, CPU usage, and registry changes—are extracted from dynamic analysis logs generated by Cuckoo Sandbox. A (DQN) agent is trained to proactively block malicious actions by maximizing long-term rewards based on observed behavior. Experimental evaluation across multiple ransomware families such as WannaCry, Locky, Cerber, and Ryuk demonstrates that the proposed RL agent achieves a superior detection accuracy, precision, and F1-score compared to existing static and supervised learning methods. Furthermore, ablation tests and latency analysis confirm the model’s robustness and suitability for real-time deployment. This work introduces a behavior-driven, generalizable approach to ransomware defense that adapts to unseen threats through continual learning.
Authors
- Suzanna Schmeelk (ORCID: https://orcid.org/0000-0003-1886-3798)
- Joan E. DeBello
- Kutub Thakur
- Md. Mustafizur Rahman (ORCID: https://orcid.org/0000-0002-3590-4523)
- Md Liakat Ali
Institutions
- Mercy University (US)
- St. John's University (US)
- Rider University (US)
Publication Details
- Journal
- Information
- Published
- 2026-02-13
- DOI
- https://doi.org/10.3390/info17020194
- Primary Topic
- Advanced Malware Detection Techniques
- Type
- article
- Field-Weighted Citation Impact
- 0.00