ECCouncil 312-49v11 (Computer Hacking Forensic Investigator) Practice Test 4

Question 30

The original database has been altered since an incident, and the team needs an earlier point-in-time comparison. Which source is valuable?

  1. Identity-provider audit logs
  2. Proxy transaction logs
  3. DHCP lease records
  4. Database audit trail
  5. Backup snapshot

Explanation

Correct Answer

E:

A retained backup or snapshot can supply an earlier state if its timestamp and integrity are verified. It is not automatically complete evidence of events between recovery points.

Incorrect Answers

A:

When the investigative task is the actor behind a role-assignment change, identity-platform audit logs can capture directory administrative changes, actor identity, target, and time; that differs from the question about earlier data state before suspected alteration. Sign-in records alone are not sufficient to prove the configuration action; that leaves earlier data state before suspected alteration unresolved.

B:

The current inquiry asks about earlier data state before suspected alteration; proxy logs may capture destination host, URI, user, policy and status depending on TLS inspection and configuration; this mechanism chiefly addresses web requests handled by the gateway. Network packet headers alone often lack application-level URL detail; it cannot prove earlier data state before suspected alteration on its own.

C:

In an inquiry concerning the device associated with a changing IP address, DHCP records can map assignment times, IP addresses and client identifiers; the scope does not extend to earlier data state before suspected alteration. Correlation with switch or endpoint records may still be needed to establish a user; that issue cannot settle earlier data state before suspected alteration.

D:

Even though the scenario needs earlier data state before suspected alteration, database auditing can document statements, object access, principals and execution time at the data layer; the action relates to a change performed inside the database. Web access logs lack this detailed database operation context; this remains insufficient for earlier data state before suspected alteration.

Question 31

A website has two separate findings: one user-controlled parameter changes database query logic, and another causes script to run in a visitor browser. Which TWO attack classes describe these findings? Choose TWO.

  1. Cross-site scripting
  2. Command injection
  3. Cross-site request forgery
  4. SQL injection
  5. Credential phishing

Explanation

Correct Answers

A:

In this combined inquiry, cross-site scripting occurs when untrusted content executes as script in the user's browser context; it can affect sessions and page integrity without executing a database query. This addresses script execution in another user's browser.

D:

In this combined inquiry, SQL injection attempts to make application-controlled input alter database query logic; confirmation depends on application behavior and data-layer traces, not strings alone. This addresses database query manipulation through user input.

Incorrect Answers

B:

For questions about untrusted input altering shell execution, operating-system command injection occurs when application input changes shell syntax or executed commands; that differs from both database query manipulation through user input and script execution in another user's browser. It differs from modifying SQL expression logic or merely selecting a file path; it provides no direct answer to both database query manipulation through user input and script execution in another user's browser.

C:

The stem asks about both database query manipulation through user input and script execution in another user's browser; CSRF abuses a browser's existing authenticated session to cause an unintended state-changing request; the described operation is used for unintended authenticated actions through the browser. Tokens and SameSite protections help defend against it; a determination about both database query manipulation through user input and script execution in another user's browser requires other support.

E:

In work concerning deceptive collection of login credentials, credential phishing impersonates a trusted login workflow to solicit secrets; the operation would not resolve both database query manipulation through user input and script execution in another user's browser. Evidence includes delivery headers, page artifacts and subsequent identity-provider attempts; the distinction leaves both database query manipulation through user input and script execution in another user's browser unsettled.

Question 32

A comment field causes JavaScript to run inside another visitor's browser. Which web vulnerability class is implicated?

  1. Server-side request forgery
  2. Path traversal
  3. Cross-site request forgery
  4. Cross-site scripting

Explanation

Correct Answer

D:

Cross-site scripting occurs when untrusted content executes as script in the user's browser context. It can affect sessions and page integrity without executing a database query.

Incorrect Answers

A:

Although the case asks about script execution in another user's browser, SSRF makes a server-side application issue attacker-influenced network requests; the action instead concerns a server making unintended internal requests. The server's network position can expose internal destinations absent from the attacker's own connectivity; it does not establish script execution in another user's browser.

B:

For an analysis centered on access outside an intended filesystem directory, path traversal attempts to escape a controlled file path by manipulating relative or encoded path components; the present need is script execution in another user's browser. Path canonicalization and allowed-root checks are pertinent evidence; a different finding about script execution in another user's browser is still needed.

C:

When the investigative task is unintended authenticated actions through the browser, CSRF abuses a browser's existing authenticated session to cause an unintended state-changing request; that differs from the question about script execution in another user's browser. Tokens and SameSite protections help defend against it; that leaves script execution in another user's browser unresolved.

Question 33

A logged-in user visits an unrelated page that causes their browser to submit an unwanted authenticated transfer. What attack is indicated?

  1. SQL injection
  2. Command injection
  3. Cross-site request forgery
  4. Cross-site scripting

Explanation

Correct Answer

C:

CSRF abuses a browser's existing authenticated session to cause an unintended state-changing request. Tokens and SameSite protections help defend against it.

Incorrect Answers

A:

The objective here is unintended authenticated actions through the browser; SQL injection attempts to make application-controlled input alter database query logic; the option would instead inform database query manipulation through user input. Confirmation depends on application behavior and data-layer traces, not strings alone; it is not direct evidence of unintended authenticated actions through the browser.

B:

For a separate investigation of untrusted input altering shell execution, operating-system command injection occurs when application input changes shell syntax or executed commands; that is not the determination of unintended authenticated actions through the browser in the stem. It differs from modifying SQL expression logic or merely selecting a file path; the evidence still must speak to unintended authenticated actions through the browser.

D:

For questions about script execution in another user's browser, cross-site scripting occurs when untrusted content executes as script in the user's browser context; that differs from unintended authenticated actions through the browser. It can affect sessions and page integrity without executing a database query; it provides no direct answer to unintended authenticated actions through the browser.

Question 34

An image-fetching endpoint is abused to request an internal metadata address unreachable to external clients. Which technique best fits?

  1. Email thread hijacking
  2. Command injection
  3. Server-side request forgery
  4. Path traversal

Explanation

Correct Answer

C:

SSRF makes a server-side application issue attacker-influenced network requests. The server's network position can expose internal destinations absent from the attacker's own connectivity.

Incorrect Answers

A:

A case involving malicious use of an authentic conversation thread might use this approach: thread hijacking leverages access to authentic correspondence to make a malicious reply credible; the required result here is a server making unintended internal requests. Message-ID chains, mailbox sign-ins and sending events help establish provenance; it cannot replace proof about a server making unintended internal requests.

B:

The required finding is about a server making unintended internal requests; operating-system command injection occurs when application input changes shell syntax or executed commands; this addresses the separate concern of untrusted input altering shell execution. It differs from modifying SQL expression logic or merely selecting a file path; it does not by itself answer a server making unintended internal requests.

D:

For an analysis centered on access outside an intended filesystem directory, path traversal attempts to escape a controlled file path by manipulating relative or encoded path components; the present need is a server making unintended internal requests. Path canonicalization and allowed-root checks are pertinent evidence; a different finding about a server making unintended internal requests is still needed.

Question 35

Requests include repeated ../ segments to reach configuration files outside an intended download directory. Which attack type is represented?

  1. Path traversal
  2. Cross-site request forgery
  3. Command injection
  4. Email thread hijacking

Explanation

Correct Answer

A:

Path traversal attempts to escape a controlled file path by manipulating relative or encoded path components. Path canonicalization and allowed-root checks are pertinent evidence.

Incorrect Answers

B:

For the separate question of unintended authenticated actions through the browser, CSRF abuses a browser's existing authenticated session to cause an unintended state-changing request; the requested assessment of access outside an intended filesystem directory remains open. Tokens and SameSite protections help defend against it; there is no direct finding about access outside an intended filesystem directory.

C:

The objective here is access outside an intended filesystem directory; operating-system command injection occurs when application input changes shell syntax or executed commands; the option would instead inform untrusted input altering shell execution. It differs from modifying SQL expression logic or merely selecting a file path; it is not direct evidence of access outside an intended filesystem directory.

D:

For a separate investigation of malicious use of an authentic conversation thread, thread hijacking leverages access to authentic correspondence to make a malicious reply credible; that is not the determination of access outside an intended filesystem directory in the stem. Message-ID chains, mailbox sign-ins and sending events help establish provenance; the evidence still must speak to access outside an intended filesystem directory.

Question 36

A diagnostic web form concatenates submitted hostnames into a shell command and attacker input adds another command. Which exploit class applies?

  1. Email thread hijacking
  2. Email spoofing
  3. Command injection
  4. Server-side request forgery

Explanation

Correct Answer

C:

Operating-system command injection occurs when application input changes shell syntax or executed commands. It differs from modifying SQL expression logic or merely selecting a file path.

Incorrect Answers

A:

Instead of a method addressing untrusted input altering shell execution, thread hijacking leverages access to authentic correspondence to make a malicious reply credible; this one concerns malicious use of an authentic conversation thread. Message-ID chains, mailbox sign-ins and sending events help establish provenance; it cannot independently determine untrusted input altering shell execution.

B:

In work concerning falsified sender identity in mail headers, spoofing falsifies or impersonates sender identity fields; authentication results and transport hops help evaluate domain authorization; the operation would not resolve untrusted input altering shell execution. The display name alone does not authenticate authorship; the distinction leaves untrusted input altering shell execution unsettled.

D:

The required finding is about untrusted input altering shell execution; SSRF makes a server-side application issue attacker-influenced network requests; this addresses the separate concern of a server making unintended internal requests. The server's network position can expose internal destinations absent from the attacker's own connectivity; it does not by itself answer untrusted input altering shell execution.

Question 37

An email links to a branded sign-in form hosted at a lookalike domain that harvests passwords. Which attack is most consistent?

  1. Cross-site scripting
  2. Malicious attachment delivery
  3. Credential phishing
  4. Cross-site request forgery

Explanation

Correct Answer

C:

Credential phishing impersonates a trusted login workflow to solicit secrets. Evidence includes delivery headers, page artifacts and subsequent identity-provider attempts.

Incorrect Answers

A:

The current inquiry asks about deceptive collection of login credentials; cross-site scripting occurs when untrusted content executes as script in the user's browser context; this mechanism chiefly addresses script execution in another user's browser. It can affect sessions and page integrity without executing a database query; it cannot prove deceptive collection of login credentials on its own.

B:

In an inquiry concerning execution initiated through an emailed file, attachment-based malware delivery relies on a file or active content to launch code on the recipient endpoint; the scope does not extend to deceptive collection of login credentials. The message may appear legitimate while the payload is in the attachment; that issue cannot settle deceptive collection of login credentials.

D:

For the separate question of unintended authenticated actions through the browser, CSRF abuses a browser's existing authenticated session to cause an unintended state-changing request; the requested assessment of deceptive collection of login credentials remains open. Tokens and SameSite protections help defend against it; there is no direct finding about deceptive collection of login credentials.

Question 38

The displayed From address uses a trusted brand even though authentication records show the sender was unauthorized. Which technique is involved?

  1. Email thread hijacking
  2. Server-side request forgery
  3. Cross-site scripting
  4. Email spoofing

Explanation

Correct Answer

D:

Spoofing falsifies or impersonates sender identity fields; authentication results and transport hops help evaluate domain authorization. The display name alone does not authenticate authorship.

Incorrect Answers

A:

For questions about malicious use of an authentic conversation thread, thread hijacking leverages access to authentic correspondence to make a malicious reply credible; that differs from falsified sender identity in mail headers. Message-ID chains, mailbox sign-ins and sending events help establish provenance; it provides no direct answer to falsified sender identity in mail headers.

B:

The stem asks about falsified sender identity in mail headers; SSRF makes a server-side application issue attacker-influenced network requests; the described operation is used for a server making unintended internal requests. The server's network position can expose internal destinations absent from the attacker's own connectivity; a determination about falsified sender identity in mail headers requires other support.

C:

Instead of a method addressing falsified sender identity in mail headers, cross-site scripting occurs when untrusted content executes as script in the user's browser context; this one concerns script execution in another user's browser. It can affect sessions and page integrity without executing a database query; it cannot independently determine falsified sender identity in mail headers.

Question 39

An email attachment executes a downloader after a user opens an embedded macro-enabled document. Which initial-access method is illustrated?

  1. Cross-site scripting
  2. Server-side request forgery
  3. Cross-site request forgery
  4. Malicious attachment delivery
  5. SQL injection

Explanation

Correct Answer

D:

Attachment-based malware delivery relies on a file or active content to launch code on the recipient endpoint. The message may appear legitimate while the payload is in the attachment.

Incorrect Answers

A:

For an analysis centered on script execution in another user's browser, cross-site scripting occurs when untrusted content executes as script in the user's browser context; the present need is execution initiated through an emailed file. It can affect sessions and page integrity without executing a database query; a different finding about execution initiated through an emailed file is still needed.

B:

When the investigative task is a server making unintended internal requests, SSRF makes a server-side application issue attacker-influenced network requests; that differs from the question about execution initiated through an emailed file. The server's network position can expose internal destinations absent from the attacker's own connectivity; that leaves execution initiated through an emailed file unresolved.

C:

The current inquiry asks about execution initiated through an emailed file; CSRF abuses a browser's existing authenticated session to cause an unintended state-changing request; this mechanism chiefly addresses unintended authenticated actions through the browser. Tokens and SameSite protections help defend against it; it cannot prove execution initiated through an emailed file on its own.

E:

Even though the scenario needs execution initiated through an emailed file, SQL injection attempts to make application-controlled input alter database query logic; the action relates to database query manipulation through user input. Confirmation depends on application behavior and data-layer traces, not strings alone; this remains insufficient for execution initiated through an emailed file.

Question 40

A real existing business conversation suddenly includes a malicious reply sent from a compromised participant's mailbox. Which technique fits?

  1. SQL injection
  2. Command injection
  3. Email thread hijacking
  4. Path traversal

Explanation

Correct Answer

C:

Thread hijacking leverages access to authentic correspondence to make a malicious reply credible. Message-ID chains, mailbox sign-ins and sending events help establish provenance.

Incorrect Answers

A:

For a separate investigation of database query manipulation through user input, SQL injection attempts to make application-controlled input alter database query logic; that is not the determination of malicious use of an authentic conversation thread in the stem. Confirmation depends on application behavior and data-layer traces, not strings alone; the evidence still must speak to malicious use of an authentic conversation thread.

B:

With malicious use of an authentic conversation thread as the investigative issue, operating-system command injection occurs when application input changes shell syntax or executed commands; the result would concern untrusted input altering shell execution. It differs from modifying SQL expression logic or merely selecting a file path; this would not resolve malicious use of an authentic conversation thread.

D:

The stem asks about malicious use of an authentic conversation thread; path traversal attempts to escape a controlled file path by manipulating relative or encoded path components; the described operation is used for access outside an intended filesystem directory. Path canonicalization and allowed-root checks are pertinent evidence; a determination about malicious use of an authentic conversation thread requires other support.

Computer Hacking Forensic Investigator (312-49v11) Practice Tests