DilloDie: Removing Armadillo Tamper-Protection

10
DilloDie: Removing Armadillo Tamper- Protection Matt Renzelmann, Kevin Roundy

description

DilloDie: Removing Armadillo Tamper-Protection. Matt Renzelmann, Kevin Roundy. Why tamper protection?. A Solution?. ?. What does it do?. Obscures “Original Entry Point”. What does it do?. Corrupts “Import Address Table”. Address. Data. IAT. 0x40101A. JMP DWORD PTR DS:[402008]. …. - PowerPoint PPT Presentation

Transcript of DilloDie: Removing Armadillo Tamper-Protection

Page 1: DilloDie:  Removing Armadillo Tamper-Protection

DilloDie: Removing Armadillo Tamper-Protection

Matt Renzelmann, Kevin Roundy

Page 2: DilloDie:  Removing Armadillo Tamper-Protection

Why tamper protection?

Page 3: DilloDie:  Removing Armadillo Tamper-Protection

A Solution?

?

Page 4: DilloDie:  Removing Armadillo Tamper-Protection

What does it do?

Obscures “Original Entry Point”

Page 5: DilloDie:  Removing Armadillo Tamper-Protection

What does it do?

Corrupts “Import Address Table”

JMP DWORD PTR DS:[402008]

0x7F76AEF0

0x7F76DE64

0x77D804EA

0x3234AF38

0x40101A

0x402000

0x402004

0x402008

0x40200C

0x77D804EA Windows API

IAT

Address Data

0x35FE4888

Page 6: DilloDie:  Removing Armadillo Tamper-Protection

// BUGS!int *p = NULL;*p = 5;

Prevents debugging–

– IsDebuggerPresent();– Exploit bugs

What does it do?

?

Page 7: DilloDie:  Removing Armadillo Tamper-Protection

Our Tools

OllyDbg v1.10– Binary debugger– Pass exceptions to program– Hijack API calls made by program

LordPE– Dump address space of executing process– Fix executable header, wipe sections

ImpRec (Trojan horse?)– Import Address Table Manipulation

Page 8: DilloDie:  Removing Armadillo Tamper-Protection

Honing the Blade

– Tutorials for older Armadillo versions

– Crackmes

– Breaking the latest version – Armadillo 4.66– Broke message box, console applications

Armadillo Standard Protection

Standard + Debug Blocker

Standard + Debug Blocker + Copymem

Page 9: DilloDie:  Removing Armadillo Tamper-Protection

Packaged Malware

Why automate Armadillo removal?– Suppose a virus is Armadillo protected– Want to strip Armadillo, check with anti-virus

Page 10: DilloDie:  Removing Armadillo Tamper-Protection

What is left to do?

Write OEP finder– For Armadillo’s standard protection

Study Armadillo’s advanced features– Debug Blocker– Copymem

Win the Turing award