How To Install firewalk on Debian 12

Learn how to install firewalk on Debian 12 with this tutorial. firewalk is active reconnaissance network security tool

Introduction

In this tutorial we learn how to install firewalk on Debian 12.

What is firewalk

firewalk is:

Firewalk is an active reconnaissance network security tool that attempts to determine what layer 4 protocols a given IP forwarding device will pass. It works by sending out TCP or UDP packets with a TTL one hop greater than the targeted gateway. If the gateway allows the traffic, it will forward the packets to the next hop where they will expire and elicit an ICMP_TIME_EXCEEDED message. Otherwise, it will likely drop the packets and there will be no response.

To get the correct IP TTL that will result in packets expiring one hop beyond the gateway, Firewalk needs to ramp up hop counts. It does this in the same manner that traceroute works. Once the scan is bound (that is, Firewalk knows the gateway hop count), it begins the scan. The ultimate destination host does not have to be reached, it only needs to be somewhere downstream, on the other side of the gateway, from the scanning host.

Firewalk helps in assessing the security configuration of packet filtering devices, such as those used in firewall systems. It is relevant for network security assessments, like network penetration tests (pentests).

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

Install firewalk Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install firewalk

Install firewalk Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install firewalk using apt by running the following command:

sudo apt -y install firewalk

Install firewalk 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 Debian. Update apt database with aptitude using the following command.

sudo aptitude update

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

sudo aptitude -y install firewalk

How To Uninstall firewalk on Debian 12

To uninstall only the firewalk package we can use the following command:

sudo apt-get remove firewalk

Uninstall firewalk And Its Dependencies

To uninstall firewalk and its dependencies that are no longer needed by Debian 12, we can use the command below:

sudo apt-get -y autoremove firewalk

Remove firewalk Configurations and Data

To remove firewalk configuration and data from Debian 12 we can use the following command:

sudo apt-get -y purge firewalk

Remove firewalk configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge firewalk

Dependencies

firewalk have the following dependencies:

References

Summary

In this tutorial we learn how to install firewalk package on Debian 12 using different package management tools: apt, apt-get and aptitude.