Use the netstat and ss commands from the Linux terminal to enumerate sessions, determine sessions.
- [Voiceover] We can run netstat in a Linux environment,…although the command line options are slightly different.…To start, I'll check the netstat Help file.…This lists the command line options.…We can see the familiar ones, such as r for routing,…n for numeric, and s for statistics.…However, many of the others have different meanings.…Lets run some of the common enumerations.…To start with, netstat lets me list the interfaces active…on the system, using the i switch.…
We can see the ethernet and loop back connection.…If I have the e switch, I get extended information on each.…This looks very much like the ifconfig command.…We can list the routing table using the rn switches.…The command netstat minus a,…lists all internet connections and unix sockets,…including listeners.…I have Iceweasel running.…And in the first section of output, we can see many…web connections and also a boot pc and icmp connection.…
There are any internal unix to main sockets, which are…listening for interprocess connections in the 2nd section.…
An overview of the CEH exam, blueprint, and eligibility criteria can be found at https://www.eccouncil.org/programs/certified-ethical-hacker-ceh/.
- What is enumeration?
- Understanding NetBIOS, SMB, SAMBA, and RPC
- Profiling hosts
- Investigating interfaces
- Enumerating SMB
- Enumerating SNMP and RPC
- Enumerating the Internet
- Working with other enumeration tools