In this How to Inject a DLL C# tutorial we will teach you how to convert our previous C# Trainer into a DLL injector. This is a beginner tutorial.
In the previous video we learned how to use platform invoke or pinvoke to expose native Windows API functions to our managed process, essentially we are using signatures to get the address of exported functions. We will continue that process with a couple new functions so we can make a simple CreateRemoteThread + LoadLibrary DLL injector.
Guided Hacking will show you different native and managed methods of doing a couple things, just to give you some more experience with C#. For example, OpenProcess() and CloseHandle() are native functions that are not necessary, these are taken care of you automatically with the managed methods.
There were 2 bugs in the video, so either watch until the end to see the fixes or just download the completed source code. You must run as administrator and you must compile for the same bitness as the target process, x86 vs x64.
Discussion, Links & Download :
https://bit.ly/2xreRhW
In the previous video we learned how to use platform invoke or pinvoke to expose native Windows API functions to our managed process, essentially we are using signatures to get the address of exported functions. We will continue that process with a couple new functions so we can make a simple CreateRemoteThread + LoadLibrary DLL injector.
Guided Hacking will show you different native and managed methods of doing a couple things, just to give you some more experience with C#. For example, OpenProcess() and CloseHandle() are native functions that are not necessary, these are taken care of you automatically with the managed methods.
There were 2 bugs in the video, so either watch until the end to see the fixes or just download the completed source code. You must run as administrator and you must compile for the same bitness as the target process, x86 vs x64.
Discussion, Links & Download :
https://bit.ly/2xreRhW