Giter Site home page Giter Site logo

maljpeg's Introduction

Implementation of MalJPEG solution for the detection of malicious images , based on the paper by A. Cohen, N. Nissim and Y. Elovici, "MalJPEG: Machine Learning Based Solution for the Detection of Malicious JPEG Images," in IEEE Access, vol. 8, pp. 19997-20011, 2020, doi: 10.1109/ACCESS.2020.2969022. Link to the paper: https://ieeexplore.ieee.org/document/8967109

Dataset: For benign images https://www.kaggle.com/hsankesara/flickr-image-dataset For malicious images we used https://virusshare.com/

Language -> Python3.8

We have implemented the main proposal of extracting the MalJPEG features from a JPEG and training them on different ML Models.

On an Ubuntu machine,

Install the required libraries using:

    pip3 install -r requirements.txt

Run the feature extractor on a directory of images:

    python3 feature_extractor.py /path/to/file type_of_data

Next to create the datasets:

    python3 dataset_creation.py

Finally to train the models,

    python3 various_models.py

maljpeg's People

Contributors

akshithbellare avatar laharish01 avatar amithbhat1 avatar

Stargazers

Jun Moriuchi avatar

Watchers

 avatar

Forkers

bharathwajan

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.