ECCouncil certification · Exam 312-50v13

312-50v13 Mock Exam Page 4

Certified Ethical Hacker Exam CEHv13

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

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

Topic 1 : Exam Pool A questions

31–40 of 42 free
Question 31 Choose 3
Which of the following tools are used for enumeration? (Choose three.)
Show answerHide answer

Correct answer: B, D, E USER2SIDSID2USERDumpSec

Explanation

Explanation:

Enumeration is the process of extracting detailed information from a target — such as user accounts, shares, groups, and security identifiers (SIDs) — after footprinting and scanning. The three tools listed that are specifically used for enumeration are:

USER2SID — a Windows enumeration tool that converts a username into its corresponding Security Identifier (SID), useful for mapping accounts to SIDs during reconnaissance.

SID2USER — the counterpart tool that resolves a SID back into a username, helping attackers enumerate accounts even from SIDs discovered in permissions or registry entries.

DumpSec — a Windows enumeration tool (successor to Somarsoft's DumpAcl) that dumps users, groups, shares, permissions, and ACLs from a system, making it a classic enumeration utility.


Why the other options are wrong:

A — SolarWinds: Incorrect. SolarWinds is a network management/monitoring suite (and, in the CEH context, the supply-chain attack reference), not a user/SID enumeration tool of this type.

C — Cheops: Incorrect. Cheops is a network mapping and monitoring tool (a Linux network scanner/manager), not a Windows account/SID enumeration utility.

Reference;

EC-Council CEHv13 — Module: Enumeration (Windows enumeration tools: USER2SID, SID2USER, DumpSec, NetBIOS enumerators).
Question 32 Choose 1
Why is a penetration test considered to be more thorough than vulnerability scan?
Show answerHide answer

Correct answer: B A penetration test actively exploits vulnerabilities in the targeted infrastructure, while a vulnerability scan does not typically involve active exploitation.

Explanation

Explanation

A vulnerability scan is largely automated and non-invasive: it identifies potential weaknesses by comparing detected services, versions, and configurations against vulnerability signatures and databases. It reports what might be exploitable but generally does not prove exploitability. A penetration test goes further — it attempts to actively exploit discovered vulnerabilities to determine whether they are actually exploitable and to assess real business impact. Because exploitation validates real-world risk (and can chain vulnerabilities), a penetration test is considered more thorough than a vulnerability scan.

Why the other options are wrong

A — Vulnerability scans only do host discovery and port scanning by default: Incorrect. Vulnerability scanners do far more than host discovery and port scanning — they fingerprint services and check for known vulnerabilities and misconfigurations.

C — It is not – a penetration test is often performed by an automated tool, while a vulnerability scan requires active engagement: Incorrect. This reverses reality: vulnerability scans are typically the automated activity, while penetration tests involve skilled human testers and active engagement.

D — The tools used by penetration testers tend to have much more comprehensive vulnerability databases: Incorrect. Vulnerability scanners (e.g., Nessus, Qualys) rely on large vulnerability databases; penetration testers use exploitation frameworks like Metasploit. Database size is not the reason a pen test is more thorough — active exploitation is.

Reference

EC-Council CEHv13 — Module: Vulnerability Analysis and Penetration Testing.

NIST SP 800-115 — Technical Guide to Information Security Testing and Assessment.

PTES (Penetration Testing Execution Standard).
Question 33 Choose 1
While using your bank’s online servicing you notice the following string in the URL bar: “http: // www. MyPersonalBank. com/ account?id=368940911028389&Damount=10980&Camount=21”
You observe that if you modify the Damount & Camount values and submit the request, that data on the web page reflects the changes.
Which type of vulnerability is present on this site?
Show answerHide answer

Correct answer: C Web Parameter Tampering

Explanation

Explanation

The URL contains parameters (id, Damount, Camount) that are passed to the server and reflected in the web page. The tester observes that modifying the values of Damount and Camount and resubmitting changes the data displayed — meaning the application trusts client-supplied parameter values without proper server-side validation. This is Web Parameter Tampering (also called parameter manipulation): an attacker alters hidden fields, URL query strings, or form parameters to change application behavior, such as modifying a transaction amount.

Why the other options are wrong

A — Cookie Tampering: Incorrect. The manipulation occurs in URL parameters, not in cookies.

B — SQL Injection: Incorrect. There is no evidence of injecting SQL syntax to manipulate the database; the observed effect is simple parameter value manipulation.

D — XSS Reflection: Incorrect. Reflected XSS involves injecting script that executes in another user's browser; here the issue is tampering with parameter values that the server accepts.

Reference

EC-Council CEHv13 — Module: Web Application Attacks (Parameter Tampering).

OWASP — Web Parameter Tampering / Input Validation guidance.

Question 34 Choose 1
When analyzing the IDS logs, the system administrator noticed an alert was logged when the external router was accessed from the administrator’s Computer to update the router configuration. What type of an alert is this?
Show answerHide answer

Correct answer: D False positive

Explanation

Explanation

An IDS alert is a false positive when the system raises an alert for activity that is actually legitimate/authorized. Here, the administrator legitimately accessed the external router from their own computer to update the configuration, yet the IDS logged an alert. Because the activity was benign and authorized but still triggered an alert, this is a false positive. False positives are a major operational challenge for IDS/IPS deployments because they create alert fatigue.

Why the other options are wrong

A — False negative: Incorrect. A false negative is when malicious activity occurs but the IDS fails to alert. Here an alert was generated.

B — True negative: Incorrect. A true negative is when no alert is raised for benign activity — the correct outcome. Here an alert was raised.

C — True positive: Incorrect. A true positive is when the IDS correctly alerts on genuinely malicious activity. The router access was authorized, so it was not malicious.

Reference

EC-Council CEHv13 — Module: IDS, IPS, and Honeypots (alert classification: true/false positive/negative).

NIST SP 800-94 — Guide to Intrusion Detection and Prevention Systems.
Question 35 Choose 1
An attacker, using a rogue wireless AP, performed an MITM attack and injected an HTML code to embed a malicious applet in all HTTP connections.
When users accessed any page, the applet ran and exploited many machines. Which one of the following tools the hacker probably used to inject HTML code?
Show answerHide answer

Correct answer: B Ettercap

Explanation

Explanation

Ettercap is a comprehensive man-in-the-middle (MITM) attack tool that supports ARP poisoning, traffic interception, and content filtering/injection. A key feature of Ettercap is its ability to inject or modify content in intercepted connections — including injecting HTML code into HTTP traffic so that a malicious applet is embedded in every page a victim loads. This matches the scenario exactly: a rogue AP enabling MITM, with HTML injected into all HTTP connections.

Why the other options are wrong

A — Wireshark: Incorrect. Wireshark is a passive protocol analyzer/sniffer; it captures and dissects traffic but does not inject HTML.

C — Aircrack-ng: Incorrect. Aircrack-ng is a wireless security suite for capturing packets and cracking WEP/WPA keys; it does not perform HTML injection.

D — Tcpdump: Incorrect. Tcpdump is a command-line packet capture tool; it observes traffic but cannot modify or inject content.

Reference

EC-Council CEHv13 — Module: Sniffing and MITM Attacks (Ettercap filters/injection).

Ettercap documentation — content filtering and injection features.
Question 36 Choose 1
Which is the first step followed by Vulnerability Scanners for scanning a network?
Show answerHide answer

Correct answer: D Checking if the remote host is alive

Explanation

Vulnerability scanners follow a logical sequence. The first step is host discovery — determining whether a remote host is alive/reachable (e.g., via ICMP echo, TCP SYN, or ARP). There is no point scanning ports or fingerprinting a host that is not up. Only after confirming the host is alive does the scanner proceed to port scanning (TCP/UDP), service/version detection, OS detection, and finally vulnerability checks. Therefore, "checking if the remote host is alive" is the first step.

Why the other options are wrong

A — OS Detection: Incorrect. OS detection occurs later, after the host is confirmed alive and ports/services are identified.

B — Firewall detection: Incorrect. Firewall detection is a later analysis step, not the initial one.

C — TCP/UDP Port scanning: Incorrect. Port scanning happens after host discovery — you must know the host is alive before scanning its ports.

Reference

EC-Council CEHv13 — Module: Vulnerability Analysis (scanning methodology).

NIST SP 800-115 — Technical Guide to Information Security Testing and Assessment.
Question 37 Choose 1
If a tester is attempting to ping a target that exists but receives no response or a response that states the destination is unreachable, ICMP may be disabled and the network may be using TCP. Which other option could the tester use to get a response from a host using TCP?
Show answerHide answer

Correct answer: C TCP ping

Explanation

Explanation

When ICMP is blocked (ping gets no response or "destination unreachable") but the network may still allow TCP, a tester can use a TCP ping to determine whether a host is alive. A TCP ping sends a TCP packet (commonly a SYN) to a known or likely-open port and interprets the response: a SYN/ACK (or RST) indicates the host is up, while no response suggests it is down or filtered. This technique bypasses ICMP filtering and is supported by tools such as Nmap (-PS), hping, and dedicated TCP ping utilities.

Why the other options are wrong

A — Traceroute: Incorrect. Traceroute maps the path to a host (often using ICMP or UDP); it is not a host-liveness technique that bypasses ICMP blocking for a single target response.

B — Hping: Incorrect as the best specific answer. Hping is a tool that can perform TCP pings, but the question asks for the technique/option — "TCP ping" — which is the method itself.

D — Broadcast ping: Incorrect. A broadcast ping sends ICMP to a broadcast address; if ICMP is disabled, this will not elicit a response either.

Reference

EC-Council CEHv13 — Module: Scanning Networks (TCP ping / host discovery when ICMP is blocked).

Nmap documentation — host discovery with TCP SYN ping (-PS).
Question 38 Choose 3
Peter, a Network Administrator, has come to you looking for advice on a tool that would help him perform SNMP enquires over the network.
Which of these tools would do the SNMP enumeration he is looking for? Select the best answers.
Show answerHide answer

Correct answer: A, B, D SNMPUtilSNScanSolarwinds IP Network Browser

Explanation

Explanation

SNMP enumeration queries devices (routers, switches, printers, servers) for management information such as system descriptions, interfaces, and community strings. The tools listed that perform SNMP enumeration are:

SNMPUtil — a Windows SNMP utility that queries SNMP-enabled devices and retrieves management information (walk/get operations).

SNScan — an SNMP scanner that discovers SNMP-enabled devices and enumerates community strings and system information across a network.

SolarWinds IP Network Browser — a network discovery tool that uses SNMP (among other protocols) to enumerate devices, interfaces, and system details.

Why the other options are wrong

C — SNMPScan: Incorrect. This is not a standard, recognized SNMP enumeration tool in the CEH toolset (it is often a distractor name).

E — NMap: Incorrect. Nmap is a port/host scanner; while it has NSE scripts that can query SNMP, it is not primarily an SNMP enumeration tool and is not among the intended best answers here.

Reference

EC-Council CEHv13 — Module: Enumeration (SNMP enumeration tools: SNMPUtil, SNScan, SolarWinds IP Network Browser).

SNMP RFCs (RFC 1157 / 3411–3418).
Question 39 Choose 1
What is correct about digital signatures?
Show answerHide answer

Correct answer: A A digital signature cannot be moved from one signed document to another because it is the hash of the original document encrypted with the private key of the signing party.

Explanation

Explanation

A digital signature is created by computing a hash of the document and then encrypting that hash with the signer's private key. Because the signature is bound to the exact hash of the original document, any change to the document changes the hash and invalidates the signature. Equally, the signature cannot be lifted and attached to a different document, because that document would produce a different hash — so the signature would fail verification. This binding of signature to document content is what provides integrity and non-repudiation.

Why the other options are wrong

B — Digital signatures may be used in different documents of the same type: Incorrect. A signature is bound to the specific document's hash; it cannot be reused on another document, even of the same type.

C — A digital signature cannot be moved from one signed document to another because it is a plain hash of the document content: Incorrect. A digital signature is not a plain hash — it is the hash encrypted with the signer's private key. A plain hash would provide integrity but not authentication/non-repudiation.

D — Digital signatures are issued once for each user and can be used everywhere until they expire: Incorrect. This describes a certificate or signing key, not a document-bound digital signature; signatures are created per document.

Reference

EC-Council CEHv13 — Module: Cryptography (digital signatures, hashing, PKI).

NIST FIPS 186-4/186-5 — Digital Signature Standard (DSS).
Question 40 Choose 1
By using a smart card and pin, you are using a two-factor authentication that satisfies
Show answerHide answer

Correct answer: B Something you have and something you know

Explanation

Explanation

Two-factor authentication requires two different categories of factors. A smart card is a physical token you possess — the "something you have" factor. A PIN is a secret code you memorize — the "something you know" factor. Combining a smart card with a PIN therefore satisfies two-factor authentication: possession plus knowledge. This is the classic example used in physical and logical access control (e.g., smart card + PIN at an ATM or building door).

Why the other options are wrong

A — Something you are and something you remember: Incorrect. A smart card is not a biometric ("something you are"); "something you remember" is knowledge, but the pairing is wrong.

C — Something you know and something you are: Incorrect. Neither the smart card nor the PIN is a biometric factor.

D — Something you have and something you are: Incorrect. The PIN is knowledge, not a biometric characteristic.

Reference

NIST SP 800-63B — Digital Identity Guidelines (Authentication factors).

EC-Council CEHv13 — Module: Physical Security and Authentication.
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