Giter VIP home page Giter VIP logo

wfpadtools's Introduction

DISCLAIMER experimental - PLEASE BE CAREFUL. Intended for reasearch purposes.

WFPadTools

The WFPadTools framework is a framework implemented as an Obfsproxy Pluggable Transport to develop link-padding-based website fingerprinting strategies in Tor. It was forked from the obfsproxy master branch at the torproject git.

It implements a framing layer for the Tor protocol that allows to add cover traffic and provides a set of primitives that can be used to implement more specific anti-website fingerprinting strategies.

To use this framework, developers can extend the WFPadTransport, WFPadClient and WFPadServer classes included in this module and use their methods to develop the pluggable transport that implements the specific countermeasure.

In addition to a protocol to insert dummy messages in a stream of Tor data, WFPadTools implements a set of primitives that have been proposed by Mike Perry in:

Multihop padding primitives specification

These primitives have been extracted from existing website fingerprinting designs within the research community, such as Tamaraw, CS-BuFLO and Adaptive Padding. They have been generalized in order to allow for a broader set of possible strategies.

For further details on the protocol see /doc/wfpadtools/wfpadtools-spec.txt.

Features

  • It allows to pad each specific message to a specified length or to specify a probability distribution to draw a value for the length each time.

  • It allows to specify the probability distributions for delays after data messages and delays after padding messages.

  • Since each end runs an instance of the transport, it allows to implement strategies that treat incoming and outgoing traffic independently.

  • It allows for constant-rate padding by specifying uniform distributions for the delays and allows to specify a general stop condition for padding. This allows to implements strategies such as BuFLO, CS-BuFLO and Tamaraw.

  • It allows to add padding in response to traffic coming upstream (e.g., web server or Tor) and/or in response to downstream traffic (coming from the other end). Distributions governing these two can be specified independently.

Limitations

Important note: this framework is intended for research purposes and it has the following limitations:

  • This module does not provide encryption. That is why it must be always combined with another transport that does provide it. For example, the transport that implements the final countermeasure by extending WFPadTransport might take care of this.

  • It only pads until the bridge but in a typical website fingerprinting scenario the adversary might be sitting on the entry guard. Any final website fingerprinting countermeasure should run padding until the middle node in order to protect against this threat model.

  • For now we assume the user is browsing using a single tab. Right now the SOCKS shim proxy (socks_shim.py module) cannot distinguish SOCKS requests coming from different pages. In the future, in case these primitives are implemented in Tor, there might be easier ways to get this sort of application-level information.

  • This implementation might be vulnerable to timing attacks (exploit timing timing differences between padding messages vs data messages. Although there is a small random component (e.g., state of the network and use of resources), a final implementation should take care of that.

  • It provides tools for padding-based countermeasures. It cannot be used for other type of strategies.

  • It cannot be used stand-alone (to obfuscate applications other than Tor, for instance).

wfpadtools's People

Contributors

mjuarezm avatar asn-d6 avatar blanu avatar nullhypothesis avatar yawning avatar david415 avatar aallai avatar cteberg avatar johngian avatar lunar-debian avatar sysrqb 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.