How To Install ident-user-enum on Kali Linux

In this tutorial we learn how to install ident-user-enum on Kali Linux. ident-user-enum is Query ident to determine the owner of a TCP network process

Introduction

In this tutorial we learn how to install ident-user-enum on Kali Linux.

What is ident-user-enum

ident-user-enum is:

This package is a simple PERL script to query the ident service (113/TCP) in order to determine the owner of the process listening on each TCP port of a target system.

This can help to prioritise target service during a pentest (you might want to attack services running as root first). Alternatively, the list of usernames gathered can be used for password guessing attacks on other network services.

There are three methods to install ident-user-enum 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 ident-user-enum Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install ident-user-enum

Install ident-user-enum Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install ident-user-enum using apt by running the following command:

sudo apt -y install ident-user-enum

Install ident-user-enum 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 ident-user-enum using aptitude by running the following command:

sudo aptitude -y install ident-user-enum

How To Uninstall ident-user-enum on Kali Linux

To uninstall only the ident-user-enum package we can use the following command:

sudo apt-get remove ident-user-enum

Uninstall ident-user-enum And Its Dependencies

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

sudo apt-get -y autoremove ident-user-enum

Remove ident-user-enum Configurations and Data

To remove ident-user-enum configuration and data from Kali Linux we can use the following command:

sudo apt-get -y purge ident-user-enum

Remove ident-user-enum configuration, data, and all of its dependencies

We can use the following command to remove ident-user-enum configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge ident-user-enum

Dependencies

ident-user-enum have the following dependencies:

References

Summary

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