Skip to content

Latest commit

 

History

History
29 lines (15 loc) · 1.66 KB

README.md

File metadata and controls

29 lines (15 loc) · 1.66 KB

dumpDyn

Lasha Khasaia @_qaz_qaz

If a process allocates a dynamic memory using VirtualAlloc, HeapAlloc, new, etc. and continues execution from that address, most of times, the memory address will be different for each different execution, it means that if we comment, rename variables or set breakpoints, nothing of this will be left in the next execution because the shellcode or code section will take a different memory address.

dumpDyn.py is IDAPython plugin(script) which saves comments, names, breakpoints, functions from one execution to another.

USAGE

USAGE

If VirtualAlloc/VirtualAllocEx is used to allocate a dynamic memory (which is the case with most malware), you can use icons on the toolbar to save and restore your work:

DEMO: https://www.youtube.com/watch?v=Z53AlWPAwCc

dumpdyn_1

In any other case(HeapAlloc, malloc, new, etc), you need to specify memory location and size:

1

2

3

Restore functions from undefined data

4