Giter Club home page Giter Club logo

ikev2-mitm-attack's Introduction

IKEv2-mitm-attack

Awesome GitHub code size in bytes GitHub last commit GitHub FOSSA Status

A simple tool for performing Man-In-The-Middle(MITM) attack on Internet Key Exchange version 2 protocal(IKEv2) based on python library scapy.

Dependencies

- python >= 3.6
- scapy
- argparse

Usage

  • Show explicit usage information by run python mitm.py -h in terminal.

  • -i designate network interface to attack with(eg:en0 is default port in Mac)

  • -t1 designate first target to spoof

  • -t2 designate second target to spoof which is actual t1's communication target

  • -f enable IP forwarding(Linux only)

  • -q disable feedback messages

  • -c traces attack duration

Example:

python mitm.py -i en0 -t1 192.168.1.8 -t2 192.168.1.1 -f -q -c

Output:

sample

Validation

I monitor network activities through Wireshark, which gives me the result as screenshot pictured below:

wsharkmonitor

The result shows that we have become MITM between 196.168.1.2 and 192.168.1.1, which grants us the access to their communication information. Furthurmore, we may be able to decrypt the information we captured and change or delete what we want in it.

More

If you are looking for more about MITM, Bettercap is an easy to use, all-in-one solution with all the features you might possibly need for performing reconnaissance and attacking WiFi networks, Bluetooth Low Energy devices, wireless HID devices and Ethernet networks.

License

MIT

FOSSA Status

ikev2-mitm-attack's People

Contributors

freesinger avatar fossabot avatar

Watchers

James Cloos 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.