CEHPC Exam Question 21
What is active recognition?
Correct Answer: B
Active recognition, also known as "Active Reconnaissance," is a critical phase of penetration testing where the tester gathers detailed information by directly interacting with the target system or network. Unlike
"Passive Reconnaissance," which involves collecting publicly available information from search engines (like Google Dorking) or social media without the target's knowledge, active recognition involves sending data packets to the target's infrastructure to elicit a response.
Common activities during the active recognition phase include port scanning, service version detection, and vulnerability scanning. For example, using a tool like Nmap to scan a server's open ports is a form of active recognition. The scanner sends "probes" to the server, and based on the server's reply (or lack thereof), the tester can determine which services are running (e.g., a web server on port 80 or a database on port 3306).
This phase is essential because it provides the technical "blueprint" of the target that the tester will use to plan an exploit.
However, active recognition carries a significant risk: it is much more likely to be detected by security systems like Intrusion Detection Systems (IDS) or firewalls. Because the tester is directly "knocking on the doors" of the target, their IP address and activity may be logged. In a professional pentest, the degree of
"stealth" used during active recognition is a key consideration. Testers may slow down their scans or use techniques to blend in with normal network traffic to avoid detection. For the organization, being able to detect active reconnaissance is a vital part of threat management, as it often serves as the "early warning sign" that a more sophisticated attack is being prepared. Mastering this phase allows a pentester to efficiently map the attack surface while understanding the operational limits of the target's defensive controls.
"Passive Reconnaissance," which involves collecting publicly available information from search engines (like Google Dorking) or social media without the target's knowledge, active recognition involves sending data packets to the target's infrastructure to elicit a response.
Common activities during the active recognition phase include port scanning, service version detection, and vulnerability scanning. For example, using a tool like Nmap to scan a server's open ports is a form of active recognition. The scanner sends "probes" to the server, and based on the server's reply (or lack thereof), the tester can determine which services are running (e.g., a web server on port 80 or a database on port 3306).
This phase is essential because it provides the technical "blueprint" of the target that the tester will use to plan an exploit.
However, active recognition carries a significant risk: it is much more likely to be detected by security systems like Intrusion Detection Systems (IDS) or firewalls. Because the tester is directly "knocking on the doors" of the target, their IP address and activity may be logged. In a professional pentest, the degree of
"stealth" used during active recognition is a key consideration. Testers may slow down their scans or use techniques to blend in with normal network traffic to avoid detection. For the organization, being able to detect active reconnaissance is a vital part of threat management, as it often serves as the "early warning sign" that a more sophisticated attack is being prepared. Mastering this phase allows a pentester to efficiently map the attack surface while understanding the operational limits of the target's defensive controls.
CEHPC Exam Question 22
What is a public IP address?
Correct Answer: B
A public IP address is aninternet-routable address assigned by an Internet Service Provider (ISP), making option B the correct answer. Public IPs uniquely identify a device or network on the global internet and allow communication with external systems.
Option A is incorrect because public IPs are unique, not shared by everyone. Option C is incorrect because IP addresses assigned by a modem or router to internal devices are private IP addresses, typically managed using Network Address Translation (NAT).
From an ethical hacking perspective, public IP addresses are significant because they representexternally exposed attack surfaces. Services accessible via public IPs may be scanned, targeted, or attacked if not properly secured.
Understanding the difference between public and private IP addressing helps ethical hackers assess network exposure, firewall configurations, and access control policies. Defenders can reduce risk by limiting services exposed on public IPs and enforcing strong security controls.
Public IP management is a core information security concept, influencing perimeter security, network design, and threat modeling in modern environments.
Option A is incorrect because public IPs are unique, not shared by everyone. Option C is incorrect because IP addresses assigned by a modem or router to internal devices are private IP addresses, typically managed using Network Address Translation (NAT).
From an ethical hacking perspective, public IP addresses are significant because they representexternally exposed attack surfaces. Services accessible via public IPs may be scanned, targeted, or attacked if not properly secured.
Understanding the difference between public and private IP addressing helps ethical hackers assess network exposure, firewall configurations, and access control policies. Defenders can reduce risk by limiting services exposed on public IPs and enforcing strong security controls.
Public IP management is a core information security concept, influencing perimeter security, network design, and threat modeling in modern environments.
CEHPC Exam Question 23
What is a vulnerability scan?
Correct Answer: A
Vulnerability scanning is a fundamental, automated cybersecurity practice designed to systematically identify and evaluate security weaknesses within an organization's IT infrastructure. Unlike penetration testing, which actively attempts to exploit flaws to gauge the depth of a potential breach, vulnerability scanning is generally a non-intrusive "reconnaissance-level" check. It uses specialized software tools-vulnerability scanners-to probe network devices, servers, and applications to compare discovered services against databases of known security flaws (Common Vulnerabilities and Exposures, or CVEs).
The process typically unfolds in several stages:
* System Discovery: Identifying all physical and virtual assets on the network, such as routers, physical hosts, and cloud endpoints.
* Vulnerability Detection: Probing open ports and services using techniques like "banner grabbing" or
"fingerprinting" to identify software versions and configurations.
* Prioritization and Reporting: Assigning severity scores (often using the CVSS framework) to identified flaws based on factors like ease of exploitation and potential impact.
Vulnerability scans are essential for maintaining a strong security posture because they can be run continuously and automatically at a lower cost than manual testing. They help organizations stay ahead of
"zero-day" and emerging threats by flagging missing patches, weak passwords, and insecure default configurations. While highly effective at identifying broad classes of vulnerabilities-such as SQL injection or outdated encryption-scanners can produce "false positives," requiring security teams to validate findings before proceeding with remediation. Ultimately, vulnerability scanning serves as the critical first step in a broader vulnerability management lifecycle.
The process typically unfolds in several stages:
* System Discovery: Identifying all physical and virtual assets on the network, such as routers, physical hosts, and cloud endpoints.
* Vulnerability Detection: Probing open ports and services using techniques like "banner grabbing" or
"fingerprinting" to identify software versions and configurations.
* Prioritization and Reporting: Assigning severity scores (often using the CVSS framework) to identified flaws based on factors like ease of exploitation and potential impact.
Vulnerability scans are essential for maintaining a strong security posture because they can be run continuously and automatically at a lower cost than manual testing. They help organizations stay ahead of
"zero-day" and emerging threats by flagging missing patches, weak passwords, and insecure default configurations. While highly effective at identifying broad classes of vulnerabilities-such as SQL injection or outdated encryption-scanners can produce "false positives," requiring security teams to validate findings before proceeding with remediation. Ultimately, vulnerability scanning serves as the critical first step in a broader vulnerability management lifecycle.
CEHPC Exam Question 24
What is the best practice to protect against malware?
Correct Answer: C
One of the most effective best practices to protect against malware isinstalling and regularly updating antivirus software, making option C the correct answer. Antivirus and endpoint protection solutions are designed to detect, block, and remove malicious software such as viruses, worms, trojans, ransomware, and spyware.
Modern malware evolves rapidly, using obfuscation and zero-day techniques to bypass outdated defenses.
Keeping antivirus software up to date ensures that the latest malware signatures, heuristics, and behavioral detection mechanisms are in place. Ethical hackers emphasize this practice because many successful attacks exploit systems with outdated or disabled security software.
Option A is incorrect because sharing login credentials on suspicious websites significantly increases the risk of malware infection and credential theft. Option B is incorrect because clicking on suspicious links is a common infection vector used in phishing and malware distribution campaigns.
From an ethical hacking perspective, malware prevention is part ofdefense-in-depth. Antivirus software should be combined with patch management, least-privilege access, secure browsing habits, and user awareness training. Ethical hackers often demonstrate how quickly unprotected systems can be compromised to highlight the importance of these controls.
Strong malware protection reduces attack surfaces, prevents data loss, and supports incident response efforts.
Maintaining updated antivirus software is a foundational information security control in modern environments.
Modern malware evolves rapidly, using obfuscation and zero-day techniques to bypass outdated defenses.
Keeping antivirus software up to date ensures that the latest malware signatures, heuristics, and behavioral detection mechanisms are in place. Ethical hackers emphasize this practice because many successful attacks exploit systems with outdated or disabled security software.
Option A is incorrect because sharing login credentials on suspicious websites significantly increases the risk of malware infection and credential theft. Option B is incorrect because clicking on suspicious links is a common infection vector used in phishing and malware distribution campaigns.
From an ethical hacking perspective, malware prevention is part ofdefense-in-depth. Antivirus software should be combined with patch management, least-privilege access, secure browsing habits, and user awareness training. Ethical hackers often demonstrate how quickly unprotected systems can be compromised to highlight the importance of these controls.
Strong malware protection reduces attack surfaces, prevents data loss, and supports incident response efforts.
Maintaining updated antivirus software is a foundational information security control in modern environments.
CEHPC Exam Question 25
What is a reverse shell?
Correct Answer: A
A reverse shell is a fundamental technique used during the "Gaining Access" and "Maintaining Access" phases of a penetration test. In a standard (bind) shell, the attacker connects to a specific port on the victim's machine to gain command-line access. However, most modern firewalls block incoming connections to unauthorized ports. To bypass this, a reverse shell reverses the connection logic: the victim's machine is tricked into initiating anoutgoingconnection to the attacker's machine, which is "listening" for the call.
This technique is highly effective because firewalls are typically much more permissive with "egress" (outgoing) traffic than with "ingress" (incoming) traffic. For example, an attacker might host a listener on port
443 (HTTPS). Since most organizations allow internal machines to browse the web over port 443, the firewall perceives the reverse shell connection as standard web traffic and allows it to pass. Once the connection is established, the attacker has a terminal interface on the victim's machine, allowing them to execute commands remotely.
In professional pentesting, establishing a reverse shell is often the primary goal of an exploit. It provides the
"foothold" needed for lateral movement and privilege escalation. Common tools used to create reverse shells include Netcat (nc), Bash, and Python scripts. To defend against this, organizations must implement "Egress Filtering," which restricts outgoing traffic to only known, necessary destinations. Security professionals also monitor for "long-lived" connections to unusual IP addresses, as these can be a tell-tale sign of an active reverse shell. Understanding how these connections manipulate network policy is crucial for any ethical hacker seeking to demonstrate how internal systems can be compromised despite robust perimeter defenses.
This technique is highly effective because firewalls are typically much more permissive with "egress" (outgoing) traffic than with "ingress" (incoming) traffic. For example, an attacker might host a listener on port
443 (HTTPS). Since most organizations allow internal machines to browse the web over port 443, the firewall perceives the reverse shell connection as standard web traffic and allows it to pass. Once the connection is established, the attacker has a terminal interface on the victim's machine, allowing them to execute commands remotely.
In professional pentesting, establishing a reverse shell is often the primary goal of an exploit. It provides the
"foothold" needed for lateral movement and privilege escalation. Common tools used to create reverse shells include Netcat (nc), Bash, and Python scripts. To defend against this, organizations must implement "Egress Filtering," which restricts outgoing traffic to only known, necessary destinations. Security professionals also monitor for "long-lived" connections to unusual IP addresses, as these can be a tell-tale sign of an active reverse shell. Understanding how these connections manipulate network policy is crucial for any ethical hacker seeking to demonstrate how internal systems can be compromised despite robust perimeter defenses.
- Latest Upload
- 114NVIDIA.NCA-AIIO.v2026-09-12.q52
- 163CompTIA.220-1202.v2026-09-12.q122
- 144SAP.C_CT325_2601.v2026-09-11.q26
- 307ECCouncil.312-50v13.v2026-09-11.q327
- 230Microsoft.AZ-801.v2026-09-11.q140
- 191SAP.C_TS422_2601.v2026-09-10.q42
- 179NVIDIA.NCA-AIIO.v2026-09-10.q36
- 347CuramSoftware.CS0-003.v2026-09-09.q231
- 250FINRA.SIE.v2026-09-09.q169
- 188Oracle.1Z0-1051-26.v2026-09-08.q22
[×]
Download PDF File
Enter your email address to download CertiProf.CEHPC.v2026-06-10.q54 Practice Test
