ECCouncil 212-89 (EC-Council Certified Incident Handler) Practice Test 73

Question 720

To avoid broad unnecessary disruption, responders consider this finding: A search page accepts a shell metacharacter in an input and a server-side process unexpectedly launches. The current decision requires two different outcomes: evidence-based verification AND initial protection, without treating cleanup as complete. Which TWO measures provide those outcomes? (Choose TWO.)

  1. Prohibit untrusted command interpolation and test process-spawning endpoints
  2. Restrict the vulnerable feature and isolate compromised application hosts
  3. Remove shell construction, use safe APIs and rebuild compromised instances
  4. Correlate crafted requests with application child-process creation and command logs
  5. Use parameterized queries and retest the vulnerable endpoint

Explanation

Correct Answers

B:

A web process that launches attacker commands requires host-level containment; within the combined response for whether OS command injection is occurring, this supplies initial containment or preservation: the protective decision should be recorded and its effect tested against whether OS command injection is occurring.

D:

A web parameter causing shell execution supports command injection; within the combined response for whether OS command injection is occurring, this supplies evidence validation: that evidence directly tests the concern about whether OS command injection is occurring, rather than relying on a single unverified indicator.

Incorrect Answers

A:

Secure design removes the attack primitive; prevention cannot replace immediate action in the decision about whether OS command injection is occurring.

C:

Escaping alone is weaker than avoiding shell interpretation; when judging whether OS command injection is occurring, corrective follow-through follows initial protection; this is instead trusted restoration.

E:

Bound parameters prevent user input from altering SQL command structure; the other incident centers on whether SQL injection reached an unsafe query path, not this initial containment or preservation question about whether OS command injection is occurring.

Question 721

Before making any disruptive change, an investigator is handed these observations: A password-reset endpoint reveals whether an email address has an account by returning different messages and timings. Which source best supports the incident finding before responders modify the environment?

  1. Rate-limit repeated reset attempts and normalize observable responses
  2. Compare response bodies, status codes and timing for known and unknown accounts
  3. Correlate failed-login velocity, source rotation and account outcomes
  4. Test authentication workflows for user enumeration and rate abuse

Explanation

Correct Answer

B:

Consistent differences allow attackers to validate account existence; it connects the question of whether account enumeration is exposed to an observable record and a reproducible check.

Incorrect Answers

A:

Containment restricts automated enumeration without blocking legitimate resets; the case needs evidence validation addressing whether account enumeration is exposed; immediate protection does not substantiate findings.

C:

High-rate attempts indicate a guessing attack even when addresses rotate; the other incident centers on whether online credential guessing is constrained, not this evidence validation question about whether account enumeration is exposed.

D:

Preventive testing addresses privacy and brute-force risks; the requirement concerns whether account enumeration is exposed, so prevention is not incident verification.

Question 722

The response record begins with an unresolved observation: An API logs full authorization tokens to a shared monitoring dashboard during troubleshooting. What documentation or telemetry would most reliably support the incident determination?

  1. Inspect log fields, dashboard access lists and token validity
  2. Apply structured log redaction and secret scanning
  3. Stop logging secrets and restrict existing log access
  4. Request known test paths and compare server mapping with deployment manifests

Explanation

Correct Answer

A:

Sensitive headers can become available to users beyond the token owner; this evidence is scoped to whether telemetry itself leaks credentials, not a generic system-health reading.

Incorrect Answers

B:

Logging policy should preserve diagnostics without credentials; the goal is evidence validation for whether telemetry itself leaks credentials. Prevention is not incident verification.

C:

Limiting further collection and viewing reduces exposure; immediate protection does not substantiate findings in the decision about whether telemetry itself leaks credentials.

D:

Public file serving may disclose backups and embedded secrets; the other incident centers on whether sensitive files are retrievable without authentication, not this evidence validation question about whether telemetry itself leaks credentials.

Question 723

An improvement plan must address recurrence after this case: A web upload endpoint accepts a script file that later executes inside the application's public directory. What should the owner add to the normal control review to reduce recurrence?

  1. Allowlist file types, verify content and use non-executable object storage
  2. Remove malicious uploads and store future files outside executable document roots
  3. Inspect upload paths, MIME validation and web-server execution mapping
  4. Use hardened XML libraries and regression tests for entity inputs

Explanation

Correct Answer

A:

Layered upload validation reduces abuse; its effectiveness can be exercised against the warning conditions associated with whether unrestricted upload permits remote execution.

Incorrect Answers

B:

Safe storage breaks the upload-to-execution chain; the case needs recurrence prevention addressing whether unrestricted upload permits remote execution; case recovery is not future-risk control.

C:

Stored uploads become executable when saved to a script-enabled location; when judging whether unrestricted upload permits remote execution, an investigation is not recurrence prevention; this is instead evidence validation.

D:

Safe parsing is stronger than ad hoc payload filtering; the activity targets whether XML external entities are enabled; recurrence prevention here concerns whether unrestricted upload permits remote execution.

Question 724

While full remediation remains pending, the commander receives this incident report: A development team disables TLS certificate verification in a payment integration to avoid a staging certificate error. The current decision requires two different outcomes: evidence-based verification AND initial protection, without treating cleanup as complete. Which TWO measures provide those outcomes? (Choose TWO.)

  1. Refactor the integration and validate required behavior under safe headers
  2. Restore certificate checks and pause unsafe payment calls
  3. Review TLS validation settings and actual certificate chain
  4. Test certificate validation and pinning policies where appropriate in CI
  5. Install a trusted staging certificate and validate production trust configuration

Explanation

Correct Answers

B:

Authenticated transport is necessary before sensitive transaction exchange; within the combined response for whether client connections authenticate the remote service, this supplies initial containment or preservation: this reduces current exposure associated with whether client connections authenticate the remote service and permits later corrective work.

C:

Skipping verification permits interception or impersonation regardless of encryption; within the combined response for whether client connections authenticate the remote service, this supplies evidence validation: for this investigation, the relevant uncertainty is whether client connections authenticate the remote service, so independent confirmation matters.

Incorrect Answers

A:

Compatibility should not depend on removing every browser defense; the relevant condition for that step is whether broad browser-policy relaxation created exposure, which is not shown for whether client connections authenticate the remote service.

D:

Transport verification should not be bypassed to fix compatibility; the goal is initial containment or preservation for whether client connections authenticate the remote service. Prevention cannot replace immediate action.

E:

Correct trust repair avoids an insecure global workaround; corrective follow-through follows initial protection in the decision about whether client connections authenticate the remote service.

Question 725

A security analyst is asked to validate the following reported behavior: After a patch, an API endpoint returns correct data but its authorization tests now allow cross-tenant requests. Which check can confirm the relevant facts before a disruptive action?

  1. Run negative authorization tests with independent tenant identities
  2. Keep the modified endpoint unavailable to unauthorized tenants until retested
  3. Compare affected catalog records with approved price histories and audit logs
  4. Automate security regression suites for high-risk access paths

Explanation

Correct Answer

A:

Functional success does not prove cross-tenant isolation remains intact; the review should retain source and timing information relevant to whether regression testing covers security boundaries.

Incorrect Answers

B:

Preventing further disclosure takes priority over broad availability; immediate protection does not substantiate findings in the decision about whether regression testing covers security boundaries.

C:

Availability does not show whether price data is trustworthy; the activity targets whether restored data has business integrity; evidence validation here concerns whether regression testing covers security boundaries.

D:

Continuous tests reduce security regressions during emergency patches; when judging whether regression testing covers security boundaries, prevention is not incident verification; this is instead recurrence prevention.

Question 726

A tabletop exercise is being updated using the following real-world failure: A reverse proxy trusts an unverified X-Forwarded-For header and attackers bypass source-IP access rules. Which improvement should be tracked through the next control-assurance cycle?

  1. Test reverse-proxy trust boundaries in configuration reviews
  2. Configure explicit trusted proxies and review affected privileged requests
  3. Constrain server egress and test URL-fetch functionality for SSRF
  4. Compare raw proxy connection address with forwarded header and trust configuration

Explanation

Correct Answer

A:

Header provenance matters to access-control decisions; the assurance measure is designed around whether client IP spoofing defeats application access control, rather than hiding the reported activity.

Incorrect Answers

B:

Correct parsing requires known proxy topology and header stripping; case recovery is not future-risk control in the decision about whether client IP spoofing defeats application access control.

C:

Network boundaries reduce the consequences of parsing mistakes; the relevant condition for that step is whether server-side request forgery reaches internal services, which is not shown for whether client IP spoofing defeats application access control.

D:

Client-supplied headers are not authoritative unless set by trusted intermediaries; when judging whether client IP spoofing defeats application access control, an investigation is not recurrence prevention; this is instead evidence validation.

Question 727

Responders are preparing to reinstate operations after this situation: A compromised web service account has permission to modify unrelated databases in the same cluster. What should be corrected before technical closure of the incident?

  1. Audit effective database grants and service account query history
  2. Separate application identities and grant only required database operations
  3. Reissue a scoped credential and review unauthorized changes across accessible schemas
  4. Install a verified fixed plug-in and inspect content changes and accounts
  5. Revoke unnecessary grants and rotate the exposed application secret

Explanation

Correct Answer

C:

Remediation needs both entitlement correction and breach scoping; the owner can validate the correction against the evidence bearing on whether excessive backend privilege expands attack impact.

Incorrect Answers

A:

Cross-database privileges let a web compromise move beyond its own data; for whether excessive backend privilege expands attack impact, verification is not the corrective step; trusted restoration remains necessary.

B:

Service isolation reduces lateral effects; the requirement concerns whether excessive backend privilege expands attack impact, so future hardening is not current-state recovery.

D:

Recovery requires vulnerability removal and compromise review; that method could help with whether restart removed the exploitable component; the trusted restoration decision here involves whether excessive backend privilege expands attack impact.

E:

Least-privilege containment limits additional queries; the case needs trusted restoration addressing whether excessive backend privilege expands attack impact; temporary protection does not complete correction.

Question 728

The owner must verify the return to a trusted state for the following: A production application has no access-log retention beyond an hour, yet its incident playbook expects a week of request history. What corrective work is needed before routine operations resume?

  1. Include telemetry retention in application release and response readiness checks
  2. Increase scoped retention and exercise event retrieval for test incidents
  3. Delegate any needed data investigation to scoped database specialists
  4. Start protected log export while maintaining application availability

Explanation

Correct Answer

B:

Readiness requires that investigators can actually obtain necessary logs; it is the corrective action needed for whether web incident readiness includes sufficient evidence after the immediate hazard is controlled.

Incorrect Answers

A:

New services should not ship with invisible attack paths; the requirement concerns whether web incident readiness includes sufficient evidence, so future hardening is not current-state recovery.

C:

Role separation enables evidence collection without excessive permissions; it is meant to address whether response roles respect separation of duties, not trusted restoration for whether web incident readiness includes sufficient evidence.

D:

Early off-host preservation protects volatile transaction evidence; the case needs trusted restoration addressing whether web incident readiness includes sufficient evidence; temporary protection does not complete correction.

Question 729

The team wants a measurable hardening change following this situation: A web server exposes backup archive files under a publicly reachable static-assets directory. What improvement best addresses the root weakness in a future incident?

  1. Remove external access to backups and preserve access logs for scope analysis
  2. Move archives to restricted storage and rotate any exposed secrets
  3. Exclude backups from web roots and scan builds for secret-bearing artifacts
  4. Request known test paths and compare server mapping with deployment manifests
  5. Apply structured log redaction and secret scanning

Explanation

Correct Answer

C:

Deployment checks prevent accidental publication; the ongoing control is targeted at whether sensitive files are retrievable without authentication, rather than a one-time emergency fix.

Incorrect Answers

A:

Immediate blocking stops further unauthenticated download; the requirement concerns whether sensitive files are retrievable without authentication, so one-time protection is not durable prevention.

B:

Recovery must account for content already obtainable; the goal is recurrence prevention for whether sensitive files are retrievable without authentication. Case recovery is not future-risk control.

D:

Public file serving may disclose backups and embedded secrets; the case needs recurrence prevention addressing whether sensitive files are retrievable without authentication; an investigation is not recurrence prevention.

E:

Logging policy should preserve diagnostics without credentials; this serves whether telemetry itself leaks credentials, whereas the requested result is recurrence prevention involving whether sensitive files are retrievable without authentication.

Question 730

A responder is tasked with limiting immediate impact after this report: Developers suppress security headers globally to resolve a single embedded-widget compatibility issue. The first response plan must document the reported condition AND limit near-term harm. Select TWO case-specific steps. (Choose TWO.)

  1. Use explicit route-method allowlists and automated negative tests
  2. Restore protective defaults and permit only reviewed widget origins
  3. Inspect CSP, iframe and mixed-content behavior on affected routes
  4. Refactor the integration and validate required behavior under safe headers
  5. Review browser security policy exceptions and test each release

Explanation

Correct Answers

B:

A scoped rule limits unintended execution and framing; within the combined response for whether broad browser-policy relaxation created exposure, this supplies initial containment or preservation: the scope of this restriction follows whether broad browser-policy relaxation created exposure rather than indiscriminately changing unrelated assets.

C:

Removing all headers increases attack surface beyond the one integration; within the combined response for whether broad browser-policy relaxation created exposure, this supplies evidence validation: it connects the question of whether broad browser-policy relaxation created exposure to an observable record and a reproducible check.

Incorrect Answers

A:

Least functionality reduces attack surface; that method could help with whether excess methods expose unintended functionality; the initial containment or preservation decision here involves whether broad browser-policy relaxation created exposure.

D:

Compatibility should not depend on removing every browser defense; for whether broad browser-policy relaxation created exposure, corrective follow-through follows initial protection; initial containment or preservation remains necessary.

E:

Narrow allowances reduce future abuse; the requirement concerns whether broad browser-policy relaxation created exposure, so prevention cannot replace immediate action.

EC-Council Certified Incident Handler (212-89) Practice Tests