Chapter 4 - Enumeration
Chapter 4 - Enumeration
Enumeration
LECTURER: NGUYỄN THỊ THANH VÂN – FIT - HCMUTE
Contents
Enumeration Concepts
Techniques for Enumeration
26/03/2021 2
1
27/03/2021
Steps of Hacking
27/03/2021 3
Enumeration Concepts
27/03/2021 4
2
27/03/2021
Enumeration Concepts
27/03/2021 5
26/03/2021 6
3
27/03/2021
26/03/2021 7
27/03/2021 8
4
27/03/2021
26/03/2021 9
NetBIOS Enumeration
NetBIOS allows the communication in between different applications running on
different systems within a local area network.
NetBIOS service uses a unique 16-ASCII Character string in order to identify the
network devices over TCP/IP. The Initial 15 Characters are for identifying the device,
16th Character is to identify the service.
NetBIOS over TCP (NetBT) uses the following TCP and UDP ports:
UDP port 137 (name services)
UDP port 138 (datagram services)
TCP port 139 (session services)
Using NetBIOS Enumeration, an attacker can discover: -
List of Machines within a domain
File Sharing
Printer Sharing
Username
Group information
Password
26/03/2021 Policies 10
5
27/03/2021
NetBIOS Enumeration
26/03/2021 11
The nbstat
a useful tool to display information about NetBIOS over TCP/IP statistics.
It is also used to display information such as NetBIOS name tables, name cache,
and other information.
Command using nbstat utility is shown below:
nbtstat.exe –a "NetBIOS name of the remote system."
nbtstat -A 192.168.1.10
the nbstat command can be used along with several options
-a: With hostname, Display the NetBIOS name table, MAC address information.
-A: With IP Address, Display the NetBIOS name table, MAC address information.
-c: NetBIOS name cache information.
-n: the names registered locally by NetBIOS applications such as the server and redirector.
-r: a count of all resolved names by broadcast or the WINS server.
-s: NetBIOS sessions table and converts destination IP addresses to computer NetBIOS names.
-S Lists the current NetBIOS sessions, status, along with the IP address.
12
26/03/2021
6
27/03/2021
Enumeration Tools
26/03/2021 13
SNMP Enumeration
26/03/2021 14
7
27/03/2021
SNMP Enumeration
26/03/2021 15
8
27/03/2021
OpUtils
a Network Monitoring and troubleshooting tool for network engineers.
is powered by Manage Engines, support number of tools for Switch
Port & IP Address Management.
helps network engineers to manage their devices and IP Address Space
with ease.
performs network monitoring, detection of a rogue device intrusion,
bandwidth usage monitoring and more.
SolarWinds Engineer’s Toolset
a network administrator’s tool offers hundreds of networking tools for
detection and troubleshooting and network diagnostics.
26/03/2021 17
LDAP Enumeration
26/03/2021 18
9
27/03/2021
Jxplorer: www.jxplorer.org
LDAP Admin Tool: www.ldapsoft.com
LDAP Account Manager: www.ldap-account-manager.org
Active Directory Explorer: technet.microsoft.com
LDAP Administration Tool: sourceforge.net
LDAP Search: securityexploded.com
Active Directory Domain Services Management Pack:
www.microsoft.com
LDAP Browser/Editor: www.novell.com
26/03/2021 19
NTP Enumeration
26/03/2021 20
10
27/03/2021
Nmap
NTP server Scanner
Wireshark
NTPQuery
26/03/2021 21
SMTP Enumeration
26/03/2021 22
11
27/03/2021
26/03/2021 23
26/03/2021 24
12
27/03/2021
Enumeration Countermeasures
26/03/2021 25
26/03/2021 26
13
27/03/2021
26/03/2021 27
26/03/2021 28
14
27/03/2021
Q&A
26/03/2021 29
15