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

Question 800

The response record begins with an unresolved observation: A production application has no access-log retention beyond an hour, yet its incident playbook expects a week of request history. What documentation or telemetry would most reliably support the incident determination?

  1. Start protected log export while maintaining application availability
  2. Compare assigned privileges with each planned WAF and database investigation action
  3. Review gateway, application and database audit retention against expected investigation windows
  4. Include telemetry retention in application release and response readiness checks

Explanation

Correct Answer

C:

Short histories can erase intrusion traces before discovery; the objective is to establish whether web incident readiness includes sufficient evidence; the result can then guide the later protective decision.

Incorrect Answers

A:

Early off-host preservation protects volatile transaction evidence; the requirement concerns whether web incident readiness includes sufficient evidence, so immediate protection does not substantiate findings.

B:

Edge filtering rarely requires blanket database administration rights; the activity targets whether response roles respect separation of duties; evidence validation here concerns whether web incident readiness includes sufficient evidence.

D:

New services should not ship with invisible attack paths; the case needs evidence validation addressing whether web incident readiness includes sufficient evidence; prevention is not incident verification.

Question 801

Following initial stabilization, the team must prove recovery for this case: After a patch, an API endpoint returns correct data but its authorization tests now allow cross-tenant requests. Which correction must be verified before the affected service or process is restored?

  1. Automate security regression suites for high-risk access paths
  2. Keep the modified endpoint unavailable to unauthorized tenants until retested
  3. Validate token updates across dependent services and regression-test business functions
  4. Fix object authorization and restore service only after negative tests pass

Explanation

Correct Answer

D:

Correct recovery validates security requirements as well as function; the resulting state needs verification against the original concern: whether regression testing covers security boundaries.

Incorrect Answers

A:

Continuous tests reduce security regressions during emergency patches; the case needs trusted restoration addressing whether regression testing covers security boundaries; future hardening is not current-state recovery.

B:

Preventing further disclosure takes priority over broad availability; when judging whether regression testing covers security boundaries, temporary protection does not complete correction; this is instead initial containment or preservation.

C:

Recovery should eliminate secret reuse without breaking integrations; the relevant condition for that step is whether restored service credentials remain compromised, which is not shown for whether regression testing covers security boundaries.

Question 802

While full remediation remains pending, the commander receives this incident report: A reverse proxy trusts an unverified X-Forwarded-For header and attackers bypass source-IP access rules. Which first protective measure directly limits the situation without assuming cleanup is finished?

  1. Stop trusting unapproved forwarded headers and restrict sensitive routes
  2. Compare raw proxy connection address with forwarded header and trust configuration
  3. Suspend affected checkout paths and reject inconsistent totals
  4. Configure explicit trusted proxies and review affected privileged requests

Explanation

Correct Answer

A:

Containment restores actual network identity as the access basis; this reduces current exposure associated with whether client IP spoofing defeats application access control and permits later corrective work.

Incorrect Answers

B:

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

C:

Immediate validation prevents fraudulent transactions; the relevant condition for that step is whether business logic trusts client-calculated pricing, which is not shown for whether client IP spoofing defeats application access control.

D:

Correct parsing requires known proxy topology and header stripping; the requirement concerns whether client IP spoofing defeats application access control, so corrective follow-through follows initial protection.

Question 803

The incident is resolved, but its root weakness still requires policy attention: A search page accepts a shell metacharacter in an input and a server-side process unexpectedly launches. What durable process or monitoring change would make a repeat less likely?

  1. Require secure query construction and automated injection testing
  2. Correlate crafted requests with application child-process creation and command logs
  3. Remove shell construction, use safe APIs and rebuild compromised instances
  4. Prohibit untrusted command interpolation and test process-spawning endpoints

Explanation

Correct Answer

D:

Secure design removes the attack primitive; the ongoing control is targeted at whether OS command injection is occurring, rather than a one-time emergency fix.

Incorrect Answers

A:

Preventive development controls reduce recurrence; it is meant to address whether SQL injection reached an unsafe query path, not recurrence prevention for whether OS command injection is occurring.

B:

A web parameter causing shell execution supports command injection; the case needs recurrence prevention addressing whether OS command injection is occurring; an investigation is not recurrence prevention.

C:

Escaping alone is weaker than avoiding shell interpretation; when judging whether OS command injection is occurring, case recovery is not future-risk control; this is instead trusted restoration.

Question 804

An evidence-led review starts with the following report: A user profile field reflects unescaped script markup and browsers execute it when other users view the profile. What investigation should establish the disputed activity and its timeline?

  1. Use secure templating and CSP as defense in depth
  2. Compare stored profile content with rendered DOM and browser execution evidence
  3. Disable affected rendering and sanitize the malicious stored payload carefully
  4. Apply context-aware output encoding and assess impacted sessions
  5. Inspect upload paths, MIME validation and web-server execution mapping

Explanation

Correct Answer

B:

Persistent malicious markup can execute in other users' sessions; the objective is to establish whether stored cross-site scripting occurs; the result can then guide the later protective decision.

Incorrect Answers

A:

Code-level output controls are primary; browser policy provides additional limits; when judging whether stored cross-site scripting occurs, prevention is not incident verification; this is instead recurrence prevention.

C:

Containment removes immediate script execution without destroying evidence; the requirement concerns whether stored cross-site scripting occurs, so immediate protection does not substantiate findings.

D:

Encoding at the output context addresses the underlying flaw; the goal is evidence validation for whether stored cross-site scripting occurs. Recovery is not factual verification.

E:

Stored uploads become executable when saved to a script-enabled location; this serves whether unrestricted upload permits remote execution, whereas the requested result is evidence validation involving whether stored cross-site scripting occurs.

Question 805

A containment decision is required for this incident: A web server exposes backup archive files under a publicly reachable static-assets directory. What action constrains the incident at the affected point of control?

  1. Move archives to restricted storage and rotate any exposed secrets
  2. Reject unapproved methods at the application or gateway
  3. Request known test paths and compare server mapping with deployment manifests
  4. Remove external access to backups and preserve access logs for scope analysis

Explanation

Correct Answer

D:

Immediate blocking stops further unauthenticated download; the immediate response addresses whether sensitive files are retrievable without authentication while the team preserves relevant case records.

Incorrect Answers

A:

Recovery must account for content already obtainable; corrective follow-through follows initial protection in the decision about whether sensitive files are retrievable without authentication.

B:

Method constraints reduce exposed operations immediately; the other incident centers on whether excess methods expose unintended functionality, not this initial containment or preservation question about whether sensitive files are retrievable without authentication.

C:

Public file serving may disclose backups and embedded secrets; when judging whether sensitive files are retrievable without authentication, investigation alone does not control current conditions; this is instead evidence validation.

Question 806

To avoid broad unnecessary disruption, responders consider this finding: A login API allows unlimited rapid password attempts against one username with no delay or lockout monitoring. Which operational control should take effect first?

  1. Rate-limit repeated reset attempts and normalize observable responses
  2. Review successful logins and reset compromised passwords if identified
  3. Correlate failed-login velocity, source rotation and account outcomes
  4. Apply risk-based rate limiting and protective account challenges

Explanation

Correct Answer

D:

Throttling reduces guessing without permanent denial to legitimate users; this reduces current exposure associated with whether online credential guessing is constrained and permits later corrective work.

Incorrect Answers

A:

Containment restricts automated enumeration without blocking legitimate resets; the relevant condition for that step is whether account enumeration is exposed, which is not shown for whether online credential guessing is constrained.

B:

Prevention of future attempts does not undo a successful takeover; corrective follow-through follows initial protection in the decision about whether online credential guessing is constrained.

C:

High-rate attempts indicate a guessing attack even when addresses rotate; the case needs initial containment or preservation addressing whether online credential guessing is constrained; investigation alone does not control current conditions.

Question 807

A security analyst is asked to validate the following reported behavior: A shopping-cart request changes the quantity after price calculation and the server trusts the client-supplied total. Which check can confirm the relevant facts before a disruptive action?

  1. Compare raw proxy connection address with forwarded header and trust configuration
  2. Suspend affected checkout paths and reject inconsistent totals
  3. Test business workflows for parameter tampering, not only injection
  4. Compare backend order totals with server-side catalog price computations

Explanation

Correct Answer

D:

Manipulated client fields can bypass intended purchase validation; it connects the question of whether business logic trusts client-calculated pricing to an observable record and a reproducible check.

Incorrect Answers

A:

Client-supplied headers are not authoritative unless set by trusted intermediaries; the other incident centers on whether client IP spoofing defeats application access control, not this evidence validation question about whether business logic trusts client-calculated pricing.

B:

Immediate validation prevents fraudulent transactions; immediate protection does not substantiate findings in the decision about whether business logic trusts client-calculated pricing.

C:

Logic abuse often survives syntactic input validation; the case needs evidence validation addressing whether business logic trusts client-calculated pricing; prevention is not incident verification.

Question 808

Before granting routine access again, the team reviews this case: An API logs full authorization tokens to a shared monitoring dashboard during troubleshooting. What must the response owner validate as part of safe recovery?

  1. Stop logging secrets and restrict existing log access
  2. Apply structured log redaction and secret scanning
  3. Move archives to restricted storage and rotate any exposed secrets
  4. Purge or protect historical token logs and revoke affected credentials

Explanation

Correct Answer

D:

Previous records may still contain usable authorization material; the recovery decision is tied to whether telemetry itself leaks credentials, not merely to reduced alert volume.

Incorrect Answers

A:

Limiting further collection and viewing reduces exposure; when judging whether telemetry itself leaks credentials, temporary protection does not complete correction; this is instead initial containment or preservation.

B:

Logging policy should preserve diagnostics without credentials; for whether telemetry itself leaks credentials, future hardening is not current-state recovery; trusted restoration remains necessary.

C:

Recovery must account for content already obtainable; that method could help with whether sensitive files are retrievable without authentication; the trusted restoration decision here involves whether telemetry itself leaks credentials.

Question 809

An improvement plan must address recurrence after this case: A WAF rule blocks a known exploit pattern but an attacker reaches the vulnerable endpoint using an alternate encoding. What should the owner add to the normal control review to reduce recurrence?

  1. Compare decoded application inputs with WAF normalization and rule hits
  2. Inventory third-party components and apply risk-based update management
  3. Patch the underlying vulnerability and verify alternate encodings fail
  4. Use normalized request inspection and secure coding tests

Explanation

Correct Answer

D:

Defense in depth should not assume a single WAF regex is sufficient; a periodic review of this safeguard can track the risk described by whether signature matching misses equivalent payloads.

Incorrect Answers

A:

Different encodings can bypass filters if the backend interprets them differently; an investigation is not recurrence prevention in the decision about whether signature matching misses equivalent payloads.

B:

Maintained dependencies reduce known plug-in exploitation; that method could help with whether restart removed the exploitable component; the recurrence prevention decision here involves whether signature matching misses equivalent payloads.

C:

Code-level remediation reduces dependence on fragile signatures; when judging whether signature matching misses equivalent payloads, case recovery is not future-risk control; this is instead trusted restoration.

Question 810

A post-incident audit examines the following failure mode: An XML processing endpoint unexpectedly reads a local server file after receiving an external entity declaration. What recurring check or restriction would best address the weakness?

  1. Replace parser settings with secure defaults and assess accessed files
  2. Use hardened XML libraries and regression tests for entity inputs
  3. Inspect parser configuration and document content against file access events
  4. Allowlist file types, verify content and use non-executable object storage

Explanation

Correct Answer

B:

Safe parsing is stronger than ad hoc payload filtering; it closes a repeatable gap revealed by whether XML external entities are enabled without removing useful monitoring.

Incorrect Answers

A:

Recovery includes both flaw remediation and exposure review; for whether XML external entities are enabled, case recovery is not future-risk control; recurrence prevention remains necessary.

C:

Unsafe entity expansion can read local files or access internal network resources; the goal is recurrence prevention for whether XML external entities are enabled. An investigation is not recurrence prevention.

D:

Layered upload validation reduces abuse; the relevant condition for that step is whether unrestricted upload permits remote execution, which is not shown for whether XML external entities are enabled.

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