How Should an Investigator Examine a Password-Protected Packed Executable?

Malware Forensics Defeating Anti-Forensics Techniques
Answer Correct answer: C — Decrypt the password first so the known unpacking tool can unpack the password-protected executable before further malware analysis.

A forensic investigator encounters a suspicious executable on a compromised system, believed to be packed using a known program packer, and is password-protected. The investigator has knowledge of the tool used for packing and has the corresponding unpacking tool. What should be the next best course of action to examine the executable?

  1. Use the unpacking tool to decompress the executable, without dealing with the password
  2. Run a dynamic analysis on the packed executable in a controlled environment
  3. Decrypt the password to unpack the executable before analyzing Correct Answer
  4. Use reverse engineering to understand the attack tool hidden inside

Community Votes

C
75%
B
25%

75% of anonymous learners picked answer C. Votes are pick records left by other test-takers — they are not the verified answer.

Community Insight

The exam tests whether you know that password protection is a separate barrier from packing; the trap is assuming a known unpacking tool can decompress the executable without first decrypting the password.

This question tests how a malware forensic investigator handles a suspicious executable that is packed with a known program packer and protected by a password. The page establishes that the next best action is to decrypt the password so the corresponding unpacking tool can unpack the executable before analysis.

The most common wrong answer is A, because learners assume the matching unpacking tool can bypass or ignore the password and decompress the executable directly.

Community Discussion (6 comments)

044f354 👍 1 Selected: C
If the file is packed but not password-protected → Mount compound files first. If the file is password-protected → First decrypt the password to access/unpack the file. - ECCouncil Official CHFI https://bookshelf.vitalsource.com/reader/books/9781635676969/ Module 05 Page 519 “During forensic investigations, the investigator’s first approach should be to mount compound files. Program packers that are password-protected can pose a challenge during investigation as investigators need to first decrypt the password to unpack the file.” - If you agree: UPVOTE this post to add your vote to the community tally. If you disagree: discuss with citations Both actions crowdsource best answers.
aqeel1506 👍 1
Option A: Use the unpacking tool to decompress the executable, without dealing with the password Efficiency: Using the unpacking tool designed for the specific packer is the most direct and efficient method. If the tool can bypass the password protection, it will save considerable time and effort. Best Practice: According to the CHFI v10 textbook, using the known and appropriate tools for unpacking executables is recommended as the first step. This aligns with best practices for handling packed files in forensic investigations.
ala76nl 👍 2 Selected: C
Same question as earlier
Elb 👍 1
best course of action to examine the executable is dynamic analysis.
Elb 👍 1 Selected: B
In case of executable files, these programs carry unpackers built into them as well, which unpack the file when user tries to run it and installs the executable on the host system. Some of the widely used packers are UPX, PECompact, BurnEye, Exe Stealth Packer, Smart Packer Pro, etc. Investigators can dynamically analyze these packed executables by running them in a controlled environment and observing their behavior
Elb 👍 1
C > The packers compress the files using various algorithms. Hence, unless the investigators know the tool that has been used to pack the file and have a tool to unpack it, they will not be able to access it. Program packers that are password-protected can pose a challenge during investigation as investigators need to first decrypt the password to unpack the file.

Comments & Corrections

No comments yet — spotted an error or have a note? Share it below.

Log in to comment, report an error, or add a note about this question.

Submitted for moderation before publishing. Keep it helpful and respectful.

Expert Analysis

Why the Answer Is Correct

Option C is correct because the executable is both packed and password-protected. A matching unpacking tool is necessary but not sufficient when the packed container is protected; the investigator must first decrypt or supply the password so the tool can access and unpack the payload. CHFI guidance quoted in the comments says that for password-protected files investigators should "first decrypt the password to unpack the file." Once unpacked, the executable can be examined statically or dynamically. This makes C the prerequisite step, not an optional detour.

Why the Other Options Are Wrong

A assumes the unpacker can decompress without dealing with the password, which contradicts the password-protected condition; the tool would still be blocked by the password gate. B may be useful later, and Elb notes packed programs may self-unpack at runtime, but dynamic execution of the still-packed sample is not the best next step when the known unpacker and password path are available. D jumps to reverse engineering the hidden attack tool before the packed executable has been unpacked, making the analysis harder and potentially missing the payload. None of these directly resolves the password-protection issue that the question highlights.

Community Comment Notes

A commenter, 044f354, cites CHFI Module 05 and states that for password-protected files the investigator must "First decrypt the password to access/unpack the file." Another comment by Elb supports dynamic analysis for packed executables because they may contain built-in unpackers, but this is a later runtime technique and does not replace decryption for the known unpacking tool. User aqeel1506 argues for option A as efficient, but that argument assumes the tool can bypass the password, which the question does not establish. The overall comment thread and vote pattern favor C, consistent with the CHFI guidance.

Official Reference

Exam Strategy

When a question mentions both packing and a password, treat the password as the first barrier: a matching unpacker cannot help until the protected container is decrypted. Eliminate options that skip decryption or jump to dynamic or reverse engineering before the file can be unpacked.

Frequently Asked Questions

Why can’t the matching unpacking tool decompress the executable without the password?

Password-protected packers gate the packed payload, so the unpacker needs the password to produce a usable unpacked file. Option A skips a required decryption step.

Is dynamic analysis of the packed executable a valid alternative?

It can observe runtime behavior, but with a password-protected known packer the recommended next step is C: decrypt and unpack before deeper static or dynamic analysis.

More 312-49v10 FAQ →

Related Analysis

← Back to 312-49v10 Study Guide