ECCouncil certification · Exam 312-50v13

312-50v13 Mock Exam Page 4

Certified Ethical Hacker Exam CEHv13

Free 312-50v13 questions on Topic 3 : Exam Pool C, each with the answer and an explanation.

20 questions · 33 minutes · free, no sign-up

Topic 3 : Exam Pool C questions

31–40 of 73 free
Question 31 Choose 1
Which of the following options represents a conceptual characteristic of an anomaly-based IDS over a signature-based IDS?
Show answerHide answer

Correct answer: B Can identify unknown attacks

Explanation

Explanation

The core conceptual advantage of anomaly-based IDS over signature-based IDS lies in its ability to detect unknown attacks. Signature-based IDS relies on a pre-established database of known attack patterns and can only match against threats that already have signatures; it is inherently unable to identify zero-day attacks or unknown threats. Anomaly-based IDS, by contrast, first establishes a baseline of "normal behavior" and then flags any activity that significantly deviates from that baseline as suspicious. Because it does not depend on specific attack signatures, it can theoretically detect unknown or zero-day attacks—this is precisely its most significant conceptual advantage. Nature's comparative table explicitly states that signature-based detection "detects only known intrusions," while anomaly-based detection "can identify unknown or zero-day attacks".

Why the Other Options Are Incorrect

A (Produces fewer false positives): This is actually the advantage of signature-based IDS. Because signatures are precise, known attacks are reliably identified with lower false positive rates; whereas anomaly-based IDS frequently suffers from higher false positive rates, because legitimate activity that deviates from the baseline can also trigger alerts.

C (Requires vendor updates for new threats): This is a characteristic of signature-based IDS, not anomaly-based IDS. Signature databases must be continuously updated to identify new attacks; anomaly-based IDS does not rely on a signature library and therefore does not require this type of update.

D (Cannot handle encrypted network traffic): This is not a differentiating characteristic between the two types of IDS. Anomaly-based IDS primarily analyzes behavioral patterns (such as traffic volume and connection frequency) and can still function to some extent when traffic is encrypted; it is not inherently unable to handle encrypted traffic.

References

Nature (2025): Anomaly-based detection can identify unknown/zero-day attacks; signature-based detects only known intrusions.
Question 32 Choose 1
In your cybersecurity class, you are learning about common security risks associated with web servers. One topic that comes up is the risk posed by using default server settings. Why is using default settings ona web - server considered a security risk, and what would be the best initial step to mitigate this risk?
Show answerHide answer

Correct answer: C Default settings reveal server software type; change these settings

Explanation

Explanation

The risk of using default settings on a web server is that the default configuration typically exposes software type and version information, making it easier for attackers to identify and exploit known vulnerabilities. OWASP clearly points out that systems, applications, or network devices "fresh out of the box" often run outdated versions and have standard configurations and default passwords that are publicly known and freely circulating on the internet, making these systems far more likely to be compromised. In the CEH web server hardening guide, information leakage (such as verbose `Server:` banners) is listed as a major factor in web server compromise, and attackers can use this information to map software versions to known exploits. LinuxSecurity's technical article also emphasizes that all Linux distributions have poor default configurations for Apache and other services regarding information leakage, and while many dismiss this as unimportant, "the less information broadcast to attackers, the better"—the response headers of every request can reveal the exact versions of OpenSSL, PHP, and more.

Therefore, the best initial mitigation step is to change these default settings, specifically including disabling version disclosure (such as Apache's `ServerTokens Prod` and `ServerSignature Off`), and following the principle of least information to reduce the attack surface.

Why the Other Options Are Incorrect

A (Default settings cause server malfunctions; simplify the settings): Default settings typically do not cause server malfunctions; on the contrary, they are designed for "ease of use out of the box." Security risks stem from exposure and predictability, not from causing crashes.

B (Default settings allow unlimited login attempts; set up account lockout): Account lockout is an authentication protection measure that addresses brute-force attacks, but it is not the primary risk of default web server settings, nor is it the "initial step" for web server hardening. The question focuses on the risk of default configurations themselves.

D (Default settings enable auto-updates; disable and manually patch): Auto-updates are a mechanism to ensure patching, and disabling them would actually increase risk. The question asks about the risk of default settings, and version exposure is the direct issue.

References

OWASP Cloud-10: Default configurations, standard passwords, and exploits are publicly available, making systems far more likely to be compromised.
Question 33 Choose 1
Tony wants to integrate a 128-bit symmetric block cipher with key sizes of 128,192, or 256 bits into a software program, which involves 32 rounds of computational operations that include substitution and permutation operations on four 32-bit word blocks using 8-variable S-boxes with 4-bit entry and 4-bit exit.
Which of the following algorithms includes all the above features and can be integrated by Tony into the software program?
Show answerHide answer

Correct answer: D serpent

Explanation

Explanation

The question describes a symmetric block cipher with the following features: 128-bit block, key sizes of 128/192/256 bits, 32 rounds, and a substitution-permutation network operating on four 32-bit words using eight 4-bit S-boxes. These are precisely the defining specifications of Serpent. According to EPFL's authoritative summary, Serpent has a block size of 128 bits, supports key sizes of 128, 192, or 256 bits, and is "a 32-round substitution–permutation network operating on a block of four 32-bit words," with each round applying one of eight 4-bit to 4-bit S-boxes 32 times in parallel . NIST's archived AES submission documentation likewise confirms that Serpent is a 32-round iterated block cipher with a 128-bit block size, using eight 4×4 S-box transformations .

Why the Other Options Are Incorrect

A (TEA): TEA has a 64-bit block size and a 128-bit key, and uses 64 rounds (32 cycles), not 32 rounds with 4-bit S-boxes .

B (CAST-128): CAST-128 has a 64-bit block size and a key size ranging from 40 to 128 bits, using a 12- or 16-round Feistel network with large 8×32-bit S-boxes—not the 128-bit block, 32 rounds, and 4-bit S-boxes described .

C (RC5): RC5 is a parameterized cipher with variable block size, key size, and rounds; it does not have fixed specifications of 128-bit block, 32 rounds, and 4-bit S-boxes .

References

EPFL Graph Search: Serpent is a 128-bit block cipher supporting 128/192/256-bit keys, a 32-round SPN on four 32-bit words, with eight 4-bit S-boxes .
Question 34 Choose 1
A DDOS attack is performed at layer 7 to take down web infrastructure. Partial HTTP requests are sent to the web infrastructure or applications. Upon receiving a partial request, the target servers opens multiple connections and keeps waiting for the requests to complete.
Which attack is being described here?
Show answerHide answer

Correct answer: B Slowloris attack

Explanation

Explanation

The attack described in the question is a classic Slowloris attack. The core mechanism of this attack is: the attacker sends partial HTTP requests to the web server (for example, sending only part of the HTTP headers, but never completing the request), and continuously sends additional header fields to keep the connection alive. Since the HTTP protocol typically does not impose a strict limit on the number of headers, the server will maintain these incomplete connections while waiting for the request to complete, and each connection occupies a worker thread or process. When the attacker opens a sufficient number of such connections, the server's available connection pool is exhausted, legitimate users' requests can no longer be processed, resulting in a denial of service. OWASP's documentation explicitly points out that Slowloris holds onto HTTP connections by delaying HTTP headers, thereby exhausting web server threads or resources, and it was popularized by RSnake in 2009.

Why the Other Options Are Incorrect

A (Desynchronization): A desynchronization attack disrupts the synchronization state between communicating parties by forging sequence numbers or control flags, causing message retransmission or state confusion. It targets the synchronization mechanism of communication protocols, not the exhaustion of server connection pools through incomplete HTTP requests.

C (Session Splicing): Session splicing is an IDS evasion technique that involves splitting attack payload into multiple small packets for transmission, in order to bypass signature detection. It does not target exhausting server resources, nor does it involve sending partial HTTP requests.

D (Phlashing): Phlashing is a permanent denial of service (PDoS) attack that renders devices permanently inoperable by tampering with firmware in flash memory. It targets the device's firmware layer, not the web server's HTTP connection pool.

References

Debian Package Tracker: Slowloris exploits the web server's "Keep-Alive" vulnerability, exhausting server resources by maintaining numerous connections, making the service inaccessible.

Question 35 Choose 1
Mary found a high vulnerability during a vulnerability scan and notified her server team. After analysis, they sent her proof that a fix to that issue had already been applied. The vulnerability that Marry found is called what?
Show answerHide answer

Correct answer: B False-positive

Explanation

Explanation

The core of the question is: a vulnerability scanner reported that a system had a high-severity vulnerability, but after verification, the server team proved that a fix had already been applied. This means the scanner incorrectly flagged a vulnerability that does not actually exist, which is precisely the definition of a false-positive. In vulnerability assessment, a false-positive is an alert that reports a vulnerability that does not actually exist; the system is actually secure, but the tool's detection logic (such as matching on a version number) determines it as vulnerable. Both Qualys and Rapid7's documentation describe false-positives in exactly this way: "A false-positive occurs when a vulnerability scanner reports a vulnerability that does not actually exist".

Why the Other Options Are Incorrect

A (False-negative): A false-negative is the opposite—the scanner misses a vulnerability that actually exists, reporting the system as secure when it is not. In the question, the scanner reported a vulnerability and it turned out to be non-existent, so this is a false-positive, not a false-negative.

C (Brute force attack): This is a password cracking technique that repeatedly attempts different combinations. It is unrelated to the misreporting of scan results.

D (Backdoor): A backdoor is a hidden access channel left in a system. It is a type of malware or attack technique, not the name for an inaccurate scan result.

References

Qualys: False-positives occur when a vulnerability scanner reports a vulnerability that does not actually exist.

Question 36 Choose 1
Juliet, a security researcher in an organization, was tasked with checking for the authenticity of images to be used in the organization's magazines. She used these images as a search query and tracked the original source and details of the images, which included photographs, profile pictures, and memes. Which of the following footprinting techniques did Rachel use to finish her task?
Show answerHide answer

Correct answer: A Reverse image search

Explanation

Explanation

Juliet's task was to use the images themselves as a search query to trace the original source and details of the images (including photos, profile pictures, and memes). This is precisely the core function of reverse image search. According to the search engine industry's definition, reverse image search was introduced around 2011 and refers to "searching the web for an image rather than text"—the user uploads an image or an image URL, and the search engine analyzes the image's visual content, then returns where the image appears online, related images, or information about the image. Its main application scenarios include tracking the original source of an image and discovering content related to the image. Seobility's wiki also explicitly states that reverse image search allows users to "use your image as a search query" to find the websites that use that image. This matches Juliet's actions and objectives in the question exactly.

Why the Other Options Are Incorrect

B (Meta search engines): A meta search engine is a tool that sends user queries to multiple search engines, then aggregates, deduplicates, and ranks the returned results. It does not accept images as input, nor is it specifically designed for tracing the source of images.

C (Advanced image search): Google's advanced image search allows users to filter by criteria such as size, aspect ratio, color, file type, region, etc., using text keywords, to narrow down image search results. It still requires text descriptions as input, not the image itself as a query, and cannot trace the original source of an image.

D (Google advanced search): This is an advanced search page for web pages, files, and the like, allowing users to filter by language, region, last update time, site, etc. It is even less relevant to image source tracing; neither its input method nor its purpose matches the question.

References

Luigi's Box: Reverse image search is searching the web with an image instead of text, used to trace the original source of an image or discover related content.

Question 37 Choose 1
Which tier in the N-tier application architecture is responsible for moving and processing data between the tiers?
Show answerHide answer

Correct answer: C Logic tier

Explanation

Explanation

In N-tier architecture, the logic tier (also called the application tier or business tier) sits between the presentation tier and the data tier, and is responsible for processing data and moving it between the tiers. It receives user input from the presentation tier, applies business rules and validation, and then passes the data to the data tier for storage, or retrieves data from the data tier and sends it back to the presentation tier for display. Microsoft's documentation explicitly describes this middle tier as containing the "business logic" that "connects the user in tier 1 with the data in tier 3". A Stack Overflow summary of N-tier architecture puts it even more directly: the business tier is "responsible for accessing the data tier to retrieve, modify and delete data" and "processing the data retrieved and sent to the presentation layer".

Why the Other Options Are Incorrect

A (Presentation tier): This tier handles the user interface and navigation—it displays information to the user and collects input, but does not process or move data between tiers.

B (Application Layer): While "application tier" is sometimes used as a synonym for the logic tier, the option here says "Application Layer," which in networking contexts refers to the OSI model's Layer 7. In the context of N-tier architecture, the standard term for the middle processing tier is logic tier or business tier, not "Application Layer".

D (Data tier): This tier provides data storage and access (e.g., databases). It stores and retrieves data, but does not move or process data between the other tiers.

References

Microsoft Learn: The middle tier contains business logic that connects the user (tier 1) with the data (tier 3).

Question 38 Choose 1
Attacker Simon targeted the communication network of an organization and disabled the security controls of NetNTLMvl by modifying the values of LMCompatibilityLevel, NTLMMinClientSec, and RestrictSendingNTLMTraffic. He then extracted all the non-network logon tokens from all the active processes to masquerade as a legitimate user to launch further attacks. What is the type of attack performed by Simon?
Show answerHide answer

Correct answer: A Internal monologue attack

Explanation

Explanation

An internal monologue attack retrieves NTLM hashes without touching LSASS, so it avoids the usual credential-dumping detection. It works in these steps:

1. Downgrade NTLM security. The attacker edits the registry values LMCompatibilityLevel, NTLMMinClientSec and RestrictSendingNTLMTraffic. This permits weak NetNTLMv1 responses and removes restrictions on sending NTLM traffic.

2. Extract tokens. The attacker pulls non-network logon tokens from active processes, which allows impersonation of the users who own them.

3. Invoke NTLM locally. Using the impersonated token, the attacker calls the local NTLM authentication package (via SSPI) with a chosen challenge. The response is captured as a NetNTLMv1 hash.

4. Crack the hash. Because the challenge is attacker-chosen, the response can be cracked quickly, often with rainbow tables. The attacker then masquerades as the legitimate user.

The attack is called "internal" because the whole exchange happens on the victim's machine. No network interception or rogue server is needed.

Why the Other Options Are Wrong

B. Combinator attack: A cracking method that joins words from two wordlists. It involves no registry changes or token theft.

C. Rainbow table attack: An offline hash-reversal technique using precomputed tables. It may be used in the final cracking step, but it does not describe the downgrade-and-token-extraction behaviour in the question.

D. Dictionary attack: Tests wordlist entries against a password or hash. It also does not involve disabling NTLM controls or harvesting tokens.

References

EC-Council, *Certified Ethical Hacker v13*, Module 06: System Hacking (password attacks).

Golovanov, A. and Kononovich, V., "Internal Monologue Attack: Retrieving NTLM Hashes without Touching LSASS" (2018), the original research.

Question 39 Choose 1
Insecure direct object reference is a type of vulnerability where the application does not verify if the user is authorized to access the internal object via its name or key. Suppose a malicious user Rob tries to get access to the account of a benign user Ned.
Which of the following requests best illustrates an attempt to exploit an insecure direct object reference vulnerability?
Show answerHide answer

Correct answer: C “GET /restricted/accounts/?name=Ned HTTP/1.1 Host westbank.com”

Explanation

Explanation

An insecure direct object reference (IDOR) occurs when an application exposes a direct reference to an internal object (a username, account number, file name, or database key) in a request parameter and fails to check whether the requesting user is authorized to access it.

In option C, the parameter name=Ned points directly at Ned's account record. Rob, a malicious user, simply changes the value to Ned's name. If the server returns Ned's data without confirming that the session belongs to Ned, the application is vulnerable. The attack needs no injection or special encoding. The attacker only manipulates an object identifier.

Why the Other Options Are Wrong

A: from=1 or 1=1' is a SQL injection payload. It tries to alter the query logic with a tautology, which is an input-validation flaw rather than a missing authorization check.

B: The \r\n and %00 (null byte) sequences indicate CRLF injection / null byte injection, aimed at manipulating headers or bypassing input filters.

D: A plain request to /restricted/ references no specific object, so there is no object key to tamper with. It would at most test access control on a directory.

References

EC-Council, *Certified Ethical Hacker v13*, Module 14: Hacking Web Applications (broken access control, IDOR).

Question 40 Choose 1
Which among the following is the best example of the third step (delivery) in the cyber kill chain?
Show answerHide answer

Correct answer: A An intruder sends a malicious attachment via email to a target.

Explanation

Explanation

The Delivery phase is the third stage of Lockheed Martin's Cyber Kill Chain. It involves transmitting a weaponized payload to the target system through methods such as email attachments, malicious websites, or USB devices. In this scenario, the attacker sends an email containing a malicious attachment to the victim. This represents the Delivery stage because the malicious payload is transmitted to the intended target. The malware does not need to execute or be installed for this stage to occur.

Why Other Options Are Incorrect

B. Creating malware for use as an email attachment: This represents Weaponization (Stage 2), where the attacker prepares the malicious payload.

C. Malware is triggered when the victim opens the attachment: This represents Exploitation (Stage 4), where the delivered payload is triggered to execute malicious code.

D. Malware is installed on the target's machine: This represents Installation (Stage 5), where malware or a backdoor is installed on the victim's system.

References 1. Lockheed Martin – Cyber Kill Chain® Official Overview: chain.html
2. Lockheed Martin – Intelligence-Driven Computer Network Defense (White Paper):
Full mock exam

Sit the 312-50v13 exam before exam day

Full-length mocks with the same number of questions and the same time limit as the real 312-50v13 exam. Every attempt draws a new set of questions from the full bank, so you can keep going until you pass comfortably.

Get full 312-50v13 mock exam
  • 65questions per mock
  • 105 mintime limit
  • 551questions in the bank
  • Newmock on every attempt