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

Question 290

The testing team seeks a specific preventive recommendation for this finding: A fraudster invents a story about being a newly hired engineer locked out of a customer environment to pressure support into waiving identity proof. What should be implemented?

  1. Display and verify actual destinations before authenticating from QR links
  2. Disable unapproved removable media and offer safe found-device reporting
  3. Require consistent identity verification regardless of urgency or role claims
  4. Use number matching and phishing-resistant authentication with prompt anomaly alerts

Explanation

Correct Answer

C:

Documented verification steps stop plausible stories from replacing evidence of a requester's authority. It targets the actual failure mode: pretexting creates a believable false scenario or role to obtain information or a policy exception, rather than exploiting a software flaw.

Incorrect Answers

A:

Destination validation and approved app-based entry points reduce credential submission to counterfeit sites reached through physical codes; the required correction concerns pretexting, so this is not the targeted control.

B:

Device controls block execution or access from unknown media while a reporting route avoids relying only on curiosity-resistant behavior; its security benefit applies principally to USB baiting, not the defect described; the tested fault instead involves pretexting.

D:

Challenge context and stronger factors reduce blind approvals, while alerting and throttling expose the repetitive abuse pattern; the action is aimed at MFA push fatigue; it leaves the central pretexting condition unresolved.

Question 291

An authorized security review documents this behavior: A scan reports filtered for a service that system administrators insist is running locally. Which mechanism best accounts for the finding?

  1. Rate-limited scan results
  2. TCP SYN scan
  3. TCP ACK firewall probing
  4. Firewall port-state ambiguity

Explanation

Correct Answer

D:

Filtered results describe the scanner's network vantage point; ACLs, stateful inspection, and packet loss can hide a listener without stopping its local process. A practical defensive response is to validate port findings from the relevant network segment and check ACLs; reachability is path-dependent; comparing internal and external probes with firewall policy distinguishes a closed service from a blocked route.

Incorrect Answers

A:

Scan rate and retransmission timing influence responses when devices enforce thresholds; an apparent missing port may be a rate-limit artifact; this would classify another type of evidence, whereas the actual finding shows firewall port-state ambiguity.

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 relevant mechanism in the observed workflow is firewall port-state ambiguity instead.

C:

ACK scanning primarily distinguishes filtered from unfiltered paths; it does not establish that an application listener is open; those effects are not the firewall port-state ambiguity pattern evidenced by the assessment.

Question 292

A production hardening ticket was raised after this confirmed observation: A scan result inferred from third-party IP identification counters conflicts with normal packet captures, raising concern about spoofing and unpredictable intermediary behavior. Which action best targets the risk?

  1. Reduce authorized probe rates and correlate results with perimeter logs
  2. Use layered scan detection and verify FIN findings with ordinary service probes
  3. Prevent spoofing and treat IP ID inference cautiously
  4. Limit unnecessary route-detail exposure and corroborate paths with network diagrams

Explanation

Correct Answer

C:

Ingress and egress anti-spoofing impede forged source packets, while unreliable intermediary behavior limits the scan's evidentiary value. It directly addresses this mechanism: idle scanning uses predictable IP ID behavior of a third-party zombie to infer target port state; modern stacks and NAT can frustrate it.

Incorrect Answers

A:

Controlled timing improves reproducibility and avoids mistaking defensive drops or transient congestion for a change in service configuration; it would improve rate-limited scan results, not directly correct the reported idle scan inference issue.

B:

Anomaly telemetry can flag unusual TCP flags, and corroborating normal connection behavior prevents treating silent responses as proof of openness; the measure addresses a different trust boundary from the idle scan inference finding.

D:

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 idle scan inference.

Question 293

A control review considers a verified technical issue: A hardened application should accept GET and POST only, but its front-end still permits a diagnostic HTTP method that echoes submitted request contents. Which mitigation most directly addresses its cause?

  1. Disable unused diagnostic HTTP methods
  2. Disable obsolete TLS protocols and weak ciphers after compatibility testing
  3. Remove sample applications and harden the deployed server baseline
  4. Mark sensitive responses private or no-store and review cache keys

Explanation

Correct Answer

A:

Allowing only required methods reduces unexpected request behaviors without assuming method restrictions compensate for application authorization bugs. The technical basis for the recommendation is that TRACE is a diagnostic HTTP method that echoes received request information; unnecessary support can add exposure in certain client and proxy configurations.

Incorrect Answers

B:

Modern negotiation reduces transport cryptographic exposure while inventorying client requirements prevents avoidable service outages; this is relevant to a separate legacy TLS configuration scenario, rather than the identified exposure; the tested fault instead involves HTTP TRACE exposure.

C:

Eliminating unneeded components reduces exposed code paths instead of relying on the absence of links to hidden demo content; the tested weakness is HTTP TRACE exposure, not the default web content configuration addressed here.

D:

Correct cache behavior prevents personal content from being reused for unrelated clients even when the backend authorization check was sound; that safeguard does not directly close the HTTP TRACE exposure route highlighted by the test.

Question 294

The owner asks for a durable safeguard against the issue demonstrated here: An automated match assigns an unrelated operating system advisory to a printer because the recorded vendor and model strings were mapped to the wrong product identifier. What is the best response?

  1. Map CVEs to affected versions and verified remediation advisories
  2. Validate the vendor patch backport before closing the finding
  3. Verify CPE mapping against actual package and build inventory
  4. Combine CVSS severity with asset exposure and mission impact

Explanation

Correct Answer

C:

Accurate product identity prevents misassigning vulnerabilities to unrelated software or missing an affected edition and build. The technical basis for the recommendation is that common Platform Enumeration provides standardized product identifiers used in automated matching; an imprecise product mapping can create false findings.

Incorrect Answers

A:

Version matching and vendor guidance establish whether an asset is exposed and which update or workaround addresses that vulnerability; the specific root cause belongs to CPE asset matching, beyond this control's intended scope.

B:

Distribution advisories and package changelogs can confirm fixed code despite an unchanged upstream version string; blind dismissal would also be unsafe; that change targets false-positive scanner finding, while the confirmed weakness involves CPE asset matching.

D:

Prioritization should incorporate reachability, compensating controls, and business context rather than treating a base score as a complete risk statement; the measure addresses a different trust boundary from the CPE asset matching finding.

Question 295

The post-assessment action plan cites this evidence: Consecutive authenticated logins receive session values with an observable numeric pattern, and the security test can predict another user's next token without stealing a cookie. Which corrective measure should be prioritized?

  1. Regenerate session identifiers after successful authentication
  2. Generate long unpredictable session identifiers using a cryptographic RNG
  3. Set HttpOnly on session cookies and remediate injection weaknesses
  4. Mark authentication cookies Secure and require HTTPS throughout the site

Explanation

Correct Answer

B:

High-entropy tokens resist guessing; rate limiting is useful but cannot compensate for a trivially enumerable identifier space. The underlying condition is that predictable session IDs lack sufficient entropy, enabling token enumeration even without intercepting a victim's traffic.

Incorrect Answers

A:

Changing the session token at the privilege transition invalidates any previously planted identifier without requiring the victim to notice tampering; its security benefit applies principally to session fixation, not the defect described; the tested fault instead involves predictable session token.

C:

The attribute narrows token access from injected scripts but does not itself prevent those scripts from making same-origin requests; the action is aimed at HttpOnly cookie attribute; it leaves the central predictable session token condition unresolved.

D:

Transport restrictions and HTTPS redirect policy help prevent bearer tokens from leaking on non-TLS connections; this is relevant to a separate secure cookie attribute scenario, rather than the identified exposure; the tested fault instead involves predictable session token.

Question 296

A production hardening ticket was raised after this confirmed observation: An asset assessment finds that anonymous SMB sessions can list a storage appliance's names and shares even though the operator already disabled ordinary guest desktop sign-in. Which action best targets the risk?

  1. Disable external VRFY responses or normalize recipient disclosure
  2. Protect routing management interfaces and authenticate peer sessions
  3. Disable anonymous enumeration and review guest or null-session policies
  4. Restrict rpcbind access to networks that need RPC services

Explanation

Correct Answer

C:

Explicitly limiting unauthenticated SMB and RPC access prevents account and share disclosure while preserving required authenticated service use. It targets the actual failure mode: an SMB null session may expose information on misconfigured or older systems where anonymous access policy is overly permissive.

Incorrect Answers

A:

Reducing account-validity feedback limits mailbox harvesting without blocking ordinary SMTP acceptance and queued delivery; that safeguard does not directly close the SMB null-session exposure route highlighted by the test.

B:

Restricting management access and securing routing neighbors reduces unwanted disclosure and unauthorized route-policy changes; the proposed improvement would make sense for BGP neighbor disclosure but not as the main fix here; the tested fault instead involves SMB null-session exposure.

D:

Management network controls suppress unnecessary program enumeration and narrow exposure of related RPC daemons; that change targets rpcbind service inventory, while the confirmed weakness involves SMB null-session exposure.

Question 297

The assessment evidence reads as follows: An enterprise access circuit is overwhelmed before local security appliances can inspect the incoming malicious traffic. Which technical concept explains the result?

  1. Upstream traffic scrubbing
  2. HTTP application flood
  3. Memcached reflection
  4. UDP packet flood

Explanation

Correct Answer

A:

Cloud or provider scrubbing diverts and filters high-volume attack traffic upstream, where greater capacity exists to absorb the flood. The appropriate hardening measure is to arrange upstream DDoS diversion and tested failover routes, since filtering before the narrow enterprise link prevents congestion that local appliance policies cannot resolve after bandwidth is exhausted.

Incorrect Answers

B:

Application-layer floods exhaust request handlers, backends, or expensive application operations rather than relying exclusively on raw packet volume; the scenario identifies upstream traffic scrubbing, which has a different triggering condition.

C:

Unauthenticated UDP memcached exposure has enabled high-amplification reflection when forged-source requests trigger responses far larger than the queries; the defining symptom in the prompt is associated with upstream traffic scrubbing instead.

D:

UDP flooding consumes bandwidth and packet-processing capacity without requiring an established connection; the impact can occur before an application responds; the events given do not establish this behavior but do support upstream traffic scrubbing.

Question 298

The owner asks for a durable safeguard against the issue demonstrated here: A cluster allows an internet-facing container broad Linux capabilities and mounted host directories, increasing how far a process compromise can affect the underlying node. What is the best response?

  1. Drop unnecessary capabilities and avoid privileged containers or host mounts
  2. Enable organization-wide control-plane logging with protected retention
  3. Validate event schemas and apply function-level authorization
  4. Scan signed images and refresh vulnerable base layers

Explanation

Correct Answer

A:

Hardened runtime profiles and minimal mount exposure contain a compromised process within a narrower host attack surface. That correction is linked to the fact that container isolation relies on kernel boundaries and runtime restrictions; privileged mode and host mounts deliberately weaken that separation.

Incorrect Answers

B:

Independent log storage and consistent account coverage preserve an audit trail even after a compromised account attempts to alter local settings; the tested weakness is container runtime escape, not the cloud audit logging gap configuration addressed here.

C:

Schema checks and explicit authorization prevent a public trigger from translating arbitrary input into privileged cloud operations; that safeguard does not directly close the container runtime escape route highlighted by the test.

D:

Dependency inventories and build gates catch vulnerable packaged components before deployment and promote reproducible patching; the proposed improvement would make sense for unscanned container image but not as the main fix here; the tested fault instead involves container runtime escape.

Question 299

A security engineer examines the following result: An endpoint shows suspicious interpreter activity that loads code into memory while leaving little conventional executable-file evidence on disk. Which described weakness or technique does it demonstrate?

  1. Fileless memory execution
  2. Living-off-the-land misuse
  3. Behavioral EDR alert
  4. Packed executable analysis

Explanation

Correct Answer

A:

Fileless malware favors memory and legitimate interpreters or system tools rather than installing a traditional standalone binary on disk. This is why teams should collect process command lines and script telemetry with behavioral detection; observing interpreter behavior and memory-backed execution identifies activity that signature scans of executable files may overlook.

Incorrect Answers

B:

Living-off-the-land behavior abuses legitimate operating-system tools to perform malicious work, so executable reputation alone may be insufficient; the events given do not establish this behavior but do support fileless memory execution.

C:

Behavioral detection evaluates execution relationships and suspicious actions rather than requiring an exact previously known malware file signature; the reported conditions are characteristic of fileless memory execution, not that path.

D:

Executable packers transform or encapsulate code and reveal it during execution; packing can serve legitimate distribution or malware evasion; those prerequisites differ from the fileless memory execution behavior in the record.

Question 300

The assessment evidence reads as follows: Two equally severe vulnerabilities affect different assets: an isolated test host and a public payment gateway handling active transactions. Which technical concept explains the result?

  1. White-box assessment
  2. Black-box assessment
  3. Written rules of engagement
  4. Risk assessment

Explanation

Correct Answer

D:

Risk incorporates likelihood, business exposure, and impact; technical severity alone does not determine the order of remediation for distinct operational contexts. The appropriate hardening measure is to prioritize findings using asset criticality and exploitability context, since business impact and reachable attack paths change expected loss, so remediation scheduling should not be based solely on the generic vulnerability score.

Incorrect Answers

A:

White-box assessment uses extensive design and implementation knowledge to inspect hidden execution paths, business logic, and code-level weaknesses unavailable externally; the events given do not establish this behavior but do support risk assessment.

B:

Black-box testing models an outside party with little prior knowledge; it emphasizes externally discoverable paths but offers less coverage of privileged or internal behaviors; the reported conditions are characteristic of risk assessment, not that path.

C:

The signed rules of engagement define permitted assets, methods, windows, contacts, and stop conditions; informal requests cannot safely supersede that documented authorization boundary; those prerequisites differ from the risk assessment behavior in the record.

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