How To Install nast on Kali Linux

In this tutorial we learn how to install nast on Kali Linux. nast is packet sniffer and lan analyzer

Introduction

In this tutorial we learn how to install nast on Kali Linux.

What is nast

nast is:

Can sniff in normal mode or in promiscuous mode the packets on a network interface and log it. It dumps the headers of packets and the payload in ascii or ascii-hex format. You can apply a filter. The sniffed data can be saved in a separated file.

As analyzer tool, it has many features like:

  • Build LAN hosts list
  • Follow a TCP-DATA stream
  • Find LAN internet gateways
  • Discover promiscuous nodes
  • Reset an established connection
  • Perform a single half-open portscanner
  • Perform a multi half-open portscanner
  • Find link type (hub or switch)
  • Catch daemon banner of LAN nodes
  • Control arp answers to discover possible arp-spoofings
  • Byte counting with an optional filter
  • Write reports logging

It also provides a ncurses menu.

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

Install nast Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install nast

Install nast Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install nast

Install nast Using aptitude

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

sudo aptitude update

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

sudo aptitude -y install nast

How To Uninstall nast on Kali Linux

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

sudo apt-get remove nast

Uninstall nast And Its Dependencies

To uninstall nast and its dependencies that are no longer needed by Kali Linux, we can use the command below:

sudo apt-get -y autoremove nast

Remove nast Configurations and Data

To remove nast configuration and data from Kali Linux we can use the following command:

sudo apt-get -y purge nast

Remove nast configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge nast

Dependencies

nast have the following dependencies:

References

Summary

In this tutorial we learn how to install nast package on Kali Linux using different package management tools: apt, apt-get and aptitude.