Skip to content

faithfulco/mlran

Repository files navigation

MLRan: A Behavioural Dataset for Ransomware Analysis and Detection

arXiv

MLRan is a large-scale, high-quality behavioural dataset designed to support research in machine learning-based ransomware detection, classification, and behavioural analysis. The dataset comprises over 4,800 dynamically analysed samples, spanning 64 ransomware families and a balanced set of goodware, collected between 2006 and 2024. The dataset covers all major types of ransomware, including locker, crypto, ransomware-as-a-service (RaaS), and modern types.

MLRan is developed in line with GUIDE-MLRan, a set of practical guidelines we propose for constructing high-quality behavioural ransomware datasets. The repository provides open access to the dataset (feature-processed), collection and parsing scripts, machine learning pipelines, and interpretability experiments, all designed to ensure reproducibility and transparency.

You can read more about the dataset in ArXiv: Read the paper

Citation

Please cite the following if you use MLRan in your work:

Onwuegbuche, F. C., Olaoluwa, A., Jurcut, A. D., & Pasquale, L. (2025). MLRan: A Behavioural Dataset for Ransomware Analysis and Detection. arXiv preprint arXiv:2505.18613.

@article{onwuegbuche2025mlran,
  title={MLRan: A Behavioural Dataset for Ransomware Analysis and Detection},
  author={Onwuegbuche, Faithful Chiagoziem and Adelodun, Sunday Olaoluwa and Jurcut, Anca Delia and Pasquale, Liliana},
  journal={arXiv preprint arXiv:2505.18613},
  year={2025},
  url={https://www.arxiv.org/abs/2505.18613}
}

Project Overview

The figure below summarises the MLRan pipeline, from sample collection and dynamic analysis to feature extraction, selection, and ML-based classification with SHAP and LIME explainability.

model_design

Repository Structure

mlran/
│
├── 1_sample_collection_scripts/       # Scripts to collect goodware and ransomware samples
├── 2_collected_samples_metadata/      # Metadata associated with each analysed sample
├── 3_cuckoo_submission_automation/    # Scripts for automated Cuckoo submission and report extraction
├── 4_cuckoo_parser_scripts/           # Parsers for extracting behavioural features from Cuckoo reports
├── 5_mlran_dataset/                   # Information and links to the full MLRan dataset
├── 6_experiments/                     # ML experiments, feature selection, evaluation, results and feature selected dataset
├── LICENSE
└── README.md

Key Statistics

Property Value
Total Samples 4,800+
Ransomware Families 64
Time Range 2006–2024
Feature Space (raw) 6.4 million+
Feature Space (reduced) 483 (via MI + RFE)
Max Accuracy (ML) 98.7%
Max Precision / Recall 98.9% / 98.5%

Disclaimer

All ransomware analyses were conducted in controlled sandbox environments. This repository does not distribute raw binaries. However, we provide the hashes of the samples and complete metadata, including code to help in downloading the samples. Researchers are advised to follow appropriate safety protocols when working with malware and to comply with their institution’s ethical and legal standards.

Contact

License

This repository is licensed under the MIT License. Attribution is appreciated.

About

MLRan: A Ransomware Behavioural Dataset for Machine Learning

Resources

Stars

50 stars

Watchers

2 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors