ECCouncil certification · Exam 312-50v13

312-50v13 Mock Exam

Certified Ethical Hacker Exam CEHv13

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

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

Topic 2 : Exam Pool B questions

1–10 of 49 free
Question 1 Choose 1
This form of encryption algorithm is asymmetric key block cipher that is characterized by a 128-bit block size, and its key size can be up to 256 bits. Which among the following is this encryption algorithm?
Show answerHide answer

Correct answer: A Twofish encryption algorithm

Explanation

Explanation

Twofish is a symmetric block cipher with a 128-bit block size and a key size of up to 256 bits (128, 192, or 256). It was a finalist in the NIST AES competition and is the successor to Blowfish. The question's description — 128-bit block, key up to 256 bits — matches Twofish exactly. (Note: the question's phrasing "asymmetric key block cipher" is a known wording flaw; the intended answer is Twofish.)

Why the other options are incorrect

B. HMAC encryption algorithm — HMAC is a message authentication code (hash-based), not a block cipher, and has no 128-bit block size.

C. IDEA — A symmetric block cipher with a 64-bit block size and 128-bit key, not 128-bit block/up-to-256-bit key.

D. Blowfish encryption algorithm — A symmetric block cipher with a 64-bit block size (keys 32–448 bits), not 128-bit block.

References

Twofish specification (Schneier et al., 1998) — 128-bit block, 128/192/256-bit keys.
EC-Council CEHv13 Official Courseware, Module 20: Cryptography — symmetric algorithms (Twofish, Blowfish, IDEA).
Question 2 Choose 1
OpenSSL on Linux servers includes a command line tool for testing TLS. What is the name of the tool and the correct syntax to connect to a web server?
Show answerHide answer

Correct answer: C openssl s_client -connect www.website.com:443

Explanation

Explanation

The OpenSSL command-line tool s_client is used to test TLS/SSL connections. The correct syntax to connect to a web server on HTTPS port 443 is:

openssl s_client -connect www.website.com:443

The -connect option specifies host:port. This establishes a TLS handshake and displays certificate and connection details, making it a standard tool for testing TLS configurations.

Why the other options are incorrect

A. openssl s_client -site www.website.com:443 — -site is not a valid s_client option; the correct flag is -connect.

B. openssl_client -site www.website.com:443 — Wrong tool name (openssl_client does not exist) and wrong option (-site).

D. openssl_client -connect www.website.com:443 — Wrong tool name; the command is openssl s_client, not openssl_client.

References

OpenSSL documentation — s_client (openssl.org): -connect host:port.

EC-Council CEHv13 Official Courseware, Module 20: Cryptography / Module 16: Hacking Web Servers — TLS testing.
Question 3 Choose 1
Taylor, a security professional, uses a tool to monitor her company's website, analyze the website's traffic, and track the geographical location of the users visiting the company's website. Which of the following tools did Taylor employ in the above scenario?
Show answerHide answer

Correct answer: B web-Stat

Explanation

Explanation

web-Stat is a web analytics/monitoring tool that tracks website traffic and provides geographical location data of visitors (country, city), along with visitor counts and referrers. This matches Taylor's task of monitoring the website, analyzing traffic, and tracking visitors' geographic locations.

Why the other options are incorrect

A. WebSite Watcher — Monitors web pages for content changes (e.g., price/stock changes), not traffic or visitor geolocation.

C. Webroot — An antivirus/endpoint security product, not a web analytics/geolocation tool.

D. WAFW00F — A tool that detects and fingerprints web application firewalls (WAFs), not traffic analytics.

References

web-Stat documentation — real-time web analytics and visitor geolocation.

EC-Council CEHv13 Official Courseware, Module 02: Footprinting / web analytics concepts.
Question 4 Choose 2
Windows LAN Manager (LM) hashes are known to be weak.
Which of the following are known weaknesses of LM? (Choose three.)
Show answerHide answer

Correct answer: A, D Converts passwords to uppercase.Effective length is 7 characters.

Explanation

Explanation

The well-known LM hash weaknesses are:

A. Converts passwords to uppercase — LM uppercases the password before hashing, collapsing the keyspace and making it case-insensitive (a major weakness).

D. Effective length is 7 characters — LM splits the password into two 7-character halves and hashes each separately, so the effective strength is 7 characters (and the 8th character is effectively ignored for cracking purposes).

Note on option C ("Makes use of only 32-bit encryption"): LM does not "use 32-bit encryption"; it produces a 16-byte (128-bit) hash derived from DES-based hashing of 7-character halves. While the question asks for three answers, the two unambiguous, correct LM weaknesses here are A and D. Option B ("hashes sent in clear text") is also inaccurate — LM hashes are not sent in clear text; challenge/response is used (though LM response is weak). If the exam forces three, the intended third is typically C as worded in EC-Council's pool, but strictly speaking A and D are the definitive LM weaknesses.

Why the other options are incorrect

B. Hashes are sent in clear text over the network — LM uses a challenge/response, not clear-text hash transmission (though the response is weak and crackable).

C. Makes use of only 32-bit encryption — LM is DES-based with a 128-bit hash output; "32-bit encryption" is not an accurate description (often cited loosely as a distractor).

References

EC-Council CEHv13 Official Courseware, Module 06: System Hacking — LM hash weaknesses.

Microsoft — "LM hash weaknesses" (uppercase conversion, 7-character split).
Question 5 Choose 1
Bob, an attacker, has managed to access a target loT device. He employed an online tool to gather information related to the model of the loT device and the certifications granted to it. Which of the following tools did Bob employ to gather the above Information?
Show answerHide answer

Correct answer: D FCC ID search

Explanation

Explanation

FCC ID search is an online tool/database maintained by the U.S. Federal Communications Commission that lets users look up device models and certifications granted to wireless/IoT devices by their FCC ID. Attackers use it to gather information about an IoT device's model, manufacturer, frequency, and certification details. This matches Bob's action of using an online tool to gather model and certification information.

Why the other options are incorrect

A. search.com — A generic search engine; it does not provide official device model/certification data tied to FCC IDs.

B. EarthExplorer — A USGS tool for satellite/geospatial imagery, unrelated to IoT certification lookup.

C. Google image search — An image search engine; it does not provide official certification records for IoT devices.

References

FCC ID Search (fcc.gov/oet/ea/fccid) — official device certification database.

EC-Council CEHv13 Official Courseware, Module 19: IoT Hacking — IoT reconnaissance via FCC ID.

Question 6 Choose 1
Which of the following is the primary objective of a rootkit?
Show answerHide answer

Correct answer: C It replaces legitimate programs

Explanation

Explanation

The primary objective of a rootkit is to maintain stealthy, persistent access on a compromised system by replacing or hooking legitimate programs, system files, and kernel components so the attacker's presence and activities are hidden. Rootkits substitute trojanized versions of binaries, modify system calls, or hook the kernel to conceal processes, files, and network connections from the OS and security tools. Replacing legitimate programs is the defining characteristic.

Why the other options are incorrect

A. It opens a port to provide an unauthorized service — That is a backdoor behavior; a rootkit may hide such a port but opening it is not the rootkit's primary objective.

B. It creates a buffer overflow — A buffer overflow is an exploitation technique/vulnerability, not the purpose of a rootkit.

D. It provides an undocumented opening in a program — That describes a backdoor, not a rootkit's stealth/replacement objective.

References

EC-Council CEHv13 Official Courseware, Module 06: System Hacking — rootkits (kernel/user-mode, replacement of legitimate binaries).
Question 7 Choose 1
What is the common name for a vulnerability disclosure program opened by companies In platforms such as HackerOne?
Show answerHide answer

Correct answer: B Bug bounty program

Explanation

Explanation

A bug bounty program is a vulnerability disclosure program in which organizations invite external security researchers to find and report bugs/vulnerabilities in their systems in exchange for rewards (monetary or recognition). Platforms such as HackerOne, Bugcrowd, and Synack host these programs, connecting companies with ethical hackers. This is the industry-standard term for such programs.

Why the other options are incorrect

A. Vulnerability hunting program — A descriptive phrase, not the recognized industry term for reward-based disclosure programs on HackerOne.

C. White-hat hacking program — Describes ethical hacking generally, not the specific structured disclosure/reward program.

D. Ethical hacking program — Too broad; it encompasses training and engagements, not specifically the bug bounty/disclosure model.

References

EC-Council CEHv13 Official Courseware, Module 01: Introduction to Ethical Hacking — bug bounty programs.

HackerOne / Bugcrowd documentation — bug bounty program definitions.
Question 8 Choose 1
Tremp is an IT Security Manager, and he is planning to deploy an IDS in his small company. He is looking for an IDS with the following characteristics: - Verifies success or failure of an attack - Monitors system activities Detects attacks that a network-based IDS fails to detect - Near real-time detection and response - Does not require additional hardware - Lower entry cost Which type of IDS is best suited for Tremp's requirements?
Show answerHide answer

Correct answer: C Host-based IDS

Explanation

Explanation

Tremp's requirements match a Host-based IDS (HIDS) exactly: it verifies success or failure of an attack (by examining host logs and system state), monitors system activities (file integrity, processes, registry), detects attacks a NIDS misses (e.g., encrypted/local activity, insider actions), provides near real-time detection and response, requires no additional hardware (software installed on existing hosts), and has a lower entry cost for a small company. These are the classic advantages of HIDS over NIDS.

Why the other options are incorrect

A. Gateway-based IDS — A deployment location, not a standard IDS category matching these host-level characteristics.

B. Network-based IDS — Requires sensors/taps (additional hardware), monitors network traffic, and cannot verify attack success on hosts or detect local/encrypted host activity.

D. Open source-based — A licensing model, not an IDS type; does not describe the monitoring capabilities required.

References

EC-Council CEHv13 Official Courseware, Module 11: Intrusion Detection Systems — HIDS vs. NIDS.

NIST SP 800-94 — Guide to Intrusion Detection and Prevention Systems (HIDS capabilities).
Question 9 Choose 1
You are analysing traffic on the network with Wireshark. You want to routinely run a cron job which will run the capture against a specific set of IPs - 192.168.8.0/24. What command you would use?
Show answerHide answer

Correct answer: D sudo tshark -f''net 192 .68.8.0/24''

Explanation

Explanation

For cron-based, command-line capture, the correct tool is tshark (Wireshark's CLI counterpart). The -f option applies a BPF capture filter, and net 192.168.8.0/24 restricts capture to that subnet. The command sudo tshark -f "net 192.168.8.0/24" correctly captures traffic for the specified range and is suitable for automation via cron (Wireshark itself is GUI-based and unsuitable for cron).

Why the other options are incorrect

A. wireshark --fetch ''192.168.8*'' — No such option; --fetch is invalid, and Wireshark is GUI-oriented.

B. wireshark --capture --local masked 192.168.8.0 ---range 24 — Invalid syntax; these are not real Wireshark options.

C. tshark -net 192.255.255.255 mask 192.168.8.0 — -net/mask are not tshark capture-filter options, and the addresses are malformed.

References

tshark manual (wireshark.org/docs/man-pages/tshark) — -f capture filter (BPF syntax).

pcap-filter(7) man page — net 192.168.8.0/24 BPF syntax.
Question 10 Choose 1
While browsing his Facebook teed, Matt sees a picture one of his friends posted with the caption. "Learn more about your friends!", as well as a number of personal questions. Matt is suspicious and texts his friend, who confirms that he did indeed post it. With assurance that the post is legitimate. Matt responds to the questions on the post, a few days later. Mates bank account has been accessed, and the password has been changed. What most likely happened?
Show answerHide answer

Correct answer: A Matt inadvertently provided the answers to his security questions when responding to the post.

Explanation

Explanation

The post asked a series of personal questions ("Learn more about your friends!"), which is a classic social engineering pretext to harvest security-question answers (mother's maiden name, first pet, school, etc.). Days later, Matt's bank account was accessed and the password changed — consistent with an attacker using the harvested answers to reset the bank password via security questions. The friend's confirmation that he "did indeed post it" reflects a compromised/scripted post or the attacker's manipulation, but the mechanism of compromise is the leaked security answers.

Why the other options are incorrect

B. Brute force of bank login — No evidence of brute force; the timing directly follows disclosure of personal answers.

C. Provided his password when responding — The post asked personal questions, not the password itself.

D. Keylogger infection — Possible in general, but the scenario points to security-question harvesting; a keylogger is not indicated.

References

EC-Council CEHv13 Official Courseware, Module 09: Social Engineering — elicitation and security-question harvesting.

FTC / CISA guidance — "security questions" social engineering risks.
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