EC-COUNCIL Certified Ethical Hacker v13 (312-50) Free Practice Test
Question 1
A payload drops a database table by injecting ; DROP TABLE users; --. What SQL injection method was used?
Correct Answer: A
Explanation: Only visible for TestSimulate members. You can sign-up / login (it's free).
Question 2
In Pittsburgh, Pennsylvania, a major steel manufacturer operates a production plant with numerous automated loops that regulate temperature, pressure, and conveyor speed. During an audit, ethical hacker Marcus Reed observes that these loops are coordinated by a centralized supervisory network that links multiple controllers across the facility. Based on this design, which OT system concept is being applied?
Correct Answer: B
Explanation: Only visible for TestSimulate members. You can sign-up / login (it's free).
Question 3
Arjun Rao was conducting an authorized mobile-security assessment for Nexus Corporate Services. After gaining initial access to a test executive device, he installed a seemingly benign management application that silently registered itself with elevated control permissions. Within moments, the application began enforcing policies the user had never approved, including locking the screen after 30 seconds of inactivity, disabling the camera, and restricting USB debugging without any visible prompt or consent banner.
Further testing confirmed that the attacker could remotely trigger a full device wipe and enforce complex password requirements through the same silently activated control framework.
Identify the mobile attack technique used to gain unauthorized administrative control over the device.
Further testing confirmed that the attacker could remotely trigger a full device wipe and enforce complex password requirements through the same silently activated control framework.
Identify the mobile attack technique used to gain unauthorized administrative control over the device.
Correct Answer: B
Explanation: Only visible for TestSimulate members. You can sign-up / login (it's free).
Question 4
A cybersecurity research team identifies suspicious behavior on a user's Android device. Upon investigation, they discover that a seemingly harmless app, downloaded from a third-party app store, has silently overwritten several legitimate applications such as WhatsApp and SHAREit. These fake replicas maintain the original icon and user interface but serve intrusive advertisements and covertly harvest credentials and personal data in the background. The attackers achieved this by embedding malicious code in utility apps like video editors and photo filters, which users were tricked into installing. The replacement occurred without user consent, and the malicious code communicates with a command-and-control (C&C) server to execute further instructions. What type of attack is being carried out in this scenario?
Correct Answer: C
Explanation: Only visible for TestSimulate members. You can sign-up / login (it's free).
Question 5
Which wireless attack captures handshake?
Correct Answer: C
Explanation: Only visible for TestSimulate members. You can sign-up / login (it's free).
Question 6
During a security assessment for an e-commerce company in Boston, Massachusetts, your team conducts a reconnaissance phase to identify potential entry points into the organization's communication infrastructure. You focus on gathering details about the systems responsible for handling incoming email traffic, avoiding active network probing, and relying on passive DNS data collection. Given this objective, which DNS record type should you query to extract information about the target's mail server configuration?
Correct Answer: D
Explanation: Only visible for TestSimulate members. You can sign-up / login (it's free).
Question 7
You are an ethical hacker at Apex Cyber Defense contracted to audit Coastal Healthcare's wireless estate in Miami, Florida. During a network sweep, your logs show a previously unknown access point physically connected to the hospital's internal switch and issuing IP addresses to devices on the corporate VLAN - it was neither provisioned by IT nor listed in the asset inventory. The device is relaying internal traffic and providing remote connectivity back to an external host. Based on the observed behavior, which wireless threat has the attacker most likely introduced?
Correct Answer: C
Explanation: Only visible for TestSimulate members. You can sign-up / login (it's free).
Question 8
During an authorized wireless security assessment, an ethical hacker captures traffic between client devices and a corporate access point to evaluate the strength of the implemented encryption mechanism. Packet analysis reveals that before protected data exchange begins, the client and access point complete a structured four-message key negotiation process. Subsequent traffic is encrypted using an AES-based counter mode protocol that integrates message authentication for integrity protection. Based on these observations, identify the wireless encryption standard deployed on the network.
Correct Answer: B
Explanation: Only visible for TestSimulate members. You can sign-up / login (it's free).
Question 9
During a code review at a defense technology contractor in Virginia, penetration tester Lucas identifies that a newly deployed payroll application encrypts sensitive employee data using a weak custom algorithm. In addition, its session validation logic allows certain requests to bypass access controls altogether. These oversights are traced back to flawed system logic and poor encryption design decisions made during the development phase.
Which vulnerability category BEST describes the issue Lucas discovered?
Which vulnerability category BEST describes the issue Lucas discovered?
Correct Answer: A
Explanation: Only visible for TestSimulate members. You can sign-up / login (it's free).
Question 10
While conducting a red team exercise at a corporate office in San Diego, California, you observe employees working in an open-plan area. By discreetly watching their screens and hand movements as they log into internal systems, you are able to capture several usernames and partial passwords without touching any devices or interacting with the staff. Which social engineering technique does this scenario best illustrate?
Correct Answer: C
Explanation: Only visible for TestSimulate members. You can sign-up / login (it's free).
Question 11
During a late-night authorized assessment at a smart manufacturing plant on the outskirts of Seoul, South Korea, penetration tester Ji-Hoon Park set up his mobile testing station in a company vehicle parked within wireless range of the facility. He first ran nmap -p 80,81,8080,8081 192.168.10.0/24 to locate IoT devices exposing web services. After identifying his wireless adapter with ifconfig, he executed airmon-ng start wlan0 to enable monitor mode, then launched airodump-ng wlan0mon to scan for nearby networks and noted the target network operating on channel 11. He subsequently configured the interface to listen on that channel and opened Wireshark on the monitor interface to begin capturing live traffic.
The captured packets revealed detailed information about connected IoT sensors and their communication patterns without any direct interaction with the target devices.
Identify the technique used to collect the observed network data.
The captured packets revealed detailed information about connected IoT sensors and their communication patterns without any direct interaction with the target devices.
Identify the technique used to collect the observed network data.
Correct Answer: A
Explanation: Only visible for TestSimulate members. You can sign-up / login (it's free).
Question 12
A system analyst wants to implement an encryption solution that allows secure key distribution between communicating parties. Which encryption method should the analyst consider?
Correct Answer: C
Explanation: Only visible for TestSimulate members. You can sign-up / login (it's free).
Question 13
A digital media company in Seattle, Washington deploys an Nginx-based infrastructure to support its internal analytics dashboard and content publishing portal. During an authorized red team engagement, a tester evaluates the web-based administrative interface used to upload configuration bundles and manage application components. While analyzing a file-upload feature, the tester observes that certain user-supplied parameters submitted with uploaded content are incorporated into backend processing routines with limited validation. By adjusting specific values in the request, he alters how the server-side component interprets those inputs. Subsequent log analysis shows that the modified input affected system-level operations executed under the web service context, despite no direct shell access being obtained. Which Nginx-related vulnerability best describes the weakness identified in this scenario?
Correct Answer: A
Explanation: Only visible for TestSimulate members. You can sign-up / login (it's free).