113 - Pentesting Ident

Use Trickest to easily build and automate workflows powered by the world's most advanced community tools. Get Access Today:

Basic Information

The Ident Protocol is used over the Internet to associate a TCP connection with a specific user. Originally designed to aid in network management and security, it operates by allowing a server to query a client on port 113 to request information about the user of a particular TCP connection.

However, due to modern privacy concerns and the potential for misuse, its usage has decreased as it can inadvertently reveal user information to unauthorized parties. Enhanced security measures, such as encrypted connections and strict access controls, are recommended to mitigate these risks.

Default port: 113

Enumeration

Manual - Get user/Identify the service

If a machine is running the service ident and samba (445) and you are connected to samba using the port 43218. You can get which user is running the samba service by doing:

If you just press enter when you conenct to the service:

Other errors:

Nmap

By default (`-sC``) nmap will identify every user of every running port:

Ident-user-enum

Ident-user-enum 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. The list of usernames gathered can be used for password guessing attacks on other network services. It can be installed with apt install ident-user-enum.

Shodan

  • oident

Files

identd.conf

Use Trickest to easily build and automate workflows powered by the world's most advanced community tools. Get Access Today:

HackTricks Automatic Commands

Last updated