This project is an Anti-Cheat system developed using C++ and Assembly. The system aims to detect various types of cheats and malicious activities related to memory manipulation, suspicious drivers, process monitoring, file integrity, and network activities.
- Memory Integrity Check: Detects if any memory manipulation or cheat injection occurs.
- Registry Check: Scans the Windows registry for suspicious entries related to cheating software.
- Suspicious Drivers Check: Identifies potentially malicious or cheat-related drivers.
- Running Process Check: Monitors and identifies suspicious or cheating processes running on the system.
- File Integrity Check: Verifies the integrity of critical game files and detects tampering.
- Network Activity Check: Detects unusual or potentially malicious network activity associated with cheating.
/anti_cheat_project
/src
main.cpp # C++ entry point, where anti-cheat checks are performed
memory_check.asm # Assembly code for memory integrity checks
registry_check.asm # Assembly code for registry check
process_check.asm # Assembly code for process monitoring
driver_check.asm # Assembly code for checking suspicious drivers
file_integrity_check.asm# Assembly code for file integrity check
network_check.asm # Assembly code for network activity check
Makefile # Makefile to automate compilation
- C++ Compiler (e.g.,
g++) - NASM (Netwide Assembler) to compile Assembly files
- Windows Operating System (for registry and driver checks, specific to Windows APIs)
Clone this project to your local machine:
git clone https://github.com/yourusername/anti-cheat-system.git
cd anti-cheat-systemCompile the .asm files into object files (.obj) using NASM:
nasm -f win32 memory_check.asm -o memory_check.obj
nasm -f win32 registry_check.asm -o registry_check.obj
nasm -f win32 process_check.asm -o process_check.obj
nasm -f win32 driver_check.asm -o driver_check.obj
nasm -f win32 file_integrity_check.asm -o file_integrity_check.obj
nasm -f win32 network_check.asm -o network_check.objOnce the Assembly files are compiled, compile the C++ code along with the object files:
g++ main.cpp memory_check.obj registry_check.obj process_check.obj driver_check.obj file_integrity_check.obj network_check.obj -o anti_cheat.exeNow you can run the anti-cheat executable:
./anti_cheat.exe- The C++
main.cppfile serves as the entry point for the system. It calls various external functions implemented in Assembly to check different aspects of the system's integrity. - Each check (memory, registry, process, etc.) is implemented as a separate function in Assembly for performance reasons.
- The functions are called from
main.cppusingextern "C"declarations to ensure the correct linkage.
If you would like to contribute to the development of this Anti-Cheat system, feel free to fork this repository and submit a pull request. We welcome bug fixes, new feature requests, and improvements.
- This Anti-Cheat system is primarily designed for Windows environments, as it uses Windows API calls (e.g.,
RegOpenKeyExA,CreateToolhelp32Snapshot). - The project may need to be extended to support other platforms, such as Linux or macOS, if required.