🌍 Ethical Hacking · subject

Ethical Hacking Enumeration Syllabus

The Enumeration syllabus for Ethical Hacking in full: 3 chapters and 9 topics, every one listed below, plus 51 Enumeration flashcards with answers.

3Chapters
9Topics
51Flashcards

Enumeration syllabus: all 3 chapters

Expand any chapter to see its topics and sub-topics.

  1. Enumeration Concepts

    3 topics
    • What is Enumeration?
    • Techniques and Tools
    • Common Enumeration Targets
  2. Windows Enumeration

    3 topics
    • NetBIOS Enumeration
    • SMB Enumeration
    • LDAP Enumeration
  3. Linux/Unix Enumeration

    3 topics
    • NFS Enumeration
    • SNMP Enumeration
    • SSH Enumeration

Ethical Hacking Enumeration flashcards — 51 questions with answers

  1. What is enumeration in the context of ethical hacking?

    Enumeration is the active process of extracting detailed information from a target system by establishing active connections and sending directed queries. It gathers usernames, machine names, network shares, services, routing tables and other resources that can be used to identify attack vectors.

  2. In which phase of the hacking methodology does enumeration occur, and what precedes it?

    Enumeration is the third phase, following reconnaissance (footprinting) and scanning. It comes after the attacker has identified live hosts and open ports, and precedes gaining access (system hacking).

  3. How does enumeration differ from scanning?

    Scanning discovers live hosts, open ports and services passively/semi-actively, whereas enumeration goes further by creating active connections to extract detailed resource-level information such as user accounts, shares and service configurations.

  4. Why is enumeration considered an 'active' and intrusive technique?

    Because it requires establishing direct, active connections to the target and issuing queries against its services. This generates traffic and logs on the target, making it detectable and potentially illegal without authorization.

  5. List four key categories of information an attacker seeks during enumeration.

    1) Network resources and shares, 2) Usernames and group memberships, 3) Machine/host names and OS details, 4) Running services, applications and their configurations (plus routing tables, SNMP and DNS details).

  6. What is a 'null session' and why is it significant in enumeration?

    A null session is an unauthenticated connection to a Windows IPC$ share established with a blank username and password. It historically allowed attackers to enumerate users, groups, shares and policies on older Windows systems without credentials.

  7. Name three general-purpose tools commonly used for enumeration.

    Nmap (with NSE scripts), Metasploit auxiliary modules, and enum4linux. Others include Nessus, SuperScan, Hyena and the SysInternals suite.

  8. What is the Nmap Scripting Engine (NSE) and how does it aid enumeration?

    NSE is a Lua-based scripting framework built into Nmap that automates tasks like service enumeration, vulnerability detection and brute forcing. Scripts such as smb-enum-users, snmp-info and ldap-search perform protocol-specific enumeration.

  9. What is enum4linux used for?

    enum4linux is a Perl wrapper around Samba tools (smbclient, rpcclient, net, nmblookup) used to enumerate information from Windows and Samba systems over SMB/NetBIOS, including users, groups, shares, password policies and OS details.

  10. List five common enumeration targets (protocols/services) that ethical hackers focus on.

    NetBIOS (139), SMB (445), SNMP (161/UDP), LDAP (389/636), NFS (2049), plus SMTP (25), DNS (53), SSH (22) and NTP (123).

  11. On which port and transport does NetBIOS Session Service operate?

    NetBIOS Session Service operates on TCP port 139. (NetBIOS Name Service uses UDP 137 and Datagram Service uses UDP 138.)

  12. What are the three services provided by NetBIOS and their ports?

    1) Name Service (UDP 137), 2) Datagram Service (UDP 138), 3) Session Service (TCP 139).

  13. What is the maximum length and structure of a NetBIOS name?

    A NetBIOS name is a 16-character ASCII string: the first 15 characters identify the device/resource, and the 16th character is a suffix (service/resource type code) that specifies the record type.

  14. What does a NetBIOS suffix code of $<20>$ indicate?

    A suffix of $<20>$ indicates the File Server Service is running, meaning the machine is sharing files or has resources available. (Suffix $<00>$ = Workstation Service; $<1C>$ = Domain Controller group.)

  15. Which Windows command-line tool displays NetBIOS name table information for a host?

    nbtstat. For example, 'nbtstat -A <IP>' lists the remote machine's NetBIOS name table, and 'nbtstat -a <name>' does so by name.

  16. Name two dedicated tools used for NetBIOS enumeration besides nbtstat.

    nbtscan and SuperScan (also Hyena and the Nmap nbstat NSE script).

  17. What port does SMB use for direct hosting over TCP/IP (without NetBIOS)?

    TCP port 445. Modern SMB (SMB over TCP/'direct host') runs on 445, while legacy SMB over NetBIOS uses TCP 139.

  18. What is the SMB protocol primarily used for?

    Server Message Block (SMB) is an application-layer protocol providing shared access to files, printers, serial ports and inter-process communication between nodes on a network, primarily in Windows environments.

  19. Which tool suite command in enum4linux would you use to list SMB shares, and what underlying tool does it call?

    enum4linux -S <target> lists shares; it invokes smbclient (specifically 'smbclient -L') and net/rpcclient under the hood.

  20. What is the smbclient command to list available shares on a target anonymously?

    smbclient -L //<target> -N (the -N flag suppresses the password prompt for a null/anonymous session).

Show the other 31 Enumeration flashcards
  1. Which SMB version introduced pre-authentication integrity and AES-128-GCM encryption, and why does it matter for enumeration defense?

    SMB 3.1.1 (Windows 10 / Server 2016). It matters because encryption and signing reduce the information an attacker can passively glean and prevent tampering/relay during enumeration and access.

  2. Name two Nmap NSE scripts used specifically for SMB enumeration.

    smb-enum-shares and smb-enum-users (also smb-os-discovery, smb-enum-domains, smb-enum-sessions).

  3. What is the well-known IPC$ share and why is it targeted during SMB enumeration?

    IPC$ (Inter-Process Communication) is a hidden administrative share used for named-pipe communication. Attackers connect to it (often via null session) to enumerate users, groups, shares and policies through RPC calls.

  4. What does LDAP stand for and what is it used for?

    Lightweight Directory Access Protocol. It is a protocol for accessing and maintaining distributed directory information services, commonly used for authentication and to query directory objects (users, groups, computers) such as in Microsoft Active Directory.

  5. On which ports does LDAP operate for unencrypted and encrypted (SSL/TLS) connections?

    LDAP uses TCP/UDP port 389 for unencrypted (and StartTLS) connections and TCP port 636 for LDAP over SSL/TLS (LDAPS).

  6. What information can be enumerated via LDAP?

    Valid usernames, email addresses, group memberships, organizational units (OUs), computer accounts, domain naming context (base DN), and other directory attributes stored in the directory service.

  7. What is a 'Distinguished Name' (DN) in LDAP?

    A DN is the unique full path that identifies an entry in the directory tree, built from a sequence of relative attributes, e.g. 'cn=John Doe,ou=Users,dc=example,dc=com'.

  8. What is an anonymous LDAP bind and why is it a security concern?

    An anonymous bind connects to the LDAP directory without credentials. If allowed, it lets attackers query and enumerate directory objects (users, groups) without authentication, exposing sensitive organizational structure.

  9. Name two tools used for LDAP enumeration.

    ldapsearch (OpenLDAP client) and Nmap's ldap-search NSE script. Others include JXplorer, ldapenum, and Windows tools like ADExplorer.

  10. Write an example ldapsearch command to perform an anonymous query for all objects under a base DN.

    ldapsearch -x -H ldap://<target> -b "dc=example,dc=com" (-x = simple/anonymous auth, -H = URI, -b = base DN).

  11. What does NFS stand for and what is its purpose?

    Network File System. It is a distributed file system protocol (originally by Sun Microsystems) that allows a client to access files over a network as if they were on local storage, common in Unix/Linux environments.

  12. On which port does NFS typically run?

    NFS typically runs on TCP/UDP port 2049. It also relies on the portmapper/rpcbind service on port 111.

  13. What is the role of rpcbind/portmapper (port 111) in NFS enumeration?

    rpcbind (portmapper) maps RPC program numbers to network ports. Querying it (e.g., with rpcinfo -p) reveals which RPC services—including mountd and nfsd—are running and on what ports, aiding NFS enumeration.

  14. Which command lists the exported (shared) directories on an NFS server?

    showmount -e <target> ('showmount -e' displays the export list; 'showmount -a' shows all mounted clients and directories).

  15. What is the /etc/exports file and why is it relevant to NFS security?

    /etc/exports on the NFS server defines which directories are shared, to which hosts, and with what permissions (e.g., rw, ro, no_root_squash). Misconfigurations like exporting to '*' or no_root_squash allow attackers to read/write files or gain root access.

  16. What is the danger of the NFS 'no_root_squash' export option?

    no_root_squash allows a remote client's root user to act as root on the exported filesystem. An attacker who mounts the share can create SUID root binaries or modify system files, potentially leading to full compromise.

  17. What does SNMP stand for and what is it used for?

    Simple Network Management Protocol. It is used to monitor and manage network devices (routers, switches, servers, printers) by collecting and organizing information about them and modifying device configuration.

  18. On which ports does SNMP operate for agent queries and traps?

    SNMP agents listen on UDP port 161 for queries (GET/SET), and SNMP traps (asynchronous notifications) are sent to the manager on UDP port 162.

  19. What are the two default SNMP community strings and their access levels?

    'public' provides read-only (RO) access, and 'private' provides read-write (RW) access. These defaults are a major enumeration/attack vector when left unchanged.

  20. What is a Management Information Base (MIB) in SNMP?

    A MIB is a hierarchical, tree-structured database of managed objects, each identified by an Object Identifier (OID). It defines the properties and data that an SNMP agent exposes for querying and management.

  21. What is an OID in SNMP?

    An Object Identifier is a dotted-numeric string (e.g., 1.3.6.1.2.1.1.5.0) that uniquely addresses a specific managed object/variable within the MIB tree hierarchy.

  22. Which SNMP version first introduced strong authentication and encryption, and how do earlier versions differ?

    SNMPv3 introduced authentication (user-based, e.g., MD5/SHA) and encryption (DES/AES). SNMPv1 and SNMPv2c rely only on plaintext community strings with no encryption, making them easy to enumerate and sniff.

  23. Name two tools used for SNMP enumeration.

    snmpwalk (Net-SNMP suite) and snmp-check. Others include onesixtyone (community string brute-forcer) and the Nmap snmp-* NSE scripts.

  24. What does the command 'snmpwalk -v2c -c public <target>' do?

    It performs a series of SNMP GETNEXT requests (a 'walk') over the MIB tree using SNMP version 2c and the community string 'public', dumping all readable OIDs and values from the target agent.

  25. What sensitive information can SNMP enumeration reveal?

    Network interfaces and IP/routing tables, ARP tables, running processes, installed software, open TCP/UDP ports, usernames, device uptime, hardware/OS details and shares.

  26. On which port does SSH operate and what is its primary purpose?

    SSH operates on TCP port 22 by default. It provides encrypted remote login and secure command execution, replacing insecure protocols like Telnet and rlogin.

  27. What information can be enumerated from an SSH service without authentication?

    The SSH protocol version and software banner (e.g., 'SSH-2.0-OpenSSH_8.9'), supported key exchange/cipher/MAC algorithms, host key fingerprints, and sometimes supported authentication methods—useful for OS fingerprinting and vulnerability matching.

  28. How can you retrieve an SSH server's banner for enumeration using netcat?

    nc <target> 22 (connecting to port 22 causes the server to send its identification banner, e.g., 'SSH-2.0-OpenSSH_8.9p1 Ubuntu'). You can also use 'ssh -v' or Nmap's banner script.

  29. Which Nmap NSE scripts are useful for SSH enumeration?

    ssh2-enum-algos (lists supported encryption/kex/MAC algorithms), ssh-hostkey (retrieves host keys), and ssh-auth-methods (enumerates supported authentication methods).

  30. Compare SMB (port 445) and NetBIOS (port 139) session transport for SMB communication.

    Port 139 carries SMB encapsulated within a NetBIOS session (legacy, requires NetBIOS over TCP/IP). Port 445 carries SMB directly over TCP/IP without NetBIOS, which is faster and used by modern Windows. Both may be probed during enumeration.

  31. What are the primary countermeasures against enumeration attacks?

    Disable unused services and null sessions, change default SNMP community strings (or use SNMPv3), restrict anonymous LDAP/SMB access, enforce firewall rules on ports 137-139/445/161/389/2049, use strong authentication and encryption, and monitor/log for suspicious active connections.

Ethical Hacking Enumeration FAQ

What is in the Ethical Hacking Enumeration syllabus?

Ethical Hacking Enumeration is split into 3 chapters: Enumeration Concepts, Windows Enumeration and Linux/Unix Enumeration. Together they contain 9 topics.

How many chapters are in Ethical Hacking Enumeration?

3 chapters, containing 9 topics. The largest chapter is Enumeration Concepts, with 3 topics.

Are there flashcards for Ethical Hacking Enumeration?

Yes — a 51-card Enumeration deck, printed in full in the flashcards section of this page and available in the Examius app with spaced repetition. The free plan covers one exam of your choice, including its flashcards; Examius Pro, a one-time purchase, unlocks every other exam and deck.