Giter Club home page Giter Club logo

webshoot's Introduction

WebShoot

Framework for analysis of suspicious website

! UNDER DEVELOPMENT !

Features

  • Launch a VM and open a website with multiple browsers.
  • For each browser, do a screenshot of the loaded webpage.
  • Take a PCAP of the full browsing session
  • Pass all requests through a proxy (currently mitmdump)
  • Automate the full process

Installation

Host preparation

  1. Install mitmproxy: $ sudo apt-get install mitmproxy
  2. Check that tcpdump is installed

VM preparation

  1. Install operating system of choice (dev/test on Windows 10)
  2. Install Python 2.7
  3. pip install selenium
  4. pip install Bottle
  5. Install Firefox
  6. Install Selenium drivers for Internet Explorer and Firefox
  7. Set a password for user (required to run remotely script)
  8. Enable auto-logon of user
  9. Copy payload-rest.py to C:\Scripts and run the script
  10. While the script is still RUNNING, take a snapshot namedwebshot

Usage

Define the configuration in configuration.py. A skeleton of configuration is offered in default-configuration.py.

When configuration is defined, execution is done with:

sudo python ./webshot.py -u "http://www.autopsit.org"

Output

In ./cases, you fill have the following structure:

  • A sub-directory with the FQDN
  • A sub directory per run of the script
  • A capture of all the traffic passing through proxy: proxy_traffic.txt
  • A logfile of the proxy output (MITMPROXY format): proxy.log
  • A full tcpdump capture: capture.pcap
  • A zip file with screenshots of the website for each browser selected in payload-rest.py

Others (cheat sheet)

Note for Proxy users, to use PIP, set proxy with the following command

	set HTTP_PROXY=http://[username]:[password]@[proxy address]:[port]

Known issues

  • When HTTP_PROXY is defined, it interfere with normal script behaviour. Variables should be unset for the execution:
	unset HTTP_PROXY
	unset HTTPS_PROXY
	unset http_proxy
	unset https_proxy

webshoot's People

Contributors

ddurvaux avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

webshoot's Issues

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.