CanSecWest: Security Masters Dojo Vancouver
Introduction to Malware Analysis
Register for March 2-3 Course:Introduction to Malware Analysis
Advanced Malware Deobfuscation
Register for March 4-5 Course - Advanced Malware DeobfuscationRegister for both Courses
Intro and Advanced Malware Courses
Instructor(s):
Jason Geffner
Scott Lambert
Description
Security researchers are facing a growing problem in the complexity of malicious executables. With an ever-increasing number of tools that malware authors use to compress and obfuscate executables, and the pressing urgency that analysts often face, it is vital for analysts to know the best methods to remove protections that they have never seen before.
Unpacking is the process of removing the compression and obfuscation applied by a "packer" (or "protector") to a compiled and linked binary. This class will focus on teaching attendees the steps required to effectively deal with both known and previously unknown packing techniques.
This is a hands-on course. Attendees will work on real-world malware through a series of lab exercises designed to build their expertise in thwarting anti-debugging and anti-disassembling techniques.
Key Learning Objectives:
- Anti-debugging tricks and how to defeat them
- Anti-disassembling tricks and how to defeat them
- A methodology for manually unpacking malware with and without the use of specialized tools
General Learning Objectives:
- An understanding of why malware authors use packers
- An understanding of how packers work
- A working knowledge of the Portable Executable (PE) file format
Course Style:
- Combination of lecture and lab. Labs will be interspersed with lectures and will include both group and individual work.
PREREQUISITE WARNING Each class has prerequisites for software loads and a laptop is mandatory. These individual class guides will list material the students are expected have knowledge about coming in and software tools that need to be pre-installed before attending so you get the maximum benefit from the focused intermediate or advanced level course. Please pay particular attention to the prerequisites, as the material listed there will not be reviewed in the courses, and will be necessary to get the maximum benefit out of these educational programs.
What to Bring:
Attendees must bring their own laptop with a 32-bit version of Microsoft Windows XP SP2 or greater, Microsoft Windows Server 2003, or Microsoft Windows Vista installed inside of a virtual machine (such as Microsoft Virtual PC 2007 or VMware Workstation). The host machine should be configured to access the internet via conference-provided wireless internet access. Attendees are expected to have the following software installed in a virtual machine prior to the first day of the course- API Imports/Exports Viewer - Dependency Walker
- API Logger - Auto Debug
- Microsoft C++ Compiler and Windows SDK (warning: downloading the latest Windows SDK will require your virtual image to be running Windows XP SP3 or later)
- Debugger - OllyDbg
- Disassembler - IDA Pro
- Hex Editor - Hex Workshop
- Import Table Reconstructor and Memory Dumper - Import REConstructor
- Packer Detector - PEiD
- Packer Detector - ExeInfo PE
- Packer Detector - AT4RE FastScanner
- PE Editor - LordPE
- Strings Dumper - BinText
Prerequisites
It is expected that attendees have a firm understanding of x86 assembly language and the Microsoft Windows API. Reverse engineering experience is desired, though not required. Attendees should be comfortable in the Windows environment.Materials
Attendees will be presented with the following materials to be used and referenced throughout the duration of the course:- Notebooks containing lecture slides and worksheets.
- CDs containing various software tools and reference material.
Course Schedule:
Day One- PE File Format Essentials
- Packer Overview
- Fundamentals of Win32 Debugging
- Methods for Finding the Original Entry Point
- Manual and Assisted Import Table Reconstruction
- Overcoming Anti-Debugging Tricks
Day Two
- User-Mode and Kernel-Mode Hooking and Code-Splicing
- Protected Processes
- Exception Injection and Redirection
- API Redirection
- Chunked Packing
- Q & A





















