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

Question 310

In a controlled review, analysts encounter this situation: A detection tool generates many false alarms after a legitimate scheduled workload changes traffic patterns. Select the best matching concept.

  1. WAF request inspection
  2. Firewall egress restriction
  3. Host intrusion detection
  4. Anomaly baseline drift
  5. NAT policy confusion

Explanation

Correct Answer

D:

Anomaly systems depend on normal-behavior models that can drift after genuine environment changes; that mechanism makes this classification more precise than the neighboring terms. The protective follow-up is to tune the baseline using verified workload changes and retain alerts for unusual deviations, verified when post-tuning alerts distinguish authorized workload patterns from representative suspicious outliers.

Incorrect Answers

A:

A WAF evaluates application-layer HTTP behavior and rules rather than merely transport ports; this different classification would fit when a web attack request is rejected at the HTTP edge while a network firewall still permits TCP port 443, not the evidence pointing to anomaly baseline drift in the question.

B:

Outbound policy and DNS controls constrain unauthorized communication from internal systems; this different classification would fit when a compromised host reaches an unusual external endpoint because the perimeter controls only inbound traffic, not the evidence pointing to anomaly baseline drift in the question.

C:

Host-based detection uses operating-system events and file state to reveal activities inside endpoints; this different classification would fit when a server alert reports unauthorized changes to local system files that were not visible on the network sensor, not the evidence pointing to anomaly baseline drift in the question.

E:

Address translation changes packet addressing and does not itself replace explicit security policy enforcement; this different classification would fit when an external address maps to a private application host, but reviewers assume NAT automatically performs authorization, not the evidence pointing to anomaly baseline drift in the question.

Question 311

A client-approved assessment includes this finding: A manually created public firewall rule appears in production but is absent from the reviewed deployment configuration. What is the most precise security term for it?

  1. Cloud secrets distribution
  2. Cloud shared responsibility
  3. Infrastructure-as-code drift
  4. Cloud network ACL behavior
  5. Cloud security posture assessment

Explanation

Correct Answer

C:

Manual cloud changes create configuration drift outside version-controlled infrastructure definitions; that mechanism makes this classification more precise than the neighboring terms. The protective follow-up is to detect drift and reconcile production with reviewed infrastructure-as-code changes, verified when drift scans show runtime firewall rules match approved deployment manifests after reconciliation.

Incorrect Answers

A:

Centralized secrets services support scoped retrieval and lifecycle controls instead of source-controlled credentials; this different classification would fit when multiple microservices copy shared database credentials into environment files committed with deployment manifests, not the evidence pointing to infrastructure-as-code drift in the question.

B:

Cloud service providers secure assigned infrastructure layers while customers remain accountable for their configurations and data; this different classification would fit when a hosted database customer assumes the provider also determines application user permissions and data retention, not the evidence pointing to infrastructure-as-code drift in the question.

D:

Stateless cloud network ACLs require explicit allowance for both request and response directions; this different classification would fit when a subnet-level stateless rule permits inbound application packets but blocks required response traffic, not the evidence pointing to infrastructure-as-code drift in the question.

E:

Cloud security posture management compares cloud settings with policy baselines and aggregates misconfiguration findings; this different classification would fit when an organization wants continuous visibility into risky storage, identity, and network configurations across many accounts, not the evidence pointing to infrastructure-as-code drift in the question.

Question 312

A finding concerns remediation service level. Select the explanation that captures how this issue or control works.

  1. Risk-based remediation SLAs translate vulnerability priority into accountable response deadlines and escalation.
  2. A known-exploited catalog identifies vulnerabilities with evidence of exploitation, not just theoretical feasibility.
  3. Probabilistic AI summaries can assist prioritization but do not replace authenticated evidence or analyst validation.
  4. Risk acceptance needs accountable approval, defined scope, expiry, and reassessment triggers.

Explanation

Correct Answer

A:

A critical finding stays open for months because no team owns the fix or deadline; that situation illustrates the actual operating behavior under review. Its practical safeguard is to assign remediation owners and deadlines that reflect verified business exposure and severity, with confirmation when issue tracking shows ownership, due dates, exceptions, and escalation for overdue critical findings.

Incorrect Answers

B:

An operations team needs a reliable signal that a CVE has been observed in active exploitation; those details characterize known exploited vulnerability catalog and would call for check official known-exploited listings and enforce urgency according to applicable directives and risk, rather than explaining remediation service level.

C:

An automated AI triage report labels a service vulnerable despite missing package evidence and system-owner context; those details characterize AI-assisted vulnerability triage and would call for review underlying scan artifacts and owner context before assigning a remediation priority, rather than explaining remediation service level.

D:

A business owner accepts an unresolved vulnerability with no review date or documented compensating control; those details characterize time-limited risk acceptance and would call for require a documented exception with business sign-off, control requirements, and automatic re-review, rather than explaining remediation service level.

Question 313

An approved test produces this finding: An isolated system with no business users receives unauthorized login attempts from an unknown source. Which protective action most directly addresses it?

  1. Apply access-control rules separately from translation mappings and verify their order of evaluation.
  2. Limit permitted egress destinations and monitor unusual outbound application traffic.
  3. Deploy protected endpoint telemetry and monitor high-value files and local privileges.
  4. Isolate decoy services and collect their telemetry without allowing lateral movement into production.

Explanation

Correct Answer

D:

A honeypot acts as a controlled decoy and generates high-signal alerts when unexpected interaction occurs; this is the specific exposure or dependency that the selected action addresses. After treatment, the assessor should confirm that decoy access is logged and containment tests show the honeypot cannot reach production trust zones.

Incorrect Answers

A:

Address translation changes packet addressing and does not itself replace explicit security policy enforcement; the proposed safeguard addresses a case where an external address maps to a private application host, but reviewers assume NAT automatically performs authorization, rather than the honeypot deception telemetry finding described here.

B:

Outbound policy and DNS controls constrain unauthorized communication from internal systems; the proposed safeguard addresses a case where a compromised host reaches an unusual external endpoint because the perimeter controls only inbound traffic, rather than the honeypot deception telemetry finding described here.

C:

Host-based detection uses operating-system events and file state to reveal activities inside endpoints; the proposed safeguard addresses a case where a server alert reports unauthorized changes to local system files that were not visible on the network sensor, rather than the honeypot deception telemetry finding described here.

Question 314

A planned improvement must address the following: A web assistant begins following instructions embedded in a retrieved document instead of the user's authorized request. Which control best targets that requirement?

  1. Apply context-appropriate output encoding and avoid inserting untrusted input into executable HTML contexts.
  2. Enforce transactional limits and invariants on the server for credit redemption and purchase flows.
  3. Treat retrieved content as untrusted data and enforce tool permissions and output validation outside the model.
  4. Allowlist writable fields for each endpoint and enforce ownership and role restrictions.

Explanation

Correct Answer

C:

Indirect prompt injection places adversarial instructions in lower-trust content that a language model may incorrectly treat as authority; this is the specific exposure or dependency that the selected action addresses. After treatment, the assessor should confirm that test documents with embedded instructions cannot make the assistant invoke unauthorized tools or disclose protected data.

Incorrect Answers

A:

Reflected XSS occurs when request-derived content is immediately returned without suitable output encoding; the proposed safeguard addresses a case where a query value is copied into an HTML response and interpreted by the browser as executable markup, rather than the indirect prompt injection in AI web assistant finding described here.

B:

Logic flaws exploit allowed operations in an unintended sequence or frequency, beyond ordinary injection filters; the proposed safeguard addresses a case where a discount checkout allows repeated redemption of a one-time credit without breaking input validation, rather than the indirect prompt injection in AI web assistant finding described here.

D:

Mass assignment arises when untrusted request fields bind directly to sensitive model properties; the proposed safeguard addresses a case where a profile update API accepts an undocumented isAdmin property and writes it to the user record, rather than the indirect prompt injection in AI web assistant finding described here.

Question 315

A follow-up audit focuses on path traversal protection. Which evidence most reliably demonstrates effective treatment?

  1. Authorization requests with unregistered redirects fail before codes are returned to those destinations.
  2. Instrumented browser tests show untrusted fragment data displayed without creating active markup.
  3. Malformed serialized input is rejected before dangerous object constructors or methods are invoked.
  4. Boundary tests cannot retrieve files above or outside the configured download directory.

Explanation

Correct Answer

D:

Traversal occurs when user-controlled paths escape the allowed base directory after unsafe normalization; the outcome tests this precise property in the production control. It relates to the original observation that a download endpoint accepts a filename with parent-directory components and reads outside its intended folder.

Incorrect Answers

A:

Open redirect registration can misdeliver authorization responses or codes outside the intended client origin; that evidence is relevant when an authentication broker accepts an attacker-specified redirect destination when issuing authorization responses, but does not establish closure of the path traversal protection exposure.

B:

DOM XSS arises when client-side code sends attacker-controlled values into dangerous browser sinks; that evidence is relevant when a browser script copies a URL fragment into innerHTML without a round trip through the server, but does not establish closure of the path traversal protection exposure.

C:

Deserialization of untrusted object graphs can trigger unsafe code paths or unexpected property changes; that evidence is relevant when an application reconstructs complex server objects directly from untrusted client-supplied serialized data, but does not establish closure of the path traversal protection exposure.

Question 316

For a security control relating to offline password hashing risk, which result shows meaningful enforcement rather than intent alone?

  1. Identity logs and alert rules identify distributed failures across many principals from related sources.
  2. Service inventory shows unique managed identities, restricted rights, and auditable password rotation.
  3. External reachability tests cannot contact the management listener without the approved gateway path.
  4. Storage inspection shows distinct salts and an approved password hashing work factor for each account.

Explanation

Correct Answer

D:

Password hashing should use a slow, salted password KDF to resist offline guessing at scale; the outcome tests this precise property in the production control. It relates to the original observation that a database breach exposes password hashes rather than plaintext passwords or reversible encryption keys.

Incorrect Answers

A:

Password spraying distributes a small set of guesses across users to avoid rapid per-account lockout; that evidence is relevant when authentication telemetry shows one guessed password attempted against many different accounts in a short interval, but does not establish closure of the offline password hashing risk exposure.

B:

Long-lived shared privileged service credentials expand the blast radius of application compromise; that evidence is relevant when an application service runs as a broadly privileged domain identity whose password never rotates, but does not establish closure of the offline password hashing risk exposure.

C:

Unrestricted remote administration increases password attacks and exploit exposure on a valuable control path; that evidence is relevant when an internet-facing host exposes an interactive management service directly to unknown remote sources, but does not establish closure of the offline password hashing risk exposure.

Question 317

An assessor must categorize a result: A desktop receives an address lease offering an unfamiliar gateway from an unauthorized switch port. Which category best fits the observed condition?

  1. DNS spoofing detection
  2. Passive network tap
  3. TLS packet confidentiality
  4. Rogue DHCP response

Explanation

Correct Answer

D:

Untrusted DHCP offers can redirect client network configuration toward attacker-controlled infrastructure; that mechanism makes this classification more precise than the neighboring terms. The protective follow-up is to enable DHCP snooping and trust only ports connected to approved DHCP infrastructure, verified when switch logs show client-facing untrusted DHCP offers dropped while approved leases succeed.

Incorrect Answers

A:

Spoofed or poisoned DNS responses can misdirect clients without changing the intended application name; this different classification would fit when a resolver returns an unexpected destination address for a sensitive internal domain after a local network change, not the evidence pointing to rogue dhcp response in the question.

B:

A passive tap observes link traffic independently of a switch's destination-based mirror configuration; this different classification would fit when an analysis device sees a copy of wire traffic without being assigned a production forwarding role, not the evidence pointing to rogue dhcp response in the question.

C:

Properly negotiated TLS encrypts application data in transit, while some endpoint and connection metadata remain visible; this different classification would fit when a traffic capture contains TLS-encrypted application records but no readable credentials or request body, not the evidence pointing to rogue dhcp response in the question.

Question 318

After applying safeguards for integrity protection, which observable result most directly establishes that they work?

  1. Access reviews and file permissions show only approved roles can retrieve the protected records.
  2. Signed baselines and change records explain every detected alteration to the configuration.
  3. The inventory records owner, data category, business purpose, and handling requirements for the repository.
  4. The signed approval identifies the owner, approved testers, systems, dates, and authorized techniques.

Explanation

Correct Answer

B:

Integrity addresses unauthorized or accidental modification of data, code, or settings; the outcome tests this precise property in the production control. It relates to the original observation that a configuration file changes unexpectedly while the server remains reachable and no secret is disclosed.

Incorrect Answers

A:

Confidentiality concerns who may access information, even when the underlying records are accurate and available; that evidence is relevant when a captured troubleshooting file contains readable patient records accessible to an unrelated team, but does not establish closure of the integrity protection exposure.

C:

Classification links information sensitivity and ownership to controls, retention, and handling requirements; that evidence is relevant when a test report finds a storage location containing regulated personal records but no assigned data owner, but does not establish closure of the integrity protection exposure.

D:

A signed authorization establishes who can consent to testing and separates approved activity from unauthorized access; that evidence is relevant when an assessor has a named sponsor and a signed document permitting only a specified range of tests, but does not establish closure of the integrity protection exposure.

Question 319

In a controlled review, analysts encounter this situation: Browsers warn that the server certificate is issued for a different hostname than the requested site. Select the best matching concept.

  1. Certificate hostname mismatch
  2. Service identity privilege
  3. HSTS deployment
  4. TLS protocol deprecation

Explanation

Correct Answer

A:

TLS identity assurance depends on valid trust chains and matching names, not encryption alone; that mechanism makes this classification more precise than the neighboring terms. The protective follow-up is to deploy a certificate covering the correct service name and validate its chain and renewal, verified when client certificate validation passes for the published hostname without exception clicks.

Incorrect Answers

B:

Excessive server process rights turn an application compromise into a host-level compromise; this different classification would fit when a compromised web worker could alter operating-system security settings because it runs as an administrator, not the evidence pointing to certificate hostname mismatch in the question.

C:

HSTS directs compliant browsers to use HTTPS for the host after receiving a valid secure policy; this different classification would fit when a site supports HTTPS but returning visitors sometimes attempt insecure HTTP connections first, not the evidence pointing to certificate hostname mismatch in the question.

D:

Legacy TLS versions and cipher suites may not provide current confidentiality and integrity guarantees; this different classification would fit when a public HTTPS service negotiates an obsolete transport protocol with weak cryptographic protections, not the evidence pointing to certificate hostname mismatch in the question.

Question 320

For the topic of full-disk encryption limits, which operational explanation is accurate?

  1. Full-disk encryption primarily protects data at rest on powered-off locked devices, not data already decrypted for a live session.
  2. Memory-hard password KDFs raise the RAM and computation cost of each guessing attempt.
  3. AES-GCM security depends on avoiding nonce reuse under a given key because reuse undermines confidentiality and authenticity.
  4. Symmetric algorithms use a shared secret for encryption and decryption and are efficient for bulk data.

Explanation

Correct Answer

A:

A laptop drive is stolen while the device is powered off, but a user later leaves it unlocked and running; that situation illustrates the actual operating behavior under review. Its practical safeguard is to enable strong disk encryption plus screen locks and endpoint controls for active sessions, with confirmation when an offline drive read fails without recovery credentials while workstation locking remains separately enforced.

Incorrect Answers

B:

An identity service must make large-scale offline password guessing expensive on parallel hardware; those details characterize memory-hard password hashing and would call for use a vetted password hashing algorithm with calibrated memory and time parameters, rather than explaining full-disk encryption limits.

C:

An encryption system repeatedly uses the same nonce and key for different AES-GCM messages; those details characterize AES-GCM nonce management and would call for generate unique nonces for each encryption operation under the same key, rather than explaining full-disk encryption limits.

D:

A large backup needs efficient encryption and decryption with the same protected secret key; those details characterize symmetric confidentiality and would call for use authenticated symmetric encryption and manage key access separately from stored ciphertext, rather than explaining full-disk encryption limits.

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