Ethical Hacker Security Flashcards
21 cards from real Certified Ethical Hacker practice questions. Tap to flip, then mark Knew It or Still Learning — missed cards come back until you master them.
Read the first 20 Ethical Hacker Security flashcards as text
Which phase of ethical hacking involves actively probing a target to find open ports and live hosts?
Answer: Scanning
Scanning actively probes the target to discover live hosts, open ports, and services.
A penetration tester is given no prior knowledge of the target environment. What type of test is this?
Answer: Black-box
Black-box testing simulates an external attacker with zero internal knowledge of the system.
Which tool is most commonly used for network discovery and port scanning?
Answer: Nmap
Nmap is the standard tool for host discovery, port scanning, and service/version detection.
What does a TCP SYN scan rely on to avoid completing the full handshake?
Answer: Sending RST after SYN-ACK
A SYN scan sends a RST after receiving SYN-ACK, never completing the three-way handshake (half-open scan).
Which document legally authorizes a penetration test and defines its scope?
Answer: Rules of Engagement
The Rules of Engagement document defines scope, timing, and authorized actions for a test.
What is the primary goal of the 'covering tracks' phase for a malicious attacker?
Answer: Hide evidence of intrusion
Covering tracks involves deleting logs and hiding artifacts to evade detection.
Which type of footprinting collects data without directly interacting with the target system?
Answer: Passive footprinting
Passive footprinting gathers information from public sources without touching the target directly.
Which attack intercepts communication between two parties without their knowledge?
Answer: Man-in-the-middle
A man-in-the-middle attack secretly relays and possibly alters traffic between two endpoints.
What technique poisons a switch's CAM table to capture traffic on a LAN?
Answer: MAC flooding
MAC flooding overflows the CAM table, forcing the switch to broadcast frames like a hub.
Which encryption protocol is considered insecure for Wi-Fi and easily cracked?
Answer: WEP
WEP uses weak RC4 keying and is trivially cracked, making it obsolete.
A user receives a fraudulent email impersonating their bank to steal credentials. This is an example of:
Answer: Phishing
Phishing uses deceptive emails to trick victims into revealing sensitive information.
Which tool captures and analyzes network packets in real time?
Answer: Wireshark
Wireshark is a packet analyzer used to capture and inspect network traffic.
What does DNS cache poisoning achieve for an attacker?
Answer: Redirects users to malicious sites
DNS poisoning inserts false records so victims are redirected to attacker-controlled servers.
Which attack targets the human element rather than technical vulnerabilities?
Answer: Social engineering
Social engineering manipulates people into divulging information or performing actions.
Which web vulnerability allows an attacker to inject malicious SQL into a query?
Answer: SQL injection
SQL injection inserts malicious SQL into input fields to manipulate the backend database.
Stored cross-site scripting (XSS) is dangerous primarily because:
Answer: The payload persists and affects many users
Stored XSS saves the malicious script on the server, executing for every user who views the page.
Which attack forces an authenticated user to execute unwanted actions on a web app?
Answer: CSRF
Cross-Site Request Forgery tricks a logged-in user's browser into sending forged requests.
What is the best defense against SQL injection?
Answer: Parameterized queries
Parameterized (prepared) statements separate code from data, preventing injection.
Which tool is a web server vulnerability scanner that checks for outdated software and misconfigurations?
Answer: Nikto
Nikto scans web servers for known vulnerabilities, dangerous files, and outdated versions.
An attacker manipulates a URL parameter to access another user's record without authorization. This is:
Answer: Insecure Direct Object Reference (IDOR)
IDOR occurs when an app exposes references to internal objects without proper access checks.
Written and edited by Nathan Beja, founder of Practice Test Geeks, with AI assistance. Exam facts are checked against the official sources linked below. Editorial policy
Sources & references
Exam facts on this page (fees, format, dates, passing scores) are checked against these official sources; the date is our last check. Editorial policy
- store.eccouncil.org — Retake fee · verified Nov 2026
- cert.eccouncil.org — Test delivery, fees, exam format, renewal, time limit, score validity, retake policy, eligibility · verified Nov 2026