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

Question 160

A control review considers a verified technical issue: An endpoint repeatedly executes a malicious technique that changes its packed byte sequence each run, defeating detectors that depend on a single fixed known signature. Which mitigation most directly addresses its cause?

  1. Deploy protected endpoint telemetry on critical hosts
  2. Use approved endpoint telemetry or controlled TLS inspection when justified
  3. Allow outbound destinations and ports based on documented application needs
  4. Combine maintained signatures with behavior and anomaly analytics

Explanation

Correct Answer

D:

Multiple detection approaches address known sequences and unfamiliar variants rather than assuming one byte pattern covers every mutation. It directly addresses this mechanism: signature detection matches established indicators and patterns; changed encodings or previously unseen payloads may evade exact content matches.

Incorrect Answers

A:

Local observation reveals execution and integrity changes not visible from perimeter traffic alone, especially when sessions are encrypted; it would improve host-based intrusion detection, not directly correct the reported signature-based detection issue.

B:

Instrumenting the endpoint or authorized termination point recovers necessary context without assuming a passive sensor can decrypt arbitrary TLS; the measure addresses a different trust boundary from the signature-based detection finding.

C:

Least-privilege egress policy blocks unnecessary command-and-control routes while preserving approved business traffic; the required correction concerns signature-based detection, so this is not the targeted control.

Question 161

The approved engagement produces this evidence: An unprivileged scanner establishes completed TCP connections because raw-packet probing is unavailable on its host. What is the correct technical interpretation?

  1. TCP connect scan
  2. TCP SYN scan
  3. Firewall port-state ambiguity
  4. OS fingerprinting

Explanation

Correct Answer

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. To constrain the corresponding risk, defenders should correlate unusual completed connections across many service ports; service logs and perimeter telemetry can reveal this scan pattern even when the scanner lacks the privileges needed to craft raw packets.

Incorrect Answers

B:

A SYN scan infers open ports from SYN-ACK replies and commonly avoids completing the full TCP connection, subject to privilege and firewall behavior; the case demonstrates TCP connect scan rather than the alternate mechanism.

C:

Filtered results describe the scanner's network vantage point; ACLs, stateful inspection, and packet loss can hide a listener without stopping its local process; the observed evidence concerns TCP connect scan instead.

D:

Active OS fingerprinting compares network stack behavior with known signatures and produces probabilistic guesses affected by middleboxes and host tuning; the test record points specifically to TCP connect scan, not this separate mechanism.

Question 162

An incident analyst is asked to classify this observed activity: A normal user changes an invoice identifier in a request and can download another customer's invoice without any further check. Which concept is the closest match?

  1. Server-side request forgery
  2. XML external entity processing
  3. Insecure direct object reference
  4. Unsafe file upload

Explanation

Correct Answer

C:

IDOR occurs when an application trusts a supplied object reference without verifying that the current identity may access that specific record. For a production safeguard, operators can authorize every object access against the authenticated principal; server-side object ownership or policy checks stop horizontal data access even when identifiers are guessable or sequential.

Incorrect Answers

A:

SSRF occurs when server-side code makes network requests to attacker-selected destinations, potentially crossing internal network or cloud trust boundaries; the case demonstrates insecure direct object reference rather than the alternate mechanism.

B:

XXE occurs when XML parsing resolves untrusted external entities or DTD resources, potentially reaching files or internal URLs from the server; the observed evidence concerns insecure direct object reference instead.

D:

Unsafe upload handling combines untrusted file content with executable storage or insecure processing, potentially turning an image feature into a code path; that behavior is distinct from the insecure direct object reference finding being classified.

Question 163

During a documented lab review, an analyst notes: A user's browser reports successful logout, but replaying the captured session cookie still authenticates to the application. What mechanism should be recorded?

  1. HttpOnly cookie attribute
  2. Unrevoked logout token
  3. Session fixation
  4. XSS-mediated cookie theft

Explanation

Correct Answer

B:

A logout operation that only clears client storage may leave a server-side session valid, permitting reuse of an earlier stolen bearer token. To constrain the corresponding risk, defenders should invalidate server-side sessions and associated refresh tokens on logout; backend revocation removes authorization from copies of the credential that exist outside the browser being logged out.

Incorrect Answers

A:

HttpOnly prevents browser JavaScript from reading a cookie, but the browser can still attach it to legitimate HTTP requests; the observed evidence concerns unrevoked logout token instead.

C:

Session fixation works when a preauthentication identifier is accepted as an authenticated session, allowing the person who already knows that identifier to reuse it; that behavior is distinct from the unrevoked logout token finding being classified.

D:

Cross-site scripting can expose session cookies when HttpOnly is absent; the attacker obtains the bearer token rather than learning the account password; the scenario identifies unrevoked logout token, which has a different triggering condition.

Question 164

The post-assessment action plan cites this evidence: A business has used one encryption key for multiple years and needs to contain the impact of a possible leak without losing legitimate access to historical encrypted records. Which corrective measure should be prioritized?

  1. Use HMAC with secret-key rotation and canonical message formatting
  2. Rotate and version keys while retaining controlled historical decryption access
  3. Inventory vulnerable public-key uses and plan standards-based post-quantum migration
  4. Use authenticated encryption and uniform decryption error behavior

Explanation

Correct Answer

B:

Key lifecycle management limits future use of compromised material without inadvertently making existing protected records unrecoverable. The technical basis for the recommendation is that key rotation periodically replaces cryptographic key material, reducing exposure windows; encrypted historical data may still depend on older keys.

Incorrect Answers

A:

Only holders of the shared secret can produce a valid tag, while consistent serialization prevents verification discrepancies; that safeguard does not directly close the cryptographic key rotation route highlighted by the test.

C:

Cryptographic agility and vendor-supported post-quantum algorithms address long-lived confidentiality risks without assuming existing symmetric ciphers fail identically; the specific root cause belongs to cryptographic key rotation, beyond this control's intended scope.

D:

AEAD validation detects tampering before plaintext processing, and consistent failures avoid leaking padding validity to a remote caller; that change targets CBC padding oracle, while the confirmed weakness involves cryptographic key rotation.

Question 165

The assessment evidence reads as follows: An executable's contents are modified to carry malicious code, and copying or running infected host programs extends the infection. Which technical concept explains the result?

  1. Fileless memory execution
  2. File-infecting virus
  3. Self-replicating worm
  4. Bootkit compromise
  5. Packed executable analysis

Explanation

Correct Answer

B:

A virus attaches itself to another file or executable and commonly depends on host execution to spread, unlike a self-propagating worm. To constrain the corresponding risk, defenders should use integrity monitoring and execution controls on trusted binaries; file verification and controlled execution help identify infected hosts and interrupt propagation through modified application files.

Incorrect Answers

A:

Fileless malware favors memory and legitimate interpreters or system tools rather than installing a traditional standalone binary on disk; that behavior is distinct from the file-infecting virus finding being classified.

C:

A worm propagates itself through reachable systems or vulnerabilities without requiring each victim to execute a host document manually; the defining symptom in the prompt is associated with file-infecting virus instead.

D:

Bootkits target boot components or the boot chain to persist below ordinary user-space defenses, potentially running before endpoint agents initialize; the events given do not establish this behavior but do support file-infecting virus.

E:

Executable packers transform or encapsulate code and reveal it during execution; packing can serve legitimate distribution or malware evasion; the reported conditions are characteristic of file-infecting virus, not that path.

Question 166

A remediation meeting focuses on the following finding: Access control at a wireless site relies entirely on a list of permitted hardware addresses, which a nearby observer can learn from authorized radio transmissions. Which proposed action best addresses its root cause?

  1. Require PMF on compatible managed wireless networks
  2. Use validated enterprise server certificates and rogue-AP detection
  3. Require strong authentication and encryption regardless of SSID visibility
  4. Use certificate-based network access instead of MAC lists as primary security
  5. Manage certificate enrollment and enforce trusted RADIUS server identity

Explanation

Correct Answer

D:

Cryptographic device identity resists simple address cloning and supports independent credential revocation for each managed endpoint. The technical basis for the recommendation is that MAC addresses are observable and can be spoofed, so filtering them does not provide robust device authentication against a local adversary.

Incorrect Answers

A:

Protected management frames reduce spoofed deauthentication and disassociation attacks, though they do not prevent radio-frequency jamming; this is relevant to a separate protected management frames scenario, rather than the identified exposure; the tested fault instead involves MAC address filtering.

B:

Clients that verify the authentication server identity are less likely to trust a lookalike AP offering the same SSID; the tested weakness is MAC address filtering, not the evil-twin access point configuration addressed here.

C:

WPA3 or sound enterprise security protects data and network admission; beacon suppression is not a substitute for access control; that safeguard does not directly close the MAC address filtering route highlighted by the test.

E:

Strong certificate lifecycle and server validation reduce shared-secret exposure and prevent clients from sending credentials to spoofed authentication servers; the specific root cause belongs to MAC address filtering, beyond this control's intended scope.

Question 167

Consider this event from a scoped security assessment: An assessor discovers a safety shutdown controller reachable from the corporate workstation VLAN used for routine office browsing. Which explanation fits the observed evidence?

  1. Safety instrumented system boundary
  2. Exposed UPnP forwarding
  3. PLC command tampering
  4. Exposed hardware debug port

Explanation

Correct Answer

A:

Safety instrumented systems provide independent protective functions and should not inherit broad office-network exposure that could undermine their reliability. For a production safeguard, operators can separate safety control networks and require approved safety change procedures; network isolation and strict management processes reduce the likelihood that enterprise compromise interferes with protective shutdown functions.

Incorrect Answers

B:

UPnP IGD can automate NAT port mappings; overly permissive control or exposure may open unintended paths from external networks; the events given do not establish this behavior but do support safety instrumented system boundary.

C:

Programmable logic controllers act on control instructions that may affect physical processes; insecure command channels can translate cyber access into unsafe operations; the reported conditions are characteristic of safety instrumented system boundary, not that path.

D:

Hardware debug interfaces may expose console access, memory, or privileged firmware operations outside the normal network authentication model; those prerequisites differ from the safety instrumented system boundary behavior in the record.

Question 168

An incident analyst is asked to classify this observed activity: Staff job posts reveal the organization's endpoint management product and a cloud migration platform before the systems are publicly announced. Which concept is the closest match?

  1. Social media role intelligence
  2. Internet archive reconnaissance
  3. Exposed robots instructions
  4. Search operators for exposure

Explanation

Correct Answer

A:

Open social and job-posting content can reveal technologies, internal terminology, suppliers, and personnel roles useful in targeted reconnaissance. The control that addresses this failure path is to apply publication review guidance to job ads and employee profiles; limiting operational detail in public posts reduces organizational fingerprinting without relying on employees to stop using professional networks.

Incorrect Answers

B:

Historical web snapshots reveal previously published routes and configuration clues that are no longer linked from the live website; the reported conditions are characteristic of social media role intelligence, not that path.

C:

Crawler directives tell cooperative bots what not to crawl but remain publicly readable and cannot restrict a human client's direct HTTP request; those prerequisites differ from the social media role intelligence behavior in the record.

D:

Search operators refine the results a search engine has already indexed; they do not bypass origin authentication to retrieve private content; this would classify another type of evidence, whereas the actual finding shows social media role intelligence.

Question 169

A security engineer examines the following result: Browsers show a trust warning because the server sends a leaf certificate without the intermediate certificate needed to build a trusted path. Which described weakness or technique does it demonstrate?

  1. Directory listing
  2. Static-file path traversal
  3. Reverse proxy trust boundary
  4. Invalid certificate chain

Explanation

Correct Answer

D:

TLS certificate chain validation requires a verifiable route from the presented certificate through intermediates to a trusted root. For a production safeguard, operators can serve the full appropriate certificate chain and monitor expiry; correct chain delivery allows clients to authenticate the service identity, whereas simply enabling encryption cannot fix broken trust validation.

Incorrect Answers

A:

Directory listing occurs when the web server enumerates entries because an index document is missing and indexing is enabled; the reported conditions are characteristic of invalid certificate chain, not that path.

B:

Path traversal results from unsafe path normalization or file resolution, letting attacker-controlled relative segments escape an intended filesystem root; those prerequisites differ from the invalid certificate chain behavior in the record.

C:

Proxy metadata headers are only trustworthy when inserted or sanitized by an authenticated, trusted upstream hop; arbitrary clients may forge them; this would classify another type of evidence, whereas the actual finding shows invalid certificate chain.

Question 170

In a permitted test environment, the analyst records: A client silently falls back from a secure protocol to an obsolete TLS version when an active intermediary interrupts negotiation. What is the most precise classification?

  1. Full-disk encryption boundary
  2. Elliptic-curve key exchange
  3. TLS downgrade weakness
  4. OCSP revocation lookup

Explanation

Correct Answer

C:

Protocol downgrade attacks exploit permissive fallback and weak minimum-version policy to force connections onto weaker negotiated security. A practical defensive response is to enforce modern minimum TLS versions and remove unsafe fallback; strong negotiation policy keeps a transient handshake failure from authorizing obsolete protocol use.

Incorrect Answers

A:

Full-disk encryption protects data at rest against offline media access; it does not stop a logged-in or fully compromised running system from reading unlocked files; those prerequisites differ from the TLS downgrade weakness behavior in the record.

B:

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 TLS downgrade weakness.

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; those effects are not the TLS downgrade weakness pattern evidenced by the assessment.

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