ECCouncil 312-50v13 (Certified Ethical Hacker v13) Practice Test 5

Question 40

The assessment evidence reads as follows: An older time server responds to legacy diagnostic requests with data about many recent clients. Which technical concept explains the result?

  1. DNS SRV discovery
  2. NTP control-query exposure
  3. SMB null-session exposure
  4. NFS export disclosure

Explanation

Correct Answer

B:

Historical NTP monitoring commands exposed association or client information on some versions; modern implementations commonly restrict or remove these behaviors. For a production safeguard, operators can patch time services and restrict diagnostic control queries; current versions and access restrictions prevent unnecessary query disclosures while leaving time synchronization available to approved clients.

Incorrect Answers

A:

DNS SRV records publish the hostname and port of a service so clients can find it; LDAP and Kerberos discovery commonly rely on them; the relevant mechanism in the observed workflow is NTP control-query exposure instead.

C:

An SMB null session may expose information on misconfigured or older systems where anonymous access policy is overly permissive; the case demonstrates NTP control-query exposure rather than the alternate mechanism.

D:

NFS exports describe filesystems available to network clients; export policies can expose directories even when the server's local permissions appear sound; the observed evidence concerns NTP control-query exposure instead.

Question 41

A security engineer examines the following result: A legitimate build imports a third-party package that was replaced with malicious code in its normal distribution channel. Which described weakness or technique does it demonstrate?

  1. Kernel rootkit
  2. Bootkit compromise
  3. Living-off-the-land misuse
  4. Compromised software dependency

Explanation

Correct Answer

D:

Software supply-chain compromise abuses trusted dependencies or update paths so the victim runs malicious code as part of an expected installation workflow. A practical defensive response is to pin and verify dependencies with provenance checks and build isolation; signed artifacts, dependency review, and reproducible controls reduce hidden code substitution in otherwise legitimate release pipelines.

Incorrect Answers

A:

Kernel rootkits modify low-level execution or visibility to hide malicious artifacts, making tools that depend on the compromised OS potentially unreliable; those effects are not the compromised software dependency pattern evidenced by the assessment.

B:

Bootkits target boot components or the boot chain to persist below ordinary user-space defenses, potentially running before endpoint agents initialize; the case demonstrates compromised software dependency rather than the alternate mechanism.

C:

Living-off-the-land behavior abuses legitimate operating-system tools to perform malicious work, so executable reputation alone may be insufficient; the observed evidence concerns compromised software dependency instead.

Question 42

A controlled investigation yields this observation: A client receives a forged DNS answer before the legitimate response to a pending query and follows the supplied address. How should the team identify the underlying behavior?

  1. DNS response spoofing
  2. Dynamic ARP inspection
  3. DNS resolver poisoning
  4. MAC address table flooding

Explanation

Correct Answer

A:

DNS response spoofing impersonates a reply to an outstanding lookup; success depends on response matching and resolver defenses against forgeries. A targeted mitigation is to validate DNS replies and use trusted resolvers with secure transport where appropriate; DNSSEC and protected resolver channels reduce answer substitution, though transport encryption alone does not guarantee authoritative record correctness.

Incorrect Answers

B:

Dynamic ARP inspection validates ARP packets on untrusted switch ports, blocking forged mappings that could support local interception; the observed evidence concerns DNS response spoofing instead.

C:

DNS cache poisoning contaminates a resolver's stored answer so later clients receive attacker-selected data without querying the authoritative zone again; the test record points specifically to DNS response spoofing, not this separate mechanism.

D:

CAM table flooding attempts to exhaust switch learning resources; some switches may flood unknown unicast frames more broadly when entries are unavailable; that behavior is distinct from the DNS response spoofing finding being classified.

Question 43

A controlled investigation yields this observation: New clients receive a default gateway and DNS server controlled by an unauthorized device plugged into an office switch. How should the team identify the underlying behavior?

  1. ARP cache poisoning
  2. LLMNR name-resolution poisoning
  3. Rogue DHCP server
  4. IPv6 router-advertisement spoofing

Explanation

Correct Answer

C:

Rogue DHCP replies can provide malicious network settings that redirect subsequent name resolution and traffic even without changing host applications. This is why teams should trust only approved DHCP uplinks through switch DHCP snooping; filtering server replies on user-facing ports prevents unauthorized devices from assigning gateway and resolver settings to clients.

Incorrect Answers

A:

ARP poisoning forges address-resolution associations on a local broadcast domain, potentially redirecting or intercepting traffic through an adversary-controlled interface; the observed evidence concerns rogue DHCP server instead.

B:

Link-Local Multicast Name Resolution can resolve names on the local segment without ordinary DNS; spoofed responses can redirect clients to hostile listeners; the test record points specifically to rogue DHCP server, not this separate mechanism.

D:

IPv6 router advertisements can configure host routing automatically; fake advertisements may redirect IPv6 traffic even in primarily IPv4-managed networks; the scenario identifies rogue DHCP server, which has a different triggering condition.

Question 44

A production hardening ticket was raised after this confirmed observation: A coffee shop guest WLAN uses a short dictionary-style WPA2-Personal secret, making it feasible to evaluate guessed network credentials from captured association material. Which action best targets the risk?

  1. Use spectrum monitoring and resilient channel or coverage planning
  2. Use a strong random passphrase or move to enterprise authentication
  3. Disable unnecessary WPS PIN enrollment and enforce secure onboarding
  4. Use validated enterprise server certificates and rogue-AP detection
  5. Use authenticated pairing methods and verify device identities

Explanation

Correct Answer

B:

High-entropy secrets resist offline guesses, while per-user enterprise credentials remove the single shared passphrase from the whole fleet. It targets the actual failure mode: WPA2-Personal derives key material from a shared passphrase, so weak secrets can be tested against a captured handshake outside the network.

Incorrect Answers

A:

RF monitoring identifies interference patterns and alternative coverage or channels restore service without misdiagnosing the outage as a password issue; that safeguard does not directly close the WPA2-Personal weak passphrase route highlighted by the test.

C:

Removing the vulnerable setup mechanism closes a parallel authentication path that can undermine an otherwise strong WPA2 password; the specific root cause belongs to WPA2-Personal weak passphrase, beyond this control's intended scope.

D:

Clients that verify the authentication server identity are less likely to trust a lookalike AP offering the same SSID; that change targets evil-twin access point, while the confirmed weakness involves WPA2-Personal weak passphrase.

E:

Numeric comparison or suitable authenticated pairing reduces undetected peer impersonation compared with accepting every unsolicited pairing prompt; it would improve bluetooth pairing downgrade, not directly correct the reported WPA2-Personal weak passphrase issue.

Question 45

An incident analyst is asked to classify this observed activity: An assessor sees that an application hostname previously resolved to an abandoned IP address now owned by another organization. Which concept is the closest match?

  1. Email header analysis
  2. Internet archive reconnaissance
  3. Reverse DNS footprinting
  4. Passive DNS history

Explanation

Correct Answer

D:

Passive DNS datasets collect historical name-to-address observations and can expose forgotten host relationships and potential dangling dependencies. A practical defensive response is to inventory DNS records and retire dangling external mappings; removing stale mappings and validating ownership of referenced services prevent historic infrastructure dependencies from becoming takeover opportunities.

Incorrect Answers

A:

Email headers record mail transfer hops and authentication signals; display names alone are untrusted and do not prove the actual origin; that behavior is distinct from the passive DNS history finding being classified.

B:

Historical web snapshots reveal previously published routes and configuration clues that are no longer linked from the live website; the scenario identifies passive DNS history, which has a different triggering condition.

C:

Reverse DNS uses PTR records to map an address back to a hostname; descriptive PTR values can inadvertently reveal infrastructure purpose; the defining symptom in the prompt is associated with passive DNS history instead.

Question 46

The post-assessment action plan cites this evidence: A monitoring router becomes unresponsive after a surge of ICMP echo traffic, even though important ICMP error messages are needed for normal network diagnostics. Which corrective measure should be prioritized?

  1. Enable SYN cookies or equivalent connection-state protections
  2. Update NTP software and disable unnecessary monitoring commands
  3. Rate-limit unnecessary ICMP echo handling while preserving essential ICMP messages
  4. Apply per-identity request quotas and application-aware protection

Explanation

Correct Answer

C:

Targeted control-plane policing protects diagnostics capacity without breaking indispensable errors such as path-MTU feedback. The underlying condition is that an ICMP flood targets network processing or bandwidth using large volumes of diagnostic packets rather than exhausting an HTTP application.

Incorrect Answers

A:

SYN cookies and tuned backlog handling reduce memory pressure from incomplete handshakes while retaining normal completed TCP connections; this is relevant to a separate TCP SYN flood scenario, rather than the identified exposure; the tested fault instead involves ICMP flood.

B:

Patched and restricted control interfaces remove the oversized response path while preserving legitimate network time service; the tested weakness is ICMP flood, not the NTP amplification configuration addressed here.

D:

Endpoint-specific limits protect scarce workers and database capacity even when requests look like ordinary valid HTTP traffic; the proposed improvement would make sense for HTTP application flood but not as the main fix here; the tested fault instead involves ICMP flood.

Question 47

A follow-up review must reduce the risk revealed here: Employees join an open wireless hotspot near headquarters and receive a login page asking for their company SSO password from a domain outside approved identity services. Which defensive measure fits the specific failure mode?

  1. Use certificate-based network access instead of MAC lists as primary security
  2. Disable unnecessary WPS PIN enrollment and enforce secure onboarding
  3. Avoid entering corporate passwords into unverified Wi-Fi portal pages
  4. Patch wireless clients and access points against key reinstallation flaws

Explanation

Correct Answer

C:

Trusted onboarding methods and validated sign-in domains keep general network-access prompts from becoming identity-theft channels. The specific weakness being corrected is that a deceptive captive portal can solicit credentials through a browser form; the page's appearance is not proof of the network operator's identity.

Incorrect Answers

A:

Cryptographic device identity resists simple address cloning and supports independent credential revocation for each managed endpoint; that change targets MAC address filtering, while the confirmed weakness involves captive-portal credential theft.

B:

Removing the vulnerable setup mechanism closes a parallel authentication path that can undermine an otherwise strong WPA2 password; it would improve WPS PIN weakness, not directly correct the reported captive-portal credential theft issue.

D:

Updated handshake handling prevents unsafe key reinstallation while preserving the normal protocol operation needed for secure association; the required correction concerns captive-portal credential theft, so this is not the targeted control.

Question 48

A controlled investigation yields this observation: A domain's public TXT record authorizes an unexpected cloud sending service to transmit mail for that domain. How should the team identify the underlying behavior?

  1. SPF DNS footprinting
  2. Email header analysis
  3. DMARC policy exposure
  4. Reverse DNS footprinting

Explanation

Correct Answer

A:

SPF policies enumerate permitted sending sources in DNS and can disclose external mail providers or infrastructure relationships. This is why teams should audit SPF include mechanisms and remove unneeded senders; a minimal authorized-sender list lowers spoofing exposure and prevents obsolete vendors from remaining legitimate senders for the domain.

Incorrect Answers

B:

Email headers record mail transfer hops and authentication signals; display names alone are untrusted and do not prove the actual origin; the reported conditions are characteristic of SPF DNS footprinting, not that path.

C:

DMARC publishes domain-alignment evaluation and receiver policy; monitoring-only policy does not instruct receivers to quarantine or reject failed messages; those prerequisites differ from the SPF DNS footprinting behavior in the record.

D:

Reverse DNS uses PTR records to map an address back to a hostname; descriptive PTR values can inadvertently reveal infrastructure purpose; this would classify another type of evidence, whereas the actual finding shows SPF DNS footprinting.

Question 49

A control review considers a verified technical issue: A team wants to pin a mobile service's TLS identity but has no process for distributing successor keys or recovering clients when the pinned certificate rotates. Which mitigation most directly addresses its cause?

  1. Use platform keystores and avoid embedding reusable high-value secrets
  2. Check platform integrity and limit high-risk access from modified devices
  3. Deploy enterprise work profiles with controlled data-sharing rules
  4. Use carefully managed pinning only with reliable key rotation procedures

Explanation

Correct Answer

D:

Operationally sustainable pin management can resist certain TLS interception threats without making every legitimate certificate renewal break clients. It directly addresses this mechanism: certificate pinning can reduce trust in unexpected certificate authorities, but poorly planned rotation or backup pins may cause outages.

Incorrect Answers

A:

Hardware-backed or OS-protected keys reduce straightforward extraction while server-managed short-lived tokens limit exposure if a client is lost; the proposed improvement would make sense for insecure mobile key storage but not as the main fix here; the tested fault instead involves certificate pinning limitations.

B:

Device posture controls keep sensitive services from relying on security guarantees a jailbroken host may no longer provide; the specific root cause belongs to certificate pinning limitations, beyond this control's intended scope.

C:

Managed-profile restrictions limit casual copying of corporate records into personal apps while retaining separate personal device use; that change targets Android work profile isolation, while the confirmed weakness involves certificate pinning limitations.

Question 50

The testing team seeks a specific preventive recommendation for this finding: A reused local administrator identity allows one breached maintenance station to open privileged SMB management shares on several otherwise separate department file servers. What should be implemented?

  1. Segment SMB management traffic and tier privileged credentials
  2. Use safe library loading and protect application directories
  3. Patch local escalation paths and enforce privilege boundaries
  4. Audit task creation and enforce authorization for scheduled execution

Explanation

Correct Answer

A:

Restricting remote administration paths and separating host-specific administrative identities limits how far one stolen credential can travel. The underlying condition is that lateral movement extends access from an initial foothold to other systems using reachable services and credentials, often exploiting excessive administrative reuse.

Incorrect Answers

B:

Explicit paths, signed code checks where available, and restricted write permissions reduce control over dependencies loaded by privileged applications; its security benefit applies principally to DLL search-order hijacking, not the defect described; the tested fault instead involves lateral movement over SMB.

C:

Kernel updates, application control, and limited local rights reduce opportunities for a low-privileged compromise to gain system-level authority; the exposure here is lateral movement over SMB, which calls for another protective mechanism.

D:

Changes to task definitions and launch paths provide persistence evidence; limiting task registration and alerting on anomalies constrain abuse; the action is aimed at scheduled-task persistence; it leaves the central lateral movement over SMB condition unresolved.

Certified Ethical Hacker v13 (312-50v13) Practice Tests