Skip to content
/ Enviro6 Public

Enviro6 is a Python-based script for traffic management based on IPv6 in a local network The tool uses a DHCPv6 server and a DNS server, and allows a good infrastructure for a variety of man-in-the-middle attacks and poisoning DNS records

Notifications You must be signed in to change notification settings

ShkudW/Enviro6

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

63 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Enviro6 - IPv6 DHCP & DNS Server Configuration Tool and Sniffing Tool

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.

Key Features

  • 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.

Installation

The tool is Python-based and requires a few dependencies to be installed on a Kali Linux environment.

  1. Clone the repository:

    python3 -m venv Enviro6
    Source Enviro6/bin/active
    cd Enviro6
    git clone https://github.com/ShkudW/Enviro6.git
    cd Enviro6
  2. Install the necessary dependencies:

    sudo apt-get update
    sudo apt-get install isc-dhcp-server dnsmasq radvd python3-pip netplan
    pip3 install colorama

Examples

  • 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

PoC:

Starting DHCP and DNS Servers:

image

The Victim (Windows 10 Machine, Before The Attack and After): image

The Victim's DNS Server:

image

Stop The attack and Restore all the configuration on kali machine:

image

Sniffing function:

image

Enjoy!

About

Enviro6 is a Python-based script for traffic management based on IPv6 in a local network The tool uses a DHCPv6 server and a DNS server, and allows a good infrastructure for a variety of man-in-the-middle attacks and poisoning DNS records

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages