Coder Social home page Coder Social logo

0xbelen / machine-learning-ransomware-detection Goto Github PK

View Code? Open in Web Editor NEW

This project forked from securycore/mlrd-machine-learning-ransomware-detection

0.0 0.0 0.0 112.35 MB

Machine Learning Ransomware Detection

License: GNU General Public License v3.0

Python 99.79% Jupyter Notebook 0.21%

machine-learning-ransomware-detection's Introduction

MLRD Machine Learning Ransomware Detection

MLRD is a machine learning based malware analyser written in Python 3 that can be used to detect ransomware.

Evaluate using survey here:

https://www.surveymonkey.de/r/N289B82

Features:

  • Analyses and Extracts features from PE file headers to determine if a file is malicious or not.
  • Features include: Debug Size, Debug RVA, Major Image Version, Major OS Version, Export Size, IAT RVA, Major Linker Version, Minor Linker Version, Number Of Sections, Size Of Stack Reserve, Dll Characteristics, and Bitcoin Addresses.
  • Checks if a file contains a Bitcoin Address using YARA rules.
  • Correlate results with Virus Total, Threat Crowd, and Hybrid Analysis.

Install:

git clone https://github.com/callumlock/MLRD-Machine-Learning-Ransomware-Detection.git

cd MLRD-Machine-Learning-Ransomware-Detection

sudo pip3 install -r requirements.txt

Usage

Train model:

python3 mlrd_learn.py

Basic Usage:

python3 mlrd.py 'FILE TO ANALYSE'

Usage with Reputation Checking:

python3 mlrd.py 'FILE TO ANALYSE' -v

python3 mlrd.py 'FILE TO ANALYSE ' -t

python3 mlrd.py 'FILE TO ANALYSE' -z

python3 mlrd.py 'FILE TO ANALYSE' -vtz

Display Extracted Features for Input File:

python3 mlrd.py 'FILE TO ANALYSE' -d

Open Survey:

python3 mlrd.py -s

Display Help Information:

python3 mlrd.py -h

Test Data:

  • Malicious and Benign test files for use with the program can be found in the Test Data directory.
  • In this directory you will find benign windows PE files and ransomware files within a ZIP file.

WARNING:

  • Malicious programs are contained within this directory and thus, should be handled with care.
  • The ransomware distributed inside the test virual machine have been gathered for research purposes and are only for use within the scope of this project.
  • Using these programs with malicious intent is strictly prohibited.

machine-learning-ransomware-detection's People

Contributors

kiwihacks avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.