Git Product home page Git Product logo

waasa's Introduction

Windows App Attack Surface Analyzer

It has three main features:

  • Display all file extensions and their associated programs from a windows machine
  • Test a content filter whitelist/blacklist against the file extensions
  • Give information about which file extensions are malicious

This can give a RedTeamer:

  • An overview of the attack surface of a machine
  • A list of files or ways the content filter can be bypassed

There is a online version:

Usage

Attack Surface

Waasa Attack Surface Windows

Content Filter Test

Waasa Content Filter Examine

Waasa Content Filter File

Usage Console (beta)

  • It uses ./waasa.json as default dump filename by default
  • You can copy waasa.json to another machine for analysis

Create a registry dump (to waasa.json):

> .\waasa.exe dump

Create CSV from dump:

> .\waasa.exe dump --csv output.csv

Create all files in ./output/:

> .\waasa.exe --files

Files

  • gathered_data.json: a dump from the registry of a machine and more, around 10MB
  • waasa.json: parsed registry dump (from gathered_data.json)
  • waasa.csv: Output to CSV
  • waasa.txt: Input of file extensions

Example Results

From a fresh Windows 10 VM with Visual Studio installed:

Notes about the results

Windows basically knows three types of actions when clicking a file:

  1. Execute the associated program
  2. Show "Open With" dialog, where a program is preselected (recommended)
  3. Show "Open With" dialog, no preselection or recommendation

Because of Windows restrictions, waasa will treat 1) and 2) mostly as the same. Which makes sense from an attackers perspective too, as users will likely click "Open With Recommended" entry.

The results are mostly based on Windows shlwap interface, which gives a lot of wrong results. I tried to improve the algorihmn, but there are still misidentifications possible. Double check your results (by manually clicking on the files).

OpenWith 1 Recommended

waasa's People

Contributors

dobin avatar

Stargazers

 avatar  avatar Tyler Robinson avatar JeffreyShran avatar  avatar A1GX avatar sreynaert avatar Sven Ulke avatar Emanuel Duss avatar AVA avatar  avatar  avatar

Watchers

 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.