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

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.

Question 51

Operations asks for a practical correction after the test found: The site owner's confirmation form can be framed by an untrusted page, letting an overlay trick a user into activating a sensitive button while seeing different content. What should the security team recommend?

  1. Sanitize allowed rich content and use output encoding on display
  2. Enforce outbound destination allowlists and block internal metadata ranges
  3. Require unpredictable anti-CSRF tokens for state-changing requests
  4. Apply Content-Security-Policy frame-ancestors restrictions

Explanation

Correct Answer

D:

A framing policy lets browsers prevent unauthorized embedding of sensitive pages, removing the overlay surface used in this deception. The safeguard responds to the underlying issue: clickjacking uses deceptive framing and visual overlay to cause actions on a real site when users think they are interacting with something else.

Incorrect Answers

A:

Validation and rendering safeguards stop saved comments from becoming active scripts when retrieved by other users; the tested weakness is clickjacking, not the stored cross-site scripting configuration addressed here.

B:

URL and IP validation plus restricted egress prevent the server from acting as a proxy to sensitive services outside the feature's intended scope; that safeguard does not directly close the clickjacking route highlighted by the test.

C:

Per-session tokens and origin checks bind sensitive operations to legitimate application flows beyond the presence of browser cookies; the proposed improvement would make sense for cross-site request forgery but not as the main fix here; the tested fault instead involves clickjacking.

Question 52

A security change request summarizes the problem as follows: The company retires a cloud service but leaves an old DNS alias pointing at an address or tenant it no longer controls, creating possible confusion over hostname ownership. Which remediation is best suited to it?

  1. Review publicly delegated reverse DNS naming conventions
  2. Revoke exposed credentials and scan repository history for leaks
  3. Reconcile announced prefixes with authorized asset and provider inventories
  4. Inventory DNS records and retire dangling external mappings
  5. Enforce SPF, DKIM, and DMARC with aligned identities

Explanation

Correct Answer

D:

Removing stale mappings and validating ownership of referenced services prevent historic infrastructure dependencies from becoming takeover opportunities. It targets the actual failure mode: passive DNS datasets collect historical name-to-address observations and can expose forgotten host relationships and potential dangling dependencies.

Incorrect Answers

A:

Neutral, accurate PTR names can support operations without advertising sensitive roles or internal architecture in public lookups; it would improve reverse DNS footprinting, not directly correct the reported passive DNS history issue.

B:

Rotating the affected token removes the old credential's authority, while history scanning finds additional disclosures and prevents recurrence; the measure addresses a different trust boundary from the passive DNS history finding.

C:

ASN mapping reveals broad exposure, but network ownership is not permission to scan third-party hosted systems without explicit scope approval; the required correction concerns passive DNS history, so this is not the targeted control.

E:

These domain-authentication mechanisms help receivers assess spoofed mail and policy handling, though they do not eliminate all social-engineering risk; the exposure here is passive DNS history, which calls for another protective mechanism.

Question 53

During a documented lab review, an analyst notes: A browser needs current evidence that a still-unexpired certificate was revoked after its private key was compromised. What mechanism should be recorded?

  1. Digital signature verification
  2. PKI trust chain
  3. Forward secrecy
  4. OCSP revocation lookup

Explanation

Correct Answer

D:

Online Certificate Status Protocol can report a certificate's revocation status through an issuer-designated responder; expiration dates alone do not reveal early revocation. The appropriate hardening measure is to use appropriate certificate status checking and rapid key replacement, since revocation checking and renewed credentials reduce reliance on a key that the issuer has declared untrustworthy before scheduled expiry.

Incorrect Answers

A:

Digital signatures use private-key operations for authenticity and integrity verification by corresponding public keys; confidentiality is a separate service; those effects are not the OCSP revocation lookup pattern evidenced by the assessment.

B:

PKI certificate verification builds a chain from a leaf through intermediate issuers to a locally trusted root, subject to name and validity checks; the case demonstrates OCSP revocation lookup rather than the alternate mechanism.

C:

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; the observed evidence concerns OCSP revocation lookup instead.

Question 54

Consider this event from a scoped security assessment: A user is convinced to approve a malicious cloud application requesting access to mailbox data through a legitimate consent screen. Which explanation fits the observed evidence?

  1. OAuth consent phishing
  2. Quid-pro-quo scam
  3. Tailgating
  4. QR-code phishing
  5. Whaling

Explanation

Correct Answer

A:

Consent phishing abuses delegated authorization: a seemingly valid login flow grants an untrusted application permissions without stealing the user's password. This is why teams should restrict risky application consent and review delegated grants; admin review and least-privilege OAuth permissions prevent a deceptive app from acquiring long-lived API access through user approval.

Incorrect Answers

B:

Quid pro quo uses a promised benefit or service in exchange for an action that grants access or discloses information; the observed evidence concerns OAuth consent phishing instead.

C:

Tailgating gains physical access by following someone legitimately admitted, exploiting social pressure to hold doors instead of defeating badge technology; the test record points specifically to OAuth consent phishing, not this separate mechanism.

D:

QR phishing hides a destination behind a scannable image, encouraging users to open a fraudulent site without seeing the URL beforehand; that behavior is distinct from the OAuth consent phishing finding being classified.

E:

Whaling focuses social engineering on senior or high-value leaders whose authority and access make a successful deception especially consequential; the scenario identifies OAuth consent phishing, which has a different triggering condition.

Question 55

A production hardening ticket was raised after this confirmed observation: An engineering team plans to order patch tickets solely by CVSS numerical score while ignoring that one vulnerable device hosts regulated transactions and another is isolated. Which action best targets the risk?

  1. Apply explicit target allowlists and test exclusions before execution
  2. Verify the affected asset and original attack condition after the change
  3. Combine CVSS severity with asset exposure and mission impact
  4. Map CVEs to affected versions and verified remediation advisories

Explanation

Correct Answer

C:

Prioritization should incorporate reachability, compensating controls, and business context rather than treating a base score as a complete risk statement. The technical basis for the recommendation is that CVSS base metrics characterize intrinsic exploitability and impact; local exposure and business consequences are captured separately through context or environmental assessment.

Incorrect Answers

A:

Enforced scope controls keep sensitive or prohibited assets outside the scan regardless of how network ranges are discovered; its security benefit applies principally to assessment exclusions, not the defect described; the tested fault instead involves CVSS base score.

B:

A targeted retest confirms both patch applicability and the closure of the particular finding instead of accepting ticket state as technical proof; the exposure here is CVSS base score, which calls for another protective mechanism.

D:

Version matching and vendor guidance establish whether an asset is exposed and which update or workaround addresses that vulnerability; this is relevant to a separate CVE identifier scenario, rather than the identified exposure; the tested fault instead involves CVSS base score.

Question 56

An incident analyst is asked to classify this observed activity: Two different scanner products use the same CVE label to refer to a published vulnerability affecting a particular component. Which concept is the closest match?

  1. CVSS base score
  2. Risk-based patch prioritization
  3. CVE identifier
  4. Authenticated vulnerability scan

Explanation

Correct Answer

C:

A CVE is a standardized identifier for a disclosed vulnerability; it is not itself a severity score, exploit proof, or patch confirmation. The control that addresses this failure path is to map CVEs to affected versions and verified remediation advisories; version matching and vendor guidance establish whether an asset is exposed and which update or workaround addresses that vulnerability.

Incorrect Answers

A:

CVSS base metrics characterize intrinsic exploitability and impact; local exposure and business consequences are captured separately through context or environmental assessment; the test record points specifically to CVE identifier, not this separate mechanism.

B:

Exposure and exploit conditions influence practical risk even when the underlying vulnerability ID and published severity match; that behavior is distinct from the CVE identifier finding being classified.

D:

Credentialed scanning examines installed versions, configurations, and local patch state; network-only checks may miss software with no exposed banner; the defining symptom in the prompt is associated with CVE identifier instead.

Question 57

Consider this event from a scoped security assessment: The scanner observes SYN-ACK from a target port and sends a reset without finishing a TCP three-way handshake. Which explanation fits the observed evidence?

  1. TCP connect scan
  2. UDP service discovery
  3. TCP SYN scan
  4. ICMP echo discovery

Explanation

Correct Answer

C:

A SYN scan infers open ports from SYN-ACK replies and commonly avoids completing the full TCP connection, subject to privilege and firewall behavior. On affected systems, it is useful to monitor SYN probing patterns and apply network exposure controls; connection attempts to many ports can indicate reconnaissance; reducing reachable listeners is stronger protection than hiding TCP banners alone.

Incorrect Answers

A:

A TCP connect scan uses the operating system's connect call to complete the handshake and can be more visible in service logs than half-open probing; that behavior is distinct from the TCP SYN scan finding being classified.

B:

A UDP scan often cannot distinguish open from filtered ports when no response arrives; ICMP port-unreachable usually indicates the probed port is closed; the scenario identifies TCP SYN scan, which has a different triggering condition.

D:

ICMP echo discovery tests reachability at the network layer; a live host need not expose an open application port to answer; the events given do not establish this behavior but do support TCP SYN scan.

Question 58

During a scoped review the analyst records both conditions: A sensor misses suspicious content split across overlapping or unusual IP fragments that a destination host reassembles differently. Separately, an unmanaged laptop is assigned to a quarantine segment because network-access policy checks fail its required endpoint enrollment and health attestation. Which TWO interpretations match the evidence? Choose TWO.

  1. Host-based intrusion detection
  2. Signature-based detection
  3. TTL-based sensor desynchronization
  4. NAC posture enforcement
  5. IP fragmentation evasion

Explanation

Correct Answers

D:

Network access control can authenticate devices and enforce posture-based authorization, distinct from merely detecting malicious packets after admission; its indicators are tied to the NAC posture enforcement record, not to the finding involving IP fragmentation evasion.

E:

Fragmentation evasion exploits inconsistent packet reassembly between sensors and endpoints, potentially creating divergent views of one logical datagram; this supports one of the required classifications, distinct from the evidence for NAC posture enforcement.

Incorrect Answers

A:

HIDS examines events on the host such as files, processes, logs, and configuration, complementing network packet inspection; the scenario identifies IP fragmentation evasion, NAC posture enforcement, which has a different triggering condition.

B:

Signature detection matches established indicators and patterns; changed encodings or previously unseen payloads may evade exact content matches; the defining symptom in the prompt is associated with IP fragmentation evasion, NAC posture enforcement instead.

C:

TTL manipulation can create packets observed by one device but not by the endpoint, confusing state tracking when paths and hop counts differ; the events given do not establish this behavior but do support IP fragmentation evasion, NAC posture enforcement.

Question 59

In a permitted test environment, the analyst records: An Android app unintentionally exposes a sensitive activity or service to other installed applications because the component is marked exported. What is the most precise classification?

  1. Android exported component
  2. Android work profile isolation
  3. Mobile overlay credential theft
  4. Deep-link validation

Explanation

Correct Answer

A:

Exported Android components are accessible across app boundaries subject to permissions; missing checks can turn internal functionality into an external attack surface. On affected systems, it is useful to minimize exported components and enforce permissions for sensitive entry points; explicit component exposure and caller checks prevent another application from invoking privileged behavior meant only for internal flows.

Incorrect Answers

B:

An Android work profile partitions managed applications and data from the personal profile, supporting differentiated security policy on BYOD devices; the events given do not establish this behavior but do support Android exported component.

C:

Overlay attacks abuse user-interface permissions or accessibility features to impersonate legitimate screens and collect credentials; the reported conditions are characteristic of Android exported component, not that path.

D:

Deep links create cross-application entry points; intent-filter matching does not itself authorize the requested operation or validate untrusted parameters; those prerequisites differ from the Android exported component behavior in the record.

Question 60

Investigators compare two verified findings. First: Unlabeled removable drives placed near an office entrance prompt curious employees to insert them into corporate computers. Second: A trusted developer documentation site used by several employees is quietly altered to deliver malicious browser code to visitors who browse a particular technical article. Select TWO mechanisms directly represented here.

  1. Smishing
  2. Business email compromise
  3. OAuth consent phishing
  4. Watering-hole compromise
  5. USB baiting

Explanation

Correct Answers

D:

Watering-hole attacks compromise a site commonly visited by a target population, delivering malicious content through a trusted browsing habit; this technical behavior accounts for the watering-hole compromise observation, while USB baiting concerns the other independent evidence.

E:

Baiting offers an enticing physical or digital object to encourage unsafe action, such as connecting untrusted removable media; it is separately evidenced in the task, rather than being interchangeable with watering-hole compromise.

Incorrect Answers

A:

Smishing delivers phishing content through text messaging; the medium often creates pressure to follow a short link on a mobile device; the events given do not establish this behavior but do support USB baiting, watering-hole compromise.

B:

Business email compromise manipulates financial or business workflows through impersonation or compromised correspondence rather than necessarily delivering malware; the reported conditions are characteristic of USB baiting, watering-hole compromise, not that path.

C:

Consent phishing abuses delegated authorization: a seemingly valid login flow grants an untrusted application permissions without stealing the user's password; those prerequisites differ from the USB baiting, watering-hole compromise behavior in the record.

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