https://github.com/intrepidusgroup/mallory
Mallory - MiTM TCP and UDP Proxy
https://github.com/intrepidusgroup/mallory
Last synced: 6 months ago
JSON representation
Mallory - MiTM TCP and UDP Proxy
- Host: GitHub
- URL: https://github.com/intrepidusgroup/mallory
- Owner: intrepidusgroup
- License: other
- Created: 2012-02-08T23:08:31.000Z (over 14 years ago)
- Default Branch: master
- Last Pushed: 2022-06-16T11:57:35.000Z (about 4 years ago)
- Last Synced: 2024-11-20T06:34:13.529Z (over 1 year ago)
- Language: Python
- Homepage: http://intrepidusgroup.com/insight/mallory
- Size: 1.85 MB
- Stars: 314
- Watchers: 22
- Forks: 79
- Open Issues: 2
-
Metadata Files:
- Readme: README
- License: LICENSE
Awesome Lists containing this project
- awesome-network-stuff - **240**星 - MiTM TCP and UDP Proxy (<a id="42f9e068b6511bcbb47d6b2b273097da"></a>未分类 / <a id="3bd67ee9f322e2c85854991c85ed6da0"></a>投毒&&Poisoning)
README
INTRO
============
Mallory is an extensible TCP/UDP man in the middle proxy that is designed
to be run as a gateway. Unlike other tools of its kind, Mallory supports
modifying non-standard protocols on the fly.
CONFIGURATION
============
The goal is to man in the middle traffic for testing purposes. The ideal
setup for Mallory is to have a "LAN" or "Victim" network that mallory
acts as the gateway for.
Option 1: PPTP:
The easiest and quickest way to get up and going is to setup a pptp
server and have victims log into it. This works great with mobile devices
as most of them support a PPTP VPN client.
Option 2: Virtual Interfaces
If you're installing Mallory on a virtual machine and your target is on
a virtual machine, you can create a virtual mallory setup by having one
interface bridge, and a host only interface shared between the two VMs.
Option 3: Wireless Hotspot
If you have the ability to setup a wifi hotspot, you can route of the
traffic over wifi, through mallory, and back onto the internet. This
can be done in a few different ways depending on your hardware. See
airbase-ng as one possibility.
Option 4: Other
There are of course tons of other ways to setup a MITM especially with
software tools. The above are recommended over options like ARP poisoning
or DHCP exhaustion just because they're more stable.