Giter VIP home page Giter VIP logo

mlmc's Introduction

Machine Learning Malware Classifyer (MLMC)

What is this?

This is the app for classifying of malwares using machine learning approach. It uses trained neural network to classify given PE file as malicious or legitimate.

Currently MLMC implements approach of static analysis of files - it collects some static parameters of file, that are then fed into neural network, which was previously trained on a tousands of malicious and legitimate samples.

Note: code not fully ported to Linux.
Note: Server now only tested on Ubuntu-18.

Installation

  • Clone repository:
git clone https://github.com/karust/av_back.git

cd av_back
  • Create Python virtual enviournment and activate it:
virtualenv mlmcb

source ./mlmcb/bin/activate
  • Install required libraries:
pip3 install -r requirements.txt

Description

Project consists of 3 parts:

  • Server - Web server for classification of PE files.
  • Static - Code for classifying PE files by their static features.
    1. collect_data.py - collect static features of PE files;
    2. training.py - train neural network on collected data;
    3. analyzer.py - server with the trained neural network on board.
  • Auxillary - Helper modules. Currently there is a script which helps to collect data in one place to further analysis.

Launching (locally)

python3 main.py

Using app

  1. Head on to http://127.0.0.1:8888/ in your favorite browser and see menu where you can select one file to analyze or even folder: image

  1. If there is no error, after some time file should be uploaded:

  1. Then you can navigate to analysis menu where you can see the results and play with sorting of files:

  1. If you interested in more detailed information you can click by the file and see its features:

mlmc's People

Contributors

dependabot[bot] avatar karust avatar uranusq avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  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.