Anti-Cheat Toolkit 2023
Anti-Cheat Toolkit (ACTk) is here to add extra pain to the guys who cheat / hack / crack something in your game!
Protects variables & saves, detects plenty of cheats and many more.
Includes various anti cheat tricks and techniques in one place, easy to use, with full sources, detailed docs and corner cases care.
📌 Common features
Protects variables in memory.
Protects and extends Player Prefs and binary files.
Generates build code signature for tampering checks.
Detects non Play Store installations on Android.
Detects speedhacks.
Detects time cheating.
Detects 3 common wallhack types.
Detects foreign managed assemblies.
Has Obscured Prefs / Player Prefs editor.
📌 Obscured Types
Keeps your sensitive variables away from all memory scanners and searchers.
All basic and few Unity-specific types are covered.
Detects cheating attempts.
📌 Obscured Prefs & Obscured File
Protects Player Prefs and binary files from common cheating threats:
• identify and read sensitive data (encryption)
• tamper sensitive data (genuine check)
• share cheated files \ saves with more cheaters (device or user ID lock)
Obscured Prefs highlights:
• automatic data migration
• automatic crypto keys management
• simple generic API and more data types compared to vanilla Player Prefs
• Player Prefs and Obscured Prefs editor window
Obscured File & Obscured File Prefs highlights:
• background threads-friendly (to avoid IO hiccups)
• simple and easy to use Player Prefs-alike API wrapper
📌 Code Hash Generator
Generates a code hash signature to compare against the current hash and make sure the compiled code was not altered.
Provides hashes for both whole build and separate files in build (helpful for aab Android App Bundles).
Uses background threads to calculate hashes, keeping CPU footprint low.
For Windows Standalone and Android only so far.
📌 Android App Installation Source Validator
Makes you aware from what source your game was installed, be it Google Play, Galaxy Store, manual installation via Package Installer or something else.
📌 Speed Hack Detector
Makes you aware of nasty cheaters trying to slow down or speed up your game.
Correctly reacts to the time glitches.
Allows to resist speed hacks with SpeedHackProofTime class.
📌 Time Cheating Detector
Uses Internet connection to get reliable time.
Reacts on both incorrect system time and actual cheating during or between sessions, allowing you to catch people who changes time to speedup long-term processes (like building process, energy restore, etc).
Works with weak internet connection.
📌 WallHack Detector
Covers 3 common types of wall hacks:
• shoot through the walls
• walk through the walls
• look through the walls
Uses generic sandbox approach allowing to detect unknown cheats.
📌 Injection Detector
Reacts on foreign managed assemblies both injected at runtime or into the build. Doesn't cover non-managed (native) injections.
📌 Third-party plugins
• actions for Opsive's Behavior Designer
• actions for PlayMaker (except obscured types due to PM limitations)
• works great with Simple IAP System to validate IAP receipts
• works great with Cross-Platform Native Plugins to save into the cloud, setup leaderboards and more!
• used in Lovatto Studio MFPS Anti-Cheat And Reporting addon
• used in Stan’s Android Native asset
Complement your setup to resist reverse-engineering threat:
• Obfuscate names with Obfuscator
• Protect IL2CPP build with Mfuscator
Technical details
📌 Compatibility
Supports Unity 2019.4 LTS and newer.
Works on all actual platforms including IL2CPP builds with few limitations and exceptions:
- Code Hash Generator supports Windows Standalone and Android at this moment.
- Injection Detector supports Mono builds only since IL2CPP can't have managed injections.