Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


[HELP] Anti-Hack Protection

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming
View previous topic :: View next topic  
Author Message
DoggyStyle
How do I cheat?
Reputation: 0

Joined: 09 Apr 2012
Posts: 3

PostPosted: Mon Apr 09, 2012 4:55 am    Post subject: [HELP] Anti-Hack Protection Reply with quote

Hy guys, sorry for bad english but i'm Italian Sad .
I wonder if you can help me with a program. I want the program protect a process from dll-injection.
I thought to scan every module of the "victim-process" for find out if an unauthorized dll could be found, but it's to much specific! I found an example of function interception created by a code-project user but the code is written in "C" while i program in vb 2010.

If you guys can help me with the code written in "C" or you have another ideas for protect a process from dll.injection, would be great!.

Additional information:
- I don't have the source code of the "victim-process".
- The "victim-process" is a game. (metin2-p.server)
- I'm not really good so if you can explain in detail your ideas or if you can post an example code, would be appreciated.

P.S: Here the link of the project of function interception: codeproject#com@Articles@5178@DLL-Injection-and-function-interception-tutorial (replace @ with "/" and # with ".", dot)
Back to top
View user's profile Send private message
NoMercy
Master Cheater
Reputation: 1

Joined: 09 Feb 2009
Posts: 289

PostPosted: Mon Apr 09, 2012 5:32 am    Post subject: Reply with quote

- Check for runnig threads
- Use a crc
- hook kernel functies for threading
- Make sure the memory is unwritable
etcetc
Back to top
View user's profile Send private message
DoggyStyle
How do I cheat?
Reputation: 0

Joined: 09 Apr 2012
Posts: 3

PostPosted: Mon Apr 09, 2012 5:43 am    Post subject: Reply with quote

NoMercy wrote:
- Check for runnig threads
- Use a crc
- hook kernel functies for threading
- Make sure the memory is unwritable
etcetc


How i do this things? Shocked
With crc you mean cyclic redundancy check?
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 470

Joined: 09 May 2003
Posts: 25806
Location: The netherlands

PostPosted: Mon Apr 09, 2012 9:02 am    Post subject: Reply with quote

Do you have the sourcecode of the server? If so,you could apply encryption to the protocol, and run the client by your own launcher that hooks winsock and handle the encryption there. That way people will have to use your anti hack tool

If not, you're screwed and people can just get an unmodified client.

With crc he means an integrity check. (pretty easy to bypass though)

_________________
Do not ask me about online cheats. I don't know any and wont help finding them.

Like my help? Join me on Patreon so i can keep helping
Back to top
View user's profile Send private message MSN Messenger
DoggyStyle
How do I cheat?
Reputation: 0

Joined: 09 Apr 2012
Posts: 3

PostPosted: Mon Apr 09, 2012 3:15 pm    Post subject: Reply with quote

Dark Byte there is an option on the server side that negate the access to the server from other launchers. I only need protection on client side for negate dll-injection..
I prefer if you consider only what i said at start. I need an example code that i will analyze by myself after for protect a process from dll injection. I don't care about the way but i want it. I've been looking for it for a long time. I have some ways to take for do it but they are too much hard for me. If you post some way to take in alternative at mines, more easy with an example code which i will analyze after maybe with some comment for explain the code would be appreciated. Or it can be hard i don't care but post the code i will study it with the help of msdn.

However thanks for answer.
Back to top
View user's profile Send private message
iPromise
Grandmaster Cheater
Reputation: -1

Joined: 27 Jun 2009
Posts: 529
Location: Canada

PostPosted: Thu May 03, 2012 7:34 pm    Post subject: Reply with quote

you can set a hook on functions needed for dll injection (writeprocessmemory, virtualqueryex) before the initialization of your game.
Back to top
View user's profile Send private message MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites