Coder Social home page Coder Social logo

wadi's Introduction

Wadi:

by Saif El-Sherei & Etienne Stalmans @ sensepost ([email protected])

Introduction:

Wadi is a python fuzzing harness for Microsoft Edge browser on Windows 10. it is based on two components "winappdbg" as a debugger and Python "Twisted" as a web server(it can aslo be done using the python BaseHTTPServer but twisted is more reliable).

Wadi is developed to be modular each componenet can be used on its own. The Grammar files are seperate as well to generate test cases seperate the testcase generation algorithm from Wadi it self which lets each user supply their own.

The debugger will be responsible for starting Edge and then attaching to the "MicrosoftEdgeCP.exe" , "RuntimeBroker.exe" and "MicrosoftEdge.exe" to monitor for crashes.

The webserver will be responsible of generating the served testcase using Google's PyV8 engine and then serving it for each request recieved.

Capabilities:

  • Timeout Set to restart the Target every 2 minutes.
  • filtering 0xFFFFFFFF and Null pointer derefs.
  • When crash is found calculate crash md5 hash and check if it was already recorded.
  • If crash is new save the last ten testcases served before the crash along with the crash log.
  • The crash log will contain the disassebly around EIP or RIP at the time of the crash plus the registers values.
  • Wadi will restart the target after it is killed or crashed.

Pre-Requisites:

Running:

  • Set default http:// handler to Microsoft Edge
  • Check with explorer.exe "http://127.0.0.1:8000/"
  • run from administarative console "cmd".
    wadi.py [Grammar File] [PORT]

- The javascript Grammar file.
- Port for the web server to listen on.

TODO:

  • adding a multiple windows browser support.
  • adding Linux and Mac OSX support.
  • adding AppStore classes ctypes.

License:

Wadi is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License (http://creativecommons.org/licenses/by-nc-sa/4.0/) Permissions beyond the scope of this license may be available at http://sensepost.com/contact us/.

wadi's People

Contributors

5a1f avatar

Watchers

 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.