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

Question 500

A control review considers a verified technical issue: A legitimate cloud authorization window asks an employee to grant a recently created third-party app long-term permission to read all their company email. Which mitigation most directly addresses its cause?

  1. Verify sensitive requests through a separate trusted communication channel
  2. Use number matching and phishing-resistant authentication with prompt anomaly alerts
  3. Restrict risky application consent and review delegated grants
  4. Use strong account-recovery proof and second-party review for factor resets

Explanation

Correct Answer

C:

Admin review and least-privilege OAuth permissions prevent a deceptive app from acquiring long-lived API access through user approval. This matters for the observed attack path because consent phishing abuses delegated authorization: a seemingly valid login flow grants an untrusted application permissions without stealing the user's password.

Incorrect Answers

A:

Independent confirmation prevents project-specific impersonation from being treated as proof that an email request was authorized; that safeguard does not directly close the OAuth consent phishing route highlighted by the test.

B:

Challenge context and stronger factors reduce blind approvals, while alerting and throttling expose the repetitive abuse pattern; the proposed improvement would make sense for MFA push fatigue but not as the main fix here; the tested fault instead involves OAuth consent phishing.

D:

Recovery protections keep an impersonator from taking over the account simply by persuading support to replace or disable authentication controls; that change targets help-desk reset impersonation, while the confirmed weakness involves OAuth consent phishing.

Question 501

The approved engagement produces this evidence: An attacker sends a finance analyst a personalized message using details from the analyst's current project and asks for a sensitive spreadsheet. What is the correct technical interpretation?

  1. Whaling
  2. Business email compromise
  3. MFA push fatigue
  4. Spear phishing

Explanation

Correct Answer

D:

Spear phishing targets a specific person or group using tailored context rather than sending the same generic bait to a broad population. The appropriate hardening measure is to verify sensitive requests through a separate trusted communication channel, since independent confirmation prevents project-specific impersonation from being treated as proof that an email request was authorized.

Incorrect Answers

A:

Whaling focuses social engineering on senior or high-value leaders whose authority and access make a successful deception especially consequential; that behavior is distinct from the spear phishing finding being classified.

B:

Business email compromise manipulates financial or business workflows through impersonation or compromised correspondence rather than necessarily delivering malware; the scenario identifies spear phishing, which has a different triggering condition.

C:

Push bombing relies on repeated authentication prompts and user fatigue, sometimes combined with attacker contact, to gain an accidental approval; the defining symptom in the prompt is associated with spear phishing instead.

Question 502

As part of a sanctioned audit, a reviewer observes: A cloud bucket containing private reports can be downloaded anonymously because an overly broad object access policy was applied. Which behavior is illustrated?

  1. Cloud posture drift
  2. Cloud audit logging gap
  3. Public object storage exposure
  4. Multitenant isolation

Explanation

Correct Answer

C:

Public object permissions expose stored data independently of whether the bucket name is difficult to guess; link obscurity does not enforce authorization. This is why teams should block public access and apply explicit identity-based bucket policies; least-privilege resource policies and public-access guardrails stop anonymous reads while preserving approved application retrieval.

Incorrect Answers

A:

Cloud posture drift occurs when deployed configuration departs from defined policy through manual edits or automated infrastructure changes; the scenario identifies public object storage exposure, which has a different triggering condition.

B:

Cloud control-plane audit trails record resource and identity operations; without centralized retention, policy changes can escape meaningful attribution; the defining symptom in the prompt is associated with public object storage exposure instead.

D:

Multitenant applications must enforce tenant context at every relevant data access path; unique identifiers are not authorization checks; the reported conditions are characteristic of public object storage exposure, not that path.

Question 503

A control review considers a verified technical issue: An organization removes a former remote-support login from its navigation, but an old archived site snapshot still directs users and researchers to the reachable endpoint. Which mitigation most directly addresses its cause?

  1. Revoke exposed credentials and scan repository history for leaks
  2. Review certificate issuance and audit publicly exposed hostnames
  3. Apply publication review guidance to job ads and employee profiles
  4. Review archived disclosures and secure legacy paths independently of navigation
  5. Require authorization on backup locations and block unintended indexing

Explanation

Correct Answer

D:

Deleting links or redesigning menus does not revoke backend access; retired endpoints need authorization checks or removal even if archives retain their names. That correction is linked to the fact that historical web snapshots reveal previously published routes and configuration clues that are no longer linked from the live website.

Incorrect Answers

A:

Rotating the affected token removes the old credential's authority, while history scanning finds additional disclosures and prevents recurrence; that change targets public repository secret discovery, while the confirmed weakness involves internet archive reconnaissance.

B:

Monitoring issuance records and inventorying discovered names helps detect unexpected certificates and reduce disclosure through overly broad certificate naming; it would improve certificate transparency discovery, not directly correct the reported internet archive reconnaissance issue.

C:

Limiting operational detail in public posts reduces organizational fingerprinting without relying on employees to stop using professional networks; the measure addresses a different trust boundary from the internet archive reconnaissance finding.

E:

An index exclusion alone is not an access control; storage permissions and web server rules must prevent unauthenticated download; its security benefit applies principally to search operators for exposure, not the defect described; the tested fault instead involves internet archive reconnaissance.

Question 504

Operations asks for a practical correction after the test found: An externally delegated reverse zone includes device names identifying private database functions and geographic branch labels despite no need to reveal that structure. What should the security team recommend?

  1. Strip sensitive metadata during document publishing
  2. Apply publication review guidance to job ads and employee profiles
  3. Review archived disclosures and secure legacy paths independently of navigation
  4. Review publicly delegated reverse DNS naming conventions

Explanation

Correct Answer

D:

Neutral, accurate PTR names can support operations without advertising sensitive roles or internal architecture in public lookups. The underlying condition is that reverse DNS uses PTR records to map an address back to a hostname; descriptive PTR values can inadvertently reveal infrastructure purpose.

Incorrect Answers

A:

A publication workflow that sanitizes document properties reduces identity and host naming disclosures while preserving the intended public content; the exposure here is reverse DNS footprinting, which calls for another protective mechanism.

B:

Limiting operational detail in public posts reduces organizational fingerprinting without relying on employees to stop using professional networks; the action is aimed at social media role intelligence; it leaves the central reverse DNS footprinting condition unresolved.

C:

Deleting links or redesigning menus does not revoke backend access; retired endpoints need authorization checks or removal even if archives retain their names; this is relevant to a separate internet archive reconnaissance scenario, rather than the identified exposure; the tested fault instead involves reverse DNS footprinting.

Question 505

The approved engagement produces this evidence: A sensor flags a sudden increase in outbound DNS queries even though no exact malware domain appears in its signature database. What is the correct technical interpretation?

  1. Anomaly-based detection
  2. Signature-based detection
  3. TTL-based sensor desynchronization
  4. Host-based intrusion detection

Explanation

Correct Answer

A:

Anomaly detection compares events with baseline or statistical expectations; legitimate workload shifts can also trigger alerts and need tuning. A practical defensive response is to tune baselines using service context and investigate deviations; context-aware thresholds improve signal quality while preserving visibility into behavior that does not match a known static signature.

Incorrect Answers

B:

Signature detection matches established indicators and patterns; changed encodings or previously unseen payloads may evade exact content matches; those prerequisites differ from the anomaly-based detection behavior in the record.

C:

TTL manipulation can create packets observed by one device but not by the endpoint, confusing state tracking when paths and hop counts differ; this would classify another type of evidence, whereas the actual finding shows anomaly-based detection.

D:

HIDS examines events on the host such as files, processes, logs, and configuration, complementing network packet inspection; the relevant mechanism in the observed workflow is anomaly-based detection instead.

Question 506

The assessor confirmed this exposure: The DMZ firewall drops probes to a backend service that is reachable from an application segment, and the scan report lists the destination merely as filtered. Which change most directly closes the underlying security gap?

  1. Normalize suspicious flag patterns and corroborate scanner output
  2. Limit unnecessary route-detail exposure and corroborate paths with network diagrams
  3. Validate ambiguous UDP results with protocol-aware requests
  4. Validate port findings from the relevant network segment and check ACLs
  5. Review supported TLS versions and certificate validation on the real service

Explanation

Correct Answer

D:

Reachability is path-dependent; comparing internal and external probes with firewall policy distinguishes a closed service from a blocked route. It directly addresses this mechanism: filtered results describe the scanner's network vantage point; ACLs, stateful inspection, and packet loss can hide a listener without stopping its local process.

Incorrect Answers

A:

Firewall or IDS normalization catches anomalous traffic while standard connection tests separate fingerprint quirks from real exposure; the required correction concerns firewall port-state ambiguity, so this is not the targeted control.

B:

Rate-limiting diagnostic responses may reduce casual mapping, but legitimate troubleshooting still needs controlled path visibility; its security benefit applies principally to traceroute path inference, not the defect described; the tested fault instead involves firewall port-state ambiguity.

C:

Application-specific probes and correlated firewall logs help distinguish a silent UDP listener from network filtering without guessing from silence; the exposure here is firewall port-state ambiguity, which calls for another protective mechanism.

E:

Hardening protocol negotiation and certificate chains prevents downgrade and impersonation weaknesses that a simple open-port scan cannot detect; this is relevant to a separate TLS endpoint inspection scenario, rather than the identified exposure; the tested fault instead involves firewall port-state ambiguity.

Question 507

An incident analyst is asked to classify this observed activity: After a web server's long-term private certificate key is stolen, previously recorded encrypted sessions should remain protected. Which concept is the closest match?

  1. Elliptic-curve key exchange
  2. S-MIME encrypted email
  3. OCSP revocation lookup
  4. Cryptographic key rotation
  5. Forward secrecy

Explanation

Correct Answer

E:

Forward secrecy uses ephemeral key exchange so recorded session traffic cannot normally be decrypted solely from a later compromise of the server's long-term authentication key. For a production safeguard, operators can prefer TLS cipher suites using ephemeral ECDHE key exchange; fresh per-session key material limits retrospective exposure, provided ephemeral secrets were not separately compromised or logged.

Incorrect Answers

A:

Elliptic-curve Diffie–Hellman establishes shared key material from key pairs; an authenticated handshake is needed to resist active impersonation; this would classify another type of evidence, whereas the actual finding shows forward secrecy.

B:

S-MIME can encrypt message content to recipients' public keys and provide digital signatures; intermediate mail transport need not see message plaintext; the relevant mechanism in the observed workflow is forward secrecy instead.

C:

Online Certificate Status Protocol can report a certificate's revocation status through an issuer-designated responder; expiration dates alone do not reveal early revocation; those effects are not the forward secrecy pattern evidenced by the assessment.

D:

Key rotation periodically replaces cryptographic key material, reducing exposure windows; encrypted historical data may still depend on older keys; the case demonstrates forward secrecy rather than the alternate mechanism.

Question 508

A remediation meeting focuses on the following finding: A switch has legitimate DHCP-derived IP-to-MAC mappings but does not inspect forged ARP assertions before passing them to other clients on the access VLAN. Which proposed action best addresses its root cause?

  1. Control capture permissions and secure sensitive traffic with encryption
  2. Disable legacy broadcast name resolution where business applications permit
  3. Enable MACsec on supported links carrying sensitive internal traffic
  4. Enable DHCP snooping and rate limits on untrusted access ports
  5. Configure DAI alongside correct DHCP snooping or static bindings

Explanation

Correct Answer

E:

Binding-based validation prevents spoofed neighbor mappings, but static-IP devices require suitable entries to avoid disrupting legitimate traffic. The specific weakness being corrected is that dynamic ARP inspection validates ARP packets on untrusted switch ports, blocking forged mappings that could support local interception.

Incorrect Answers

A:

Limiting capture access and encrypting payloads reduce exposure; promiscuous mode by itself does not defeat switch isolation; it would improve promiscuous-mode capture, not directly correct the reported dynamic ARP inspection issue.

B:

Reducing NBNS dependence prevents unauthenticated local responses from steering clients toward an impersonated file or authentication service; the measure addresses a different trust boundary from the dynamic ARP inspection finding.

C:

Layer-2 encryption reduces interception on the protected physical path while higher-layer TLS still protects data beyond those MACsec peers; the required correction concerns dynamic ARP inspection, so this is not the targeted control.

D:

Per-port request limits and trusted DHCP server ports reduce lease exhaustion and constrain DHCP-origin abuse at the access layer; its security benefit applies principally to DHCP starvation, not the defect described; the tested fault instead involves dynamic ARP inspection.

Question 509

Operations asks for a practical correction after the test found: A breach exposes a password-verifier database, allowing attackers to test candidate passwords on their own hardware with no rate limit enforced by the authentication application. What should the security team recommend?

  1. Use long managed service-account secrets and monitor unusual ticket requests
  2. Use salted memory-hard password hashing and strong password policy
  3. Detect breached-password reuse and add risk-based login protections
  4. Forward protected logs off-host and alert on log-service disruption

Explanation

Correct Answer

B:

Per-account salts defeat precomputed hash tables, while expensive password hashing slows each offline guess after a database leak. It targets the actual failure mode: offline cracking compares computed candidate hashes with stored password verifiers; network account lockouts do not normally constrain the local comparison process.

Incorrect Answers

A:

Strong rotated service credentials resist offline guesses, and ticket-request telemetry can reveal abnormal targeting of many service principals; the action is aimed at kerberoasting; it leaves the central offline password hash attack condition unresolved.

C:

Unique passwords, MFA, and credential-reuse detection reduce success when third-party credential lists are tested against enterprise identities; the tested weakness is offline password hash attack, not the credential stuffing configuration addressed here.

D:

Central immutable retention and alerts on clearing events preserve an independent timeline and expose suspicious attempts to erase local evidence; that safeguard does not directly close the offline password hash attack route highlighted by the test.

Question 510

The approved test uncovered this weakness: Unexpected DNS queries originate from a database server shortly after hostile SQL inputs reach a reporting application, implying the database can make outbound requests. Which control would reduce the relevant exposure without relying on obscurity?

  1. Require encrypted browser connections without constraining database DNS access
  2. Restrict database outbound network paths and eliminate dynamic SQL concatenation
  3. Filter visible response content while continuing to concatenate SQL identifiers
  4. Hide SQL error messages but leave database network egress unrestricted

Explanation

Correct Answer

B:

Bound queries prevent injected operations; controlled egress reduces the chance that a database can contact arbitrary external receivers. That correction is linked to the fact that out-of-band SQL injection extracts evidence through a separate network channel, often DNS or HTTP, when direct response content cannot carry query results.

Incorrect Answers

A:

HTTPS protects transport to the application but does not constrain a database process that can initiate external requests; the out-of-band SQL injection weakness in the question therefore remains uncorrected.

C:

Out-of-band extraction does not need sensitive content to appear in the HTTP response; server-side SQL safety remains necessary; the out-of-band SQL injection weakness in the question therefore remains uncorrected.

D:

An out-of-band channel can transmit evidence through outbound lookups without displaying an exception to the client; the out-of-band SQL injection weakness in the question therefore remains uncorrected.

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