Skip to content

A small SBC based MITM tool using SCAPY & NFQUEUE with a web socket based communications channel (C2)

License

Notifications You must be signed in to change notification settings

elevatedprompt/mitm_toolkit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This project you are assumes that you are using a system with 2 or more network interfaces in bridged mode. The original design was based on an OrangePi R1 http://www.orangepi.org/OrangePiR1/

Dependency Linux Kernel > 3.18 & br_netfilter. If you are using kernel < 3.18 comment out lines 81 & 82 in Bot.py

os.system('modprobe br_netfilter')
os.system('echo "1" > /proc/sys/net/bridge/bridge-nf-call-iptables')

Setup Instructions

Dependency:

  • apt install git python-pip bridge-utils build-essential python-dev libnetfilter-queue-dev

c2 Server Setup Instructions

C2 Commands:

  • ? for help
  • i for bot list
  • x to terminate c2
  • cmd=XXX to terminate all bots
  • cmd=0_XXX to terminate botid == 0
  • cmd=ps -aux (this will execute "ps -aux" on all connected bots)
  • cmd=0_ps -aux (this will execute "ps -aux" on the bot id 0)
  • cmd=0_spoofdns=google.com:1.2.3.4

MITM Node Setup Instructions

auto br0
iface br0 inet dhcp
        bridge_ports eth0 eth1
        bridge_stp off
        bridge_fd 0
        bridge_maxwait 0
  • Modify config.py to point node to your c2 instance
WS_SERVER = "ws://127.0.0.1:8080/"
  • sudo python Bot.py

About

A small SBC based MITM tool using SCAPY & NFQUEUE with a web socket based communications channel (C2)

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published