HelpLinking C++ DLL and Visual Basic Executable Together

Posts 14 of 4 · Page 1 of 1
Linking C++ DLL and Visual Basic Executable Together
Title says half.
Okay, im working for a hack and I do not want it to be shared or leeched.
I wanted to make the executable to link with the C++ DLL when it is injected.
I only wanted the dll to be injected by MY executable or loader.
Is it a way to make this work?

Help is appreciated.
Add it to the resources?
Quote Originally Posted by buxkaizhe View Post
Title says half.
Okay, im working for a hack and I do not want it to be shared or leeched.
I wanted to make the executable to link with the C++ DLL when it is injected.
I only wanted the dll to be injected by MY executable or loader.
Is it a way to make this work?

Help is appreciated.
Add the dll to your applications resources, from there you can either manual map the dll (this ables you to directly inject the dll without having to create a physical copy of that dll) or you can perform a standard injection via LoadLibrary. Alternatively you can perform Thread Hijack Injection, but usually it makes the program crash because the thread may not continue execution after injecting the stub (basically, you make a thread from that program be redirected to a stub which will load the dll from within the program itself*).


*- All of these facts may not be 100% accurate since I'm not very familiar with these injection techniques.
Quote Originally Posted by R3DDOT View Post


Add the dll to your applications resources, from there you can either manual map the dll (this ables you to directly inject the dll without having to create a physical copy of that dll) or you can perform a standard injection via LoadLibrary. Alternatively you can perform Thread Hijack Injection, but usually it makes the program crash because the thread may not continue execution after injecting the stub (basically, you make a thread from that program be redirected to a stub which will load the dll from within the program itself*).


*- All of these facts may not be 100% accurate since I'm not very familiar with these injection techniques.
I've tried searching for manual mapping DLLs in google but yea, not even single way. By the way thank you as I had already solved this by using IPC (Inter-process communication). Pipes huh.
Posts 14 of 4 · Page 1 of 1

Post a Reply

Similar Threads

Tags for this Thread

None

Need help?