Giter Site home page Giter Site logo

nametoolong / oregano Goto Github PK

View Code? Open in Web Editor NEW
23.0 2.0 4.0 65 KB

Man-in-the-middle against Tor bridges

License: GNU General Public License v3.0

Python 100.00%
tor man-in-the-middle traffic-analysis onion tor-network censorship-circumvention anticensorship

oregano's Introduction

Oregano

MITM proxy for Tor, with GnuTLS's length hiding capability.

Capabilities

Designed as a research software, Oregano has more uses than research:

  • Make your Tor research pleasant

    Inject, drop or tamper with any cells between a client and its guard. Currently this is poorly documented, but it is always easier to hack 2000 lines of Python code than the whole Tor daemon.

  • Turn anything with an open ORPort into a bridge

    Whether it is a relay, a bridge or another MITM box, use Oregano to proxy its ORPort and use it as a bridge.

  • Tease the vanilla Tor daemon

    Combining the two points above, Oregano can create impossible conditions. Make malformed cells and try to find bugs in the original Tor software. Or wrap the only middle node in a chutney network as a bridge and watch Tor's path selection code go crazy.

  • Fight against flow analysis

    With GnuTLS's length hiding APIs, you can hide your flow characteristics in extra padding.

  • Go through your corporate firewall, or even GFW

    Even if your working place has a sophisticated Israeli firewall specially tuned for detecting Tor traffic, GnuTLS's length hiding capability and Oregano's ability to inject anything into a link help you sneak through it. See PIPIResistanceHandler for an example.

Installation

Make sure Python 2.7 is installed. Download a Windows release or manually install dependencies. That's all.

Usage

Edit configuration.py under directory oregano for configuration and run module oregano.proxy.

python -m oregano.proxy

Then set UseBridges or use a Tor controller to instruct a Tor client to connect to the listening interface. Or play around with ARP spoofing and redirect someone's bridge connection. Or whatever.

UseBridges 1
Bridge 127.0.0.1:40056

Dependencies

Security

This normally compromises anonymity by creating a bunch of side channels. However, given its TLS link manipulation nature, sometimes this might also help you.

oregano's People

Contributors

nametoolong avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

oregano's Issues

Migrate to cryptography

Our Python implementation of TAP and NTor is full of timing oracles. Maybe we should ditch PyCryptodome, eccsnacks and our awkward NTor implementation in favor of cryptography.

MITM

If the victim and I are in the same wlan,this tool use arp spoof to work.
And break the victim's tor connection.
Correct?

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.