Prepare Smarter for the CEHPC Exam
Build your exam confidence with flexible preparation resources designed around the latest CEHPC exam objectives. Practice at your own pace using PDF questions, online exam simulations, or desktop practice software.
Which of the following is an example of social engineering?
Correct Answer: A
Social engineering is an attack technique thatmanipulates human behaviorto gain unauthorized access to systems or information, making option A the correct answer. Asking users to disclose their passwords over the phone is a classic example of social engineering, often referred to as vishing (voice phishing).
Unlike technical attacks that exploit software vulnerabilities, social engineering targets human trust, fear, urgency, or lack of awareness. Attackers may impersonate IT staff, managers, or trusted vendors to convince victims to reveal credentials or perform harmful actions.
Option B is incorrect because antivirus software is a defensive security control, not an attack method. Option C is incorrect because updating the operating system is a security best practice that helps mitigate vulnerabilities.
From an ethical hacking standpoint, testing for social engineering vulnerabilities helps organizations understand their exposure tohuman-based attack vectors, which are among the most effective and commonly used by attackers. Ethical hackers may conduct controlled phishing simulations to assess employee awareness and response.
Mitigating social engineering attacks requires user training, security awareness programs, strong authentication methods, and clear verification procedures. Understanding social engineering is critical for building comprehensive defense strategies.
Besides Kali Linux, what other operating system is used for hacking?
Correct Answer: C
While Kali Linux is the most widely recognized platform for penetration testing, Parrot OS is a major contemporary security trend in the cybersecurity community. Parrot OS is a Debian-based distribution that, like Kali, comes pre-loaded with a vast array of tools for security auditing, digital forensics, and reverse engineering. It is frequently cited as a lighter, more user-friendly alternative that focuses heavily on privacy and anonymity, featuring built-in tools for routing traffic through the Tor network.
In the landscape of modern security trends, the choice of an operating system often depends on the specific requirements of the pentest. Parrot OS is designed to be highly portable and efficient on hardware with limited resources, making it a popular choice for " Security on the Go. " It provides a " Home " edition for daily use and a " Security " edition tailored specifically for professional hackers. Other notable mentions in this category include BlackArch and BackBox, but Parrot OS remains one of the top contenders alongside Kali Linux for industry professionals.
Understanding these different platforms is crucial for an ethical hacker, as each offers different desktop environments and tool configurations. For example, while Kali is built for offensive operations, Parrot often places more emphasis on the developer ' s needs, including pre-installed compilers and IDEs alongside hacking tools. Using these specialized Linux distributions allows testers to work in a stable, standardized environment where tools are pre-configured to handle the complexities of network exploitation. By staying current with these trends, security professionals can ensure they are using the most efficient and up-to-date environments available to identify and mitigate vulnerabilities in increasingly complex digital infrastructures.
What is a reverse shell?
Correct Answer: A
While Kali Linux is the most widely recognized platform for penetration testing, Parrot OS is a major contemporary security trend in the cybersecurity community. Parrot OS is a Debian-based distribution that, like Kali, comes pre-loaded with a vast array of tools for security auditing, digital forensics, and reverse engineering. It is frequently cited as a lighter, more user-friendly alternative that focuses heavily on privacy and anonymity, featuring built-in tools for routing traffic through the Tor network.
In the landscape of modern security trends, the choice of an operating system often depends on the specific requirements of the pentest. Parrot OS is designed to be highly portable and efficient on hardware with limited resources, making it a popular choice for " Security on the Go. " It provides a " Home " edition for daily use and a " Security " edition tailored specifically for professional hackers. Other notable mentions in this category include BlackArch and BackBox, but Parrot OS remains one of the top contenders alongside Kali Linux for industry professionals.
Understanding these different platforms is crucial for an ethical hacker, as each offers different desktop environments and tool configurations. For example, while Kali is built for offensive operations, Parrot often places more emphasis on the developer ' s needs, including pre-installed compilers and IDEs alongside hacking tools. Using these specialized Linux distributions allows testers to work in a stable, standardized environment where tools are pre-configured to handle the complexities of network exploitation. By staying current with these trends, security professionals can ensure they are using the most efficient and up-to-date environments available to identify and mitigate vulnerabilities in increasingly complex digital infrastructures.
What is privilege escalation?
Correct Answer: A
Privilege escalation is a critical concept in ethical hacking and penetration testing that refers to a situation where a user or process gains higher-level permissions than originally authorized. This makes option A the correct answer.
Privilege escalation commonly occurs after an attacker or ethical hacker gains initial access to a system with limited privileges. The next objective is often to escalate those privileges to gain administrative or root-level access. This can be achieved through misconfigurations, vulnerable software, weak file permissions, kernel exploits, or improper access control mechanisms.
Option B is incorrect because formally requesting permissions from an administrator is a legitimate administrative process, not privilege escalation. Option C is incorrect because privilege escalation does not involve requesting permissions; it involves exploiting weaknesses to obtain them without authorization.
In penetration testing, privilege escalation is typically tested during thepost-exploitation phase. Ethical hackers use it to demonstrate the potential impact of a breach, such as full system compromise, access to sensitive data, or lateral movement within a network.
Understanding privilege escalation is essential for improving defensive security. By identifying and mitigating escalation paths, organizations can enforce the principle of least privilege, strengthen access controls, and reduce the impact of successful attacks. Ethical testing of privilege escalation ultimately helps organizations harden systems against real-world threats.
What is SQL Injection?
Correct Answer: A
SQL Injection is acritical web application vulnerabilitythat allows attackers to manipulate SQL queries executed by a database, making option A the correct answer. This vulnerability occurs when user input is improperly validated or sanitized before being included in SQL statements.
By exploiting SQL Injection, attackers can bypass authentication, retrieve sensitive data, modify or delete database contents, and in some cases execute administrative operations on the database server. Ethical hackers test for SQL Injection during web application penetration testing to identify insecure coding practices.
Option B is incorrect because SQL Injection is not a database system. Option C is incorrect because SQL Injection allows unauthorized users to execute SQL commands, not just administrators.
From a defensive security perspective, SQL Injection highlights the importance of secure coding practices such as parameterized queries, prepared statements, input validation, and least-privilege database access.
SQL Injection remains a top threat due to legacy applications and poor development practices. Ethical hackers use controlled testing to demonstrate the real-world impact of these vulnerabilities and help organizations protect critical data assets.