Certified Ethical Hacker Ethical Hacker Methodology โ Questions and Answers
Question 1: An ethical hacker reviews a target company's job postings, employee LinkedIn profiles, and DNS records without sending any packets to the target. Which phase and technique is this?
- Active scanning
- Passive reconnaissance (Correct answer)
- Gaining access
- Covering tracks
Correct answer: Passive reconnaissance
Gathering information from public sources without directly interacting with the target is passive reconnaissance.
Question 2: Which document is signed before an engagement begins to define what systems may be tested and the boundaries of the test?
- Rules of Engagement (Correct answer)
- Incident response plan
- Disaster recovery plan
- Acceptable use policy
Correct answer: Rules of Engagement
The Rules of Engagement defines scope, targets, timing, and limitations of the test.
Question 3: During scanning, a tester uses Nmap with the -sS flag. What type of scan is being performed?
- TCP connect scan
- UDP scan
- SYN stealth scan (Correct answer)
- Ping sweep
Correct answer: SYN stealth scan
The -sS flag performs a half-open SYN stealth scan that does not complete the TCP handshake.
Question 4: What is the primary goal of the 'maintaining access' phase of the methodology?
- Identify open ports
- Establish persistent access for return entry (Correct answer)
- Erase log files
- Map the network topology
Correct answer: Establish persistent access for return entry
Maintaining access focuses on creating persistence such as backdoors so the attacker can return.
Question 5: Which phase involves clearing logs and removing tools to avoid detection by defenders?
- Reconnaissance
- Scanning
- Covering tracks (Correct answer)
- Enumeration
Correct answer: Covering tracks
Covering tracks (clearing tracks) removes evidence such as logs and artifacts to evade detection.
Question 6: Enumeration typically follows scanning. What does enumeration extract that scanning does not?
- Live host IP addresses
- Active usernames, shares, and service details (Correct answer)
- Open port numbers
- ICMP echo replies
Correct answer: Active usernames, shares, and service details
Enumeration actively connects to extract detailed info like usernames, shares, and group memberships.
Question 7: A penetration tester wants legal protection clarifying they are authorized to test. Which agreement is most relevant?
- Non-disclosure agreement only
- Get-out-of-jail-free / authorization letter (Correct answer)
- Service level agreement
- Memorandum of understanding for marketing
Correct answer: Get-out-of-jail-free / authorization letter
A signed authorization letter grants explicit legal permission to perform the testing.
Question 8: Which type of penetration test gives the tester full knowledge of the network, including architecture diagrams and source code?
- Black-box testing
- White-box testing (Correct answer)
- Gray-box testing
- Blind testing
Correct answer: White-box testing
White-box testing provides the tester with complete internal knowledge of the target.
Question 9: In a black-box engagement, what does the tester start with?
- Full source code access
- Administrative credentials
- Little to no prior knowledge of the target (Correct answer)
- Complete network diagrams
Correct answer: Little to no prior knowledge of the target
Black-box testing simulates an outside attacker with no prior internal knowledge.
Question 10: What is the correct ordered sequence of the CEH hacking phases?
- Scanning, Recon, Access, Maintaining, Covering tracks
- Recon, Scanning, Gaining access, Maintaining access, Covering tracks (Correct answer)
- Recon, Access, Scanning, Covering tracks, Maintaining
- Scanning, Access, Recon, Maintaining, Covering tracks
Correct answer: Recon, Scanning, Gaining access, Maintaining access, Covering tracks
The standard sequence is reconnaissance, scanning, gaining access, maintaining access, then covering tracks.
Question 11: A tester uses Google search operators like 'site:' and 'filetype:' to find exposed documents. This technique is called what?
- Banner grabbing
- Google dorking (Correct answer)
- Fuzzing
- Pivoting
Correct answer: Google dorking
Using advanced search operators to find sensitive exposed data is known as Google dorking.
Question 12: Which methodology framework is a widely used standard for structuring penetration tests?
- PTES (Penetration Testing Execution Standard) (Correct answer)
- ITIL
- COBIT
- Six Sigma
Correct answer: PTES (Penetration Testing Execution Standard)
PTES defines a standard structure for conducting penetration tests across phases.
Question 13: After compromising one host, a tester uses it to attack deeper internal systems. What is this called?
- Enumeration
- Pivoting (Correct answer)
- Footprinting
- Sniffing
Correct answer: Pivoting
Pivoting uses a compromised host as a stepping stone to reach other internal systems.
Question 14: What distinguishes a vulnerability assessment from a penetration test?
- Vulnerability assessment exploits findings; pentest only lists them
- Vulnerability assessment identifies weaknesses; pentest actively exploits them (Correct answer)
- They are identical processes
- Penetration tests never require authorization
Correct answer: Vulnerability assessment identifies weaknesses; pentest actively exploits them
A vulnerability assessment identifies and lists weaknesses, while a penetration test attempts to exploit them.
Question 15: During footprinting, which tool would best retrieve domain registration and ownership details?
- Wireshark
- WHOIS (Correct answer)
- Metasploit
- John the Ripper
Correct answer: WHOIS
WHOIS queries return domain registration, ownership, and contact information.
Question 16: A tester captures a service's response containing version and OS hints by connecting to an open port. This is called what?
- Banner grabbing (Correct answer)
- Password spraying
- DNS poisoning
- Session hijacking
Correct answer: Banner grabbing
Banner grabbing collects service banners that often reveal software versions and OS details.
Question 17: Why must an ethical hacker document every action and finding during an engagement?
- To increase the bill
- For reproducibility, reporting, and legal accountability (Correct answer)
- Documentation is optional and rarely done
- To slow down the test
Correct answer: For reproducibility, reporting, and legal accountability
Thorough documentation supports reproducible results, clear reporting, and legal accountability.
Question 18: Which of these is an example of active reconnaissance?
- Reading a company's public press releases
- Performing a port scan against the target (Correct answer)
- Browsing employee social media
- Querying public WHOIS records
Correct answer: Performing a port scan against the target
Port scanning directly interacts with the target, making it active reconnaissance.
Question 19: What is the main purpose of the final reporting phase of a penetration test?
- To exploit remaining systems
- To deliver findings, risk ratings, and remediation guidance (Correct answer)
- To install persistence
- To scan for new hosts
Correct answer: To deliver findings, risk ratings, and remediation guidance
The reporting phase communicates findings, risk severity, and recommended remediation to the client.
Question 20: A tester uses the OSINT framework to gather intelligence. What does OSINT stand for?
- Open Systems Internal Network Testing
- Open Source Intelligence (Correct answer)
- Operational Security Intelligence
- Online Scanning Internet Tool
Correct answer: Open Source Intelligence
OSINT stands for Open Source Intelligence, gathered from publicly available sources.
Question 21: Which scanning technique is used specifically to identify live hosts on a network?
- Vulnerability scan
- Ping sweep (Correct answer)
- Password crack
- Privilege escalation
Correct answer: Ping sweep
A ping sweep sends ICMP echo requests across a range to find responsive live hosts.