c++ - CreateProcess (binary injection) cannot reference DLL's -


in following example code binary injection:

http://www.security.org.sg/code/loadexe.html

i can work, inject second exe primary exe's memory space , run. trouble second exe can not access dll's in startup folder.

for example:

c:\1.exe c:\2.exe c:\helper.dll

if 2.exe injected, starts fails because cannot reference helper.dll. there need differently in relocation?

  • the purpose of experiment create simple drm example decrypts original exe in memory.


Comments

Popular posts from this blog

ruby - When to use an ORM (Sequel, Datamapper, AR, etc.) vs. pure SQL for querying -

php - PHPDoc: @return void necessary? -

c++ - Convert big endian to little endian when reading from a binary file -