This tool is designed to automatically set up and configure a Linux-based server (e.g., Kali Linux) as an IPv6 DHCP, DNS, and Router Advertisement Daemon (RADVD) server. The script facilitates the deployment of a fully functional IPv6 environment, where the server can act as the default gateway, DNS server, and DHCPv6 server for the network clients.
- DHCPv6: Automatically set up a DHCPv6 server with a unique ULA (Unique Local Address) to assign IPv6 addresses to devices on the network.
- DNS: Configure a DNS server that maps domains to IPv6 and IPv4 addresses as specified by the user.
- Router Advertisement (RA): Broadcast router advertisements in the network to inform devices about router addresses and other configurations.
- Sniffing: Monitor and listen to Neighbor Discovery Protocol (NDP) activity in the network.
- Restore: Restore network settings to their previous state before any changes were made by the tool.
The tool is Python-based and requires a few dependencies to be installed on a Kali Linux environment.
-
Clone the repository:
python3 -m venv Enviro6 Source Enviro6/bin/active cd Enviro6 git clone https://github.com/ShkudW/Enviro6.git cd Enviro6
-
Install the necessary dependencies:
sudo apt-get update sudo apt-get install isc-dhcp-server dnsmasq radvd python3-pip netplan pip3 install colorama
-
Setting up DHCPv6 and DNSv6:
python3 Enviro6.py -iface <eth0> -dns -domain <example.co.il>
-
Sniffing NDP traffic:
python3 Enviro6.py -iface <eth0> -sniff
-
Restoring configurations:
python3 Enviro6.py -restore
Starting DHCP and DNS Servers:
The Victim (Windows 10 Machine, Before The Attack and After):
The Victim's DNS Server:
Stop The attack and Restore all the configuration on kali machine:
Sniffing function: