ECCouncil certification · Exam 312-50v13

312-50v13 Mock Exam Page 11

Certified Ethical Hacker Exam CEHv13

Free 312-50v13 mock exam questions 101–110, each with the answer and an explanation.

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

Free 312-50v13 questions

101–110 of 164 free
Question 101 Choose 1
Which rootkit is characterized by its function of adding code and/or replacing some of the operating-system kernel code to obscure a backdoor on a system?
Show answerHide answer

Correct answer: C Kernel-level rootkit

Explanation

Explanation

The key characteristic of a kernel-level rootkit is precisely adding code to or replacing portions of the operating system kernel, thereby achieving deep hiding of backdoors and malicious activities. ScienceDirect's authoritative definition explicitly states: "Kernel-mode rootkits run with the highest operating system privileges (Ring 0) by adding code or replacing portions of the core operating system, including both the kernel and associated device drivers." DEF CON's presentation materials similarly define a rootkit as "a sophisticated piece of malware that can add new code to the operating system or delete and edit operating system kernel code." CEH study notes also point out that the characteristic of kernel-level rootkits is "replaces portions of OS code or adds new malicious core to it," and because they run with operating system privileges (Ring 0), they are extremely difficult to detect.

Why the Other Options Are Incorrect

A (User-mode rootkit): Runs at the application layer, primarily by intercepting user-space APIs or modifying DLLs to achieve hiding, and does not involve modifying kernel code.

B (Library-level rootkit): Replaces or hijacks system library functions (such as libc) to hide the attacker's activities; it operates in user space or library layers and does not directly modify kernel code.

D (Hypervisor-level rootkit): Runs as a hypervisor beneath the operating system, with the target OS running as a virtual machine; it does not modify the guest OS kernel code, but rather controls the entire virtual machine at a lower level.

References

ScienceDirect: Kernel-mode rootkits add code or replace portions of the core operating system (including kernel and drivers), running with Ring 0 privileges.
Question 102 Choose 1
Jane is working as a security professional at CyberSol Inc. She was tasked with ensuring the authentication and integrity of messages being transmitted in the corporate network. To encrypt the messages, she implemented a security model in which every user in the network maintains a ring of public keys. In this model, a user needs to encrypt a message using the receiver's public key, and only the receiver can decrypt the message using their private key. What is the security model implemented by Jane to secure corporate messages?
Show answerHide answer

Correct answer: D Web of trust (WOT)

Explanation

Explanation

The scenario described in the question—users each maintain a "ring of public keys," and encrypt using the recipient's public key, with only the recipient able to decrypt using their private key—is precisely the core mechanism of Web of Trust (WOT). WOT is a decentralized trust model used in PGP, OpenPGP, and GnuPG systems, whose core idea is to distribute key authenticity verification across users: users sign each other's public keys, forming a trust network, thereby confirming the binding between a public key and its owner. CEH v13 exam question banks explicitly list WOT as a "trust model of PGP, OpenPGP, and GnuPG systems," with the core being decentralized distribution of key trust among PGP users.

The question mentions "a ring of public keys," which corresponds to the concept of a public keyring in PGP. In this model, the user's public keyring stores public keys of others, and when encrypting, the recipient's public key is used; decryption requires the recipient's private key—exactly the working method of WOT.

Why the Other Options Are Incorrect

A (Zero trust network): Zero trust is a network security architecture principle, with the core idea being "never trust, always verify," focusing on identity and access management at the network level, and is not a public key trust model.

B (Transport Layer Security, TLS): TLS is a transport-layer encryption protocol that uses a hybrid mechanism of symmetric and asymmetric encryption, relying on a certificate authority (CA) hierarchical trust model, not a decentralized "web of trust" model.

C (Secure Socket Layer, SSL): SSL is the predecessor of TLS, likewise based on CA-issued certificates for trust verification, and is unrelated to the decentralized trust network described in the question.

References

EPFL Graph Search: WOT is a concept used in PGP, GnuPG, and other OpenPGP-compatible systems to establish the authenticity of the binding between a public key and its owner, with its decentralized trust model being an alternative to PKI.
Question 103 Choose 1
What is the least important information when you analyze a public IP address in a security alert?
Show answerHide answer

Correct answer: D ARP

Explanation

Explanation

When analyzing a public IP address in a security alert, the least relevant piece of information is ARP (Address Resolution Protocol). The core reason is that ARP operates at Layer 2 (Data Link Layer) and only functions within a local broadcast domain (LAN), used to resolve an IP address to a MAC address for devices on the same physical network segment. Public IP addresses, however, are routed at Layer 3 and are not resolved via ARP by the analyst's system—the analyst's machine only ARPs for its local gateway, never for a remote public IP. Therefore, ARP data has no direct applicability to investigating an external public IP in an alert.

The other three options are all standard and valuable enrichment sources for public IP analysis:

A DNS (reverse DNS/PTR records) can reveal the hostname and associated infrastructure of an IP, helping identify whether it belongs to a cloud provider, CDN, or known service.

B Whois (or RDAP) provides registration data including the owning organization, ASN, and allocation details, which is essential for understanding who controls the address.

C Geolocation offers a rough indication of the IP's registered location, useful for flagging anomalous regions, though analysts must treat it cautiously due to VPNs and proxies.

References

Netgate pfSense documentation: ARP table entries are for IPv4 hosts on the network which have attempted to talk to or through the firewall, explicitly limited to directly connected local hosts.
Question 104 Choose 1
When conducting a penetration test, it is crucial to use all means to get all available information about the target network. One of the ways to do that is by sniffing the network. Which of the following cannot be performed by the passive network sniffing?
Show answerHide answer

Correct answer: B Modifying and replaying captured network traffic

Explanation

Explanation

The core characteristic of passive network sniffing is that it only monitors and records traffic without altering or injecting any packets. As defined in CEH study materials, passive sniffing "does not require any packets to be sent" and is limited to "monitoring and capturing incoming packets". The OWASP documentation likewise describes passive eavesdropping as using tools such as Wireshark or tcpdump to "passively capture network traffic," and although the captured traffic can be analyzed, the sniffing behavior itself does not modify the data stream.

Modifying and replaying captured traffic is an active behavior: it involves injecting forged or replayed packets into the network, thereby altering the communication flow. CEH materials clearly distinguish the two: "In passive sniffing, traffic is locked but it is not altered in any way"; whereas active sniffing "not only locks and monitors traffic, but may also alter it". Therefore, modifying and replaying traffic is beyond the capability of passive sniffing.

Why the Other Options Are Incorrect

A (Identifying operating systems, services, protocols, and devices): Passive sniffing can infer the operating system, running services, and protocol types by analyzing packet headers (such as TTL values and TCP window sizes). MITRE ATT&CK explicitly states that network sniffing can reveal configuration details such as running services, version numbers, and IP addresses.

C (Collecting unencrypted usernames and passwords): If credentials are transmitted over plaintext protocols (such as HTTP, FTP, Telnet), passive sniffing can directly capture them. MITRE ATT&CK confirms that sniffing can capture authentication material, especially credentials sent over insecure, unencrypted protocols.

D (Capturing network traffic for further analysis): This is the most fundamental function of passive sniffing. It is precisely to save traffic as a pcap file for subsequent offline analysis that tools such as Wireshark and tcpdump are used.

References

CEH Sniffing study notes (GitHub): Passive sniffing only monitors and records without altering traffic; active sniffing can alter traffic.
Question 105 Choose 1
As a cybersecurity consultant for SafePath Corp, you have been tasked with implementing a system for secure email communication. The key requirement is to ensure both confidentiality and non-repudiation. While considering various encryption methods, you are inclined towards using a combination of symmetric and asymmetric cryptography. However, you are unsure which cryptographic technique would best serve the purpose. Which of the following options would you choose to meet these requirements?
Show answerHide answer

Correct answer: D Apply asymmetric encryption with RSA and use the private key for signing.

Explanation

Explanation

The requirement is to simultaneously achieve confidentiality and non-repudiation. Confidentiality can be achieved by encrypting with the recipient's public key, while non-repudiation must be achieved through digital signatures—that is, the sender uses their own private key to sign the message. Only the sender possesses the private key, so the signature can be verified by anyone using the sender's public key, thereby proving that the message indeed originated from that sender, and the sender cannot later deny having sent it. Temple University's course materials explicitly point out: "Non-repudiation can only be achieved through asymmetric cryptography," and digital signatures are the core mechanism for achieving this goal.

Therefore, the correct approach is: the sender uses their private key to sign the message (ensuring non-repudiation), while simultaneously using the recipient's public key to encrypt the message (ensuring confidentiality). Option D accurately reflects the signing step required for non-repudiation.

Why the Other Options Are Incorrect

A (AES symmetric encryption): Symmetric encryption uses the same key for encryption and decryption, so both parties possess the same key, making it impossible to prove who actually sent the message. UCLA course materials explicitly point out that the disadvantage of symmetric systems is that "non-repudiation is difficult without a server". Brainscape's CEH notes likewise state that the disadvantage of symmetric encryption is "lack of non-repudiation features".

B (Diffie-Hellman key exchange): Diffie-Hellman is a key exchange protocol used to negotiate a shared symmetric key over an insecure channel; it does not provide digital signature functionality and cannot achieve non-repudiation. It only solves the problem of key distribution, not the problem of identity proof.

C (RSA encryption using the public key): Using the recipient's public key for encryption can indeed achieve confidentiality (only the recipient's private key can decrypt it), but it cannot achieve non-repudiation—because anyone can obtain the recipient's public key and send an encrypted message, the recipient cannot prove who sent the message. Non-repudiation requires the sender to use their own private key to sign.

References

TI official training materials: The use of asymmetric cryptography includes "authentication," specifically digital signatures, which prove that content did indeed originate from the claimed source.
Question 106 Choose 1
Which of the following is a passive wireless packet analyzer that works on Linux-based systems?
Show answerHide answer

Correct answer: C tshark

Explanation

Explanation

Kismet is a passive wireless packet analyzer designed for Linux-based systems. According to its official documentation and Ubuntu man pages, Kismet is an 802.11 Layer 2 wireless network detector, sniffer, and intrusion detection system that passively collects packets to identify networks, detect hidden networks, and infer the presence of non-beaconing networks through data traffic. Wikipedia explicitly notes that Kismet differs from other wireless network detectors in that it operates passively—without sending any loggable packets, it can detect the presence of wireless access points and clients and associate them with each other. Kismet runs on Linux (as well as FreeBSD, NetBSD, OpenBSD, and macOS) and is distributed with Kali Linux.

Why the Other Options Are Incorrect

A (Burp Suite): Burp Suite is a web application security testing toolkit used for intercepting, inspecting, and modifying HTTP/HTTPS traffic. It is not a wireless packet analyzer and does not operate at the 802.11 layer.

B (OpenVAS): OpenVAS is an open-source vulnerability scanner used to identify security weaknesses in networks and systems. It is not a wireless packet capture or analysis tool.

D (tshark): While tshark is a command-line packet analyzer that runs on Linux and can capture wireless traffic, the question specifically asks for a passive wireless packet analyzer—a dedicated tool for wireless network discovery and monitoring. Kismet is purpose-built for this role (wireless detector, sniffer, and IDS), whereas tshark is a general-purpose protocol analyzer. In the CEH context, Kismet is the canonical answer for passive wireless sniffing on Linux.

References

Ubuntu Manpage: Kismet is an 802.11 layer2 wireless network detector, sniffer, and IDS that passively collects packets.
Question 107 Choose 1
Tony is a penetration tester tasked with performing a penetration test. After gaining initial access to a target system, he finds a list of hashed passwords.
Which of the following tools would not be useful for cracking the hashed passwords?
Show answerHide answer

Correct answer: C netcat

Explanation

Explanation

Tony has already obtained a list of hashed passwords and needs to perform offline cracking. Among the four options, only John the Ripper and Hashcat are specialized password hash cracking tools. THC-Hydra is an online login brute-forcing tool, which is not ideal for the task, but it is at least related to password guessing. Netcat is fundamentally a network utility and has no password cracking capability whatsoever.

Why the Other Options Are Incorrect

A (John the Ripper): A classic offline password hash cracking tool that supports numerous hash formats and dictionary/rule-based attacks.

B (Hashcat): An offline password recovery tool that supports over 300 hash algorithms and is a standard tool for hash cracking.

D (THC-Hydra): While it is an online brute-forcing tool used to attack live services (such as SSH, FTP, HTTP) rather than offline hashes, it is still a password-related attack tool and has some relevance to password guessing tasks. Compared to netcat, it is at least connected to password attacks.

Why netcat Is the Least Useful

Netcat is a general-purpose networking tool used for reading/writing data over TCP/UDP, port scanning, banner grabbing, file transfers, and creating backdoors. It cannot perform any computation or cracking on hash values. When Tony already has the hash list, netcat can neither crack the hashes nor help guess the plaintext—it can only establish network connections, which is completely unrelated to the task at hand.

References

ScienceDirect: Netcat is used for port scanning, banner grabbing, file transfer, and similar networking tasks.
Question 108 Choose 1
You are the lead cybersecurity analyst at a multinational corporation that uses a hybrid encryption system to secure inter-departmental communications. The system uses RSA encryption for key exchange and AES for data encryption, taking advantage of the strengths of both asymmetric and symmetric encryption. Each RSA key pair has a size of 'n' bits, with larger keys providing more security at the cost of slower performance. The time complexity of generating an RSA key pair is O(n*2), and AES encryption has a time complexity of O(n). An attacker has developed a quantum algorithm with time complexity O((log n)*2) to crack RSA encryption. Given *n=4000' and variable ‘AES key size’, which scenario is likely to provide the best balance of security and performance? which scenario would provide the best balance of security and performance?
Show answerHide answer

Correct answer: C Data encryption with AES-128: Provides moderate security and fast encryption, offering a balance between the two.

Explanation

Explanation

The question asks which option provides the best balance of security and performance in a hybrid system using RSA for key exchange and AES for data encryption. Option C, AES-128, is the most balanced choice.

Performance: AES-128 is faster than AES-256. Industry benchmarks show that AES-256 incurs approximately 15–40% more CPU cost than AES-128 for high-throughput workloads, and this difference is real on constrained hardware. An academic performance study also confirms that "increasing key size prolongs encryption and decryption time".

Security: NIST SP 800-57 explicitly states that when 128 bits of security strength is required, AES-128 is an appropriate choice, and notes that "other AES key sizes would also be appropriate, but performance may be a little slower". For most enterprise inter-departmental communications, 128-bit security is sufficient and far exceeds classical brute-force capabilities.

Why not choose AES-256 (D): Although AES-256 provides a higher security margin, the question emphasizes "best balance." NIST's own guidance places AES-128 as the baseline recommendation for 128-bit security, and the performance cost of AES-256 is measurable. The extra security margin provides limited practical benefit for the scenario described.

Why the Other Options Are Incorrect

A (3DES 168-bit): 3DES is inherently inefficient and consumes approximately three times the CPU power of its predecessor, and AES outperforms 3DES in both software and hardware. The effective security of 3DES is only 112 bits, and it is being deprecated.

B (Blowfish 448-bit): Blowfish has a 64-bit block size, which makes it vulnerable to attacks that AES's 128-bit block size resists, and it lacks hardware acceleration like AES-NI. Despite the larger key, Blowfish is not the better choice.

D (AES-256): Provides higher security but at a measurable performance cost, and NIST's guidance indicates AES-128 is the appropriate baseline for 128-bit security.

References

NIST SP 800-57 Part 1 Rev. 5: AES-128 is appropriate for 128-bit security strength; other AES key sizes may be slower.
Question 109 Choose 1
Morris, an attacker, wanted to check whether the target AP is in a locked state. He attempted using different utilities to identify WPS-enabled APs in the target wireless network. Ultimately, he succeeded with one special command-line utility. Which of the following command-line utilities allowed Morris to discover the WPS-enabled APs?
Show answerHide answer

Correct answer: A wash

Explanation

Explanation

wash is a command-line utility specifically designed to identify WPS-enabled access points in a wireless network, and can also check whether the AP's WPS is in a locked state. According to the official Debian documentation, the purpose of wash is "a utility for identifying WPS enabled access points," and its output includes WPS Locked status (the locked status reported in the AP's beacon frame). In the scenario, Morris wanted to check whether the target AP is in a locked state; wash can directly display this information, perfectly matching the requirement.

Why the Other Options Are Incorrect

B (ntptrace): ntptrace is a command-line tool for tracing the NTP server peer chain, used for time synchronization troubleshooting, and is completely unrelated to wireless WPS detection.

C (macof): macof is used to flood a switched LAN with random MAC addresses, causing the switch's MAC table to overflow, thereby facilitating sniffing; it is not a wireless WPS discovery tool.

D (net view): net view is a Windows command for displaying domains, computers, or shared resources in the network, unrelated to wireless WPS detection.

References

Debian wash README: explicitly states that wash is used for identifying WPS-enabled APs and displays WPS Locked status.

Question 110 Choose 1
An organization decided to harden its security against web-application and web-server attacks. John, a security personnel in the organization, employed a security scanner to automate web-application security testing and to guard the organization's web infrastructure against web-application threats. Using that tool, he also wants to detect XSS, directory transversal problems, fault injection, SQL injection, attempts to execute commands, and several other attacks. Which of the following security scanners will help John perform the above task?
Show answerHide answer

Correct answer: B Syhunt Hybrid

Explanation

Explanation

The tool John needs is a web application security scanner capable of automating the detection of XSS, directory traversal, fault injection, SQL injection, command execution, and other web threats. Syhunt Hybrid is precisely such a scanner. According to Syhunt's official documentation, its application scanning method performs attack testing on the website structure and web applications, explicitly covering fault injection vulnerabilities such as XSS, SQL Injection, File Inclusion, and more. Its dedicated scanning methods also include Cross-Site Scripting (XSS), SQL Injection (SQL & NoSQL), File Inclusion and Directory Traversal, and Fault Injection. Syhunt's official website further confirms that it combines source code analysis and dynamic analysis to detect various vulnerabilities, including XSS, file inclusion, SQL injection, command execution and inference, and supports in-band and out-of-band attacks. These capabilities perfectly match the requirements described in the question.

Why the Other Options Are Incorrect

A (AlienVault OSSIM): OSSIM is an integrated SIEM and vulnerability management platform that integrates open-source analysis engines and focuses on log correlation and asset identification, rather than a dedicated web application security scanner for detecting XSS, SQL injection, and similar attacks. It does not possess the specialized web attack testing capabilities described in the question.

C (Saleae Logic Analyzer): This is a hardware logic analyzer used for debugging digital signals and decoding protocols such as SPI and I2C, and is entirely unrelated to web application security testing.

D (Cisco ASA): This is a firewall/VPN security appliance used for network boundary protection and access control, not a web application vulnerability scanner, and cannot automate the detection of XSS or SQL injection vulnerabilities.

References

Syhunt official documentation: Application scanning covers fault injection vulnerabilities such as XSS, SQL Injection, File Inclusion, and includes dedicated scan methods for XSS, SQL injection, file inclusion/directory traversal, etc.
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