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

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

C#: Application without a window or taskbar item (background app) that can still use Console.WriteLine() -

unicode - Are email addresses allowed to contain non-alphanumeric characters? -