Codex anti-hack full source code (c++)

Experienced Elementalist
Joined
Sep 27, 2014
Messages
228
Reaction score
173
Codex.dll v2 (c++Source code) - Powered by VertexBrasil

Features:

- ON/OFF switch for all features

- D-Scan - Entrypoint + 16 hex Dump scan
- H-Scan - Heuristic scan (Bad Words)
- W-Scan - Window Title scan
- CN-Scan - Classe window scan
- PID-Scan - Process ID scan
- K-Scan - Protect from anti-hack from kill process
- I-Scan - Protect from dll inject
- S-Scan - Detect game speed acelleration
- CRC-Scan - CRC files scan

- Active protection - Launcher.exe
- Active protection - mxmain.exe
- Launcher alwais ON protection

- Splash Screen on start
- Hack detect splash screen = english, portuguese or silent
- Hack detect Log generation = [Gameguard/Log.txt]

Load external files:

- Minimizer/autoclick.dll
- Glow.dll v97

- Protect mxmain.exe serial, version, ip and entrypoint using realloc and memoryset

-Functionality programs included


Blessed and holy are those who share:

f1x = Dump, Suzana ADM = Heuristic


New download links:
Bug solved!
https://mega.co.nz/#!MwEkCABA!48BUr5MXLJ2BiSnSNIrkx1wjgw147w7nYpZ72nMZQIc


My OLD one, Codex v1, this one, was publicated on youtube with vídeo tutorials in 23/04/2013
https://mega.co.nz/#!tslhkJIQ!c8h8zmGuftm1vwBaQyODfYXtYMyA5lQX7xcHzKTGSv4




 
Last edited:
Cogito Ergo Sum - Codex  anti-hack full source code (c++) - RaGEZONE Forums
 

​
BUG!

If you download source code codex v2 using old link, need to add this line:

carrega.Detecta_Speed = 1;

Inside:

Liga_Desliga.cpp

Or anti-speed hack will not work

Sorry!
 
Last edited:
Only anti-speed and anti-kill are my own code, i'm not a programmer, i'm just an persistent enthusiast... The code base was rotten and much has been added later, many pieces found and improved over time.


Intention was use it on a personal gameserver, it not work and i decided to share.

Heuristic are Suzana adm's share, Dump are a code from F1X



Some people asking me for some hacks detection, i think database was outdated...

Below and also, listed some updates and a simple explanation of how to upgrade easily and quickly anti-hack database.



Database update (20 10 2014).txt
https://mega.co.nz/#!8glCzL6T!s9lhZqRtsW35b2oZaYaWSD-CZfbosfFKddlDa5XrWx8
 
Last edited:
Hello , excelent work Cogido Ergo Sum!

I have a question , any idea about how i can generate the codex with this kind of text into the Detecta_Window ? :

Black Box v.1 [FƦØƵɆИ] [ȾḠҤ]

Image:




I got an error when i try to generate codex with this text.

Thanks!
 
That strings are are unicode, problem!

I think an easy solutior are just add:

strstr(t,"BLACK BOX") || strstr(t,"Black Box") ||
strstr(t,"black box") ||

In your heuristic detector, this will prevent all "generic" black box versions...



At this time im working on Codex V3, thats new features are working at now:

- Addtional new Heuristic detector (non case-sensitive)

- Bypass prevention. Users are banned directly on SQL server, ban days can be configured.
This new feature work in conjunction with anti-kill theads

- Hardware ban using black-list on server.
Mac Adress, Hard drive serial, computer name or user name. This ones can be used independently.




 
Last edited:
vertexbrasil are my youtube channel...

There you have codex v1 and v2 to download, im working on codex v3...



2015, codex v3 with server side protection:

UPDATE MEMB_INFO SET MEMB_INFO.bloc_code=2, ban=5, BanDays=10 ...
UPDATE MEMB_INFO SET MEMB_INFO.bloc_code=3, ban=5, BanDays=30 ...

UNBAN, select job Ban:

General > Name UnBan
Schedules > New Schedule > > Name: UnBan > [Recurring] > Change... > [Daily] > [Occurs once at:] > [00:00:00] > [No end date] > Ok!
Steps > New... > Step Name: UnBan > Database: MuOnline > Command: Copy and paste code below:

USE MuOnline
UPDATE MEMB_INFO SET MEMB_INFO.BanDays= BanDays-1 where BanDays > 0
UPDATE MEMB_INFO SET bloc_code=0 where BanDays < 1 and (bloc_code=2 OR bloc_code=3 OR bloc_code=4)
 
Last edited:
[Thanks for this, I like that it is open source. I am looking forward to your next update.]


Soon! Very soon!

V3 Are ready, 100% tested, im started with video tutorials today:





[Man don`t work inject protection! have a resolvation?]

Anti-Inject works just adding a dll name and extension to a blacklist. If you change dll name, it just doesnot works...

Agree, this is a piece of ****...

I will try to make it better, i promisse. Maybe now, in V3




More on CodexV3:

Server side protection, Ban entire account or just a connected character...

How it looks like at now:



/////////// Create tables, BanChar, UnBanChar, BanCharSec:


Easy way, run this query:


Use MuOnline
ALTER TABLE CHARACTER ADD BanChar nvarchar (3) NOT NULL DEFAULT 0;
ALTER TABLE CHARACTER ADD BanCharDays nvarchar (3) NOT NULL DEFAULT 0;
ALTER TABLE MEMB_STAT ADD BanCharSec nvarchar (2) NOT NULL DEFAULT 6;




Hard way, manualy:




ENTERPRISE MANAGER > Database > MuOnline > Tables > Select table: CHARACTER > Right Click > Design table


Column name: BanChar
Data Type: nvarchar
Lenghth: 3
Allow Nulls NOT Selected
Defalt value 6


/////////////
Column name: UnBanChar
Data Type: nvarchar
Lenghth: 3
Allow Nulls NOT Selected
Defalt value 0


/////////// Create table BanCharSec: ENTERPRISE MANAGER > Database > MuOnline > Tables > Select table: MEMB_STAT > Right Click > Design table
Column name: BanCharSec
Data Type: nvarchar
Lenghth: 1
Allow Nulls NOT Selected
Defalt value 0




Tutorial create sql job:




/////////// Create JOB BanChar / UnBanChar:


ENTERPRISE MANAGER > MANAGEMENT > SQL Server Agent > jobs > Right click > New Job...:


General > Name BanChar
Schedules > New Schedule > Name: BanChar > [Recurring] > Change... > [Daily] > [Occurs every:] > [1 Minute(s)] > [No end date] > ok!


Steps > New... > Step Name: BanChar > Database: MuOnline > Command: paste code below:


USE MuOnline
UPDATE CHARACTER SET CHARACTER.BanChar= BanChar-1 from CHARACTER join MEMB_STAT s on CHARACTER.Name = s.memb___id collate Latin1_general_CI_AS where s.Connectstat=1 AND CtlCode=0;


UPDATE CHARACTER SET CHARACTER.CtlCode=1, BanChar=6, BanCharDays=5 from CHARACTER join MEMB_STAT s on CHARACTER.Name = s.memb___id collate Latin1_general_CI_AS where s.Connectstat=1 AND BanChar < 1 AND BanCharSec=1;


UPDATE CHARACTER SET CHARACTER.CtlCode=1, BanChar=6, BanCharDays=30 from CHARACTER join MEMB_STAT s on CHARACTER.Name = s.memb___id collate Latin1_general_CI_AS where s.Connectstat=1 AND BanChar < 1 AND BanCharSec=0;


UPDATE CHARACTER SET CHARACTER.CtlCode=1, BanChar=6, BanCharDays=20 from CHARACTER join MEMB_STAT s on CHARACTER.Name = s.memb___id collate Latin1_general_CI_AS WHERE s.IP in (SELECT IP FROM MEMB_STAT GROUP BY IP HAVING count(*) > 1) and s.connectstat in (SELECT connectstat FROM MEMB_STAT GROUP BY connectstat HAVING count(*) > 1) and connectstat =1;


UPDATE MEMB_STAT SET BanCharSec=0 where connectstat=0;


============= Parse to test!


General > Name UnBanChar
Schedules > New Schedule > > Name: UnBanChar > [Recurring] > Change... > [Daily] > [Occurs once at:] > [00:00:00] > [No end date] > Ok!


Steps > New... > Step Name: UnBanChar > Database: MuOnline > Command: paste code below:


USE MuOnline
UPDATE CHARACTER SET CHARACTER.BanCharDays= BanCharDays-1 where BanCharDays > 0;
UPDATE CHARACTER SET CtlCode=0 where BanCharDays= 0 and CtlCode=1;


============= Parse to test!


Select BanChar > Step > Edit > advanced > On success action: Goto next step

CodexV3 Anti-hack system - By VertexBrasil



[Hey some suggestions for the sever side protection : add User, Char name and IP address track down]

For what?


 
Back