ECCouncil certification · Exam 312-50v13

312-50v13 Mock Exam Page 5

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

41–49 of 49 free
Question 41 Choose 1
You are performing a penetration test for a client and have gained shell access to a Windows machine on the internal network. You intend to retrieve all DNS records for the internal domain, if the DNS server is at 192.168.10.2 and the domain name is abccorp.local, what command would you type at the nslookup prompt to attempt a zone transfer?
Show answerHide answer

Correct answer: B is-d abccorp.local

Explanation

Explanation:

At the `nslookup` interactive prompt, the `ls` subcommand is used to list information about a DNS domain, and the `-d` switch requests a full listing of all records — effectively attempting a zone transfer (AXFR) for the specified domain. The correct procedure is to first point nslookup at the target DNS server with `server 192.168.10.2`, then issue `ls -d abccorp.local`. If the DNS server is misconfigured to allow zone transfers to arbitrary hosts, nslookup returns the entire zone contents (host records, NS, MX, etc.), giving the tester a complete map of the internal domain. (The option text "is-d" is an OCR-style rendering of `ls -d`.)

Why the other options are incorrect:

A (`list server=192.168.10.2 type=all`) — Invalid nslookup syntax. nslookup does not use a `list` command with `server=` or `type=` parameters; the server is set with `server ` and record type with `set type=`. This command would produce an error.

C (`Iserver 192.168.10.2 -t all`) — Malformed. There is no `Iserver` subcommand, and `-t all` is not nslookup syntax (it resembles `dig`-style flags). Setting the server requires the `server` command, and types are set via `set type=`.

D (`List domain=Abccorp.local type=zone`) — Not a valid nslookup command. `list` does not accept `domain=` or `type=zone` arguments, and `zone` is not a record type.

References:

EC-Council CEHv13 Official Courseware, Module 02: Footprinting and Reconnaissance — DNS footprinting and zone transfer attempts using `nslookup
Question 42 Choose 1
Garry is a network administrator in an organization. He uses SNMP to manage networked devices from a remote location. To manage nodes in the network, he uses MIB. which contains formal descriptions of all network objects managed by SNMP. He accesses the contents of MIB by using a web browser either by entering the IP address and Lseries.mlb or by entering the DNS library name and Lseries.mlb. He is currently retrieving information from an MIB that contains object types for workstations and server services. Which of the following types of MIB is accessed by Garry in the above scenario?
Show answerHide answer

Correct answer: A LNMIB2.MIB

Explanation

Explanation:

LNMIB2.MIB (LAN Manager MIB II) is the SNMP Management Information Base that defines object types for workstations and server services in a LAN Manager/Windows networking environment. It covers items such as workstation and server statistics, sessions, shares, and service-related counters — precisely the "object types for workstations and server services" that Garry is retrieving. Garry accesses this MIB by browsing to the device's MIB file (e.g., entering the IP address and LNMIB2.MIB), and the contents describe the manageable SNMP objects for those workstation/server services.

Why the other options are incorrect:

B (WINS.MIB) — This MIB defines objects specific to the Windows Internet Name Service (WINS) — name registration and resolution statistics — not general workstation and server service objects.

C (DHCP.MIS) — This is the DHCP MIB (the filename is shown with a typo, .MIS for .MIB). It contains objects for managing DHCP servers only (leases, scopes, address pools), not workstation/server services.

D (MIB_II.MIB) — This is the standard MIB-II (RFC 1213), which defines generic TCP/IP objects: system, interfaces, IP, ICMP, TCP, UDP, and SNMP groups. It is protocol-level and does not describe LAN Manager workstation/server service objects.

References:

EC-Council CEHv13 Official Courseware, Module 04: Enumeration — SNMP enumeration, MIB structure, and common MIB types (LNMIB2, WINS, DHCP, MIB-II).
Question 43 Choose 1
What is the minimum number of network connections in a multi homed firewall?
Show answerHide answer

Correct answer: A 3

Explanation

Explanation:

A multi-homed firewall is a firewall with more than one network interface, each connected to a different network. The minimum is therefore two network connections — for example, one interface to the external/untrusted network (Internet) and one to the internal/trusted network. This allows the firewall to filter and control traffic between the two networks. (Adding a third interface creates a DMZ, but that is not the minimum.)

Why the other options are incorrect:

A (3) — Three interfaces describe a firewall with a DMZ (external, internal, DMZ), which is common but not the minimum for being multi-homed.

B (5) — Not a minimum; a firewall can have many interfaces, but multi-homed only requires more than one.

C (4) — Also not a minimum; no standard definition requires four connections.

References:

EC-Council CEHv13, Module 12: Evading IDS, Firewalls, and Honeypots (firewall types — multi-homed/bastion host); NIST SP 800-41 Rev. 1 (Guidelines on Firewalls and Firewall Policy); Microsoft/CompTIA Security+ definitions of dual-homed/multi-homed hosts.
Question 44 Choose 2
Which of the following are well known password-cracking programs?
Show answerHide answer

Correct answer: A, E L0phtcrackJohn the Ripper

Explanation

Explanation:

Both L0phtcrack (also called LC5) and John the Ripper are well-known password-cracking programs. L0phtcrack is a Windows password auditing and recovery tool that extracts and cracks Windows password hashes (LM and NTLM), supporting dictionary, hybrid, and brute-force attacks — it gained fame for exposing weaknesses in LAN Manager hashing. John the Ripper is a widely used, multi-platform password cracker that supports numerous hash and cipher formats (Unix crypt, MD5, SHA, Windows NTLM, etc.) and offers dictionary, brute-force, incremental, and rule-based attack modes. Both are standard tools referenced in password-cracking and system-hacking phases of penetration testing.

Why the other options are incorrect:

B (NetCat) — Netcat (`nc`) is a networking utility for reading and writing data across TCP/UDP connections — often called the "Swiss Army knife" of networking. It is used for banner grabbing, port probing, and shell redirection, but it is not a password cracker.

C (Jack the Ripper) — This is a fabricated distractor designed to resemble the real tool's name. No password-cracking tool called "Jack the Ripper" exists; the legitimate tool is John the Ripper.

D (Netbus) — NetBus is a remote administration Trojan/backdoor for Windows that allows remote control of a compromised system. It is malware, not a password-cracking program.

References:

EC-Council CEHv13 Official Courseware, Module 06: System Hacking — password-cracking tools and techniques (L0phtcrack, John the Ripper, Hashcat, Cain & Abel).
Question 45 Choose 1
In order to tailor your tests during a web-application scan, you decide to determine which web-server version is hosting the application. On using the sV flag with Nmap. you obtain the following response:
80/tcp open http-proxy Apache Server 7.1.6
what Information-gathering technique does this best describe?
Show answerHide answer

Correct answer: B Banner grabbing

Explanation

Explanation:

Running Nmap with the `-sV` (service/version detection) flag causes Nmap to connect to open ports, send probes, and analyze the responses returned by each service to identify the software product and its version. The output `80/tcp open http-proxy Apache Server 7.1.6` reveals the port number (80), the service (http-proxy), and the software version (Apache Server 7.1.6). This is banner grabbing — a fingerprinting/information-gathering technique used to determine the exact web-server version so that targeted tests and known exploits can be selected.

Why the other options are incorrect:

A (Whois lookup) — Queries domain and IP registration databases (registrar, owner, allocation, network range). It does not connect to services or reveal running software/version data, so it cannot produce the given output.

C (Dictionary attack) — An authentication attack that tries words from a wordlist to guess passwords. It has no role in identifying services or software versions.

D (Brute forcing) — Systematically tries all possible combinations to guess credentials or keys. Nmap `-sV` performs service/version detection, not credential guessing.

References:

EC-Council CEHv13 Official Courseware, Module 03: Scanning Networks — banner grabbing and Nmap `-sV` service/version detection.
Question 46 Choose 1
Clark is a professional hacker. He created and configured multiple domains pointing to the same host to switch quickly between the domains and avoid detection. Identify the behavior of the adversary In the above scenario.
Show answerHide answer

Correct answer: C Unspecified proxy activities

Explanation

Explanation:

In the MITRE ATT&CK framework, T1090 — Proxy covers adversaries using a proxy to direct network traffic and hide their true origin. Its sub-technique T1090.002 — External Proxy / the general tactic description includes registering and pointing multiple domains at the same host so the attacker can switch domains quickly to evade detection and blocking. This is described as "Unspecified proxy activities" — configuring multiple domains to the same host/IP to rotate infrastructure. Clark's behavior matches this: multiple domains → same host → rapid switching to avoid detection.

Why the other options are incorrect:

A (Use of command-line interface) — T1059; adversaries use CLI/shells to execute commands. No CLI activity is described.

B (Data staging) — T1074; adversaries collect and stage data in a central location before exfiltration. No staging of collected data is mentioned.

D (Use of DNS tunneling) — T1071.004; encodes data/commands in DNS queries/responses to a C2 server. The scenario involves domain-to-host mapping for evasion, not data carried inside DNS traffic.

References:

MITRE ATT&CK — T1090 (Proxy), including domain-fronting/multiple-domain evasion ("Unspecified proxy activities"); EC-Council CEHv13, Module 02: Footprinting/Module 12: Evading IDS, Firewalls, and Honeypots (proxy and domain-rotation evasion).
Question 47 Choose 1
Security administrator John Smith has noticed abnormal amounts of traffic coming from local computers at night. Upon reviewing, he finds that user data have been exfilltrated by an attacker. AV tools are unable to find any malicious software, and the IDS/IPS has not reported on any non-whitelisted programs, what type of malware did the attacker use to bypass the company's application whitelisting?
Show answerHide answer

Correct answer: C File-less malware

Explanation

Explanation:

File-less malware executes malicious activity without installing a traditional executable file on disk — it typically runs in memory and abuses legitimate, already-whitelisted system tools and processes (e.g., PowerShell, WMI, mshta, regsvr32) through scripts or macros. Because no malicious binary is written to disk, traditional AV tools may find no malicious file, and the IDS/IPS may see no non-whitelisted program. The activity is performed by trusted tools that are already permitted. This is exactly the scenario: data exfiltration at night, no malware found by AV, no whitelist violations reported.

Why the other options are incorrect:

A (Phishing malware) — Phishing is a delivery method; the malware delivered would still typically be a file/binary on disk, which AV or whitelisting would likely catch.

B (Zero-day malware) — Exploits an unknown vulnerability, but it still usually involves a malicious payload/executable; the "no malicious software found / no non-whitelisted program" clue points to file-less execution, not merely an unpatched flaw.

D (Logic bomb malware) — Malicious code that triggers on a condition/date; it is still code that must be present and would generally be detectable, and it doesn't explain AV/whitelist bypass.

References:

EC-Council CEHv13, Module 07: Malware Threats (file-less malware, living-off-the-land, PowerShell/WMI abuse); MITRE ATT&CK — T1059 (Command and Scripting Interpreter), T1218 (System Binary Proxy Execution); NIST SP 800-83 Rev. 1 (Malware Incident Prevention and Handling).
Question 48 Choose 1
At what stage of the cyber kill chain theory model does data exfiltration occur?
Show answerHide answer

Correct answer: A Actions on objectives

Explanation

Explanation:

In the Cyber Kill Chain (Lockheed Martin), Actions on Objectives is the final stage, where the attacker accomplishes their goal — which includes data exfiltration, theft of intellectual property, destroying data, or maintaining persistence. Exfiltration only happens after the earlier stages (recon → weaponization → delivery → exploitation → installation → C2) have succeeded, making "Actions on Objectives" the correct phase.

Why the other options are incorrect:

B (Weaponization) — Creating the exploit/payload (e.g., malicious document/backdoor); no data is stolen here.

C (Installation) — Installing the backdoor/implant on the victim to maintain access; exfiltration has not yet occurred.

D (Command and control) — Establishing the C2 channel between victim and attacker; this enables later actions but is not the exfiltration stage itself.

References:

EC-Council CEHv13, Module 01/Module 07 (Cyber Kill Chain — Reconnaissance, Weaponization, Delivery, Exploitation, Installation, Command & Control, Actions on Objectives); Lockheed Martin Cyber Kill Chain (lockheedmartin.com); MITRE ATT&CK — TA0010 Exfiltration.
Question 49 Choose 1
Bill is a network administrator. He wants to eliminate unencrypted traffic inside his company's network. He decides to setup a SPAN port and capture all traffic to the datacenter. He immediately discovers unencrypted traffic in port UDP 161. what protocol is this port using and how can he secure that traffic?
Show answerHide answer

Correct answer: B SNMP and he should change it to SNMP V3

Explanation

Explanation:

UDP port 161 is the well-known port for SNMP (Simple Network Management Protocol), used for queries (GET/GETNEXT/GETBULK) and management operations. In SNMPv1 and SNMPv2c, community strings and all data travel in plaintext, which is why Bill's SPAN capture reveals unencrypted traffic on port 161. The correct remediation is to migrate to SNMPv3, which introduces the User-based Security Model (USM) providing authentication (MD5/SHA) and encryption (DES/AES) so that credentials and management data are protected in transit.

Why the other options are incorrect:

A (It is not necessary to perform any actions, as SNMP is not carrying important information) — SNMP exposes sensitive device and system information (interfaces, routing tables, configuration, sometimes credentials in older implementations). Leaving it in plaintext is a genuine security risk, so no action is not acceptable.

C (RPC and the best practice is to disable RPC completely) — Port 161 is SNMP, not RPC; RPC/portmapper uses TCP/UDP 111. The protocol identification is wrong.

D (SNMP and he should change it to SNMP v2, which is encrypted) — SNMPv2c is still unencrypted; only SNMPv3 provides encryption. SNMPv2 adds features like GETBULK and 64-bit counters but no confidentiality.

References:

EC-Council CEHv13 Official Courseware, Module 04: Enumeration (SNMP enumeration) and Module 13: Sniffing (plaintext protocol risks).

That's the last free question in Topic 2 : Exam Pool B

You've seen the free 30% (49 of 166 questions). Full access unlocks every question and full-length 312-50v13 mock exams (65 questions, 105 minutes), a different mock on every attempt.

Unlock full mock exam
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