Unpacking Malware, Trojans And Worms

No ratings

Presented at SyScan 2006 by

9am, you receive a call from a client, "we were hacked, I found evilhacker.exe running on the mail server, it's a damn backdoor. Want to come down, take a look at the exe and see if you can find anything more out?" You rush to the client and take a copy of the exe from the server for analysis. You load IDA and open evilhacker.exe to disassemble. Hmm, you discover something strange. The executable has no string table, a very small IAT (Import Allocation Table) and once dissembled the 120k executable is only 2,000 lines of code. Evilhacker.exe is packed with a PE-Packer. Its contents have been wrapped inside another executable, hiding the Trojan application from view.Now without the ability of being able to analyze the binary, what do we do?This talk is aimed at the millions of security professionals and system administrators who face this situation. Trojans, rootkits and backdoors are often found on compromised machines. Hackers also commonly compile custom backdoors and applications to use on their victim hosts. These custom applications can contain sensitive information about the attacker himself, even his own IP address. Disassembly of the Trojan binary would reveal this information easily, but when the executable is PE packed, what path do you next take. To make matters worse, Trojan and Rootkit authors recommend their malicious applications be PE-Packed. PE-Packing not only protects the executable from analysis, but it can be used to evade signature based Anti Virus applications. PE packing is considered a fine black-art, and few understand even the most basic of unpacking principles. Audience members need only basic knowledge to unpack many protectors and the goal of this presentation would be to show just how simple and straight forward it can be.This is a new presentation, and has not been presented before.