Habu is an open source penetration testing toolkit that can perform various penetration testing tasks related to networks. These include ARP poisoning, ARP sniffing, SNMP cracking, fake FTP server creation, DHCP starvation, DHCP discover, Certificates (SSL/TLS) cloning, Denial of service attacks, TCP port scanning, TCP Flag analysis, social engineering, virtual hosts identification, and web technologies identification.
Habu is python tool that requires python3 and the following packages to be installed.
Matplotlib is an optional library that can be used to draw graphs of findings and analysis.
Habu can be installed using the following command.
pip3 install habu
The above command installs Habu toolkit and the packages. The alternate way of installing Habu is through cloning the toolkit from github repository and installing the dependencies using pip.
Network Penetration Testing with Habu
Habu can be run directly from the terminal with the desired test command. As mentioned above, Habu can be used for a number of network penetration testing tasks. For instance, we can run Habu for network sniffing using the following ARP command.
Similarly Habu can be used as an MITM framework using the following command to poison the network traffic using the ARP poisoning feature of the toolkit.
habu.arp.poison <victim’s ip address >
The above command allows the toolkit to manipulate the Address Resolution Protocol (ARP) table of the victim’s machine to redirect the traffic to the attacker’s machine. Packet forwarding must be enabled on the attacker’s machine in order to work as a router to send and receive the traffic. The above command can also be run with different optional flags like preferred interface (-i), verbose mode (-v) etc.
habu.arp.poison <optional flags> <victim’s ip address>
Habu can be used to get control of a web browser using the following command.
There are various other Habu commands that can be run in a similar fashion to test the network security.
What Bunny rating does it get?
Habu is a multi-tasking toolkit that can perform various penetration testing tasks on the network without the need to utilise multiple tools. However, majority of the tasks are related to information gathering rather than network attacks. As a result we will be awarding this tool a rating of 4 out of 5 bunnies.
Want to learn more about ethical hacking?
Do you know of another GitHub related hacking tool?
Get in touch with us via the contact form if you would like us to look at any other GitHub ethical hacking tools.
Latest posts by Adil Adeel (see all)
- Tulpar – An Open Source Web Application Vulnerability Scanner - February 7, 2019
- Webvulnscan – An Automated Web Application Vulnerability Scanner - January 29, 2019
- BLACKEYE – Open Source LAN Phishing Tool for Penetration Testing - December 2, 2018