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

Question 430

Operations asks for a practical correction after the test found: An integrity system still uses an obsolete short digest despite demonstrations that different inputs can be constructed with the same hash output. What should the security team recommend?

  1. Inventory vulnerable public-key uses and plan standards-based post-quantum migration
  2. Enforce full-disk encryption with secure boot and recovery-key controls
  3. Use collision-resistant modern hashes for integrity-sensitive applications
  4. Rotate and version keys while retaining controlled historical decryption access

Explanation

Correct Answer

C:

A strong current digest reduces feasible collision attacks; obsolete algorithms such as MD5 should not secure document authenticity claims. The underlying condition is that a cryptographic collision occurs when distinct inputs produce the same digest; fixed-size hashes necessarily have possible collisions, with practical resistance varying by algorithm.

Incorrect Answers

A:

Cryptographic agility and vendor-supported post-quantum algorithms address long-lived confidentiality risks without assuming existing symmetric ciphers fail identically; this is relevant to a separate quantum risk to public-key cryptography scenario, rather than the identified exposure; the tested fault instead involves hash collision concept.

B:

At-rest encryption reduces exposure after physical theft, while platform integrity and key escrow govern startup trust and legitimate recovery; the tested weakness is hash collision concept, not the full-disk encryption boundary configuration addressed here.

D:

Key lifecycle management limits future use of compromised material without inadvertently making existing protected records unrecoverable; the proposed improvement would make sense for cryptographic key rotation but not as the main fix here; the tested fault instead involves hash collision concept.

Question 431

A defender analyzing an approved exercise sees this pattern: A supplier's genuine email thread is continued by an impostor who asks accounts payable to change the supplier bank account. Which mechanism is most consistent with it?

  1. Watering-hole compromise
  2. Synthetic-voice impersonation
  3. Help-desk reset impersonation
  4. Business email compromise

Explanation

Correct Answer

D:

Business email compromise manipulates financial or business workflows through impersonation or compromised correspondence rather than necessarily delivering malware. A practical defensive response is to verify bank-detail changes with a known supplier contact and dual control; independent contact validation catches payment diversion even when the attacker has realistic invoice history and conversation context.

Incorrect Answers

A:

Watering-hole attacks compromise a site commonly visited by a target population, delivering malicious content through a trusted browsing habit; the defining symptom in the prompt is associated with business email compromise instead.

B:

AI-generated voice impersonation can mimic recognizable speech, so an apparent familiar voice is not sufficient identity proof; the events given do not establish this behavior but do support business email compromise.

C:

Help-desk social engineering exploits recovery and support workflows, where urgency or sympathy can trigger high-impact identity changes; the reported conditions are characteristic of business email compromise, not that path.

Question 432

The owner asks for a durable safeguard against the issue demonstrated here: A project changes its payment flow to add a third-party callback and a new secrets store after the original abuse-case analysis was approved. What is the best response?

  1. Update the threat model when data flows or trust boundaries change
  2. Treat retrieved content as untrusted data and constrain tool privileges
  3. Keep the provided role and assumptions explicit in the test plan
  4. Layer MFA, authorization boundaries, monitoring, and network segmentation

Explanation

Correct Answer

A:

A design-level review must track new integrations and privileges; otherwise earlier assumptions stop representing the system being protected. This matters for the observed attack path because threat modeling is a structured way to reason about assets, entry points, trust boundaries, and attack paths before or during implementation.

Incorrect Answers

B:

Instruction separation, restricted tool permissions, and output validation reduce the chance that untrusted document text can redirect an automated assessment workflow; the action is aimed at prompt injection of an assessment assistant; it leaves the central threat modeling condition unresolved.

C:

Documented credentials and partial knowledge distinguish what was directly assessed from privileged paths that remain outside the test vantage point; this is relevant to a separate gray-box assessment scenario, rather than the identified exposure; the tested fault instead involves threat modeling.

D:

Independent controls constrain credential misuse, limit lateral exposure, and generate alerts even when endpoint protection or one authentication factor is bypassed; the tested weakness is threat modeling, not the defense in depth configuration addressed here.

Question 433

A security change request summarizes the problem as follows: An administrative stored routine uses an argument to assemble an EXECUTE command in privileged context, reintroducing SQL concatenation despite the procedure wrapper. Which remediation is best suited to it?

  1. Wrap the unsafe statement in a stored procedure without changing its dynamic concatenation
  2. Grant the stored procedure a higher execution role to avoid privilege errors
  3. Use parameters inside dynamic statements and restrict procedure execution rights
  4. Hide SQL error details while leaving dynamic EXECUTE on request-derived text

Explanation

Correct Answer

C:

Safe dynamic binding removes SQL metacharacter interpretation, while permission boundaries contain damage from any remaining procedure defect. It directly addresses this mechanism: stored procedures are not intrinsically injection-safe when they build and execute dynamic SQL using untrusted strings.

Incorrect Answers

A:

Using a stored routine is not automatically safe when its body still creates SQL commands from unchecked strings; the dynamic SQL inside stored procedure weakness in the question therefore remains uncorrected.

B:

Expanding the routine's privileges can increase damage and does not remove the injection entry point; the dynamic SQL inside stored procedure weakness in the question therefore remains uncorrected.

D:

Error suppression does not separate data from executable SQL in the privileged procedure; the dynamic SQL inside stored procedure weakness in the question therefore remains uncorrected.

Question 434

A remediation meeting focuses on the following finding: A multitenant analytics API fetches a record by its global identifier but never verifies that the authenticated caller belongs to the requested record's tenant. Which proposed action best addresses its root cause?

  1. Store secrets in a managed vault and use workload identity retrieval
  2. Block public access and apply explicit identity-based bucket policies
  3. Enable encryption at rest for secrets and protect etcd access
  4. Bind tenant identity to server-side authorization on each query

Explanation

Correct Answer

D:

Tenant-scoped access controls prevent cross-customer record access even when resource IDs are known or guessed. It directly addresses this mechanism: multitenant applications must enforce tenant context at every relevant data access path; unique identifiers are not authorization checks.

Incorrect Answers

A:

Centralized access policy and audit trails separate secret handling from source code, enabling rotation without distributing plaintext credentials in artifacts; the required correction concerns multitenant isolation, so this is not the targeted control.

B:

Least-privilege resource policies and public-access guardrails stop anonymous reads while preserving approved application retrieval; its security benefit applies principally to public object storage exposure, not the defect described; the tested fault instead involves multitenant isolation.

C:

Cryptographic storage protection and strict API authorization reduce exposure from copied datastore contents or overly broad cluster access; the exposure here is multitenant isolation, which calls for another protective mechanism.

Question 435

The asset owner wants to stop the verified condition recurring: An e-commerce API checks whether a user is logged in but not whether the requested order ID belongs to that user's account, exposing another buyer's order data. What is the most targeted improvement?

  1. Authorize every object access against the authenticated principal
  2. Disable DTD and external entity resolution for untrusted XML
  3. Replace unsafe DOM sinks with text-safe APIs and validate client data
  4. Apply Content-Security-Policy frame-ancestors restrictions

Explanation

Correct Answer

A:

Server-side object ownership or policy checks stop horizontal data access even when identifiers are guessable or sequential. The specific weakness being corrected is that IDOR occurs when an application trusts a supplied object reference without verifying that the current identity may access that specific record.

Incorrect Answers

B:

Secure parser settings stop attacker-supplied XML from loading external resources while preserving ordinary document parsing; that safeguard does not directly close the insecure direct object reference route highlighted by the test.

C:

Using textContent or safe templating blocks markup interpretation even when attacker-controlled fragments never pass through the server; the proposed improvement would make sense for DOM-based cross-site scripting but not as the main fix here; the tested fault instead involves insecure direct object reference.

D:

A framing policy lets browsers prevent unauthorized embedding of sensitive pages, removing the overlay surface used in this deception; the specific root cause belongs to insecure direct object reference, beyond this control's intended scope.

Question 436

In a permitted test environment, the analyst records: A team marks a critical finding resolved immediately after a patch deployment ticket closes, without checking the affected instance. What is the most precise classification?

  1. CVSS base score
  2. Scanner credential exposure
  3. Remediation retest
  4. Authenticated vulnerability scan

Explanation

Correct Answer

C:

Remediation status is not equivalent to demonstrated vulnerability removal; deployment failures, missed nodes, or compensating paths can leave exposure. The control that addresses this failure path is to verify the affected asset and original attack condition after the change; a targeted retest confirms both patch applicability and the closure of the particular finding instead of accepting ticket state as technical proof.

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 relevant mechanism in the observed workflow is remediation retest instead.

B:

Scanning credentials are high-value secrets; tool compromise can turn routine assessment infrastructure into a privileged access path; those effects are not the remediation retest pattern evidenced by the assessment.

D:

Credentialed scanning examines installed versions, configurations, and local patch state; network-only checks may miss software with no exposed banner; the observed evidence concerns remediation retest instead.

Question 437

The owner asks for a durable safeguard against the issue demonstrated here: A public web host serves vendor tutorial pages and obsolete sample handlers that arrived with its installation package, although none are needed for the deployed site. What is the best response?

  1. Disable unused diagnostic HTTP methods
  2. Remove sample applications and harden the deployed server baseline
  3. Separate writable data from code and run the worker with minimal rights
  4. Deploy a tested HSTS policy and HTTPS redirects

Explanation

Correct Answer

B:

Eliminating unneeded components reduces exposed code paths instead of relying on the absence of links to hidden demo content. It targets the actual failure mode: default pages and demos can reveal installation state or unnecessary functionality that increases a web server's reachable attack surface.

Incorrect Answers

A:

Allowing only required methods reduces unexpected request behaviors without assuming method restrictions compensate for application authorization bugs; the action is aimed at HTTP TRACE exposure; it leaves the central default web content condition unresolved.

C:

Read-only deployment paths and distinct service permissions reduce the impact of a web process compromise; the tested weakness is default web content, not the web-root permission weakness configuration addressed here.

D:

HSTS reduces client downgrade risk; its coverage and includeSubDomains settings must reflect actual subdomain TLS readiness; that safeguard does not directly close the default web content route highlighted by the test.

Question 438

The post-assessment action plan cites this evidence: A facilities team hides its Wi-Fi network name but leaves the shared password unchanged for years, assuming that concealing the SSID makes encryption and access controls optional. Which corrective measure should be prioritized?

  1. Enable WPA3-SAE and current firmware without unsafe transition settings
  2. Require strong authentication and encryption regardless of SSID visibility
  3. Use a strong random passphrase or move to enterprise authentication
  4. Replace WEP with WPA3 or properly configured WPA2-AES

Explanation

Correct Answer

B:

WPA3 or sound enterprise security protects data and network admission; beacon suppression is not a substitute for access control. The underlying condition is that a hidden SSID is not cryptographic protection; association traffic and other wireless management exchanges can still reveal network identifiers.

Incorrect Answers

A:

Modern authentication strengthens password exchange, while configuration and software updates address downgrade and implementation risks; the specific root cause belongs to hidden SSID misconception, beyond this control's intended scope.

C:

High-entropy secrets resist offline guesses, while per-user enterprise credentials remove the single shared passphrase from the whole fleet; it would improve WPA2-Personal weak passphrase, not directly correct the reported hidden SSID misconception issue.

D:

Modern authenticated encryption avoids the structural weaknesses of WEP; changing the WEP key alone does not repair its design; the measure addresses a different trust boundary from the hidden SSID misconception finding.

Question 439

Consider this event from a scoped security assessment: A login monitoring system sees one common password tested against hundreds of accounts with long gaps between attempts on each account. Which explanation fits the observed evidence?

  1. Local privilege escalation
  2. Offline password hash attack
  3. Password spraying
  4. AS-REP roasting
  5. SSH authorized-key persistence

Explanation

Correct Answer

C:

Password spraying distributes a small candidate set across many usernames to evade per-account lockout thresholds, unlike repeated guessing against one user. A practical defensive response is to apply phishing-resistant MFA and monitor low-frequency account-wide failures; cross-account failure correlation catches distributed guessing; MFA limits the value of a successfully guessed password even when lockout logic is avoided.

Incorrect Answers

A:

Local privilege escalation uses weaknesses within a host to increase a process or user's authority after initial access; it differs from moving between separate systems; the observed evidence concerns password spraying instead.

B:

Offline cracking compares computed candidate hashes with stored password verifiers; network account lockouts do not normally constrain the local comparison process; the test record points specifically to password spraying, not this separate mechanism.

D:

AS-REP roasting abuses accounts that do not require Kerberos preauthentication; normal accounts demand proof before issuing the relevant response; the scenario identifies password spraying, which has a different triggering condition.

E:

SSH public-key authentication trusts allowed public keys in account configuration; adding an unapproved key can preserve remote access independent of password rotation; the defining symptom in the prompt is associated with password spraying instead.

Question 440

The testing team seeks a specific preventive recommendation for this finding: A cache cluster unintentionally allows UDP requests from outside the private network and participates in oversized reflection traffic toward unrelated systems. What should be implemented?

  1. Use upstream filtering and volumetric DDoS mitigation
  2. Disable public UDP cache access and bind the service privately
  3. Tune state limits and apply connection-rate controls before the firewall
  4. Enforce header completion timeouts and concurrency limits

Explanation

Correct Answer

B:

Keeping cache protocols on trusted networks stops an externally reachable reflector instead of merely rate-limiting the eventual victim. That correction is linked to the fact that unauthenticated UDP memcached exposure has enabled high-amplification reflection when forged-source requests trigger responses far larger than the queries.

Incorrect Answers

A:

Provider-level controls drop unwanted volume before the limited access link becomes saturated, unlike an application-only request throttle; that safeguard does not directly close the memcached reflection route highlighted by the test.

C:

Protection must preserve session-table capacity at the device handling flows; scaling application workers alone leaves this bottleneck intact; the specific root cause belongs to memcached reflection, beyond this control's intended scope.

D:

Short header deadlines and bounded connection slots release resources from clients that never submit a complete request; that change targets slowloris header exhaustion, while the confirmed weakness involves memcached reflection.

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