Professional Documents
Culture Documents
0
=============
Well to get 'virtual files' that were bundled into a exe with Enigma or Themida
let's there is a
DecompileMe.exe
Au3-Script
...
DllCall("Project2.dll", "int", "AddIntegers", "int", 666, "int", 2)
...
Project2.dll is such a 'virtual files' - it's not written to disk, but
inside the DecompileMe.exe process it's available.
(Since API-calls like CreateFile or LoadLibrary are hooked)
So the idea now is, to load some program code for dumping this file(s) into the
DecompileMe.exe process.
That easiest way to do that,is by injecting a dll into the DecompileMe.exe process.
(Just invoke a LoadLibraryA('my.Dll') inside the target Process via
CreateRemoteThread)
3. AutoIt3.dll will now run inside DecompileMe.exe and use the commandline
parameter(s) of DecompileMe.exe
... and so it'll run MyDumpScript.au3
Notes:
* copy Include\*.au3 into the dir with DecompileMe.exe incase you make use of
#include
* Some GUI-functions like OpenFileDialog are not working properly
* use ExeToDll.au3 to create an 'own' injectdll
* maybe suspend targetproces before injecting to disable possible dll-incjecting
code
(so just 'our' thread will run inside)