EZ LearnEZ Learn
Courses
EZ Board
Dashboard
Skill LabsEZ GamesSkill LabsPacked and Unpacked: Defeat a Packer Study this unit

Packed and Unpacked: Defeat a Packer

Skill LabExpert About 75 min13 tasks

Packed and Unpacked: Defeat a Packer

The same PuTTY you triaged, now packed with UPX. Spot the packing, unpack it, and prove the original is back, byte for byte.

0 of 13 solved0 / 1300 pts
Byte
ByteThreat detective

Briefing

A packer compresses or encrypts a program and wraps it in a small stub that rebuilds the original in memory as it starts. Real malware uses packing constantly to shrink itself and to hide from signature scanners: the code a scanner sees on disk is not the code that runs.

This sample is the exact PuTTY 0.83 from the PE Autopsy lab, packed with UPX, the most common packer. Nothing malicious was added; only the packing changed. Because you already know the unpacked file inside out, you can prove your unpacking is perfect.

The download is a ZIP encrypted with the password "infected". That is the long-standing convention for moving samples safely: the password stops your browser and antivirus from opening or running the file by accident. Unzip it only inside an analysis VM.

Topics you practise

File Identification and HashingIdentifying Packed MalwareEntropy AnalysisImport Address Table (IAT) AnalysisThe Portable Executable (PE) File FormatUnpacking with a Debugger

Evidence

Never run a sample on your own computer, and never disable your antivirus to keep a sample. Work inside a disposable analysis VM with no network. This file is benign, but treat it exactly as you would treat real malware.

putty-upx.zip (password: infected)

A UPX-packed build of PuTTY 0.83 x64, inside a password-protected ZIP. The SHA-256 below is of the packed EXE once you extract it. (896 KB)

Source: Built for this lab from official PuTTY 0.83 with UPX 5.2.1. PuTTY under the MIT licence; UPX is free software.

Download
SHA-2563120d674918f092b3e605e9ffcff54c0572e904029e5aa5e6eec855653c05152

Suggested tools: PE-bear or CFF Explorer, pefile (Python), Detect It Easy, the official UPX tool, x64dbg with the Scylla plugin.

1
File Identification and Hashing

Extract the ZIP with the password "infected". What is the SHA-256 of putty-upx.exe?

Format: 64 hex characters.

2
Identifying Packed Malware

How many sections does the packed file have?

Format: a number.

3
Identifying Packed Malware

What are the names of the first two sections?

Format: two names, like name1,name2.

4
Identifying Packed Malware

What is the raw size (size on disk) of the UPX0 section?

Format: a number.

5
Entropy Analysis

What is the entropy of the UPX1 section, in bits per byte?

Format: a number to 2 decimal places.

6
Import Address Table (IAT) Analysis

How many functions does the packed file import in total?

Format: a number.

7
Import Address Table (IAT) Analysis

Which KERNEL32 function does the stub use to look up each original function by name at run time?

Format: a function name.

8
The Portable Executable (PE) File Format

What is the AddressOfEntryPoint RVA of the packed file?

Format: hex, like 0x1a2b.

9
File Identification and Hashing

The unpacked PuTTY was signed by Simon Tatham. Does the packed file still carry that digital signature? Answer yes or no.

Format: yes or no.

10
Identifying Packed Malware

Name the packer used on this file.

Format: the packer name.

11
Unpacking with a Debugger

Unpack the file (UPX can decompress its own output, or do it manually in x64dbg). What is the original entry point RVA of the recovered file?

Format: hex, like 0xbe504.

12
Import Address Table (IAT) Analysis

How many functions does the unpacked file import in total?

Format: a number.

13
File Identification and Hashing

What is the SHA-256 of the fully unpacked file?

Format: 64 hex characters.

Each task is worth 100 points: minus 15 per wrong answer and 25 for a hint (never below 40). Finish when you are done; 13 unsolved tasks score 0. Your progress is saved on this device.

EZ LearnEZ Learn

Structured learning across Reverse Engineering, Cloud Security, and Research Methodology, plus games and practice tools in EZ Arena. Free, and open to anyone.

EZ Learn

  • Courses
  • EZ Articles
  • EZ Watch
  • EZ Talks
  • EZ Bytes
  • Cyber Hygiene

EZ Library

  • All Resources
  • eBooks & PDFs
  • Question Banks
  • MCQ Banks
  • Cheatsheets

EZ Exams

  • All Exams
  • REMA
  • Cloud Security
  • Research Methodology
  • Python for Cyber Security
  • Cyber Law & IPR
  • Community
  • EZ Board

EZ Arena

  • EZ Games
  • Live Quiz
  • ML Challenges
  • दिशा - Hygiene
  • सजग - Awareness
  • अभ्यास - Practice

Platform

  • About
  • Contact
  • Terms of Use
  • Disclaimer
  • Verify Certificate
  • Events

© 2026 EZ Learn by EpochZero. Educational content for learning purposes.

Platform Lead: Ashish Revar