What does a firewall check to prevent particular ports and applications from getting packets into an
organization?
Show answerHide answer
Correct answer: ATransport layer port numbers and application layer headers
Explanation
Explanation
A firewall inspects traffic at the network perimeter to decide whether to allow or block packets. To prevent specific ports and applications from reaching the internal network, it examines:
Transport layer port numbers (TCP/UDP source and destination ports) — this is how the firewall identifies which service/port a packet is destined for (e.g., blocking port 23 to stop Telnet, or port 3389 for RDP).
Application layer headers — for application-level filtering (a stateful/next-gen or proxy firewall), the firewall inspects application protocol data (HTTP headers, FTP commands, DNS queries, etc.) to identify and block specific applications even if they use allowed ports (e.g., blocking HTTP traffic on a non-standard port, or blocking specific application signatures).
This combination is exactly what lets a firewall enforce rules like "block Telnet" or "block this application regardless of port."
Why the other options are wrong
B — The presentation layer headers and the session layer port numbers: Incorrect. Port numbers are a transport layer (Layer 4) concept, not session layer. The presentation layer handles data formatting/encryption (e.g., SSL/TLS, encoding) and is not where firewalls do port/application filtering.
C — Network layer headers and the session layer port numbers: Incorrect. Network layer headers (IP addresses) are used for packet filtering, but "session layer port numbers" is wrong — ports belong to the transport layer.
D — Application layer port numbers and the transport layer headers: Incorrect phrasing. Port numbers are transport layer, not application layer, and application identification is done via application layer headers, not transport layer headers. The layers are swapped.
NIST SP 800-41 Rev.1 — Guidelines on Firewalls and Firewall Policy.
OSI model mapping: port numbers = Layer 4 (Transport); application protocol inspection = Layer 7 (Application).
Question 22Choose 1
Which of the following incident handling process phases is responsible for defining rules, collaborating
human workforce, creating a back-up plan, and testing the plans for an organization?
Show answerHide answer
Correct answer: APreparation phase
Explanation
Explanation
Incident handling follows a structured lifecycle, and the Preparation phase is the first and foundational stage. During Preparation, an organization defines its incident response policies and rules, establishes the Computer Security Incident Response Team (CSIRT), assigns roles and responsibilities across the human workforce, and creates a back-up and communication plan. Critically, Preparation also includes testing those plans through tabletop exercises, simulations, and drills. This matches every element in the question: defining rules, collaborating human workforce, creating a back-up plan, and testing the plans.
Why the other options are wrong
B — Containment phase: Incorrect. Containment occurs after an incident is identified and focuses on limiting damage, isolating affected systems, and preserving evidence — not on defining rules or testing plans.
C — Identification phase: Incorrect. Identification is about detecting, validating, and confirming that an incident occurred and determining its scope.
D — Recovery phase: Incorrect. Recovery restores systems and operations to normal after containment and eradication; it does not involve creating or testing response plans.
EC-Council CEHv13 — Module: Incident Response and Handling.
Question 23Choose 1
Which system consists of a publicly available set of databases that contain domain name registration contact
information?
Show answerHide answer
Correct answer: AWHOIS
Explanation
Explanation
WHOIS is a publicly available query and response protocol, backed by a set of distributed databases, that stores and returns domain name registration contact information. When a domain is registered, the registrar records details such as the registrant's name and organization, administrative and technical contacts, the registrar used, registration and expiration dates, and name servers. Anyone can query WHOIS to retrieve this information, which is why it is heavily used during footprinting and reconnaissance in ethical hacking. The question's description — "a publicly available set of databases that contain domain name registration contact information" — is the textbook definition of WHOIS.
Why the other options are wrong
B — CAPTCHA: Incorrect. CAPTCHA is a challenge-response test designed to distinguish humans from bots; it has nothing to do with domain registration data.
C — IANA: Incorrect. IANA coordinates global IP address allocation, autonomous system numbers, and root DNS zone management — it does not publish domain registrant contact databases.
D — IETF: Incorrect. The IETF is the standards body that develops and publishes internet protocols such as RFCs; it does not maintain domain registration records.
Reference
RFC 3912 — WHOIS Protocol Specification.
ICANN WHOIS policy.
EC-Council CEHv13 — Module: Footprinting and Reconnaissance.
Question 24Choose 1
The configuration allows a wired or wireless network interface controller to pass all traffic it receives to the
Central Processing Unit (CPU), rather than passing only the frames that the controller is intended to receive.
Which of the following is being described?
Show answerHide answer
Correct answer: BPromiscuous mode
Explanation
Explanation
Promiscuous mode is a configuration setting on a wired or wireless Network Interface Controller (NIC) in which the controller passes all frames it receives to the Central Processing Unit (CPU), rather than filtering and passing only the frames addressed specifically to that controller. Normally, a NIC accepts only unicast frames destined for its own MAC address, broadcast frames, and multicast frames it has joined. In promiscuous mode, that filtering is disabled, so every frame on the network segment reaches the CPU for processing. This is exactly the definition given in the question and is the essential requirement for packet sniffing tools such as Wireshark, tcpdump, and network intrusion detection systems, which need to capture and analyze all visible traffic.
Why the other options are wrong
A — Multi-cast mode: Incorrect. Multicast mode causes the NIC to accept frames sent to a specific multicast group address, not all frames.
C — WEM: Incorrect. WEM is not a recognized NIC operating mode; it does not describe this behavior.
D — Port forwarding: Incorrect. Port forwarding is a router or firewall function that redirects incoming traffic from one port or address to another internal host — it has nothing to do with how a NIC passes received frames to the CPU.
Reference
EC-Council CEHv13 — Module: Sniffing.
IEEE 802.3 NIC operating modes.
Wireshark documentation on capture modes.
Question 25Choose 1
Steve, a scientist who works in a governmental security agency, developed a technological solution to identify
people based on walking patterns and implemented this approach to a physical control access.
A camera captures people walking and identifies the individuals using Steve’s approach.
After that, people must approximate their RFID badges. Both the identifications are required to open the door.
In this case, we can say:
Show answerHide answer
Correct answer: BThe solution implements the two authentication factors: physical object and physical characteristic
Explanation
Explanation
This scenario describes a genuine two-factor authentication system that combines two different categories of authentication factors. The first factor is gait recognition — identifying a person by walking patterns or biological motion captured by a camera. This is a biometric method, specifically a behavioral/physical characteristic, which falls under the inherence factor ("something you are"). The second factor is the RFID badge, a physical token the person must present, which falls under the possession factor ("something you have," a physical object). Because both identifications are required to open the door, the system implements two distinct factors: a physical characteristic and a physical object.
Why the other options are wrong
A — Although the approach has two phases, it actually implements just one authentication factor: Incorrect. The system clearly uses two separate factors — biometric gait recognition and an RFID possession token — not two instances of a single factor.
C — The solution will have a high level of false positives: Incorrect. This is an unsupported assumption; the question provides no performance data about the gait recognition system.
D — Biological motion cannot be used to identify people: Incorrect. Gait analysis and biological motion recognition are established biometric techniques used in security research and access control.
Reference
NIST SP 800-63B — Digital Identity Guidelines (Authentication and Lifecycle Management).
EC-Council CEHv13 — Module: Physical Security and Authentication.
Question 26Choose 1
Your company was hired by a small healthcare provider to perform a technical assessment on the network.
What is the best approach for discovering vulnerabilities on a Windows-based computer?
Show answerHide answer
Correct answer: BUse a scan tool like Nessus
Explanation
Explanation
When performing a technical assessment to discover vulnerabilities on a Windows-based computer, the correct approach is to use a vulnerability scanner such as Nessus. A scanner of this type connects to the target host, enumerates open ports and running services, fingerprints operating system and application versions, and compares them against known vulnerability signatures and configuration benchmarks. Nessus can perform both unauthenticated (remote) and authenticated (credentialed) scans, with credentialed scans revealing missing patches, weak configurations, and insecure settings in far greater depth. This directly fulfills the goal of discovering vulnerabilities on the host.
Why the other options are wrong
A — Use the built-in Windows Update tool: Incorrect. Windows Update is a patching tool — it installs Microsoft updates but does not identify or report vulnerabilities across the system, third-party software, or misconfigurations.
C — Check MITRE.org for the latest list of CVE findings: Incorrect. The CVE list is a reference catalog of publicly disclosed vulnerabilities; it does not tell you which of those vulnerabilities actually exist on this specific Windows computer.
D — Create a disk image of a clean Windows installation: Incorrect. Creating a disk image is a backup or forensics activity, not a vulnerability assessment technique — it neither scans nor reports weaknesses.
NIST SP 800-115 — Technical Guide to Information Security Testing and Assessment.
Tenable Nessus documentation.
Question 27Choose 1
What is not a PCI compliance recommendation?
Show answerHide answer
Correct answer: CRotate employees handling credit card transactions on a yearly basis to different departments.
Explanation
Explanation
This question asks which option is not a PCI compliance recommendation. PCI DSS (Payment Card Industry Data Security Standard) mandates specific technical and procedural controls to protect cardholder data. Option C — rotating employees who handle credit card transactions to different departments on a yearly basis — is not a PCI DSS requirement. PCI DSS addresses access control through least privilege and need-to-know principles, not through departmental job rotation. Therefore, C is the correct answer because it is the non-recommendation.
Why the other options are wrong
A — Use a firewall between the public network and the payment card data: Incorrect as the answer. This is a genuine PCI DSS requirement, reflecting Requirement 1 (install and maintain network security controls to protect cardholder data).
B — Use encryption to protect all transmission of card holder data over any public network: Incorrect as the answer. This is a genuine PCI DSS requirement, reflecting Requirement 4 (protect cardholder data with strong cryptography during transmission over open, public networks).
D — Limit access to card holder data to as few individuals as possible: Incorrect as the answer. This is a genuine PCI DSS requirement, reflecting Requirement 7 (restrict access to system components and cardholder data by business need-to-know).
Reference
PCI DSS v4.0 — Requirements 1, 4, and 7.
PCI Security Standards Council.
EC-Council CEHv13 — Module: Security Standards, Policies, and Compliance.
Question 28Choose 1
Which DNS resource record can indicate how long any "DNS poisoning" could last?
Show answerHide answer
Correct answer: BSOA
Explanation
Explanation
The SOA (Start of Authority) resource record is the record that defines authoritative information about a DNS zone, and it contains the zone's TTL (time-to-live) value — specifically the minimum/default TTL field. This TTL determines how long resolvers and caching servers may retain a DNS record before discarding it and querying again. In the context of DNS poisoning (DNS cache poisoning), an attacker injects forged records into a resolver's cache; the poisoned entry persists only until its TTL expires. Therefore, the SOA record's TTL indicates how long any DNS poisoning could last, making SOA the correct answer.
Why the other options are wrong
A — MX: Incorrect. MX records identify mail exchange servers for a domain and have no bearing on cache duration.
C — NS: Incorrect. NS records identify the authoritative name servers for a zone but do not carry the zone's TTL values.
D — TIMEOUT: Incorrect. TIMEOUT is not a DNS resource record type at all — it is a generic networking concept, not a DNS record.
Reference
RFC 1035 — Domain Names: Implementation and Specification (SOA and TTL).
EC-Council CEHv13 — Module: DNS Attacks and Footprinting.
Question 29Choose 1
When you are getting information about a web server, it is very important to know the HTTP Methods (GET,
POST, HEAD, PUT, DELETE, TRACE) that are available because there are two critical methods (PUT and
DELETE). PUT can upload a file to the server and DELETE can delete a file from the server. You can detect
all these methods (GET, POST, HEAD, DELETE, PUT, TRACE) using NMAP script engine. What Nmap
script will help you with this task?
Show answerHide answer
Correct answer: Ahttp-methods
Explanation
Explanation
The Nmap Scripting Engine (NSE) includes the http-methods script, which connects to a web server and enumerates the HTTP methods it supports — including GET, POST, HEAD, PUT, DELETE, TRACE, and OPTIONS. This is precisely the task described: detecting all available HTTP methods on a web server, with particular attention to the dangerous PUT (which can upload files) and DELETE (which can remove files) methods. Security testers use this script during web server enumeration to identify misconfigured servers that permit risky methods, which could allow an attacker to upload a web shell or delete critical files.
Why the other options are wrong
B — http enum: Incorrect. http-enum enumerates directories and files on a web server (like a forced browsing/discovery tool), not HTTP methods.
C — http-headers: Incorrect. http-headers retrieves and displays the HTTP response headers from the server, which reveals server software and security headers but not the list of supported methods.
D — http-git: Incorrect. http-git detects exposed Git repositories (such as a publicly accessible /.git/ directory) and does not enumerate HTTP methods.
Reference
Nmap NSE documentation — http-methods script.
EC-Council CEHv13 — Module: Enumeration and Web Server Assessment.
Question 30Choose 1
You are the Network Admin, and you get a complaint that some of the websites are no longer accessible. You
try to ping the servers and find them to be reachable. Then you type the IP address and then you try on the
browser, and find it to be accessible. But they are not accessible when you try using the URL.
What may be the problem?
Show answerHide answer
Correct answer: ATraffic is Blocked on UDP Port 53
Explanation
Question 30 — Correct Answer: A. Traffic is Blocked on UDP Port 53
Explanation
The symptoms narrow the fault precisely. The administrator can ping the servers successfully, meaning basic IP connectivity and ICMP work. Browsing by IP address works, meaning the web server itself is reachable and HTTP service is functioning. However, browsing by URL fails, meaning the browser cannot translate the domain name into an IP address. This isolates the problem to DNS resolution. DNS queries are sent to DNS servers over UDP port 53 (with TCP port 53 used for larger responses and zone transfers). If UDP port 53 is blocked, name resolution fails while direct IP access and ping continue to work — exactly matching the reported behavior.
Why the other options are wrong
B — Traffic is Blocked on TCP Port 80: Incorrect. Blocking TCP port 80 would prevent web browsing entirely, including by IP address, but IP-based browsing works here.
C — Traffic is Blocked on TCP Port 54: Incorrect. Port 54 is not a standard DNS or web service port, and DNS primarily uses port 53.
D — Traffic is Blocked on UDP Port 80: Incorrect. HTTP uses TCP port 80, not UDP 80, and blocking it would not explain why only URL-based browsing fails while IP-based browsing succeeds.
Reference
RFC 1035 — Domain Names: Implementation and Specification.
EC-Council CEHv13 — Module: Network Troubleshooting and DNS.
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.