Coder Social home page Coder Social logo

cafew / exposure-prediction Goto Github PK

View Code? Open in Web Editor NEW

This project forked from mahmoods01/exposure-prediction

0.0 2.0 0.0 16 KB

Code used in CCS 2018 paper: "Predicting Impending Exposure to Malicious Content from User Behavior"

Python 100.00%

exposure-prediction's Introduction

README

This repo contains the code used for predicting impending exposure to malicious content within-session, as proposed in the paper "Predicting Impending Exposure to Malicious Content from User Behavior." Please note that this code requires you to provide your own data for training and testing, as the original data used in the paper remains confidential, to protect the users' privacy.

Description

The three main scripts that one needs to run to evaluate the system are:

  • compute-features.py: Used to compute the features used by the neural networks to perform predictions.
  • train-nn.py: Used to train the neural network.
  • test-nn.py: Used to evaluate the neural network.

Each one of the scripts receives several arguements. The descriptions of the arguements can be seen by running the scripts with the --help option.

Dependencies

The main dependencies are:

  • keras
  • tensorflow
  • sklearn
  • pandas
  • annoy

The last dependency, annoy, is only needed if the SMOTE/ADASYN algorithms are used during training. As mentioned in the paper, we didn't find them to be useful.

Citation

If you use our code, please cite our paper:

@inproceedings{Sharif18Prediction,
  author = {Mahmood Sharif and Jumpei Urakawa and Nicolas Christin
			  and Ayumu Kubota and Akira Yamada},
  title = {Predicting Impending Exposure to Malicious Content from 
  			User Behavior},
  booktitle = {Proceedings of the 25th ACM SIGSAC Conference on 
  				Computer and Communications Security},
  year = 2018
} 

exposure-prediction's People

Contributors

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