GainSec in the Middle!

Created my own implementation of a man in the middle (MiTM) router/AP.

Out of the box it:

  • Checks if wireless interface is soft-blocked
  • Access Point Creation (wlan0_ap) via hostapd
  • DHCP + DNS via dnsmasq
  • Bridges vAP (br0) enables IP forwarding & NAT via iptables
  • Tears it all down smoothly; a must for troubleshooting
  • Outputs and logs almost everything
  • Aggregates all relevant logs into one directory
  • Prints (and logs) when new devices connect to the AP including at what date, time, MAC address and IP they were assigned
  • Optional: Generates CA * Key if missing, configures HTTPS redirection to local port, configures and starts SSLSplit
  • Optional: Dump traffic to PCAP via tcpdump
  • Optional: Live-view traffic via tcpdump
  • Optional: Preps cert for Android system import
  • Optional: Preps cert for Burp Suite import
  • And More

Check it out HERE

Leave a Reply