📚 OpenRCE is preserved as a read-only archive. Launched at RECon Montreal in 2005. Registration and posting are disabled.








Flag: Tornado! Hurricane!

Blogs >> carib's Blog

Created: Tuesday, January 9 2007 14:43.01 CST Modified: Tuesday, January 9 2007 15:48.01 CST
Printer Friendly ...
Anatomy of a Malware
Author: carib # Views: 1717

Hi everyone,
I just put up that paper on line. If you're interested in reverse engineering malicious codes, you might wanna check it out:

    Anatomy of a Malware

You can post your comments on the blog if you have some,
Cheers.


Blog Comments
carib Posted: Wednesday, January 10 2007 14:43.21 CST
One stupid thing I realized today at work is that the section '.newIID' is actually created by OllyDump. It contains the Import Directory and Import names that where resolved by the plugin when dumping the executable.

Note that OllyDump only resolves addresses when used in 'call [api]' and 'jmp [api]', other ways to call an API might not get resolved. For instance, two APIs in this malware were not resolved: malloc and memset exported by msvcrt. The compiler generated code like:

call @1
...
@1:
jmp [@2]
...
@2:
memset_address

In this case, OllyDump does not resolve @1. Obviously, obfuscated or tricky calls will not be resolved as well.



Add New Comment
Comment:









There are 31,328 total registered users.


Recently Created Topics
[help] Unpacking VMP...
Mar/12
Reverse Engineering ...
Jul/06
let 'IDAPython' impo...
Sep/24
set 'IDAPython' as t...
Sep/24
GuessType return une...
Sep/20
About retrieving the...
Sep/07
How to find specific...
Aug/15
How to get data depe...
Jul/07
Identify RVA data in...
May/06
Question about memor...
Dec/12


Recent Forum Posts
Finding the procedur...
rolEYder
Question about debbu...
rolEYder
Identify RVA data in...
sohlow
let 'IDAPython' impo...
sohlow
How to find specific...
hackgreti
Problem with ollydbg
sh3dow
How can I write olly...
sh3dow
New LoadMAP plugin v...
mefisto...
Intel pin in loaded ...
djnemo
OOP_RE tool available?
Bl4ckm4n


Recent Blog Entries
halsten
Mar/14
Breaking IonCUBE VM

oleavr
Oct/24
Anatomy of a code tracer

hasherezade
Sep/24
IAT Patcher - new tool for ...

oleavr
Aug/27
CryptoShark: code tracer ba...

oleavr
Jun/25
Build a debugger in 5 minutes

More ...


Recent Blog Comments
nieo on:
Mar/22
IAT Patcher - new tool for ...

djnemo on:
Nov/17
Kernel debugger vs user mod...

acel on:
Nov/14
Kernel debugger vs user mod...

pedram on:
Dec/21
frida.github.io: scriptable...

capadleman on:
Jun/19
Using NtCreateThreadEx for ...

More ...


Imagery
SoySauce Blueprint
Jun 6, 2008

[+] expand

View Gallery (11) / Submit