Code Monkey home page Code Monkey logo

amanyadav007 / malicious-web-content-detection-using-machine-learning Goto Github PK

View Code? Open in Web Editor NEW

This project forked from philomathic-guy/malicious-web-content-detection-using-machine-learning

0.0 0.0 0.0 2.15 MB

Chrome extension for detecting phishing web sites

Home Page: https://philomathic-guy.github.io/Malicious-Web-Content-Detection-Using-Machine-Learning/

License: MIT License

Python 85.47% PHP 2.68% HTML 1.61% JavaScript 3.99% CSS 6.24%

malicious-web-content-detection-using-machine-learning's Introduction

Malicious Web Content Detection using Machine Learning

NOTE -

1. If you face any issue, first refer to Troubleshooting.md. If you are still not able to resolve it, please file an issue with the appropriate template (Bug report, question, custom issue or feature request).

2. Please support the project by starring it :)

Steps for reproducing the project -

  • Install all the required packages using the following command - pip install -r requirements.txt. Make sure your pip is consistent with the Python version you are using by typing pip -V.
  • Move the project folder to the correct localhost location. For eg. /Library/WebServer/Documents in case of Macs.
  • (If you are using a Mac) Give permissions to write to the markup file sudo chmod 777 markup.txt.
  • Modify the path of your Python 2.x installation in clientServer.php.
  • (If you are using anything other than a Mac) Modify the localhost path in features_extraction.py to your localhost path (or host the application on a remote server and make the necessary changes).
  • Go to chrome://extensions, activate developer mode, click on load unpacked and select the 'Extension' folder from our project.
  • Now, you can go to any web page and click on the extension in the top right panel of your Chrome window. Click on the 'Safe of not?' button and wait for a second for the result.
  • Done!

Abstract -

  • Naive users using a browser have no idea about the back-end of the page. The users might be tricked into giving away their credentials or downloading malicious data.
  • Our aim is to create an extension for Chrome which will act as middleware between the users and the malicious websites, and mitigate the risk of users succumbing to such websites.
  • Further, all harmful content cannot be exhaustively collected as even that is bound to continuous development. To counter this we are using machine learning - to train the tool and categorize the new content it sees every time into the particular categories so that corresponding action can be taken.

Take a look at the demo

A few snapshots of our system being run on different webpages -

spit_safe Fig 1. A safe website - www.spit.ac.in (College website)

drive_phishing Fig 2. A phishing website which looks just like Google Drive.

dropbox_phishing Fig 3. A phishing website which looks just like Dropbox

moodle_safe Fig 4. A safe website - www.google.com

malicious-web-content-detection-using-machine-learning's People

Contributors

philomathic-guy avatar jatakiajanvi12 avatar andy71195 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.