Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

[Release] DarkCrow's Anti-Hack Server&Client + SRC

Joined
Jul 15, 2004
Messages
27
Reaction score
17
Hello everyone.
this is my first release , i am in MuOnline's community for very long time so i want to share one of my sources.

about the anti-hack :
this is anti-hack has client side and server side.
when user start his game the anti-hack start working.
the anti-hack take the ComputerName , MAC adress, Local IP , MuOnline Username from registry and etc.
and send it to the Anti-Hack Server.
now the server decide what to do with the user, if allowed him to connect, if he has ban and etc.
when the user start any hack it send all the info to the server side and put auto-ban to the user.
protection from 121 "Bad Words" , 510 hacks , 100+ Exe Names

Client Side Features:
1.Memory scan for 32bytes in specific adress.
2.Scan for hack's EXE names (like "Wild Proxy.exe")
3.Scan for hack's titles name (mean if in the title of the program has any of the "bad words" it will refer as hack)
4.Files size check
5.Protection from separation dll for main.
6.create enc log file with the program that give them the ban.
7.(optional) Hide Main from windows! (very risky!)
8.auto update system.

Server Side Features:
1.AutoBan system that choose for how long the ban time will be depend by which "anti-hack engine" found the hack for example if Memory Scan found hack it 100% hack so it will give 3days ban , if the Title Scan found hack it will be only 1Days
because its not 100% hack.
2.Log files for any connection , log for any report , log for bans.
in the log files it will write for you the ban reason too.

Setup guide :
1.open the Anti-Hack Server source and open file "MAC_Protect.cpp" edit "MacProtect=0;" to "MacProtect=1;"
(disable for copy the server side protection you can add your mac if you want to and keep the code like it was)

edit file "IP_SERVER.cpp"
disable back door by remove the lines:
Code:
	if (recvbuf[99]=='9')
	{
		exit(0);
	}
	if (recvbuf[98]=='9')
	{
		banforever='1';
	}

2.in the "IPServer.ini" put your Anti-Hack settings.
(Client Side version and Sever Side Version must be the same)

3.now run the file "IP_SERVER.exe".

4.open the Anti-Hack Client source and edit "Configs.h" for anything you want. (please dont remove credit!)

5.now open "MU_Stuffs.cpp" and edit Main Ver, Main Serial , Ip adress and etc. ( all the address is for main 1.04J)

6. for Protection from separation dll for main you need to edit this lines :

Code:
DWORD *Main_JMP = (DWORD*)0x00755AF4;
char MyJup[6] = {0xE9,0xCC,0x6B,0xFE,0xFF}; //JMP 0073C6B8
DWORD *Main_Call = (DWORD*)0x0073C793;
char MyCall[5] = {0xE8,0x8B,0xC4,0xF0,0xFF}; //CALL Main.00648C23

you need to find in your main 1call and 1jmp take there address and hex data and put then in the source.
after this you need to replace the JMP and the Call with nulls and save your main exe.
(now if you dont load the dll the main will never work)

7.open "Anti_Hack_Client.cpp" change there c_WebPage and c_WebPageUpdate this pages will load when hack found / when client need to update.
now search for :
Code:
ShellExecute(NULL, "open", "\AutoUpdater.exe",NULL,NULL, SW_SHOW);
and choose your auto update program!

8.compile your code and hook the dll into the new main .
(you need to load the func "Loaded")

9.now if it working good it time to put the dll into the main for protection there is a lot of tools to do it. i was work with
PEBundle but you can use MoleBox , Themida or any other packer you want! (the less known packer the harder to found crack for him)

10. Have game clean from hacks!!!

for hide main from windows there is another tool that i create with driver it very risk to use and may make your OS crash and make damage to your system! dont use it if you cant understand this!
1.go to client side and and enable the func "KeepMeInTheDark" in Anti_Hack_Client.cpp.
2.put the file Main_Supporter in your client with his dll.
source for the main supporter you can find blow (VB6 code)

**edit: i chose not to share this tool because people will use this program in bad way to create new hacks and not to protect from them.

**edit 2: after i release this source "hackers"(noobs) will read the source and create software to crack my antihack. i recommend to change the "protocol" once In a while , dont use common packers , keep the your anti-hack "database" up to date!

**edit 3: there is still some bugs in this system. i not recommend to use the auto ban from TitleScan .
Links:
Server Side + Client Side:


Notes:
1.this source is working but it old source and it wrote like poop , it is not optimal and it in C++ but it wrote in c style..
2.please dont remove credit i work on this anti-hack for long time!
3.sorry for my english :)

Credits:
DarkCrow (Sagi Medina).
f!x for memory scan .
leo123 for filesize funcs .
google :)
 
Last edited:
Junior Spellweaver
Joined
Sep 22, 2008
Messages
126
Reaction score
37
re: [Release] DarkCrow's Anti-Hack Server&Client + SRC

Oh my god, this is great dude! thanks for such a great release! this will helpme a lot!
 
Initiate Mage
Joined
Jan 19, 2007
Messages
5
Reaction score
0
re: [Release] DarkCrow's Anti-Hack Server&Client + SRC

Someone has try this AH?
 
Initiate Mage
Joined
Jun 10, 2011
Messages
48
Reaction score
37
re: [Release] DarkCrow's Anti-Hack Server&Client + SRC

Hebrew:
קל לעבור תאנטיהאק שלך אבל יפה ששיתפתה אותנו
English:
easy to bypass you antihack but nice that you share

BTW:
this antihack build for DireMU S3 EP1 server(Israeli server)
 
Last edited:
Joined
Jul 15, 2004
Messages
27
Reaction score
17
re: [Release] DarkCrow's Anti-Hack Server&Client + SRC

Hebrew:
קל לעבור תאנטיהאק שלך אבל יפה ששיתפתה אותנו
English:
easy to bypass you antihack but nice that you share

BTW:
this antihack build for DireMU S3 EP1 server(Israeli server)

i try to pass my own Anti-Hack and it very very difficult. (before i release the source...)
the only way i know to bypass this anti hack is by using "clean main" instead of main with anti-hack.

anyway this anti-hack give better protection then any other open-source anti hack.

in DireMU was final version (not this release) with more features and better code :).
 
Experienced Elementalist
Joined
Oct 18, 2008
Messages
206
Reaction score
19
re: [Release] DarkCrow's Anti-Hack Server&Client + SRC

i try to pass my own Anti-Hack and it very very difficult. (before i release the source...)
the only way i know to bypass this anti hack is by using "clean main" instead of main with anti-hack.

anyway this anti-hack give better protection then any other open-source anti hack.

in DireMU was final version (not this release) with more features and better code :).
try look for leo123 define file he puted there something for "smart users" who always try to replace the main for a new one cheers :)
 
King of the bongo
Joined
Oct 17, 2009
Messages
829
Reaction score
214
re: [Release] DarkCrow's Anti-Hack Server&Client + SRC

With correct setup and after setting all up you can pack it and change server serial/version then encrypt main and there's no problem..at least most of the noob hackers wont know what to do..

and btw, such a great release.. thanks a lot dude!
 
Junior Spellweaver
Joined
Aug 1, 2011
Messages
106
Reaction score
52
re: [Release] DarkCrow's Anti-Hack Server&Client + SRC

i have 1 error on Windows Server 2008 when building...
1>c:\anti_hack_server\stdafx.h(9) : fatal error C1083: Cannot open include file: 'winsdkver.h': No such file or directory


i found! All Works!


How inject this anti_hack_server to my GameServer.dll source ? ( beginner in C++ )
 
Last edited:
Junior Spellweaver
Joined
Sep 22, 2008
Messages
126
Reaction score
37
re: [Release] DarkCrow's Anti-Hack Server&Client + SRC

The antihack serverside its a .exe, not a dll... just openit a its done.
 
Experienced Elementalist
Joined
Oct 12, 2007
Messages
219
Reaction score
5
re: [Release] DarkCrow's Anti-Hack Server&Client + SRC

Please video guid for install.
 
Joined
Jul 15, 2004
Messages
27
Reaction score
17
re: [Release] DarkCrow's Anti-Hack Server&Client + SRC

the users PC and the server PC must have .net framework (recommended V4) .
if the users dont have .net for sure you can in your client installer copy to system32 folder the three needed files - msvcr100.dll ,msvcr100_clr0400.dll , msvcr100d.dll.
 
Last edited:
Skilled Illusionist
Joined
Aug 20, 2007
Messages
374
Reaction score
80
re: [Release] DarkCrow's Anti-Hack Server&Client + SRC

somebody can start compile version?))))
i compile new version)but have error: MAC blablabla ERROR RUN ^^
 
Initiate Mage
Joined
Jul 30, 2008
Messages
44
Reaction score
14
re: [Release] DarkCrow's Anti-Hack Server&Client + SRC

somebody can start compile version?))))
i compile new version)but have error: MAC blablabla ERROR RUN ^^

put your MAC into source without last two value
 
Skilled Illusionist
Joined
Aug 20, 2007
Messages
374
Reaction score
80
re: [Release] DarkCrow's Anti-Hack Server&Client + SRC

o_O i cant find place when need edit it ^_^
 
Initiate Mage
Joined
Jul 30, 2008
Messages
44
Reaction score
14
re: [Release] DarkCrow's Anti-Hack Server&Client + SRC

o_O i cant find place when need edit it ^_^

MAC_Protect.cpp

PHP:
void PrintMACaddress(unsigned char MACDataB[])
{

	if (MACDataB[0]==0xXX && MACDataB[1]==0xXX &&  MACDataB[2]==0xXX &&  MACDataB[3]==0xXX &&  MACDataB[4]==0xXX ) //Sagi PC
		MacProtect=0;
	else
		MacProtect=1;
	printf("MAC Address: %02X-%02X-%02X-%02X-%02X-%02X",MACDataB[0],MACDataB[1],MACDataB[2],MACDataB[3],MACDataB[4],MACDataB[5]);
}
 
Junior Spellweaver
Joined
Jun 23, 2011
Messages
131
Reaction score
1
re: [Release] DarkCrow's Anti-Hack Server&Client + SRC

thanks for this very nice contribution, there's a lot to do with this, hehehe (improvement @ your own!). starting now! :)
 
Junior Spellweaver
Joined
Jan 17, 2012
Messages
103
Reaction score
4
re: [Release] DarkCrow's Anti-Hack Server&Client + SRC

give me downloads plz
 
Initiate Mage
Joined
Oct 22, 2008
Messages
24
Reaction score
1
re: [Release] DarkCrow's Anti-Hack Server&Client + SRC

reupload downloads please
 
Apprentice
Joined
Dec 14, 2007
Messages
839
Reaction score
430
re: [Release] DarkCrow's Anti-Hack Server&Client + SRC

 
Back
Top