Code Monkey home page Code Monkey logo

malware-prediction's Introduction

Malware-Prediction

A Malware Prediction model that predicted if the PE format file is malicious or legitimate.

Table of contents

General info

A python based Machine learning model with classifier is used for detecting if the file (PE format) is malicious or not. Also confusion matrix is used to evaluate the model. Signature based analysis (Used MD5 hash).

Technologies

Project is created with:

  • Vscode
  • Python: 3.8.3

Algorithm and Comparsion

  • Random Forest
  • Regression
  • Decision Tree
  • Gradient Boosting
  • Ada Boost
  • GNB
  • k-NN

Libraries

  • pandas
  • numpy
  • scipy
  • scikit
  • pefile
  • pickle

Setup

To run this project, install it locally using conda or pip (or use Anaconda Navigator to install the libraries packages and notebook).

$ conda install python=3.8.3
$ conda install pandas numpy matplotlib notebook
$ conda install pip

Use [pip](https://pypi.python.org/pypi/pip) to install any missing dependencies 
Use [python] version 3

Dependencies
============

* pandas ```pip install pandas```
* numpy ```pip install numpy```
* pickle ```pip install pickle``` or ```pip install pickle-mixin```
* scipy ```pip install scipy```
* scikit ```pip install -U scikit-learn```
* pefile ```pip install pefile```
* seaborn ```pip install seaborn```

To run the program
===================
* ```python learn.py```
* ```python check.py PEfilename```

malware-prediction's People

Contributors

ankitasinha98 avatar

Stargazers

 avatar  avatar

Watchers

 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.