Giter Club home page Giter Club logo

webmalwarescanner's Introduction

OWASP Web Malware Scanner

About

Official OWASP Project Page

The OWASP Web Malware Scanner is a malware scanner for web applications. The goal is to be able to scan a web application using a community driven signature database. The Web Malware Scanner works by scanning each files of the web application for known malware signature.

The Web Malware Scanner is not a vulnerability scanner, it is a malware scanner used to identify compromised web application installations. It can be used to identify compromised Wordpress, Joomla and other popular web application installations.

The Web Malware Scanner will scan for both MD5 hash based signatures and malware signatures using YARA rules.

Dependencies

  • Python 2.7

  • YARA >= 3.0

apt-get install yara
  • Python-YARA
pip install yara-python

Usage

Install the dependencies and run :

$ python wms.py /path/to/website /path/to/results/output

The scan can take a long time to complete while scanning a large folder, in order to scan a large folder through ssh it is recommended to start the WMS process as a background job like this :

$ nohup python wms.py /path/to/website /path/to/results/output &

Web Malware Scanner

Documentation

Check out the official wiki for help.

Signature database

OWASP Web Malware Scanner uses a community-driven malware signature database to detect malwares. Signatures are found under the signatures/ folder.

The signatures for YARA rules matching are under 'signatures/rules/' and must have the '.yar' extension.

OWASP Web Malware Scanner also performs MD5 file checksums. MD5 file signatures are in 'signatures/checksum/'. A MD5 signature database must be a text file that contains the following JSON object:

{
  "Database_Name": "Generic malware hash database",
  "Database_Hash": [
    {
      "Malware_Name": "Zip.Trojan.Container",
      "Malware_Hash": "e27122ba785627fca79b4a19c8eea38b"
    }
  ]
}

The 'Database_Hash' object must be an array of objects that must contain the MD5 hash (Malware_Hash) and the Malware name (Malware_Name). If the MD5 checksum of a file matches one of these MD5 hashes, it will be marked as infected.

You are welcome to contribute to this project by sending new signatures to [email protected].

Author

OWASP Web Malware Scanner was created by Maxime Labelle

License

OWASP Web Malware Scanner is released under the BSD license. See the LICENSE file for details.

Notes

The GUI version has been abandoned.

webmalwarescanner's People

Contributors

mlowasp avatar dgroddick avatar

Watchers

James Cloos 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.