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

Question 380

A password-reset email contains attacker-controlled links after the application accepts an arbitrary incoming Host value. What defense is appropriate?

  1. Web error logging
  2. Sensitive backup-file exposure
  3. Host-header validation
  4. Web access logging

Explanation

Correct Answer

C:

Applications should use a trusted configured origin or allowlisted hostnames when forming security-sensitive links. Untrusted request headers are not reliable authority for canonical URLs.

Incorrect Answers

A:

Error logs record application-server failures and diagnostic conditions; that mechanism concerns diagnostic details explaining server failures instead of untrusted hostnames influencing generated links.

B:

Removing sensitive artifacts from web-accessible paths and protecting deployment outputs prevents accidental disclosure; the scenario tests untrusted hostnames influencing generated links, which is distinct from public access to leftover configuration backups.

D:

Access logs record HTTP request and response metadata according to configuration; the underlying behavior concerns historical requests processed by a web server, distinct from untrusted hostnames influencing generated links.

Question 381

A defender traces the relays and authentication results visible in a suspicious message. Which artifact should be analyzed?

  1. Email header inspection
  2. Employee profile analysis
  3. Job-advertisement analysis
  4. ASN and routing registry lookup

Explanation

Correct Answer

A:

Message headers contain Received paths and authentication results added by mail systems. They can aid origin analysis, although untrusted upstream headers may be forged.

Incorrect Answers

B:

Professional profiles can disclose job functions, vendors, and tooling in use; selecting it would address staff-disclosed technologies and roles instead of mail routing and authentication traces.

C:

Recruitment adverts often reveal systems, operating environments, and skills demanded by a team; that mechanism concerns technology hints from hiring requirements instead of mail routing and authentication traces.

D:

BGP and regional registry records associate prefixes with autonomous systems and routing policy; this can contribute to autonomous-system information for a routed prefix but does not prove mail routing and authentication traces.

Question 382

An authentication protocol accepts a previously captured valid request repeatedly without a freshness check. Which weakness is present?

  1. Token rotation after privilege change
  2. Concurrent session management
  3. Network session sequence prediction
  4. Replay detection
  5. Cookie path scope

Explanation

Correct Answer

D:

Replay occurs when an earlier valid exchange can be submitted again with effect. Nonces, timestamps, and one-time use checks help prove freshness.

Incorrect Answers

A:

The gap to resolve is reuse of previously valid authentication messages, not the separate matter of session privilege changes without token renewal.

B:

Server-side session inventory and selective revocation allow administrators or users; it helps explain revoking one suspicious active login, but not reuse of previously valid authentication messages.

C:

The mechanism relates to difficulty of predicting off-path TCP sequence state rather than reuse of previously valid authentication messages.

E:

That observation explains the limited security boundary provided by cookie paths without demonstrating reuse of previously valid authentication messages.

Question 383

A payment service sends callbacks to an app, and the receiver must verify the request really came from that provider. Which check is appropriate?

  1. Security response caching
  2. CORS origin policy
  3. GraphQL query complexity limit
  4. Webhook signature validation

Explanation

Correct Answer

D:

Verifying a webhook's signed payload with a trusted secret or public key provides origin and integrity evidence. Timestamp or nonce checks can limit replay.

Incorrect Answers

A:

This choice focuses on separation of personalized data in intermediary caches and therefore does not demonstrate authenticity and integrity of inbound webhook messages.

B:

The scenario tests authenticity and integrity of inbound webhook messages, which is distinct from which origins may access responses through browsers.

C:

Query depth and complexity budgets bound the work created by a GraphQL operation; this does not verify authenticity and integrity of inbound webhook messages, because its scope is the computational expense of a deeply nested API query.

Question 384

An auditor wants to confirm whether scans reached a protected interface despite no host reply. Which evidence is most useful?

  1. Maintenance-window testing
  2. Scan exclusion list
  3. Nmap XML output
  4. Firewall log correlation

Explanation

Correct Answer

D:

Firewall logs can show attempted sessions and rule decisions at the boundary. This corroborates network-path behavior without treating unanswered probes as definitive.

Incorrect Answers

A:

Scheduled assessment windows align risky activity with approved maintenance and staffing; it is useful for the approved time boundary for active tests but leaves whether boundary policy accepted or dropped probes unproven.

B:

This is tied to preventing probes against prohibited IP addresses rather than confirming whether boundary policy accepted or dropped probes.

C:

Nmap XML organizes hosts, ports, services, and scan metadata into machine-readable elements; it describes machine-readable network-scan results; the observed condition calls for whether boundary policy accepted or dropped probes.

Question 385

A threat hunter writes conditions over strings and file properties to locate malware-family artifacts. Which rule technology is relevant?

  1. Indicators of attack
  2. Quarantine response
  3. Signature-based detection
  4. YARA rule matching
  5. Indicators of compromise

Explanation

Correct Answer

D:

YARA supports pattern and condition matching over files or memory. Good rules balance specificity with resilience to superficial sample changes.

Incorrect Answers

A:

Indicators of attack describe adversary behaviors and techniques rather than only fixed artifacts; it serves behavioral signs of an attack technique and cannot by itself resolve rule-based matching of malicious artifact characteristics.

B:

Quarantine restricts access to a suspected malicious object and can retain it; the gap to resolve is rule-based matching of malicious artifact characteristics, not the separate matter of isolating suspicious content without immediate destruction.

C:

Signatures identify recognized characteristics of known threats; the result would concern a known malicious pattern in a file, leaving rule-based matching of malicious artifact characteristics unresolved.

E:

Indicators of compromise are observable artifacts associated with suspected malicious activity; the question hinges on rule-based matching of malicious artifact characteristics, not on observable artifacts linked to an intrusion.

Question 386

An IPv6 host needs the link-layer address of an on-link neighbor before sending it a unicast packet. Which exchange performs this discovery?

  1. ICMPv6 Neighbor Solicitation and Neighbor Advertisement
  2. DNS PTR response followed by an HTTP redirect
  3. DHCPv4 discovery and offer messages
  4. TCP SYN and SYN-ACK for port 443

Explanation

Correct Answer

A:

IPv6 Neighbor Discovery uses ICMPv6 solicitation and advertisement messages to resolve neighbor link-layer addressing and maintain reachability information.

Incorrect Answers

B:

A DNS PTR lookup maps an address toward a hostname; HTTP redirects concern web resource locations. Neither supplies the on-link IPv6 neighbor’s MAC address.

C:

DHCPv4 can lease IPv4 addresses and settings, but it is not the IPv6 Neighbor Discovery address-resolution exchange requested by this host.

D:

A TCP handshake establishes a transport session with a listening endpoint. Link-layer next-hop resolution must be handled independently before packets are transmitted.

Question 387

A merger introduces internet-facing APIs, exposed admin panels, and new VPN endpoints. What has most clearly increased?

  1. Risk transfer
  2. Threat versus vulnerability
  3. Cyber kill chain
  4. Attack surface

Explanation

Correct Answer

D:

Attack surface comprises the entry points and interfaces an adversary could reach. More externally accessible components create additional paths requiring assessment.

Incorrect Answers

A:

Transfer allocates a portion of financial consequences to another party through a contract; that can clarify contractual allocation of financial consequences but cannot establish the set of reachable entry points.

B:

A vulnerability is a weakness that could be exploited by a threat; selecting it would address the weakness that could enable an attack instead of the set of reachable entry points.

C:

The cyber kill chain organizes stages of an intrusion lifecycle; it focuses on the staged progression of an intrusion and therefore does not demonstrate the set of reachable entry points.

Question 388

A mobile app accepts a URL scheme that opens privileged screens without checking caller state. Which input path requires protection?

  1. App update integrity
  2. Insecure mobile local storage
  3. Insecure deep links
  4. Mobile phishing overlay

Explanation

Correct Answer

C:

Deep links are external entry points into application flows and require validation and authorization. A navigation shortcut must not bypass sign-in controls.

Incorrect Answers

A:

Update-integrity controls verify that newly installed application packages are trusted. They do not validate externally supplied deep-link parameters or authorize navigation to privileged app screens.

B:

Shared or unprotected local storage can expose data to other apps; the relevant outcome would be sensitive records in broadly accessible mobile storage, not untrusted links invoking sensitive in-app workflows.

D:

This choice serves fraudulent UI displayed over a legitimate mobile app and cannot by itself resolve untrusted links invoking sensitive in-app workflows.

Question 389

During an approved audit, a legacy FTP server accepts USER anonymous and grants access to public files without a named individual account. Which configuration permits this behavior?

  1. SMB guest share access
  2. Anonymous FTP login
  3. LDAP anonymous bind
  4. NFS export with root squashing

Explanation

Correct Answer

B:

FTP servers can be configured to accept the anonymous account for intentionally public content. Access should be restricted to an appropriate directory and not expose private files.

Incorrect Answers

A:

SMB guest access belongs to Windows file-sharing protocols. The recorded FTP USER command and subsequent FTP session identify a different file-transfer service.

C:

An LDAP anonymous bind may allow directory queries without authentication; it does not explain an FTP server accepting a specific USER name and serving transferred files.

D:

NFS root squashing maps a remote root identity to a less privileged server-side identity. It neither creates nor controls anonymous accounts for FTP logins.

Question 390

A blue team maps observed intrusion behavior to adversary goals such as credential access and lateral movement, then associates the behavior with named techniques. Which framework best supports this mapping?

  1. MITRE ATT&CK matrix of tactics and techniques
  2. Cyber Kill Chain phases only
  3. NIST Cybersecurity Framework governance functions
  4. Common Vulnerability Scoring System base metrics

Explanation

Correct Answer

A:

ATT&CK organizes adversary objectives into tactics and describes associated techniques and subtechniques, making it useful for detection mapping and threat-informed defense.

Incorrect Answers

B:

The Kill Chain describes a broader sequence of attack stages but does not offer ATT&CK’s granular tactic-technique catalog for individual observed behaviors.

C:

NIST CSF provides high-level organizational security outcomes and governance. It is not a detailed catalog of attacker credential-access and movement techniques.

D:

CVSS quantifies vulnerability severity characteristics. It does not classify sequences of adversary behavior seen by a security operations team.

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