CEH v13 Practice Exam — 100 Free Questions | Forestal Security
Free Practice Exam

EC-Council CEH v13
312-50 Practice Questions

100 free scenario-based practice questions with detailed explanations across all 5 exam domains. Updated for CEH v13 with AI-driven hacking, cloud security, IoT/OT, and 550+ attack techniques.

Free CEH v13 Practice Questions and Answers

Module-by-module study guide with 16 realistic practice questions, expert exam tips, and detailed explanations to help you pass the EC-Council CEH v13 (312-50) in 2026.

Why Free CEH v13 Practice Questions Matter for Exam Success

The EC-Council Certified Ethical Hacker (CEH) certification validates your ability to think like an attacker in order to defend systems, networks, and applications. The CEH v13 (312-50) is the latest version and the world's first AI-integrated ethical hacking certification, covering over 550 attack techniques across 20 comprehensive modules — from reconnaissance and social engineering through cloud security and cryptography.

The CEH exam contains 125 multiple-choice questions in 4 hours (240 minutes), giving you roughly 1 minute and 55 seconds per question. The passing score ranges from 60% to 85% depending on the difficulty of your specific question pool, as EC-Council uses a scaled scoring system. This means you cannot rely on a single study method — you need breadth across all 20 modules and depth in the most heavily weighted topics like system hacking, reconnaissance, and web application attacks.

Quality practice questions serve a critical role in CEH preparation. They help you identify which of the 20 modules you are weakest in, train you to recognize the tool-specific and scenario-based question patterns the exam uses, and build the analytical reflexes needed to choose the best answer when multiple options seem plausible. The questions below align with the current CEH v13 exam objectives and are grouped into five logical domains that map across all 20 modules.

CEH is approved under the DoD 8570.01-M directive and recognized under the newer DoD 8140 framework, making it one of the most valuable certifications for government and defense contractor positions requiring ethical hacking and vulnerability assessment skills. It is also aligned with the NICE 2.0 Framework and is globally recognized by employers across every industry.

Reconnaissance and Footprinting – CEH v13 Practice Questions

Modules 2–3 ~15% of Exam

Reconnaissance is the first phase of the CEH hacking methodology and one of the most heavily tested areas. This domain covers passive and active information gathering, OSINT tools and techniques, Google Dorking, DNS enumeration, WHOIS queries, social engineering, and the use of tools like Maltego, theHarvester, Shodan, and Recon-ng. The exam expects you to know not just what these tools do, but when and why you would choose one over another.

Practice Questions for Reconnaissance and Footprinting

Question 1
An ethical hacker uses the command dig axfr example.com @ns1.example.com. What technique is being performed?
  • A) DNS cache poisoning
  • B) DNS zone transfer
  • C) Reverse DNS lookup
  • D) DNS tunneling
✓ Correct Answer: B) DNS zone transfer
Explanation: The dig axfr command attempts a DNS zone transfer (AXFR), which retrieves all DNS records for a domain from the authoritative nameserver. If the server is misconfigured to allow zone transfers from any host, this reveals the entire DNS infrastructure including internal hostnames, mail servers, and subdomains.
Question 2
A pentester discovers that the target company has posted job listings requiring experience with "Palo Alto firewalls, Cisco ASA, and Splunk SIEM." What type of intelligence has the attacker gathered?
  • A) Active network scanning results
  • B) Technology profiling through competitive intelligence
  • C) Social engineering attack output
  • D) Vulnerability scan findings
✓ Correct Answer: B) Technology profiling through competitive intelligence
Explanation: Job postings are a passive reconnaissance goldmine. They reveal technology stacks, security tools, cloud platforms, and infrastructure details without any direct interaction with the target's systems. This is a form of competitive intelligence — publicly available information that reveals an organization's technical profile.
Question 3
An attacker uses Maltego to visually map relationships between email addresses, domains, IP ranges, and social media profiles of a target organization. This activity is BEST classified as:
  • A) Vulnerability scanning
  • B) OSINT footprinting and relationship mapping
  • C) Exploitation
  • D) Post-exploitation lateral movement
✓ Correct Answer: B) OSINT footprinting and relationship mapping
Explanation: Maltego is an Open Source Intelligence (OSINT) tool that uses "transforms" to query public data sources and visually map relationships between entities. It is used during the footprinting and reconnaissance phase to build a comprehensive picture of the target's digital footprint before any active engagement begins.
💡 Exam Tip

The CEH exam heavily tests tool identification. Know the primary purpose of each reconnaissance tool: theHarvester (email and subdomain collection), Maltego (relationship mapping), Shodan (internet-connected device search), Recon-ng (modular recon framework), FOCA (document metadata extraction). When a question describes an activity, match it to the correct tool.

Scanning, Enumeration, and Vulnerability Analysis – CEH v13 Practice Questions

Modules 4–6 ~20% of Exam

This domain covers the second and third phases of ethical hacking: scanning networks to discover live hosts and open ports, enumerating services to extract detailed information, and performing vulnerability analysis to identify exploitable weaknesses. Expect questions about Nmap scan types and flags, TCP/IP behavior, enumeration protocols (SNMP, LDAP, NetBIOS, NTP, SMTP), and vulnerability scanner output interpretation.

Practice Questions for Scanning, Enumeration, and Vulnerability Analysis

Question 4
Which Nmap scan type sends TCP packets with the FIN, PSH, and URG flags set, and relies on the target's RFC-compliant TCP stack to determine port state?
  • A) SYN stealth scan (-sS)
  • B) NULL scan (-sN)
  • C) XMAS scan (-sX)
  • D) TCP connect scan (-sT)
✓ Correct Answer: C) XMAS scan (-sX)
Explanation: An XMAS scan sets the FIN, PSH, and URG flags simultaneously (the packet is "lit up like a Christmas tree"). RFC 793-compliant systems respond with RST for closed ports and silently drop packets for open ports. This scan is stealthier than a SYN scan but does not work reliably against Windows systems, which do not follow the RFC strictly.
Question 5
During enumeration, an attacker queries UDP port 161 and successfully extracts system information, network interfaces, and routing tables using the default community string "public." Which protocol is being exploited?
  • A) LDAP
  • B) SNMP
  • C) NetBIOS
  • D) NTP
✓ Correct Answer: B) SNMP
Explanation: SNMP (Simple Network Management Protocol) runs on UDP port 161 and can reveal extensive system information if community strings are left at their defaults. The "public" community string provides read access, while "private" provides read-write access. SNMPv3 adds authentication and encryption, but many devices still run SNMPv1/v2c with default strings.
Question 6
What is the PRIMARY purpose of banner grabbing during the enumeration phase?
  • A) Cracking passwords on remote services
  • B) Identifying services, software versions, and operating systems from service responses
  • C) Encrypting traffic between the attacker and target
  • D) Performing denial of service against the target
✓ Correct Answer: B) Identifying services, software versions, and operating systems from service responses
Explanation: Banner grabbing captures the text response returned when connecting to a service (HTTP, FTP, SMTP, SSH). These banners often reveal the software name, version number, and sometimes the underlying operating system — information that helps attackers identify known vulnerabilities for those specific versions.
💡 Exam Tip

Memorize the key Nmap flags — they appear in many questions: -sS (SYN stealth), -sT (TCP connect), -sU (UDP), -sX (XMAS), -sN (NULL), -sF (FIN), -sA (ACK/firewall mapping), -sV (version detection), -O (OS detection), -A (aggressive). Also know the six Nmap port states: open, closed, filtered, unfiltered, open|filtered, closed|filtered.

System Hacking, Malware, and Social Engineering – CEH v13 Practice Questions

Modules 7–10 ~25% of Exam

This is the largest domain on the CEH exam. It covers the "gaining access" and "maintaining access" phases of the hacking methodology, including password cracking techniques, privilege escalation, steganography, rootkits, Trojans, viruses, worms, ransomware, fileless malware, APTs, social engineering attacks, and covering tracks. CEH v13 adds AI-assisted attack techniques in this domain.

Practice Questions for System Hacking, Malware, and Social Engineering

Question 7
An attacker has obtained NTLM password hashes from a compromised Windows system and uses them directly to authenticate to other systems on the network without cracking the plaintext password. This technique is called:
  • A) Password spraying
  • B) Pass-the-hash (PtH)
  • C) Credential stuffing
  • D) Kerberoasting
✓ Correct Answer: B) Pass-the-hash (PtH)
Explanation: Pass-the-hash exploits NTLM authentication by using the hash itself to authenticate, bypassing the need to know the plaintext password. This works because NTLM does not salt password hashes. Tools like Mimikatz, CrackMapExec, and Impacket's psexec.py are commonly used for this technique.
Question 8
An attacker hides a confidential document inside a JPEG image file so that the image appears normal when viewed. This technique is called:
  • A) Cryptography
  • B) Steganography
  • C) Obfuscation
  • D) Encoding
✓ Correct Answer: B) Steganography
Explanation: Steganography hides data within ordinary-looking carrier files — images, audio, video, or even text — without visibly altering them. Unlike cryptography, which makes data unreadable, steganography conceals the very existence of the hidden data. CEH tools to know include OpenStego, Steghide, and Snow (whitespace steganography).
Question 9
An attacker sends a carefully crafted email impersonating the CFO, urgently requesting a wire transfer from the finance department. This is an example of:
  • A) Vishing
  • B) Whaling
  • C) Baiting
  • D) Tailgating
✓ Correct Answer: B) Whaling
Explanation: Whaling is a form of spear phishing that specifically targets high-profile individuals like executives (the "big fish"). By impersonating or targeting C-suite executives, whaling attacks aim to manipulate high-value actions such as wire transfers, credential disclosure, or sensitive data access. Know all phishing types: phishing (broad), spear phishing (targeted individual), whaling (executive), vishing (voice), smishing (SMS).
Question 10
A fileless malware attack executes entirely in memory using PowerShell and WMI without writing any files to disk. Why is this technique particularly difficult to detect?
  • A) It uses strong AES-256 encryption
  • B) It leaves no files on disk for traditional antivirus file scanning to detect
  • C) It only targets Linux systems
  • D) It requires physical access to the machine
✓ Correct Answer: B) It leaves no files on disk for traditional antivirus file scanning to detect
Explanation: Fileless malware operates entirely in RAM using legitimate system tools like PowerShell, WMI, and .NET reflection. Traditional antivirus solutions scan files on disk, so they miss these memory-resident attacks. Detection requires endpoint detection and response (EDR) solutions that monitor process behavior, command-line arguments, and memory anomalies.
💡 Exam Tip

The CEH exam tests malware classification extensively. Know the differences: Virus (needs host file + user action), Worm (self-replicating, no host needed), Trojan (disguised as legitimate), RAT (remote control), Ransomware (encrypts files for payment), Rootkit (hides at kernel or user level), Logic bomb (triggered by condition), Fileless (memory-only). Also know Mimikatz — the exam asks about its modules frequently.

Network and Web Application Attacks – CEH v13 Practice Questions

Modules 11–17 ~25% of Exam

This domain covers a wide range of attack techniques: packet sniffing, ARP poisoning, session hijacking, DoS/DDoS, IDS/firewall evasion, web server and web application attacks (OWASP Top 10), SQL injection, wireless hacking, and mobile platform attacks. These modules are tool-heavy — the exam expects you to know which tool to use for each attack type and how common attacks work at the protocol level.

Practice Questions for Network and Web Application Attacks

Question 11
An attacker injects malicious JavaScript into a forum post. When other users view the post, the script executes in their browsers and sends their session cookies to the attacker's server. This is an example of:
  • A) Reflected XSS
  • B) Stored (persistent) XSS
  • C) DOM-based XSS
  • D) CSRF
✓ Correct Answer: B) Stored (persistent) XSS
Explanation: Stored XSS permanently saves the malicious script in the application's database (in this case, a forum post). Every user who views the affected page executes the script unknowingly. This is more dangerous than reflected XSS because it does not require tricking users into clicking a specially crafted URL — the payload is already waiting on the page.
Question 12
An attacker poisons the ARP cache of two hosts on the same network segment, causing their traffic to route through the attacker's machine. Which attack is being performed?
  • A) DNS spoofing
  • B) ARP poisoning / ARP spoofing
  • C) IP spoofing
  • D) MAC flooding
✓ Correct Answer: B) ARP poisoning / ARP spoofing
Explanation: ARP spoofing sends fake ARP replies to associate the attacker's MAC address with the IP address of the default gateway (or another target). This redirects traffic through the attacker's machine, enabling man-in-the-middle attacks, packet sniffing, and session hijacking. Tools include Ettercap, arpspoof, and BetterCAP. Defense: Dynamic ARP Inspection (DAI) on managed switches.
Question 13
An attacker sets up a rogue wireless access point with the same SSID as the corporate Wi-Fi in a nearby coffee shop. Employees unknowingly connect and the attacker intercepts their credentials. This is called:
  • A) Bluejacking
  • B) Evil twin attack
  • C) Wardriving
  • D) Deauthentication attack
✓ Correct Answer: B) Evil twin attack
Explanation: An evil twin attack creates a fraudulent access point that mimics a legitimate network's SSID. When victims connect, the attacker can perform man-in-the-middle attacks, credential harvesting, and SSL stripping. Tools include hostapd, WiFi-Pumpkin, and Fluxion. This is one of the most common wireless attacks tested on the CEH exam.
💡 Exam Tip

Master the OWASP Top 10 — it appears across multiple CEH modules. Know SQL injection (in-band, blind, out-of-band), XSS (stored, reflected, DOM), CSRF, IDOR, command injection, and directory traversal. For each vulnerability, know the attack mechanism, an example payload, and the primary defense. Also memorize the Aircrack-ng workflow for wireless: airmon-ng (monitor mode) → airodump-ng (capture) → aireplay-ng (deauth) → aircrack-ng (crack).

Cloud, IoT, Mobile, and Cryptography – CEH v13 Practice Questions

Modules 18–20 ~15% of Exam

This domain covers the newer and increasingly important areas of the CEH exam. CEH v13 significantly expanded cloud security (AWS, Azure, container security), IoT and OT hacking, mobile platform attacks, and cryptographic concepts. While this domain carries a smaller weight, these are areas where many candidates lose points due to insufficient preparation.

Practice Questions for Cloud, IoT, Mobile, and Cryptography

Question 14
In cloud computing, the "shared responsibility model" means that:
  • A) The cloud provider is responsible for all security aspects
  • B) Security responsibilities are divided — the provider secures the infrastructure while the customer secures their data, access controls, and configurations
  • C) The customer is responsible for everything including physical data center security
  • D) Neither party has security responsibilities
✓ Correct Answer: B) Security responsibilities are divided between provider and customer
Explanation: The shared responsibility model defines security boundaries. The cloud provider secures the physical infrastructure, hypervisor, and network fabric. The customer is responsible for their data, identity management, application security, and configuration. The division shifts depending on the service model: in IaaS, the customer manages the most; in SaaS, the provider manages the most.
Question 15
An IoT device ships with hardcoded default credentials and communicates sensor data over unencrypted HTTP. What is the PRIMARY security concern?
  • A) The device consumes too much bandwidth
  • B) The device is vulnerable to unauthorized access and traffic interception
  • C) The device has poor battery life
  • D) The device's user interface is difficult to navigate
✓ Correct Answer: B) The device is vulnerable to unauthorized access and traffic interception
Explanation: Hardcoded default credentials allow anyone who knows (or guesses) the defaults to take control of the device. Unencrypted HTTP transmissions allow attackers to intercept sensitive sensor data in transit. These are two of the most critical IoT vulnerabilities and are prominently featured in the OWASP IoT Top 10. The Mirai botnet famously exploited default credentials to compromise hundreds of thousands of IoT devices.
Question 16
Which protocol enables two parties to establish a shared secret key over an insecure communication channel without any prior shared secrets?
  • A) AES
  • B) Diffie-Hellman key exchange
  • C) MD5
  • D) WEP
✓ Correct Answer: B) Diffie-Hellman key exchange
Explanation: Diffie-Hellman is a key exchange protocol that allows two parties to create a shared secret over an insecure channel using modular exponentiation. It does not encrypt data itself — it establishes the key that will be used by a symmetric cipher like AES. Diffie-Hellman is used in TLS, IPSec, and SSH. It is vulnerable to man-in-the-middle attacks if not authenticated with digital certificates.
💡 Exam Tip

Know the difference between symmetric (AES, DES, 3DES, Blowfish — same key, fast) and asymmetric (RSA, ECC, Diffie-Hellman — key pair, slower) cryptography. Also know: MD5 and SHA-1 are deprecated hash algorithms, SHA-256/SHA-3 are current standards, and WPA3 with SAE is the most secure wireless encryption. The CEH v13 also tests container security concepts including container escape attacks and image scanning.

How to Use These Free CEH v13 Practice Questions Effectively

The CEH v13 covers 20 modules with over 550 attack techniques and 4,000+ hacking tools. Simply reading through practice questions will not prepare you for an exam this broad. Follow these proven strategies to maximize your study time and pass on your first attempt:

1

Build a hacking lab and practice with real tools. The CEH is a tool-heavy exam. Set up Kali Linux in a VM, install Metasploitable and DVWA as targets, and practice with Nmap, Metasploit, Wireshark, Burp Suite, and Aircrack-ng. Platforms like TryHackMe and HackTheBox provide structured, legal practice environments aligned with CEH objectives.

2

Memorize tool-to-purpose mappings. The CEH exam frequently describes a task and asks which tool you would use. Create flashcards matching tools to their functions: Nmap for scanning, SQLmap for SQL injection, Hashcat for password cracking, Cuckoo for malware analysis, Nikto for web server scanning, and so on. Know key command-line flags for Nmap especially.

3

Study all 20 modules — do not skip the "small" ones. Many candidates neglect IoT/OT, cryptography, and cloud security because they carry lower individual weights. But collectively these modules can represent 15-20% of your exam. A few questions from each neglected module add up to a failing score fast.

4

Take timed practice exams under real conditions. Set a timer for 4 hours and work through 125 questions without references. This builds endurance, reveals your pacing, and identifies modules where you need more review. Target 80%+ on practice tests before scheduling your exam.

5

Master the five phases of ethical hacking. Every question on the CEH exam maps to one of the five phases: Reconnaissance, Scanning, Gaining Access, Maintaining Access, and Covering Tracks. When reading a scenario, identify which phase the question is testing — this often eliminates two of the four answer choices immediately.

6

Review the OWASP Top 10 and the Cyber Kill Chain. These frameworks appear across multiple CEH modules. The OWASP Top 10 drives web application attack questions, while the Cyber Kill Chain helps you understand attack progression. CEH v13 also tests the OWASP Top 10 for AI systems — a new addition you should not overlook.

Frequently Asked Questions About the CEH v13 Exam

How many questions are on the CEH v13 exam?
The EC-Council CEH v13 (312-50) exam contains 125 multiple-choice questions. You have 4 hours (240 minutes) to complete the exam, giving you approximately 1 minute and 55 seconds per question. There is also a separate CEH Practical exam with 20 hands-on challenges in 6 hours for those pursuing the CEH Master designation.
What is the passing score for the CEH v13 exam?
The passing score ranges from 60% to 85% depending on the difficulty of your specific question pool. EC-Council uses a scaled scoring system, so harder question sets have a lower passing threshold. You will not know your exact cut score until you see your results. Most study guides recommend targeting 80%+ on practice exams to ensure a comfortable margin.
What experience is required before taking the CEH exam?
If you attend official EC-Council training, there are no prerequisites. If you choose to self-study, you must submit an eligibility application with proof of at least two years of information security work experience and pay a $100 eligibility fee. Many candidates hold Network+ or Security+ certifications before attempting CEH, though this is recommended rather than required.
Are free CEH practice questions enough to pass the exam?
Free practice questions are an excellent supplement but should not be your only study resource. The CEH v13 covers 20 modules with over 550 attack techniques. Combine practice questions with hands-on lab work using tools like Nmap, Metasploit, Wireshark, and Burp Suite, a comprehensive study guide, and timed full-length practice exams. Practical tool knowledge is critical for passing.
What is the difference between CEH and CompTIA PenTest+?
CEH is more globally recognized and compliance-friendly, appearing on the DoD 8570/8140 approved list. It covers 20 modules with broad theoretical and tool-based knowledge across all five hacking phases. PenTest+ is a more hands-on, scenario-driven exam focused on penetration testing methodology and reporting. CEH emphasizes breadth of knowledge while PenTest+ emphasizes depth of process. Many professionals hold both.
How long is the CEH certification valid?
The CEH certification is valid for three years. To renew, you must earn 120 EC-Council Continuing Education (ECE) credits within the three-year cycle and pay an annual membership fee of $80. ECE credits can be earned through training courses, attending conferences, teaching, publishing security research, or passing a newer version of the CEH exam.
Is CEH approved for DoD 8570 / 8140?
Yes, the CEH certification is on the U.S. Department of Defense (DoD) 8570.01-M approved baseline list and is recognized under the newer DoD 8140 framework. This makes CEH one of the most valuable certifications for government and defense contractor cybersecurity positions requiring ethical hacking or vulnerability assessment capabilities.
What tools should I know for the CEH v13 exam?
The CEH v13 references over 4,000 tools across 20 modules. Key tools to prioritize include Nmap (scanning), Metasploit (exploitation), Wireshark (packet analysis), Burp Suite (web app testing), Aircrack-ng (wireless), Hashcat and John the Ripper (password cracking), SQLmap (SQL injection), Nikto (web server scanning), theHarvester (OSINT), Maltego (relationship mapping), Mimikatz (credential extraction), and Cuckoo Sandbox (malware analysis). Know what each tool does, when to use it, and key command-line options.
What is new in CEH v13 compared to v12?
CEH v13 is the world's first AI-integrated ethical hacking certification. Key additions include AI-powered attack and defense techniques, ShellGPT integration for automated scripting and reconnaissance, expanded cloud security coverage for AWS and Azure, enhanced IoT and OT hacking modules, WPA3 wireless security and attacks, coverage of over 550 attack techniques (up from approximately 400 in v12), 221 hands-on labs, and training on OWASP Top 10 AI vulnerabilities.