πŸ‡ΊπŸ‡Έ Certified Ethical Hacker (CEH) Β· subject

Certified Ethical Hacker (CEH) Scanning, Enumeration, and Vulnerability Analysis Syllabus

The Scanning, Enumeration, and Vulnerability Analysis syllabus for Certified Ethical Hacker (CEH) in full: 3 chapters, 14 topics and 23 sub-topics, every one listed below, plus 51 Scanning, Enumeration, and Vulnerability Analysis flashcards with answers.

3Chapters
14Topics
23Sub-topics
51Flashcards

Scanning, Enumeration, and Vulnerability Analysis syllabus: all 3 chapters

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

  1. Network Scanning

    5 topics
    • Host Discovery Techniques
      • ICMP, ARP, and UDP ping sweeps
      • Live host identification
    • Port and Service Scanning
      • TCP connect, SYN stealth, and full-open scans
      • FIN, NULL, Xmas, and ACK scans
      • UDP scanning and idle/zombie scan
    • Banner Grabbing and OS Fingerprinting
      • Active vs passive OS fingerprinting
      • Service and version detection
    • Evading IDS and Firewalls During Scanning
      • Packet fragmentation and source spoofing
      • Decoy scanning and timing manipulation
    • Scanning Tools
      • Nmap and NSE scripting
      • Hping3, Masscan, and Unicornscan
  2. Enumeration

    5 topics
    • Enumeration Concepts
      • Techniques and default ports enumerated
    • NetBIOS, SMB, and SNMP Enumeration
      • NetBIOS name and share enumeration
      • SNMP MIB walking and community strings
    • LDAP, NTP, and NFS Enumeration
      • LDAP directory enumeration
      • NTP and NFS share enumeration
    • DNS, SMTP, and Other Service Enumeration
      • DNS cache snooping and zone transfer
      • SMTP VRFY/EXPN/RCPT enumeration
    • Enumeration Countermeasures
  3. Vulnerability Analysis

    4 topics
    • Vulnerability Assessment Concepts
      • Types: active, passive, internal, external
      • Assessment lifecycle
    • Scoring Systems and Databases
      • CVSS scoring metrics
      • CVE, NVD, CWE databases
    • Vulnerability Scanning Tools
      • Nessus, OpenVAS, Qualys, Nikto
    • Assessment Reports and Remediation

Certified Ethical Hacker (CEH) Scanning, Enumeration, and Vulnerability Analysis flashcards β€” 51 questions with answers

  1. What is the purpose of host discovery (network scanning) in the scanning phase?

    To identify which hosts on a target network are live/active and reachable, building a list of reachable IP addresses before deeper port and service scanning.

  2. Which scan type uses ICMP Echo Request (Type 8) / Echo Reply (Type 0) to determine if a host is alive?

    An ICMP ECHO ping (ping sweep). The scanner sends Echo Requests; live hosts reply with Echo Reply.

  3. What is an ARP ping scan and when is it most reliable?

    It sends ARP requests to discover live hosts; it is highly reliable and fast on a local subnet/LAN because hosts must answer ARP, and it cannot be blocked the way ICMP often is.

  4. In Nmap, which flag performs host discovery only (a ping scan) without port scanning?

    -sn (formerly -sP) performs a ping scan / no port scan, listing only which hosts are up.

  5. How does a TCP SYN (half-open / stealth) scan work, and why is it called 'half-open'?

    The scanner sends a SYN; an open port replies SYN/ACK and the scanner sends RST instead of completing the handshake. The connection is never fully established, so it is 'half-open' and less likely to be logged.

  6. In a TCP SYN scan, what response indicates an OPEN port versus a CLOSED port?

    Open port: SYN/ACK response. Closed port: RST (RST/ACK) response. No response or ICMP unreachable suggests filtered.

  7. How does a TCP Connect scan differ from a SYN scan?

    A Connect scan (Nmap -sT) completes the full three-way handshake (SYN, SYN/ACK, ACK) using the OS connect() call. It is more reliable but slower and more easily logged than the half-open SYN scan.

  8. In FIN, NULL, and Xmas scans, what response distinguishes an open (or filtered) port from a closed port?

    Closed port returns RST. Open/filtered port returns no response. These scans exploit RFC 793 behavior and do not work reliably against Windows hosts.

  9. Which TCP flags are set in an Xmas scan?

    FIN, PSH, and URG flags are all set (the packet is 'lit up like a Christmas tree').

  10. What characterizes a NULL scan?

    A TCP packet sent with no flags set at all; closed ports reply RST, open/filtered ports give no response. It only works on RFC 793-compliant (non-Windows) stacks.

  11. What is an ACK flag probe scan primarily used to detect?

    Firewall rule sets / filtering state β€” it does not determine open vs closed ports, but distinguishes filtered (stateful firewall, no response or ICMP) from unfiltered (RST returned) ports.

  12. What is an IDLE/IPID scan and what is its main advantage?

    A scan that uses a 'zombie' host's predictable IP ID sequence to probe a target so the target sees scans coming from the zombie, not the attacker. Advantage: it is fully blind/stealthy, hiding the attacker's true source IP.

  13. Which scan technique is used to probe UDP ports, and how are open vs closed UDP ports inferred?

    A UDP scan (Nmap -sU). Closed UDP port returns ICMP Port Unreachable (Type 3, Code 3). Open or filtered ports typically give no response, making UDP scanning slow and less certain.

  14. What is banner grabbing and what two types exist?

    Banner grabbing is fingerprinting that captures service banners to identify the application, version, and OS. Active banner grabbing sends crafted packets and analyzes replies; passive banner grabbing sniffs traffic / error messages without direct interaction.

  15. What is the difference between active and passive OS fingerprinting?

    Active fingerprinting sends specially crafted packets and analyzes the responses (TTL, window size, etc.). Passive fingerprinting only sniffs existing traffic, making it stealthier but slower and less precise.

  16. Which four TCP/IP fields are commonly analyzed for OS fingerprinting?

    TTL (Time To Live), TCP Window Size, DF (Don't Fragment) bit, and TOS (Type of Service). Different OSes use characteristic default values.

  17. What default TTL values typically indicate Linux/Unix versus Windows hosts?

    Linux/Unix commonly use a default TTL of 64; Windows commonly uses 128; many Cisco/network devices use 255.

  18. Which Nmap option enables service/version detection and which enables OS detection?

    -sV enables service and version detection (banner grabbing); -O enables OS detection/fingerprinting. -A enables aggressive scan (OS, version, scripts, traceroute).

  19. Name three common techniques used to evade IDS/IPS and firewalls during scanning.

    Packet fragmentation, source IP spoofing / decoy scanning, and source port manipulation. Others include IP address decoys, randomizing host order, and using slow timing.

  20. How does packet fragmentation help evade an IDS during scanning?

    Splitting probe packets into tiny fragments forces the IDS to reassemble them; if it cannot reassemble or inspect fragments properly, the malicious probe slips through undetected.

Show the other 31 Scanning, Enumeration, and Vulnerability Analysis flashcards
  1. What is a decoy scan and which Nmap flag performs it?

    A decoy scan makes scans appear to come from multiple spoofed source IPs alongside the real one so the target cannot identify the true attacker. Nmap flag: -D (e.g., -D RND:10 or -D decoy1,decoy2,ME).

  2. How can source port manipulation bypass poorly configured firewalls?

    Setting the scan's source port to a commonly trusted port (e.g., 53 DNS, 80, or 20 FTP-data) using Nmap -g/--source-port can slip past firewalls that whitelist traffic from those ports.

  3. What does Nmap's --mtu option do for evasion?

    It specifies a custom Maximum Transmission Unit (a multiple of 8) so Nmap fragments packets to that size, helping evade fragment-reassembly-weak IDS/firewalls.

  4. Besides Nmap, name three other tools used for scanning or host discovery.

    Hping3, Masscan, Netcat (banner grabbing), Angry IP Scanner, Unicornscan, and NetScanTools Pro are common alternatives.

  5. What is Hping3 commonly used for in scanning?

    Hping3 is a command-line packet crafter used to send custom TCP/UDP/ICMP packets for firewall testing, advanced port scanning, OS fingerprinting, and traceroute-style path discovery.

  6. Define enumeration in the context of ethical hacking.

    Enumeration is the active process of extracting detailed information β€” usernames, machine names, network shares, services, and resources β€” by making direct connections to a target system after host/port discovery.

  7. List four categories of information typically gathered during enumeration.

    Network resources/shares, usernames and group names, machine/host names, applications and banners, SNMP and DNS details, and routing tables.

  8. What ports are associated with NetBIOS, and what does NetBIOS enumeration reveal?

    NetBIOS uses UDP 137 (Name Service), UDP 138 (Datagram), and TCP 139 (Session Service). Enumeration reveals computer names, domain/workgroup, shares, logged-on users, and the NetBIOS name table.

  9. What Windows command-line tool lists NetBIOS name table information of a remote machine?

    nbtstat β€” e.g., 'nbtstat -A <IP>' returns the remote machine's NetBIOS name table; 'nbtstat -c' shows the local NetBIOS name cache.

  10. On which port does SMB operate directly over TCP/IP (without NetBIOS)?

    TCP port 445. SMB can run over NetBIOS (TCP 139) or directly over TCP 445.

  11. What is a null session and why is it a security concern in SMB/NetBIOS enumeration?

    A null session is an unauthenticated connection to the IPC$ share using a blank username and password. It can let attackers enumerate users, groups, shares, and policies without credentials.

  12. What does SNMP enumeration extract, and what default community strings are exploited?

    SNMP enumeration extracts device info, running processes, user accounts, routing tables, and ARP tables from the MIB. Default community strings 'public' (read-only) and 'private' (read-write) are commonly exploited.

  13. What is the MIB in the context of SNMP?

    The Management Information Base is a hierarchical, tree-structured database of object identifiers (OIDs) describing the managed device's data that SNMP can query.

  14. Which UDP ports does SNMP use?

    SNMP uses UDP port 161 for agent queries/responses and UDP port 162 for SNMP traps (notifications).

  15. What port does LDAP use, and what does LDAP enumeration reveal?

    LDAP uses TCP/UDP 389 (and 636 for LDAPS/SSL). Enumeration reveals valid usernames, departments, addresses, and the Active Directory/directory structure.

  16. What port does NTP use, and what can NTP enumeration disclose?

    NTP uses UDP port 123. Enumeration (via commands like ntpdc, ntptrace, ntpq) can disclose connected hosts, client IP addresses, internal host names, and OS information.

  17. What port does NFS use, and what is the risk enumerated via showmount?

    NFS commonly uses TCP/UDP 2049 (with portmapper on 111). 'showmount -e <host>' enumerates exported shares; misconfigured exports can expose sensitive directories to unauthorized mounting.

  18. Which DNS feature does DNS enumeration abuse to dump all records, and via which port?

    DNS zone transfer (AXFR) over TCP port 53. If a misconfigured DNS server allows it, an attacker can retrieve the entire zone file with all hostnames and IPs.

  19. Which SMTP commands are used to enumerate valid email users on a mail server?

    VRFY (verify a user), EXPN (expand a mailing list), and RCPT TO (recipient). Server responses reveal whether usernames/mailboxes exist. SMTP uses TCP port 25.

  20. List three effective enumeration countermeasures.

    Disable null sessions / restrict anonymous access (RestrictAnonymous), change or disable default SNMP community strings, disable unnecessary services and DNS zone transfers, and filter ports 139/445/161/389 at the firewall.

  21. Define vulnerability assessment.

    A vulnerability assessment is the systematic process of identifying, quantifying, classifying, and prioritizing security weaknesses (vulnerabilities) in systems, networks, and applications β€” without necessarily exploiting them.

  22. How does a vulnerability assessment differ from a penetration test?

    A vulnerability assessment identifies and reports weaknesses (broad, often automated, non-exploitative). A penetration test goes further by actively exploiting vulnerabilities to demonstrate real impact and is typically deeper but narrower.

  23. Compare active vs passive vulnerability assessment.

    Active assessment directly probes/interacts with hosts and network devices (sending packets) to find vulnerabilities. Passive assessment sniffs network traffic to infer vulnerabilities without directly touching targets.

  24. What does CVSS stand for, and what is its numeric score range and severity bands?

    Common Vulnerability Scoring System. Scores range 0.0–10.0: None (0.0), Low (0.1–3.9), Medium (4.0–6.9), High (7.0–8.9), Critical (9.0–10.0).

  25. What are the three metric groups in CVSS?

    Base (intrinsic, constant characteristics), Temporal (change over time, e.g., exploit maturity/patch availability), and Environmental (specific to a user's environment/impact).

  26. What is the CVE and who maintains it?

    Common Vulnerabilities and Exposures β€” a dictionary of publicly known security flaws, each given a unique CVE ID (e.g., CVE-2021-44228). It is maintained by MITRE (sponsored by US-CERT/DHS).

  27. What is the NVD and how does it relate to CVE?

    The National Vulnerability Database (NVD), run by NIST, is the US government repository that enriches CVE entries with CVSS scores, severity ratings, CWE mappings, and references.

  28. What is CWE and how does it differ from CVE?

    CWE (Common Weakness Enumeration) is a categorized list of software/hardware weakness types (e.g., CWE-79 XSS). CVE identifies specific instances of vulnerabilities in particular products, whereas CWE classifies the underlying weakness category.

  29. Name three popular vulnerability scanning tools.

    Nessus (Tenable), Qualys, OpenVAS, Nexpose/InsightVM (Rapid7), GFI LanGuard, and Nikto (web). These automate detection and CVSS-based prioritization of vulnerabilities.

  30. What key elements should a vulnerability assessment report contain?

    Executive summary, scan scope/methodology, list of findings with severity (CVSS) and CVE references, affected assets, risk ratings, and prioritized remediation recommendations.

  31. What are the four common remediation strategies for handling identified vulnerabilities?

    Mitigate/remediate (patch or reconfigure to fix), Transfer (e.g., insurance/third party), Accept (acknowledge low risk), and Avoid (eliminate the asset/feature). Remediation is prioritized by risk/CVSS severity.

Certified Ethical Hacker (CEH) Scanning, Enumeration, and Vulnerability Analysis FAQ

What is in the Certified Ethical Hacker (CEH) Scanning, Enumeration, and Vulnerability Analysis syllabus?

Certified Ethical Hacker (CEH) Scanning, Enumeration, and Vulnerability Analysis is split into 3 chapters: Network Scanning, Enumeration and Vulnerability Analysis. Together they contain 14 topics and 23 sub-topics.

How many chapters are in Certified Ethical Hacker (CEH) Scanning, Enumeration, and Vulnerability Analysis?

3 chapters, containing 14 topics and 23 sub-topics. The largest chapter is Network Scanning, with 5 topics.

Are there flashcards for Certified Ethical Hacker (CEH) Scanning, Enumeration, and Vulnerability Analysis?

Yes β€” a 51-card Scanning, Enumeration, and Vulnerability Analysis 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.