Git Product home page Git Product logo

adriaanvermaak / malware-detection-using-machine-learning Goto Github PK

View Code? Open in Web Editor NEW

This project forked from emr4h/malware-detection-using-machine-learning

0.0 0.0 0.0 600 KB

This project analyzes PE information of exe files to detect malware. In this repository you will learn how to create your own dataset and will be able to see the use of machine learning models using the dataset. We will use machine learning for detect malware.

License: MIT License

Jupyter Notebook 100.00%

malware-detection-using-machine-learning's Introduction

Malware-Detection-Using-Machine-Learning

About The Project

  • This project analyzes PE information of exe files to detect malware.
  • In this repository you will learn how to create your own dataset and will be able to see the use of machine learning models using the dataset.
  • We will use machine learning for detect malware.

Getting Started

This pe information was extracted using pefile.

If you want to create your own dataset, check out Data_Set_Generator.ipynb

or you can use data-set/MalwareDataSet.csv

Dataset

This dataset (MalwareDataSet.csv) contains a total of 137,444 data. There are 96,526 safe and 40,918 malware.

It has a total of 9 columns. The information of these columns is as follows:

* AddressOfEntryPoint
* MajorLinkerVersion
* MajorImageVersion
* MajorOperatingSystemVersion
* DllCharacteristics
* SizeOfStackReserve
* NumberOfSections
* ResourceSize
* legitimate

Classification

We used 3 different classification algorithms. These :

* K Nearest Neighbors (KNN)
* Decision Tree
* Random Forest

Results

The Success Rate was calculated as % 97.56118855679404 with the K-Nearest-Neighbors

The Success Rate was calculated as % 98.59433660254359 with the Decision Tree

The Success Rate was calculated as % 99.1240068682518 with the Random Forest

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.