QuestionC++ Hack Programming related Quesions

Posts 1–4 of 4 · Page 1 of 1
C++ Hack Programming related Quesions
Well to make it short i have 3 Questions

1.
So most of the Hacks are simply using entrypoints into the DLL or similiar of a game that we know about because we use C++ to reverse-engineer the DLL and also use C++ to insert our Piece of code through said entrypoint?

2.
If i where to take the Source Base of a VAC-detected Hack which wasnt patched but still results in VAC-Bans and use this Source Base in my own external Hack would this make the Hack undetected? (i can provide a Source i talked about if asked to)

3.
Can i use C# instead of C++ if i want to write Hacks and Cheats??


I hope these are not to stupid Questions
1. Well.. Since most hacks are injected using the Win32 API function LoadLibrary they have their own entry point that is called by the windows pe loader. But there are different methods to get your code into the target process.

2. I don't know about VAC, but it might be using some sort of pattern matching (meaning, it detects the code by its compiled machine code). Changing the compiler or disabling optimization might make it undetected, but I'd suggest changing the code itself.

3. All you have to do is to load the Common Language Runtime into the target process (if it's a native one). I have a basic example you can look at here. You will have to inject the native DLL and make it load your managed one. The managed library can then access the process memory using pointers (but beware of marshalling).
Thanks alot for the quick and simple to understand answers
Posts 1–4 of 4 · Page 1 of 1

Post a Reply

Similar Threads

Tags for this Thread

None

Talk with us