본문 바로가기
Life/open source

MITM attack tool

by SpeeDr00t 2016. 7. 11.
반응형

a MITM attack tool

Aims to do man in the middle attacks on multiple application layer protocols. for now, it only supports SSL protocol.

Feature

  • SSL Freak Attack

Installation

1) mv ssl_tls.py to ./scapy/layers

2) modify ./scapy/config.py to autoload ssl_tls laye

 config.py::Conf::load_layers 
    375,376c375
    <                    "sebek", "skinny", "smb", "snmp", "tftp", "x509", "bluetooth", "dhcp6", "llmnr", "sctp", "vrrp",
    <                    "ssl_tls", ]
    ---
    >                    "sebek", "skinny", "smb", "snmp", "tftp", "x509", "bluetooth", "dhcp6", "llmnr", "sctp", "vrrp"]


Usage

  1. redirect traffic to port 8888: iptables -t nat -A PREROUTING -p tcp --dport 443 -j REDIRECT --to-port 8888 or rdr on xxiface inet proto tcp from xxx.xxx.xxx.xxx/xx to any port = 443 -> 127.0.0.1 port 8888
  2. edit wind.py to import the right file, for example, add import freak to launch the SSL FREAK attack
  3. you can write your own module to implement a specific ssl attack, the compulsory funtions you need to supply are those in forward.py
  4. if man in the middle wants to connect to another server, set useOrinAddr = False, then set ip, port
  5. set doProcess = True to make the process functions take effect

https://github.com/liuhui0613/TheWind


반응형

'Life > open source' 카테고리의 다른 글

AutoLocalPrivilegeEscalation  (0) 2016.07.11
CHIPSEC: Platform Security Assessment Framework  (0) 2016.07.11
ADB-Backup-APK-Injection  (0) 2016.07.11
UEFI Firmware image viewer for GUI  (0) 2016.07.11
Automation framework for programmers  (0) 2016.07.11