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

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.

Question 811

To distinguish suspicion from confirmed impact, the SOC examines this case: A compromised web service account has permission to modify unrelated databases in the same cluster. Which review would give the incident owner the strongest case-specific evidence?

  1. Separate application identities and grant only required database operations
  2. Revoke unnecessary grants and rotate the exposed application secret
  3. Compare decoded application inputs with WAF normalization and rule hits
  4. Audit effective database grants and service account query history
  5. Reissue a scoped credential and review unauthorized changes across accessible schemas

Explanation

Correct Answer

D:

Cross-database privileges let a web compromise move beyond its own data; it connects the question of whether excessive backend privilege expands attack impact to an observable record and a reproducible check.

Incorrect Answers

A:

Service isolation reduces lateral effects; for whether excessive backend privilege expands attack impact, prevention is not incident verification; evidence validation remains necessary.

B:

Least-privilege containment limits additional queries; the requirement concerns whether excessive backend privilege expands attack impact, so immediate protection does not substantiate findings.

C:

Different encodings can bypass filters if the backend interprets them differently; the relevant condition for that step is whether signature matching misses equivalent payloads, which is not shown for whether excessive backend privilege expands attack impact.

E:

Remediation needs both entitlement correction and breach scoping; the case needs evidence validation addressing whether excessive backend privilege expands attack impact; recovery is not factual verification.

Question 812

The response record begins with an unresolved observation: A retail application is back online but attackers altered product prices during the intrusion. What documentation or telemetry would most reliably support the incident determination?

  1. Compare affected catalog records with approved price histories and audit logs
  2. Monitor high-risk administrative data changes with approval workflows
  3. Run negative authorization tests with independent tenant identities
  4. Restrict order processing until affected price fields are reconciled

Explanation

Correct Answer

A:

Availability does not show whether price data is trustworthy; this evidence is scoped to whether restored data has business integrity, not a generic system-health reading.

Incorrect Answers

B:

Business integrity auditing catches malicious edits; the goal is evidence validation for whether restored data has business integrity. Prevention is not incident verification.

C:

Functional success does not prove cross-tenant isolation remains intact; it is meant to address whether regression testing covers security boundaries, not evidence validation for whether restored data has business integrity.

D:

Business containment prevents corrupted pricing from driving transactions; the case needs evidence validation addressing whether restored data has business integrity; immediate protection does not substantiate findings.

Question 813

The team has retained the initial evidence and is assessing recovery from: A password-reset endpoint reveals whether an email address has an account by returning different messages and timings. What restoration task closes the identified integrity or control gap?

  1. Make reset flow responses uniform and review possible credential-stuffing follow-up
  2. Rate-limit repeated reset attempts and normalize observable responses
  3. Test authentication workflows for user enumeration and rate abuse
  4. Compare response bodies, status codes and timing for known and unknown accounts
  5. Review successful logins and reset compromised passwords if identified

Explanation

Correct Answer

A:

Defensive design closes the disclosure channel; the owner can validate the correction against the evidence bearing on whether account enumeration is exposed.

Incorrect Answers

B:

Containment restricts automated enumeration without blocking legitimate resets; temporary protection does not complete correction in the decision about whether account enumeration is exposed.

C:

Preventive testing addresses privacy and brute-force risks; the case needs trusted restoration addressing whether account enumeration is exposed; future hardening is not current-state recovery.

D:

Consistent differences allow attackers to validate account existence; when judging whether account enumeration is exposed, verification is not the corrective step; this is instead evidence validation.

E:

Prevention of future attempts does not undo a successful takeover; the other incident centers on whether online credential guessing is constrained, not this trusted restoration question about whether account enumeration is exposed.

Question 814

A long-term control assessment uses this recent event: A commerce site returns database syntax errors after crafted query parameters containing SQL metacharacters. Which change provides measurable prevention rather than an emergency workaround?

  1. Use parameterized queries and retest the vulnerable endpoint
  2. Prohibit untrusted command interpolation and test process-spawning endpoints
  3. Require secure query construction and automated injection testing
  4. Correlate HTTP parameters, SQL error detail and database statement audit

Explanation

Correct Answer

C:

Preventive development controls reduce recurrence; it closes a repeatable gap revealed by whether SQL injection reached an unsafe query path without removing useful monitoring.

Incorrect Answers

A:

Bound parameters prevent user input from altering SQL command structure; the goal is recurrence prevention for whether SQL injection reached an unsafe query path. Case recovery is not future-risk control.

B:

Secure design removes the attack primitive; the other incident centers on whether OS command injection is occurring, not this recurrence prevention question about whether SQL injection reached an unsafe query path.

D:

Matching inputs and query behavior support a code injection hypothesis; when judging whether SQL injection reached an unsafe query path, an investigation is not recurrence prevention; this is instead evidence validation.

Question 815

The team wants a measurable hardening change following this situation: Developers suppress security headers globally to resolve a single embedded-widget compatibility issue. What improvement best addresses the root weakness in a future incident?

  1. Review browser security policy exceptions and test each release
  2. Test certificate validation and pinning policies where appropriate in CI
  3. Restore protective defaults and permit only reviewed widget origins
  4. Inspect CSP, iframe and mixed-content behavior on affected routes
  5. Refactor the integration and validate required behavior under safe headers

Explanation

Correct Answer

A:

Narrow allowances reduce future abuse; the ongoing control is targeted at whether broad browser-policy relaxation created exposure, rather than a one-time emergency fix.

Incorrect Answers

B:

Transport verification should not be bypassed to fix compatibility; this serves whether client connections authenticate the remote service, whereas the requested result is recurrence prevention involving whether broad browser-policy relaxation created exposure.

C:

A scoped rule limits unintended execution and framing; one-time protection is not durable prevention in the decision about whether broad browser-policy relaxation created exposure.

D:

Removing all headers increases attack surface beyond the one integration; the case needs recurrence prevention addressing whether broad browser-policy relaxation created exposure; an investigation is not recurrence prevention.

E:

Compatibility should not depend on removing every browser defense; when judging whether broad browser-policy relaxation created exposure, case recovery is not future-risk control; this is instead trusted restoration.

Question 816

The response record begins with an unresolved observation: A server renders a user-supplied template and leaks environment values when special template expressions are submitted. What documentation or telemetry would most reliably support the incident determination?

  1. Disable user-controlled template execution and rotate potentially exposed secrets
  2. Inspect parser configuration and document content against file access events
  3. Restrict template features and test untrusted rendering inputs
  4. Compare submitted template syntax with rendered output and application exceptions

Explanation

Correct Answer

D:

Unexpected evaluation of expressions indicates an unsafe template engine context; the objective is to establish whether server-side template injection exposes secrets; the result can then guide the later protective decision.

Incorrect Answers

A:

Stopping evaluation limits additional disclosure and downstream abuse; the requirement concerns whether server-side template injection exposes secrets, so immediate protection does not substantiate findings.

B:

Unsafe entity expansion can read local files or access internal network resources; it is meant to address whether XML external entities are enabled, not evidence validation for whether server-side template injection exposes secrets.

C:

Data separation prevents expression execution; prevention is not incident verification in the decision about whether server-side template injection exposes secrets.

Question 817

The immediate risk must be managed. The response record describes: An Amazon EC2 instance makes unusual outbound connections and might be running an attacker-controlled process. Which intervention is most effective before full eradication or restoration?

  1. Apply a restrictive security group or approved isolation mechanism to the instance
  2. Remove the unauthorized policy and restrict the compromised principal
  3. Correlate VPC Flow Logs, host telemetry and instance identity
  4. Snapshot relevant EBS volumes and redeploy from a trusted image

Explanation

Correct Answer

A:

Network quarantine limits egress while preserving disks for collection; the protective decision should be recorded and its effect tested against how to isolate suspected AWS compute without destroying evidence.

Incorrect Answers

B:

Privilege containment reduces potential follow-on API access; this serves which AWS audit events explain privilege escalation, whereas the requested result is initial containment or preservation involving how to isolate suspected AWS compute without destroying evidence.

C:

Flow records show connection metadata but not necessarily process-level causation; investigation alone does not control current conditions in the decision about how to isolate suspected AWS compute without destroying evidence.

D:

Disk capture and clean replacement address evidence and persistence separately; the case needs initial containment or preservation addressing how to isolate suspected AWS compute without destroying evidence; corrective follow-through follows initial protection.

Question 818

Responders are preparing to reinstate operations after this situation: Responders discover that ephemeral containers vanished after autoscaling removed suspected workloads. What should be corrected before technical closure of the incident?

  1. Preserve control-plane records and prevent further deletion of implicated images
  2. Establish independent evidence collection and restore procedures for customer workloads
  3. Reconstruct the workload from signed images and correlated platform logs
  4. Stream container audit and runtime events to durable centralized stores

Explanation

Correct Answer

C:

Recovery relies on provenance and off-host observability; the change should be tested before unrestricted operations resume for the event involving which cloud artifacts outlive short-lived compute instances.

Incorrect Answers

A:

Evidence external to containers survives ordinary replacement; temporary protection does not complete correction in the decision about which cloud artifacts outlive short-lived compute instances.

B:

Cloud operations cannot assume provider backups cover every investigation need; the other incident centers on which party is responsible for tenant-specific evidence retention, not this trusted restoration question about which cloud artifacts outlive short-lived compute instances.

D:

Short-lived infrastructure needs durable telemetry; for which cloud artifacts outlive short-lived compute instances, future hardening is not current-state recovery; trusted restoration remains necessary.

Question 819

The coordinator needs corrective action rather than another alert. The event was: Automated cloud remediation deletes suspicious instances without preserving their attached storage or identity context. Which THREE case-specific measures form the verification, initial safeguard and corrective recovery stages, in that order of purpose? (Choose THREE.)

  1. Standardize time synchronization and log schemas across cloud tenants
  2. Test cloud response automation for idempotence and preservation steps
  3. Capture disks and metadata then redeploy clean instances with approved controls
  4. Require a preservation checkpoint before automatic termination
  5. Use workload federation or managed identity with least privilege
  6. Inspect automation sequence, snapshots and instance metadata retention

Explanation

Correct Answers

C:

A sequenced workflow balances forensics and service recovery; within the combined response for whether remediation destroys evidence before acquisition, this supplies trusted restoration: the recovery decision is tied to whether remediation destroys evidence before acquisition, not merely to reduced alert volume.

D:

The guardrail protects evidence while allowing later replacement; within the combined response for whether remediation destroys evidence before acquisition, this supplies initial containment or preservation: this is a first-response safeguard for whether remediation destroys evidence before acquisition, not a substitute for full root-cause analysis.

F:

Destructive cleanup may erase the only persistent artifacts; within the combined response for whether remediation destroys evidence before acquisition, this supplies evidence validation: it makes the determination of whether remediation destroys evidence before acquisition defensible and reviewable by the incident owner.

Incorrect Answers

A:

Consistent telemetry accelerates future cross-platform investigations; that method could help with whether event timestamps form a reliable unified timeline; the trusted restoration decision here involves whether remediation destroys evidence before acquisition.

B:

Safe orchestration avoids irreversible evidence loss; when judging whether remediation destroys evidence before acquisition, future hardening is not current-state recovery; this is instead recurrence prevention.

E:

Short-duration credentials reduce persistent access risk; it is meant to address whether long-lived privileged keys enlarge compromise scope, not trusted restoration for whether remediation destroys evidence before acquisition.

Question 820

Before making any disruptive change, an investigator is handed these observations: A cloud administrator revokes one user's console access but leaves active service tokens for an automation identity exposed. Which source best supports the incident finding before responders modify the environment?

  1. Enumerate API keys, service principals and session use in audit history
  2. Revoke exposed service tokens and restrict their effective roles
  3. Inspect audit-export configuration changes and independent sink receipt records
  4. Inventory machine identities and enforce secret rotation and least privilege

Explanation

Correct Answer

A:

Interactive console access is only one possible authorization route; for this investigation, the relevant uncertainty is which identities still allow malicious API actions, so independent confirmation matters.

Incorrect Answers

B:

Credential-specific containment stops unattended API calls; the goal is evidence validation for which identities still allow malicious API actions. Immediate protection does not substantiate findings.

C:

Control-plane disablement may create evidence gaps after the change; that method could help with whether log tampering obscured follow-on actions; the evidence validation decision here involves which identities still allow malicious API actions.

D:

Workload credentials need lifecycle controls like human accounts; the case needs evidence validation addressing which identities still allow malicious API actions; prevention is not incident verification.

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