Limited-Time Offer: Enjoy 50% Savings! - Ends In 0d 00h 00m 00s Coupon code: 50OFF
Welcome to QA4Exam

Practice questions demo

CEHPC Exam Dumps and Practice Questions

Questions 1 to 5 of the 125-question CEHPC bank, each with its correct answer and an explanation. This is page 1 of 25.

1 / 25

Actual CertiProf CEHPC Exam Questions

Question 1

What is privilege escalation?

Correct answer: B

Comprehensive and Detailed 250 to 300 words of Explanation From Ethical Hacking documents:

Privilege escalation is a critical phase in the cyber-attack lifecycle where an adversary seeks to expand their influence within a target environment after gaining an initial foothold. In standard security architectures, users are granted the 'least privilege' necessary to perform their duties; however, attackers aim to bypass these restrictions to access sensitive data or execute restricted commands. This process is categorized into two distinct dimensions: horizontal and vertical escalation.

Horizontal privilege escalation (also known as lateral movement) occurs when an attacker gains access to resources belonging to another user with a similar level of permissions. This is often achieved through credential theft, session hijacking, or exploiting vulnerabilities in peer-level applications. While the attacker's authorization level remains the same, their reach increases as they assume different identities.

Vertical privilege escalation, or privilege elevation, is the process of moving from a standard user account to one with higher administrative or 'root' privileges. This typically involves exploiting system bugs, misconfigurations, or unpatched vulnerabilities in the kernel or operating system. For instance, an attacker might use an exploit to trick a high-privileged service into executing malicious code on their behalf. Gaining root or administrator status is often the ultimate goal for an attacker, as it provides unrestricted control over the entire system, allowing for the deployment of malware, modification of security logs, and total data exfiltration. Effective defense against this threat involves implementing zero-trust architectures, rigorous patch management, and continuous monitoring for unauthorized permission changes.


Question 2

Is it possible to perform geolocation phishing?

Correct answer: B

Comprehensive and Detailed 250 to 300 words of Explanation From Ethical Hacking documents: Geolocation phishing is an advanced social engineering technique used to trick a victim into revealing their precise physical location. This is typically achieved by sending the target a link to a deceptive web page that appears to offer a legitimate service or interesting content. When the user clicks the link, the page requests permission to access the device's location services (GPS). If the user clicks 'Allow,' the exact coordinates are transmitted back to the attacker.

One of the most prominent tools used in the ethical hacking course for this purpose is Seeker. Seeker is an open-source tool that creates a fake website---often mimicking a 'Near Me' service or a weather app---to entice the user into sharing their location. Unlike standard IP-based geolocation, which only provides a general area based on the Internet Service Provider's location, Seeker uses the device's actual GPS data to provide accuracy within meters.

This technique is a powerful example of how attackers can combine technical vulnerabilities with human psychology. In a professional penetration test, geolocation phishing might be used to demonstrate how an executive could be tracked or how a remote worker's location could be compromised. Defending against this threat requires high user awareness: individuals should never grant location permissions to unfamiliar websites or links received via unsolicited emails or messages. It highlights that sensitive data isn't just limited to passwords; it also includes the physical whereabouts of individuals.


Question 3

What is a public IP?

Correct answer: A

Comprehensive and Detailed 250 to 300 words of Explanation From Ethical Hacking documents: A public IP address is a fundamental element of the global internet infrastructure, serving as a unique identifier for a device or network gateway on the public web. These addresses are assigned by Internet Service Providers (ISPs) to their customers. Unlike private IP addresses, which are used for internal communication within a local network (like your home or office Wi-Fi), a public IP is globally unique and routable across the entire internet.

In the context of information security, the public IP represents the 'front door' of an organization's digital presence. It is the address that external servers, websites, and hackers see when a connection is made. For example, when an ethical hacker performs an 'External Penetration Test,' they are targeting the organization's public IP to see what services (like web servers or VPN gateways) are exposed to the world.

Understanding the difference between a public IP and a private IP is crucial for managing security perimeters. While a modem or router might assign private IPs to internal devices (Option B), the router itself holds the public IP assigned by the ISP to communicate with the rest of the world. Protecting the public IP involve using firewalls and intrusion prevention systems to ensure that only legitimate traffic is allowed into the internal network. Because this address is visible to everyone, it is often the first point of contact for reconnaissance activities like port scanning or Google Dorking, making it a vital element to monitor and secure.


Question 4

What is the main purpose of a "SQL injection" attack?

Correct answer: C

Comprehensive and Detailed 250 to 300 words of Explanation From Ethical Hacking documents: SQL Injection (SQLi) is one of the most prevalent and damaging information security threats targeting web applications. Its main purpose is to exploit a database by manipulating Structured Query Language (SQL) commands through user-supplied input. This occurs when an application fails to properly filter or 'sanitize' data entered into forms, URL parameters, or cookies, allowing an attacker to 'inject' their own SQL code into the query that the application sends to the back-end database.

When successful, a SQL injection attack can have catastrophic consequences for an organization's data integrity and confidentiality. An attacker can bypass authentication to log in as an administrator without a password, view sensitive user data, modify or delete database records, and in some cases, gain administrative control over the entire database server. A classic example is the ' OR 1=1 -- injection, which forces a query to return 'true' regardless of the credentials provided, effectively opening the door to the system.

Managing the threat of SQLi is a top priority for web security. The most effective defense is the use of 'Parameterized Queries' (also known as prepared statements), which ensure that the database treats user input as data rather than executable code. Additionally, implementing 'Input Validation' and the 'Principle of Least Privilege' for database accounts helps mitigate the potential damage. From an ethical hacking standpoint, identifying SQLi vulnerabilities is a core component of vulnerability scanning and manual testing. Because databases often hold an organization's most valuable assets---including customer identities and financial records---protecting them from injection attacks is a non-negotiable aspect of modern information security management.


Question 5

What is Nmap?

Correct answer: C

Comprehensive and Detailed 250 to 300 words of Explanation From Ethical Hacking documents: Nmap, short for 'Network Mapper,' is one of the most critical tools in the reconnaissance and scanning phases of a penetration test. It is an open-source command-line utility primarily used for network discovery and security auditing. While many beginners associate it simply with 'pinging' devices (Option A), its functionality is significantly more sophisticated, allowing a tester to map out an entire network infrastructure, identify active hosts, and determine the specific services (and their versions) running on open ports.

In the pentesting process, Nmap is used to perform 'Active Reconnaissance.' By sending specially crafted packets to a target IP address, Nmap analyzes the responses to determine the operating system of the target (OS Fingerprinting), the types of firewalls or filters in use, and the specific applications listening on various ports. This information is vital for the next phase of an attack, as it allows the ethical hacker to identify specific versions of software that may have known vulnerabilities.

Nmap supports various scanning techniques, such as TCP SYN scans (stealthy), UDP scans, and comprehensive Scripting Engine (NSE) scans that can even detect common misconfigurations or vulnerabilities automatically. However, it is important to distinguish Nmap from an exploitation tool (Option B); while it identifies the 'door' and 'what is behind it,' it does not perform the actual 'break-in' or exploitation. In a professional environment, Nmap provides the foundation for the attack surface analysis, giving the pentester a clear picture of what services are exposed and providing the necessary data to plan a targeted and efficient security assessment.


Unlock all CertiProf CEHPC questions

Full exam access, validated answers, and unlimited practice with no download limits.