How To Install thc-ipv6 on Ubuntu 18.04

In this tutorial we learn how to install thc-ipv6 on Ubuntu 18.04. thc-ipv6 is The Hacker Choices IPv6 Attack Toolkit

Introduction

In this tutorial we learn how to install thc-ipv6 on Ubuntu 18.04.

What is thc-ipv6

thc-ipv6 is:

Attack toolkit for testing IPv6 and ICMPv6 protocol weaknesses.

Some of the tools included:

alive6: an effective alive scanning.

denial6: try a collection of denial-of-service tests against a target.

detect-new-ip6: detect new ip6 devices which join the network.

dnsdict6: parallelized dns ipv6 dictionary bruteforcer.

dos-new-ip6: detect new ip6 devices and tell them that their chosen IP collides on the network (DOS).

exploit6: test known ipv6 vulnerabilities against a target.

fake_mld6: announce yourself in a multicast group of your choice on the net.

fake_router6: announce yourself as a router on the network.

flood_advertise6: flood a target with random neighbor advertisements.

flood_router6: flood a target with random router advertisements.

implementation6: performs various implementation checks on ipv6.

parasite6: icmp neighbor solitication/advertisement spoofer.

redir6: redirect traffic to you intelligently (man-in-the-middle) with a clever icmp6 redirect spoofer.

rsmurf6: remote smurfer (known to work only against Linux at the moment).

thcping6: sends a hand crafted ping6 packet.

toobig6: mtu decreaser with the same intelligence as redir6.

There are three methods to install thc-ipv6 on Ubuntu 18.04. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install thc-ipv6 Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install thc-ipv6 using apt-get by running the following command:

sudo apt-get -y install thc-ipv6

Install thc-ipv6 Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install thc-ipv6 using apt by running the following command:

sudo apt -y install thc-ipv6

Install thc-ipv6 Using aptitude

If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Ubuntu. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install thc-ipv6 using aptitude by running the following command:

sudo aptitude -y install thc-ipv6

How To Uninstall thc-ipv6 on Ubuntu 18.04

To uninstall only the thc-ipv6 package we can use the following command:

sudo apt-get remove thc-ipv6

Uninstall thc-ipv6 And Its Dependencies

To uninstall thc-ipv6 and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:

sudo apt-get -y autoremove thc-ipv6

Remove thc-ipv6 Configurations and Data

To remove thc-ipv6 configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge thc-ipv6

Remove thc-ipv6 configuration, data, and all of its dependencies

We can use the following command to remove thc-ipv6 configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge thc-ipv6

References

Summary

In this tutorial we learn how to install thc-ipv6 package on Ubuntu 18.04 using different package management tools: apt, apt-get and aptitude.