Practice 60 original CEH questions covering ethical hacking phases, reconnaissance, scanning, exploitation, web attacks, and security controls, with answers and explanations.
Level: Certified Ethical Hacker (CEH)Difficulty: intermediate60 questions60 min
Choose a practice mode, answer each CEH question, then review the explanation. Wrong answers are saved locally for review.
Day streak: 0 daysSaved only on this device
Progress0 / 60
Time left: 00:00
No wrong answers saved yet.
No questions match your filters.
Question 1
What is ethical hacking?
Ethical hacking is authorized security testing performed with permission to discover weaknesses. Unauthorized access, malware, and reading private email are illegal activities.
Question 2
What is a penetration test?
A penetration test simulates real attacks within an approved scope to find vulnerabilities. It is not a backup, update, or password reset.
Question 3
What is usually the first phase of ethical hacking?
Reconnaissance, or footprinting, gathers information about the target before scanning or exploitation. The later phases come after information is collected.
Question 4
What is scope in a penetration test?
Scope defines which systems can be tested and what actions are allowed. It prevents accidental damage and keeps the engagement legal.
Question 5
What is a vulnerability?
A vulnerability is a weakness in a system or process. Patches, firewalls, and passwords are controls that reduce risk.
Question 6
What is an exploit?
An exploit is a way to use a vulnerability to gain access or cause harm. Scanners, backups, and VPNs are not exploits.
Question 7
What is risk in security?
Risk is usually expressed as the likelihood of a threat times the impact. Open ports, password length, and speed are related factors, not the definition of risk.
Question 8
What is a red team?
A red team acts like an adversary to challenge security controls. Blue teams defend, and support and marketing are unrelated.
Question 9
What is a blue team?
Blue teams monitor, defend, and respond to security events. Red teams attack, and database or sales teams have different roles.
Question 10
Which of the following are phases of ethical hacking? Select all that apply.
Ethical hacking includes reconnaissance, scanning, exploitation, post-exploitation, and reporting. Ignoring scope is unethical and prohibited.
Question 11
What is footprinting?
Footprinting is the process of collecting public and technical information about a target. It is not deletion, encryption, or firewall installation.
Question 12
What is OSINT?
OSINT uses public information such as websites, social media, and registration records. It is not installation, firewalls, or indexes.
Question 13
What is passive reconnaissance?
Passive reconnaissance observes public data and third-party sources without touching the target. Active techniques scan and interact with systems.
Question 14
What is active reconnaissance?
Active reconnaissance sends probes to the target and may generate logs. Public reading is passive.
Question 15
What is social engineering?
Social engineering exploits human trust to obtain information or access. Port scanning, encryption, and router configuration are technical controls.
Question 16
What is phishing?
Phishing uses fraudulent emails or messages that look legitimate to trick users. It is not encryption, scanning, or backup.
Question 17
What does a WHOIS lookup reveal?
WHOIS returns registrar, dates, and contact details for domains. It does not reveal passwords, temperatures, or firewall rules.
Question 18
What is DNS enumeration?
DNS enumeration finds subdomains, mail servers, and other records that reveal the attack surface. It is not deletion, encryption, or backup.
Question 19
What is pretexting?
Pretexting uses a believable story to trick a person into revealing data. It is not scanning, hashing, or VPN setup.
Question 20
What is a search engine footprint?
Attackers use search operators to find exposed files and directories. It is not a cache, log, or DNS zone.
Question 21
What is port scanning?
Port scanning identifies listening services and open ports. It is not encryption, updates, or password changes.
Question 22
Which tool is commonly used for port scanning?
Nmap is a network scanner used to discover hosts and services. Wireshark captures packets, and Excel or Outlook are not scanners.
Question 23
What is a SYN scan?
A SYN scan sends SYN packets and watches responses without completing the handshake. It is not a disk, virus, or backup scan.
Question 24
What is an open port?
An open port means a service accepts connections. A disabled adapter, blocked rule, or closed session is different.
Question 25
What is service enumeration?
Service enumeration identifies what software runs on open ports and its version. It is not deletion, restart, or printing.
Question 26
What is vulnerability scanning?
Vulnerability scanners compare systems against databases of known issues. Manual review, backups, and policies are not scanners.
Question 27
What is banner grabbing?
Banner grabbing connects to a service and reads its banner, which often reveals version details. It is not stealing images, blocking ads, or changing wallpaper.
Question 28
What is a ping sweep?
A ping sweep sends ICMP requests to find live hosts. Password tests, backups, and encryption are separate tasks.
Question 29
What is OS fingerprinting?
OS fingerprinting analyzes responses and open ports to identify the OS. It is not installation, deletion, or driver updates.
Question 30
Banner grabbing can reveal service versions.
Service banners often include software names and versions, which help attackers and testers identify known vulnerabilities.
Question 31
What is exploitation?
Exploitation turns a vulnerability into access or control. Backups, updates, and name changes are not exploits.
Question 32
What is Metasploit?
Metasploit provides exploits, payloads, and modules for authorized testing. Wireshark analyzes packets and Burp Suite is a web proxy.
Question 33
What is a payload?
A payload is the code that runs on a compromised system. Firewall rules, cables, and tapes are not payloads.
Question 34
What is privilege escalation?
Privilege escalation moves from lower to higher privileges, such as from user to administrator. It is not lowering security, deleting accounts, or encryption.
Question 35
What is lateral movement?
Lateral movement spreads access across the network after an initial foothold. It is not scanning, restarting, or backups.
Question 36
What is persistence?
Persistence lets attackers keep access after reboots, credential changes, or reconnection. Log deletion, passwords, and encryption are different activities.
Question 37
What is a backdoor?
A backdoor is a hidden access method that bypasses normal authentication. Firewalls, VPNs, and password managers are defensive tools.
Question 38
What is post-exploitation?
Post-exploitation includes privilege escalation, data collection, lateral movement, and persistence. It happens after initial access.
Question 39
What is a reverse shell?
In a reverse shell, the compromised system initiates a connection back to the attacker, which often bypasses inbound firewall rules. A bind shell listens on the target.
Question 40
A reverse shell connects from the target back to the attacker.
Reverse shells make the target connect outward to the attacker, which can evade inbound restrictions. Bind shells work the opposite way.
Question 41
What is SQL injection?
SQL injection inserts attacker-controlled SQL into queries to read or modify data. Backups, encryption, and renaming are not attacks.
Question 42
What is cross-site scripting (XSS)?
XSS injects scripts that run in a victim browser. It is not port scanning, hardware theft, or encryption.
Question 43
What is CSRF?
CSRF tricks an authenticated user into performing actions they did not intend. It is not a firewall, backup, or DNS record.
Question 44
What is the OWASP Top 10?
The OWASP Top 10 describes the most critical web application risks. It is not a product, language, or database standard.
Question 45
What is input validation?
Input validation rejects unexpected or malicious values before they are processed. It is not deletion, encryption, or theming.
Question 46
What is a session cookie?
Session cookies keep users authenticated between requests. Themes, logs, and firewall rules are not session identifiers.
Question 47
What is directory traversal?
Directory traversal uses path manipulation to read files outside the web root. It is not normal navigation, scanning, or permission changes.
Question 48
What is a web application firewall (WAF)?
A WAF filters HTTP traffic to block attacks. It is not a backup, DNS, or load balancer.
Question 49
What is IDOR?
IDOR lets users access objects by guessing or changing identifiers without authorization checks. The other expansions are not official.
Question 50
What is a security misconfiguration?
Misconfigurations include default credentials, open debug pages, and overly permissive settings. Strong passwords, encryption, and patches reduce risk.
Question 51
What is cryptography?
Cryptography uses algorithms and keys to protect confidentiality and integrity. It is not deletion, sorting, or backup.
Question 52
What is hashing?
Hashing produces a fixed-size digest that cannot be reversed, making it useful for integrity checks. Encryption is reversible, and hashing is not a backup or protocol.
Question 53
What is a salt in password hashing?
Salts make identical passwords produce different hashes and resist rainbow tables. It is not a manager, rule, or partition.
Question 54
What is WPA2?
WPA2 protects wireless networks with encryption and authentication. It is not a browser, database, or antivirus.
Question 55
What is malware?
Malware includes viruses, trojans, ransomware, and spyware. Patches, backups, and firewall rules are defenses.
Question 56
What is a trojan?
A trojan hides inside software that looks normal. Firewalls, cables, and indexes are not trojans.
Question 57
What is a rootkit?
Rootkits hide processes, files, and connections from normal tools. They are not password managers, VPNs, or resolvers.
Question 58
What is a honeypot?
A honeypot attracts attackers so defenders can observe techniques. It is not a backup, firewall, or domain.
Question 59
What is patch management?
Patch management keeps software updated to close known vulnerabilities. It is not scanning, log deletion, or layout changes.
Question 60
Match each security tool to its main purpose.
Nmap scans ports, Metasploit is an exploitation framework, Wireshark analyzes packets, and Burp Suite tests web applications.