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

Question 790

To prevent the next similar event, analysts review this case: A development team disables TLS certificate verification in a payment integration to avoid a staging certificate error. Which preventive change targets the exact pathway that failed?

  1. Review TLS validation settings and actual certificate chain
  2. Install a trusted staging certificate and validate production trust configuration
  3. Review browser security policy exceptions and test each release
  4. Test certificate validation and pinning policies where appropriate in CI

Explanation

Correct Answer

D:

Transport verification should not be bypassed to fix compatibility; the control owner can test whether this reduces repeat conditions affecting whether client connections authenticate the remote service.

Incorrect Answers

A:

Skipping verification permits interception or impersonation regardless of encryption; the case needs recurrence prevention addressing whether client connections authenticate the remote service; an investigation is not recurrence prevention.

B:

Correct trust repair avoids an insecure global workaround; when judging whether client connections authenticate the remote service, case recovery is not future-risk control; this is instead trusted restoration.

C:

Narrow allowances reduce future abuse; this serves whether broad browser-policy relaxation created exposure, whereas the requested result is recurrence prevention involving whether client connections authenticate the remote service.

Question 791

The recovery owner is reviewing the underlying failure in this report: A web shell is found in an upload directory and appears to have been used to execute system commands. What action most directly repairs the affected access, evidence or system state?

  1. Block the shell URL and isolate the compromised application instance
  2. Disable execution in upload storage and monitor new executable files
  3. Patch the underlying vulnerability and verify alternate encodings fail
  4. Inspect web access logs, shell file timestamps and process ancestry
  5. Rebuild the application host and remediate the upload weakness

Explanation

Correct Answer

E:

Deleting only the shell may leave other attacker changes; this goes beyond temporary protection and addresses the failure identified through whether uploaded code provided persistent remote access.

Incorrect Answers

A:

Removing the remote execution path limits follow-on commands; the case needs trusted restoration addressing whether uploaded code provided persistent remote access; temporary protection does not complete correction.

B:

Architecture should separate untrusted files from executable code; when judging whether uploaded code provided persistent remote access, future hardening is not current-state recovery; this is instead recurrence prevention.

C:

Code-level remediation reduces dependence on fragile signatures; the other incident centers on whether signature matching misses equivalent payloads, not this trusted restoration question about whether uploaded code provided persistent remote access.

D:

Web requests connected to spawned commands support active shell usage; the requirement concerns whether uploaded code provided persistent remote access, so verification is not the corrective step.

Question 792

Cleanup is not considered complete. The case record describes: The incident runbook gives a WAF administrator broad production database privileges to investigate suspicious traffic. Which remediation task is necessary rather than merely suppressing the visible symptom?

  1. Use tested forward-fix or compatible restore procedures with application owners
  2. Delegate any needed data investigation to scoped database specialists
  3. Maintain time-bound break-glass roles with tested approval workflows
  4. Restrict the emergency role to approved security actions with auditing

Explanation

Correct Answer

B:

Role separation enables evidence collection without excessive permissions; technical closure should demonstrate that the control gap behind whether response roles respect separation of duties is actually corrected.

Incorrect Answers

A:

Recovery must preserve data consistency across versions; that method could help with whether recovery procedures cover schema changes; the trusted restoration decision here involves whether response roles respect separation of duties.

C:

Prepared access balances speed with control; future hardening is not current-state recovery in the decision about whether response roles respect separation of duties.

D:

Least privilege reduces errors and abuse during high-pressure response; the case needs trusted restoration addressing whether response roles respect separation of duties; temporary protection does not complete correction.

Question 793

Responders are preparing to reinstate operations after this situation: A user can supply a URL causing the backend to fetch a cloud instance metadata endpoint. What should be corrected before technical closure of the incident?

  1. Constrain server egress and test URL-fetch functionality for SSRF
  2. Use destination allowlists and safe URL resolution with metadata protections
  3. Remove shell construction, use safe APIs and rebuild compromised instances
  4. Block metadata and internal-address access from the vulnerable fetch component

Explanation

Correct Answer

B:

Application fetch behavior should not permit arbitrary internal endpoints; the owner can validate the correction against the evidence bearing on whether server-side request forgery reaches internal services.

Incorrect Answers

A:

Network boundaries reduce the consequences of parsing mistakes; for whether server-side request forgery reaches internal services, future hardening is not current-state recovery; trusted restoration remains necessary.

C:

Escaping alone is weaker than avoiding shell interpretation; the relevant condition for that step is whether OS command injection is occurring, which is not shown for whether server-side request forgery reaches internal services.

D:

Egress restriction limits secret retrieval while the defect is repaired; temporary protection does not complete correction in the decision about whether server-side request forgery reaches internal services.

Question 794

A case is escalated for independent verification after this finding: An application accepts any HTTP method on its administrative routes even though only GET and POST are needed. What collection or comparison would validate the reported condition?

  1. Reject unapproved methods at the application or gateway
  2. Review TLS validation settings and actual certificate chain
  3. Use explicit route-method allowlists and automated negative tests
  4. Test allowed verbs and handler behavior against the route specification

Explanation

Correct Answer

D:

Unexpected methods can reach unreviewed code paths or change server behavior; this permits a traceable finding about whether excess methods expose unintended functionality before the team makes a disruptive change.

Incorrect Answers

A:

Method constraints reduce exposed operations immediately; immediate protection does not substantiate findings in the decision about whether excess methods expose unintended functionality.

B:

Skipping verification permits interception or impersonation regardless of encryption; it is meant to address whether client connections authenticate the remote service, not evidence validation for whether excess methods expose unintended functionality.

C:

Least functionality reduces attack surface; when judging whether excess methods expose unintended functionality, prevention is not incident verification; this is instead recurrence prevention.

Question 795

The team wants a measurable hardening change following this situation: The team restores a web application from backup but leaves a stolen API token active in its environment. What improvement best addresses the root weakness in a future incident?

  1. Compare API audit activity with token issue times and incident scope
  2. Use centralized secret management with rotation and inventory
  3. Use scoped short-lived credentials and secret-rotation procedures
  4. Validate token updates across dependent services and regression-test business functions

Explanation

Correct Answer

C:

Controlled secrets reduce lasting impact from web compromises; the ongoing control is targeted at whether restored service credentials remain compromised, rather than a one-time emergency fix.

Incorrect Answers

A:

Restored files do not invalidate externally usable credentials; the requirement concerns whether restored service credentials remain compromised, so an investigation is not recurrence prevention.

B:

A managed lifecycle prevents forgotten copies from reintroducing compromise; the activity targets whether restoration inherited a compromised secret; recurrence prevention here concerns whether restored service credentials remain compromised.

D:

Recovery should eliminate secret reuse without breaking integrations; the case needs recurrence prevention addressing whether restored service credentials remain compromised; case recovery is not future-risk control.

Question 796

The immediate risk must be managed. The response record describes: A web team cannot roll back an emergency code fix because database migrations are irreversible. Which intervention is most effective before full eradication or restoration?

  1. Start protected log export while maintaining application availability
  2. Pause further migrations and preserve database state before emergency remediation
  3. Design reversible migrations and validate backups before high-risk deployments
  4. Use tested forward-fix or compatible restore procedures with application owners
  5. Review deployment artifacts, migration scripts and restore test evidence

Explanation

Correct Answer

B:

Capturing state protects against compounding corruption; the action limits the impact connected to whether recovery procedures cover schema changes without assuming the underlying flaw is already gone.

Incorrect Answers

A:

Early off-host preservation protects volatile transaction evidence; the other incident centers on whether web incident readiness includes sufficient evidence, not this initial containment or preservation question about whether recovery procedures cover schema changes.

C:

Release engineering improves incident recovery options; for whether recovery procedures cover schema changes, prevention cannot replace immediate action; initial containment or preservation remains necessary.

D:

Recovery must preserve data consistency across versions; the requirement concerns whether recovery procedures cover schema changes, so corrective follow-through follows initial protection.

E:

A code rollback alone may be unsafe after schema or data changes; the goal is initial containment or preservation for whether recovery procedures cover schema changes. Investigation alone does not control current conditions.

Question 797

The incident is not yet closed. Response staff report: A support link includes a query parameter that redirects browsers to an untrusted external payment site. Which short-term measure protects the affected process or asset?

  1. Replace generic redirect handling with validated internal route mappings
  2. Test redirect parameters and enforce destination allowlists in development
  3. Trace the redirect chain and inspect the server's destination validation
  4. Block metadata and internal-address access from the vulnerable fetch component
  5. Disable unvalidated external redirects or allowlist permitted destinations

Explanation

Correct Answer

E:

Restricting the redirection path prevents further lure delivery; the immediate response addresses whether an open redirect is being abused while the team preserves relevant case records.

Incorrect Answers

A:

A secure implementation avoids arbitrary attacker destinations; when judging whether an open redirect is being abused, corrective follow-through follows initial protection; this is instead trusted restoration.

B:

Input validation reduces phishing via trusted URLs; for whether an open redirect is being abused, prevention cannot replace immediate action; initial containment or preservation remains necessary.

C:

An attacker-controlled URL parameter may send users beyond the trusted origin; the requirement concerns whether an open redirect is being abused, so investigation alone does not control current conditions.

D:

Egress restriction limits secret retrieval while the defect is repaired; the other incident centers on whether server-side request forgery reaches internal services, not this initial containment or preservation question about whether an open redirect is being abused.

Question 798

The coordinator needs corrective action rather than another alert. The event was: A deployment pipeline publishes a backdoored static JavaScript bundle to all customers. Which follow-through step verifies the weakness was removed?

  1. Sign release artifacts and enforce pipeline approvals and integrity checks
  2. Rebuild from trusted source with reviewed dependencies and rotate exposed keys
  3. Withdraw the affected bundle and stop pipeline promotions
  4. Rebuild the application host and remediate the upload weakness

Explanation

Correct Answer

B:

A known-good release must not reuse tainted artifacts; it is the corrective action needed for whether a build artifact was compromised after the immediate hazard is controlled.

Incorrect Answers

A:

Software supply-chain controls reduce unauthorized publication; when judging whether a build artifact was compromised, future hardening is not current-state recovery; this is instead recurrence prevention.

C:

Distribution containment limits additional exposure; the requirement concerns whether a build artifact was compromised, so temporary protection does not complete correction.

D:

Deleting only the shell may leave other attacker changes; the activity targets whether uploaded code provided persistent remote access; trusted restoration here concerns whether a build artifact was compromised.

Question 799

A security analyst is asked to validate the following reported behavior: A customer support portal submits state-changing requests without an anti-CSRF control and browsers attach valid session cookies. Which check can confirm the relevant facts before a disruptive action?

  1. Temporarily restrict high-risk state changes while adding origin checks
  2. Test token use after server-side logout and inspect token revocation behavior
  3. Implement server-verified CSRF tokens and review unauthorized changes
  4. Use anti-CSRF middleware and secure cookie settings as complementary defenses
  5. Inspect request origin validation, CSRF tokens and cookie SameSite attributes

Explanation

Correct Answer

E:

Cross-origin requests can exploit ambient authenticated browser state; the review should retain source and timing information relevant to whether cross-site request forgery is possible.

Incorrect Answers

A:

Focused mitigation limits unintended requests during remediation; the goal is evidence validation for whether cross-site request forgery is possible. Immediate protection does not substantiate findings.

B:

A visible logout does not guarantee the backend rejected the session; this serves whether session invalidation is ineffective, whereas the requested result is evidence validation involving whether cross-site request forgery is possible.

C:

Protection must be checked on the server for each sensitive action; the case needs evidence validation addressing whether cross-site request forgery is possible; recovery is not factual verification.

D:

Standardized controls reduce browser-driven request forgery; when judging whether cross-site request forgery is possible, prevention is not incident verification; this is instead recurrence prevention.

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.

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