Code Monkey home page Code Monkey logo

egression's Introduction

screen shot 2017-07-23 at 1 48 48 pm

Description

EGRESSION is a tool that provides an instant view of how easy it is to upload sensitive data from any given network.

It starts with a sensitive file with these contents, which is stored locally in plaintext. This file is used to test the egress / DLP controls on the network by attempting to connect outbound and upload this file using various techniques.

  • //US Social
  • 567-24-4901
  • //Credit card numbers
  • 4111111111111111
  • 5105105105105100
  • 4222222222222
  • //Dates of birth
  • 12.12.94
  • 12/12/1994
  • 12/12/94
  • 12 July 1994
  • //Canadian SIN
  • 202 275 186
  • //UK National Insurance Number (NINO)
  • ST 68 86 80 B

Testing procedure

screen shot 2017-07-24 at 11 30 06 am

It has four (4) levels of testing.

  1. INFORMATIONAL: Tells you if it can connect to ports ont he internet.
  2. LEVEL 0: Tells you if it can FTP a file to the internet in cleartext.
  3. LEVEL 1: Tells you if it can SCP files to the internet over various ports.
  4. LEVEL 2: Tells you if it can send the same sensitive file to the internet via DNS queries.

It does each of these in succession and then reports on which levels it failed to block.

screen shot 2017-07-24 at 11 27 51 am

Installation

The tool is made to be as self-contained as possible and easy to run. You can install the dependencies like so:

  1. Ensure you have curl installed.
  2. Ensure you have nc installed.
  3. git clone https://github.com/danielmiessler/egression.git
  4. cd egression
  5. ./egression

Presentations

  • Blackhat Arsenal 2017

Next Steps

Plans for the project include:

  • Adding additional levels, with additional egress methods, e.g.: sending data over NTP, ICMP, etc.
  • Additional fault checking for various scenarios

Credits and Thanks

  • Hat tip to William Coppola for previous and complementary work he's done in this space with his Fillabuster tool, which he also presented at BlackHat Arsenal back in 2015.
  • Thanks to Sasa Zdjelar and Jason Haddix for giving feedback on the tool.

egression's People

Contributors

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