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

Question 410

An uploaded .aspx file accepts command parameters and spawns a shell process under the web service identity. Which compromise artifact is most likely?

  1. Apache access logs
  2. SQL injection correlation
  3. Web shell discovery
  4. Nginx error logs
  5. SSRF metadata access

Explanation

Correct Answer

C:

A web shell is server-side code providing unauthorized command or file operations through web requests. Process lineage and file provenance help confirm its use.

Incorrect Answers

A:

For the separate question of HTTP requests recorded by Apache, apache access logs record HTTP request metadata according to the configured format; the requested assessment of server-side malicious control through a web-accessible script remains open. Reverse proxies and header settings affect client address interpretation; there is no direct finding about server-side malicious control through a web-accessible script.

B:

The objective here is server-side malicious control through a web-accessible script; correlate request identifiers, query execution and returned behavior to determine whether input changed SQL logic; the option would instead inform linking injected input to resulting database operations. The suspicious string alone cannot prove the exploit succeeded; it is not direct evidence of server-side malicious control through a web-accessible script.

D:

With server-side malicious control through a web-accessible script as the investigative issue, nginx error logs can describe upstream failures and server processing faults; the result would concern proxy and upstream error conditions. They complement access logs but do not necessarily include full request bodies; this would not resolve server-side malicious control through a web-accessible script.

E:

For questions about server-side requests to internal cloud metadata, establish attacker-controlled URL input, server-side request and metadata response or credential use; that differs from server-side malicious control through a web-accessible script. Metadata reachability alone is not proof that secrets were actually taken; it provides no direct answer to server-side malicious control through a web-accessible script.

Question 411

A request contains encoded parent-directory sequences and receives a configuration file outside the web root. Which observation confirms the impact?

  1. Path traversal proof
  2. Web shell discovery
  3. Nginx error logs
  4. HTTP request smuggling

Explanation

Correct Answer

A:

The returned out-of-scope file demonstrates successful path traversal beyond permitted directories, assuming authorized evidence confirms its origin. A suspicious URI without the response is weaker.

Incorrect Answers

B:

A case involving server-side malicious control through a web-accessible script might use this approach: a web shell is server-side code providing unauthorized command or file operations through web requests; the required result here is unauthorized retrieval outside the application root. Process lineage and file provenance help confirm its use; it cannot replace proof about unauthorized retrieval outside the application root.

C:

The required finding is about unauthorized retrieval outside the application root; nginx error logs can describe upstream failures and server processing faults; this addresses the separate concern of proxy and upstream error conditions. They complement access logs but do not necessarily include full request bodies; it does not by itself answer unauthorized retrieval outside the application root.

D:

Although the case asks about unauthorized retrieval outside the application root, request smuggling exploits inconsistent HTTP framing, often involving conflicting length or transfer encoding handling; the action instead concerns mismatched HTTP request boundaries across proxies. Its effects depend on intermediary parsing behavior; it does not establish unauthorized retrieval outside the application root.

Question 412

Front-end and back-end HTTP parsers disagree about message boundaries, causing hidden requests in one stream. Which class of flaw fits?

  1. API token misuse
  2. HTTP request smuggling
  3. Nginx error logs
  4. Web application session fixation

Explanation

Correct Answer

B:

Request smuggling exploits inconsistent HTTP framing, often involving conflicting length or transfer encoding handling. Its effects depend on intermediary parsing behavior.

Incorrect Answers

A:

In an inquiry concerning unexpected use of authorized API credentials, token misuse analysis compares issued scopes, identity, usage history and endpoint operations; the scope does not extend to mismatched HTTP request boundaries across proxies. A valid token can still be abused without password authentication; that issue cannot settle mismatched HTTP request boundaries across proxies.

C:

For the separate question of proxy and upstream error conditions, nginx error logs can describe upstream failures and server processing faults; the requested assessment of mismatched HTTP request boundaries across proxies remains open. They complement access logs but do not necessarily include full request bodies; there is no direct finding about mismatched HTTP request boundaries across proxies.

D:

The objective here is mismatched HTTP request boundaries across proxies; session fixation occurs when a preexisting identifier remains usable after a victim authenticates; the option would instead inform reuse of a session identifier established before login. Session regeneration and server-side validation are important controls; it is not direct evidence of mismatched HTTP request boundaries across proxies.

Question 413

A server's URL-fetch feature requests a cloud metadata endpoint and later exposes a temporary credential. Which evidence chain matters?

  1. SSRF metadata access
  2. IIS W3C logs
  3. Web application session fixation
  4. SQL injection correlation

Explanation

Correct Answer

A:

Establish attacker-controlled URL input, server-side request and metadata response or credential use. Metadata reachability alone is not proof that secrets were actually taken.

Incorrect Answers

B:

Instead of a method addressing server-side requests to internal cloud metadata, IIS W3C extended logs contain configurable request and response fields; this one concerns structured IIS HTTP request metadata. Time bases and field selection need checking before correlation; it cannot independently determine server-side requests to internal cloud metadata.

C:

In work concerning reuse of a session identifier established before login, session fixation occurs when a preexisting identifier remains usable after a victim authenticates; the operation would not resolve server-side requests to internal cloud metadata. Session regeneration and server-side validation are important controls; the distinction leaves server-side requests to internal cloud metadata unsettled.

D:

A case involving linking injected input to resulting database operations might use this approach: correlate request identifiers, query execution and returned behavior to determine whether input changed SQL logic; the required result here is server-side requests to internal cloud metadata. The suspicious string alone cannot prove the exploit succeeded; it cannot replace proof about server-side requests to internal cloud metadata.

Question 414

An API audit trail shows a bearer token querying administrative endpoints far beyond its normal application workload. Which investigation focus fits?

  1. SQL injection correlation
  2. API token misuse
  3. Path traversal proof
  4. IIS W3C logs

Explanation

Correct Answer

B:

Token misuse analysis compares issued scopes, identity, usage history and endpoint operations. A valid token can still be abused without password authentication.

Incorrect Answers

A:

When the investigative task is linking injected input to resulting database operations, correlate request identifiers, query execution and returned behavior to determine whether input changed SQL logic; that differs from the question about unexpected use of authorized API credentials. The suspicious string alone cannot prove the exploit succeeded; that leaves unexpected use of authorized API credentials unresolved.

C:

In an inquiry concerning unauthorized retrieval outside the application root, the returned out-of-scope file demonstrates successful path traversal beyond permitted directories, assuming authorized evidence confirms its origin; the scope does not extend to unexpected use of authorized API credentials. A suspicious URI without the response is weaker; that issue cannot settle unexpected use of authorized API credentials.

D:

Even though the scenario needs unexpected use of authorized API credentials, IIS W3C extended logs contain configurable request and response fields; the action relates to structured IIS HTTP request metadata. Time bases and field selection need checking before correlation; this remains insufficient for unexpected use of authorized API credentials.

Question 415

A login workflow retains an attacker-chosen session identifier after authentication, enabling reuse. Which flaw is indicated?

  1. Web application session fixation
  2. Nginx error logs
  3. IIS W3C logs
  4. SQL injection correlation

Explanation

Correct Answer

A:

Session fixation occurs when a preexisting identifier remains usable after a victim authenticates. Session regeneration and server-side validation are important controls.

Incorrect Answers

B:

For questions about proxy and upstream error conditions, nginx error logs can describe upstream failures and server processing faults; that differs from reuse of a session identifier established before login. They complement access logs but do not necessarily include full request bodies; it provides no direct answer to reuse of a session identifier established before login.

C:

The stem asks about reuse of a session identifier established before login; IIS W3C extended logs contain configurable request and response fields; the described operation is used for structured IIS HTTP request metadata. Time bases and field selection need checking before correlation; a determination about reuse of a session identifier established before login requires other support.

D:

Instead of a method addressing reuse of a session identifier established before login, correlate request identifiers, query execution and returned behavior to determine whether input changed SQL logic; this one concerns linking injected input to resulting database operations. The suspicious string alone cannot prove the exploit succeeded; it cannot independently determine reuse of a session identifier established before login.

Question 416

An email's visible sender differs from its transit route and investigators need the sequence of SMTP relays. Which header field family is central?

  1. DMARC alignment
  2. Email forwarding headers
  3. DKIM signature
  4. Received headers

Explanation

Correct Answer

D:

Received fields are added by mail transfer agents and can reveal relay sequence and timestamps. Untrusted upstream portions can be forged, so trust boundaries matter.

Incorrect Answers

A:

Although the case asks about mail transport hops and their timestamps, DMARC evaluates alignment of authenticated SPF or DKIM domains with the RFC5322 From domain and applies the published policy; the action instead concerns alignment of authenticated and displayed mail domains. Passing an unrelated signature is not enough; it does not establish mail transport hops and their timestamps.

B:

For an analysis centered on authentication effects of mail forwarding, forwarding can change the connecting IP and affect SPF while DKIM may survive if content remains appropriately unchanged; the present need is mail transport hops and their timestamps. Evaluate relay history rather than assuming all failures imply spoofing; a different finding about mail transport hops and their timestamps is still needed.

C:

When the investigative task is integrity of signed email content, DKIM uses a cryptographic signature over selected canonicalized message components; that differs from the question about mail transport hops and their timestamps. A valid signature links the message to a signing domain, not necessarily an individual sender; that leaves mail transport hops and their timestamps unresolved.

Question 417

A suspicious email needs two independent checks: whether the sending IP was authorized by a domain and whether signed message content was modified. Which TWO mechanisms address those different questions? Choose TWO.

  1. Received headers
  2. DMARC alignment
  3. Mailbox delegation permissions
  4. SPF result
  5. DKIM signature

Explanation

Correct Answers

D:

In this combined inquiry, SPF evaluates whether the connecting sending IP is permitted by the domain's published policy; it does not authenticate the human writing the message or the displayed name. This addresses sender host authorization by domain policy.

E:

In this combined inquiry, DKIM uses a cryptographic signature over selected canonicalized message components; a valid signature links the message to a signing domain, not necessarily an individual sender. This addresses integrity of signed email content.

Incorrect Answers

A:

The objective here is both sender host authorization by domain policy and integrity of signed email content; received fields are added by mail transfer agents and can reveal relay sequence and timestamps; the option would instead inform mail transport hops and their timestamps. Untrusted upstream portions can be forged, so trust boundaries matter; it is not direct evidence of both sender host authorization by domain policy and integrity of signed email content.

B:

For a separate investigation of alignment of authenticated and displayed mail domains, DMARC evaluates alignment of authenticated SPF or DKIM domains with the RFC5322 From domain and applies the published policy; that is not the determination of both sender host authorization by domain policy and integrity of signed email content in the stem. Passing an unrelated signature is not enough; the evidence still must speak to both sender host authorization by domain policy and integrity of signed email content.

C:

With both sender host authorization by domain policy and integrity of signed email content as the investigative issue, delegated send-as or send-on-behalf permissions and mailbox audit trails can explain actions through shared access; the result would concern who could send mail using delegated mailbox rights. A From field alone does not identify the operator; this would not resolve both sender host authorization by domain policy and integrity of signed email content.

Question 418

Investigators need to determine whether signed mail header/body content was modified after a domain applied a signature. Which control is relevant?

  1. Mailbox delegation permissions
  2. DKIM signature
  3. Message-ID and References headers
  4. DMARC alignment

Explanation

Correct Answer

B:

DKIM uses a cryptographic signature over selected canonicalized message components. A valid signature links the message to a signing domain, not necessarily an individual sender.

Incorrect Answers

A:

A case involving who could send mail using delegated mailbox rights might use this approach: delegated send-as or send-on-behalf permissions and mailbox audit trails can explain actions through shared access; the required result here is integrity of signed email content. A From field alone does not identify the operator; it cannot replace proof about integrity of signed email content.

C:

Although the case asks about integrity of signed email content, message-ID and In-Reply-To or References headers can correlate messages and thread relationships; the action instead concerns linking related messages across mailboxes. Identifiers can be duplicated or forged, so they are supporting evidence; it does not establish integrity of signed email content.

D:

For an analysis centered on alignment of authenticated and displayed mail domains, DMARC evaluates alignment of authenticated SPF or DKIM domains with the RFC5322 From domain and applies the published policy; the present need is integrity of signed email content. Passing an unrelated signature is not enough; a different finding about integrity of signed email content is still needed.

Question 419

A phishing message passes an unrelated service's DKIM signature but impersonates the organization's visible From domain. Which policy check tests domain alignment?

  1. Received headers
  2. DMARC alignment
  3. Mailbox delegation permissions
  4. Mailbox audit logs

Explanation

Correct Answer

B:

DMARC evaluates alignment of authenticated SPF or DKIM domains with the RFC5322 From domain and applies the published policy. Passing an unrelated signature is not enough.

Incorrect Answers

A:

Even though the scenario needs alignment of authenticated and displayed mail domains, received fields are added by mail transfer agents and can reveal relay sequence and timestamps; the action relates to mail transport hops and their timestamps. Untrusted upstream portions can be forged, so trust boundaries matter; this remains insufficient for alignment of authenticated and displayed mail domains.

C:

The objective here is alignment of authenticated and displayed mail domains; delegated send-as or send-on-behalf permissions and mailbox audit trails can explain actions through shared access; the option would instead inform who could send mail using delegated mailbox rights. A From field alone does not identify the operator; it is not direct evidence of alignment of authenticated and displayed mail domains.

D:

For a separate investigation of configuration of suspicious mailbox forwarding, mailbox audit and tenant administrative records can document rule changes and actor context when logged and retained; that is not the determination of alignment of authenticated and displayed mail domains in the stem. A message copy alone may not reveal how forwarding began; the evidence still must speak to alignment of authenticated and displayed mail domains.

Question 420

Two mailboxes contain copies of the same discussion, and investigators need a thread linkage clue. Which email header family helps link them?

  1. Message-ID and References headers
  2. Mailbox audit logs
  3. Received headers
  4. Email forwarding headers

Explanation

Correct Answer

A:

Message-ID and In-Reply-To or References headers can correlate messages and thread relationships. Identifiers can be duplicated or forged, so they are supporting evidence.

Incorrect Answers

B:

In work concerning configuration of suspicious mailbox forwarding, mailbox audit and tenant administrative records can document rule changes and actor context when logged and retained; the operation would not resolve linking related messages across mailboxes. A message copy alone may not reveal how forwarding began; the distinction leaves linking related messages across mailboxes unsettled.

C:

A case involving mail transport hops and their timestamps might use this approach: received fields are added by mail transfer agents and can reveal relay sequence and timestamps; the required result here is linking related messages across mailboxes. Untrusted upstream portions can be forged, so trust boundaries matter; it cannot replace proof about linking related messages across mailboxes.

D:

The required finding is about linking related messages across mailboxes; forwarding can change the connecting IP and affect SPF while DKIM may survive if content remains appropriately unchanged; this addresses the separate concern of authentication effects of mail forwarding. Evaluate relay history rather than assuming all failures imply spoofing; it does not by itself answer linking related messages across mailboxes.

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