ECCouncil certification · Exam 312-50v13

312-50v13 Mock Exam Page 3

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

21–30 of 49 free
Question 21 Choose 1
Attacker Rony Installed a rogue access point within an organization's perimeter and attempted to Intrude into its internal network. Johnson, a security auditor, identified some unusual traffic in the internal network that is aimed at cracking the authentication mechanism. He immediately turned off the targeted network and tested for any weak and outdated security mechanisms that are open to attack. What is the type of vulnerability assessment performed by Johnson in the above scenario?
Show answerHide answer

Correct answer: B Wireless network assessment

Explanation

Explanation:

Attacker Rony installed a rogue access point inside the organization's perimeter to intrude into the internal network, and Johnson detected unusual traffic aimed at cracking the authentication mechanism, then turned off the targeted wireless network and tested for weak and outdated security mechanisms open to attack. This is a wireless network assessment: evaluating WLAN infrastructure for vulnerabilities such as rogue APs, weak authentication (e.g., WEP/WPA weaknesses), misconfigurations, and outdated security protocols.

Why the other options are incorrect:

A (Distributed assessment) — Tests multiple systems/geographically dispersed assets simultaneously; the scenario concerns a single wireless network targeted via a rogue AP.

C (Host-based assessment) — Examines individual hosts (OS patches, local configurations, services); the vulnerability here is in the wireless authentication mechanism, not a host.

D (Application assessment) — Focuses on web/software application vulnerabilities (e.g., injection, XSS); no application is being assessed.

References:

EC-Council CEHv13, Module 15: Hacking Wireless Networks (rogue APs, wireless authentication attacks, WLAN vulnerability assessment); Module 14: Vulnerability Analysis (types of assessments — wireless, host-based, application, distributed); NIST SP 800-153 (Guidelines for Securing Wireless Local Area Networks).
Question 22 Choose 1
Bella, a security professional working at an it firm, finds that a security breach has occurred while transferring important files. Sensitive data, employee usernames. and passwords are shared In plaintext, paving the way for hackers 10 perform successful session hijacking. To address this situation. Bella Implemented a protocol that sends data using encryption and digital certificates. Which of the following protocols Is used by Bella?
Show answerHide answer

Correct answer: C FTPS

Explanation

Explanation:

The breach occurred while transferring important files, with sensitive data, usernames, and passwords sent in plaintext — the hallmark weakness of standard FTP. Bella implemented a protocol that sends data using encryption and digital certificates, which describes FTPS (FTP Secure) — FTP wrapped in SSL/TLS, using X.509 digital certificates for authentication and encryption of both control and data channels.

Why the other options are incorrect:

A (FTP) — Transmits credentials and data in plaintext, which is exactly the vulnerability that caused the breach, not the fix.

B (HTTPS) — Secures web traffic, not file transfers; the scenario explicitly concerns transferring files and replacing an insecure file-transfer protocol.

D (IP) — Not a security protocol; "IP" alone provides no encryption or certificates (IPsec would, but the option is just IP).

References:

EC-Council CEHv13, Module 13: Sniffing (plaintext protocol vulnerabilities, session hijacking); RFC 4217 (Securing FTP with TLS — FTPS); NIST SP 800-52 (TLS guidelines).
Question 23 Choose 1
What is the file that determines the basic configuration (specifically activities, services, broadcast receivers, etc.) in an Android application?
Show answerHide answer

Correct answer: A AndroidManifest.xml

Explanation

Explanation:

AndroidManifest.xml is the essential configuration file of every Android application. It declares the app's package name, activities (screens), services (background components), broadcast receivers (system/event listeners), content providers, required permissions, hardware/software features, and intent filters. The Android OS reads this file to understand the app's components and how it interacts with the system before launching it.

Why the other options are incorrect:

B (APK.info) — Not a real Android file; no such configuration file exists in the APK structure.

C (resources.arsc) — A compiled resource table containing resource mappings (strings, layouts, IDs), not activity/service/receiver declarations.

D (classes.dex) — The compiled Dalvik bytecode (executable app code) executed by the Android runtime; it contains code, not component configuration.

References:

EC-Council CEHv13, Module 17: Hacking Mobile Platforms (Android app architecture and manifest analysis); Android Developers documentation — "App Manifest Overview" (developer.android.com/guide/topics/manifest/manifest-intro); OWASP Mobile Security Testing Guide (MASTG) — Android manifest inspection.
Question 24 Choose 1
Study the snort rule given below and interpret the rule. alert tcp any any --> 192.168.1.0/24 111 (content:"|00 01 86 a5|"; msG. "mountd access";)
Show answerHide answer

Correct answer: D An alert is generated when a TCP packet originating from any IP address is seen on the network and destined for any IP address on the 192.168.1.0 subnet on port 111

Explanation

Explanation:

Read the Snort rule header left to right:

alert → generate an alert

tcp → protocol is TCP

any any → source is any IP on any port

-> → direction (from source to destination)

192.168.1.0/24 111 → destination is the 192.168.1.0/24 subnet on port 111 (portmapper/rpcbind)

(content:"|00 01 86 a5|"; msg:"mountd access";) → payload match for the RPC mountd request and alert message

So the rule fires on a TCP packet from any source IP/port, destined to any host in 192.168.1.0/24 on port 111 — matching option D exactly.

Why the other options are incorrect:

A — Reverses source and destination: it claims traffic from the subnet to port 111 anywhere, but the rule's destination is the subnet on port 111.

B — Wrong on protocol ("other than TCP") and omits port 111; the rule is explicitly tcp and port-specific.

C — Reverses the direction: claims traffic from port 111 to the subnet; the rule has port 111 as the destination port.

References:

EC-Council CEHv13, Module 11: Intrusion Detection Systems (Snort rule syntax — action, protocol, source, direction, destination, options); Snort 3 Users Manual (snort.org) — rule header and options; Snort rule writing guide (alert tcp any any -> $HOME_NET 111).
Question 25 Choose 1
John wants to send Marie an email that includes sensitive information, and he does not trust the network that he is connected to. Marie gives him the idea of using PGP. What should John do to communicate correctly using this type of encryption?
Show answerHide answer

Correct answer: B Use Marie's public key to encrypt the message.

Explanation

Explanation:

PGP uses asymmetric (public-key) cryptography. To send a confidential message to Marie, John must encrypt it with Marie's public key. Only Marie holds the matching private key, so only she can decrypt and read the message — providing confidentiality even over an untrusted network. (For authenticity, John would additionally sign with his own private key, which Marie verifies with John's public key.)

Why the other options are incorrect:

A (His own public key) — Anyone with John's public key could decrypt it; it does not protect the message for Marie. This is used when John wants to sign/encrypt to himself.

C (His own private key) — Private keys are never shared for confidentiality; using it to "encrypt" provides signing (authenticity), not secrecy, since the corresponding public key is available to all.

D (Marie's private key) — John does not possess Marie's private key; it must never be shared. Public-key encryption requires the recipient's public key.

References:

EC-Council CEHv13, Module 20: Cryptography (PGP, asymmetric encryption, digital signatures); RFC 4880 (OpenPGP Message Format); NIST SP 800-57 Part 1 Rev. 5 (key usage: public key encrypts, private key decrypts).
Question 26 Choose 1
Clark, a professional hacker, was hired by an organization lo gather sensitive Information about its competitors surreptitiously. Clark gathers the server IP address of the target organization using Whole footprinting. Further, he entered the server IP address as an input to an online tool to retrieve information such as the network range of the target organization and to identify the network topology and operating system used in the network. What is the online tool employed by Clark in the above scenario?
Show answerHide answer

Correct answer: B ARIN

Explanation

Explanation:

ARIN (American Registry for Internet Numbers) is the Regional Internet Registry whose Whois lookup tool lets an attacker input an IP address and retrieve information such as the network range (CIDR block), organization ownership, and network topology details. Clark used whole/whois footprinting to get the server IP, then fed it into ARIN's online Whois to map the target's network range and identify topology and OS details — exactly matching the scenario.

Why the other options are incorrect:

A (AOL) — An internet service provider/portal, not an IP/Whois lookup tool.

C (DuckDuckGo) — A privacy-focused search engine used for general web searches, not IP-to-network-range/ownership lookups.

D (Baidu) — A Chinese search engine, similarly not an IP/Whois registry lookup tool.

References:

EC-Council CEHv13, Module 02: Footprinting and Reconnaissance — Whois footprinting and RIR queries (ARIN, RIPE, APNIC, LACNIC, AFRINIC); ARIN Whois documentation (arin.net); RFC 3912 (WHOIS Protocol).
Question 27 Choose 1
The tools which receive event logs from servers, network equipment, and applications, and perform analysis and correlation on those logs, and can generate alarms for security relevant issues, are known as what?
Show answerHide answer

Correct answer: D Security incident and event Monitoring

Explanation

Explanation:

SIEM (Security Information and Event Management) tools collect event logs from servers, network equipment, and applications; aggregate, analyze, and correlate them; and generate alarms for security-relevant issues. This centralized log analysis and alerting is the defining function of a SIEM. The option's wording "Security incident and event Monitoring" refers to this SIEM capability.

Why the other options are incorrect:

A (Network Sniffer) — Captures raw packet traffic for inspection; it does not collect, correlate, and alert on event logs from multiple sources.

B (Vulnerability Scanner) — Probes systems for known weaknesses/misconfigurations; it does not perform log collection and correlation.

C (Intrusion prevention Server) — Detects and blocks malicious traffic inline (IPS); it is traffic-focused, not a centralized log-correlation and alarm platform.

References:

EC-Council CEHv13, Module 11: Intrusion Detection Systems / Module 18: Incident Response (SIEM functions); NIST SP 800-92 (Guide to Computer Security Log Management); Gartner SIEM definition.
Question 28 Choose 1
An organization is performing a vulnerability assessment tor mitigating threats. James, a pen tester, scanned the organization by building an inventory of the protocols found on the organization's machines to detect which ports are attached to services such as an email server, a web server or a database server. After identifying the services, he selected the vulnerabilities on each machine and started executing only the relevant tests. What is the type of vulnerability assessment solution that James employed in the above scenario?
Show answerHide answer

Correct answer: B Tree-based assessment

Explanation

Explanation:

In a tree-based assessment, the tester first builds an inventory of the protocols/services and open ports on each machine (email server, web server, database server), then selects vulnerabilities relevant to those identified services and executes only the matching tests. The assessment follows a branching, tree-like logic — from host → service → specific vulnerability tests — avoiding irrelevant checks. James's approach of identifying services first and then running only relevant tests matches this method exactly.

Why the other options are incorrect:

A (Product-based solutions) — These assess a specific product/application against its known vulnerabilities; they do not follow a service-inventory-then-branch workflow across machines.

C (Service-based solutions) — Refers to assessment offerings delivered as a service (e.g., managed/cloud scanning), not the tree-structured methodology described.

D (Inference-based assessment) — Derives conclusions by inferring vulnerabilities from observed behavior/indirect evidence rather than directly enumerating services and running targeted tests.

References:

EC-Council CEHv13, Module 14: Vulnerability Analysis — types of vulnerability assessment (tree-based, inference-based, product-based, service-based); EC-Council CEHv13 Official Courseware, "Vulnerability Assessment Solutions."
Question 29 Choose 1
which of the following protocols can be used to secure an LDAP service against anonymous queries?
Show answerHide answer

Correct answer: D NTLM

Explanation

Explanation:

NTLM (NT LAN Manager) authentication can be used to secure an LDAP service against anonymous queries — it requires clients to authenticate before querying the directory. When LDAP is bound to Windows/Active Directory, NTLM (or Kerberos) enforces credentials, preventing unauthenticated (anonymous) binds and reads. This is commonly configured via SASL/NTLM bind on the LDAP server.

Why the other options are incorrect:

A (SSO) — Single Sign-On is an authentication framework/concept, not a protocol that secures LDAP binds; it doesn't itself block anonymous LDAP queries.

B (RADIUS) — A AAA protocol for network access (VPN, Wi-Fi, dial-up), not an LDAP directory authentication mechanism.

C (WPA) — A wireless LAN security protocol; unrelated to LDAP.

References:

EC-Council CEHv13, Module 04: Enumeration (LDAP enumeration and securing LDAP against anonymous binds); RFC 4513 (LDAP Authentication Methods and Security Mechanisms); Microsoft documentation — LDAP signing and NTLM/Kerberos authentication for AD LDAP.
Question 30 Choose 1
Widespread fraud ac Enron. WorldCom, and Tyco led to the creation of a law that was designed to improve the accuracy and accountability of corporate disclosures. It covers accounting firms and third parties that provide financial services to some organizations and came into effect in 2002. This law is known by what acronym?
Show answerHide answer

Correct answer: C SOX

Explanation

Explanation:

The Sarbanes-Oxley Act (SOX) was enacted in 2002 in response to major corporate and accounting scandals — Enron, WorldCom, and Tyco — to improve the accuracy and accountability of corporate financial disclosures. It imposes requirements on public companies and on accounting firms and third parties providing financial services, including internal controls and audit accountability. That matches the scenario exactly.

Why the other options are incorrect:

A (FedRAMP) — A U.S. government cloud-security authorization program, not a 2002 corporate-disclosure law.

B (PCI-DSS) — A payment card industry data-security standard, not legislation, and unrelated to corporate financial reporting.

D (HIPAA) — A 1996 U.S. law protecting health information privacy/security, not corporate financial disclosures.

References:

EC-Council CEHv13, Module 01: Introduction to Ethical Hacking (laws, standards, and compliance — SOX, HIPAA, PCI-DSS, FedRAMP); Sarbanes-Oxley Act of 2002 (Pub. L. 107-204); SEC guidance on SOX compliance.
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