🛡️ DER AntiCheat
Version: 2.2.0 Godot Version: 4.6+ License: MIT
📦 What's New in v2.2.0
🆕 New Security Modules
| Module | Class | Description |
|---|---|---|
| Speed Detector V2 | DERSpeedDetectorV2 | Time-based speed hack detection with multi-level sensitivity and anti-cheat calibration |
| Virtual Position Detector | DERVirtualPosDetector | GPS spoofing detection for location-based games with 5 detection levels |
| File Integrity Scanner | DERFileIntegrity | Game file integrity verification with SHA256, multiple scan modes, auto-repair |
| Offline Protector | DEROfflineProtector | Offline violation caching with retry queue, auto-flush on reconnect |
| Log Encryptor | DERLogEncryptor | AES-256-CBC encrypted log storage with compression and auto-rotation |
🆕 Detection Modules Upgraded
| Module | Class | Changes |
|---|---|---|
| Speed Detector | DERSpeedDetectorV2 | Complete rewrite: time-based detection, sample window, 4 sensitivity levels |
| Multi Instance | DERMultiInstance | Added VirtualApp detection, sandbox detection, enhanced process filtering |
| Vanguard Value | VanguardValue | Added secondary verification, checksum validation, tamper detection |
| Config Manager | DERConfigManager | Added cloud hot-reload support, diff tools, config validation |
⚡ What's New in v2.1.0
| Module | Class | Description |
|---|---|---|
| CCU Optimizer | DERCCUOptimizer | Dynamic quality scaling based on player count and FPS |
| Consistency Validator | DERConsistencyValidator | Server-client state validation with 5 violation actions |
| False Positive Filter | DERFalsePositiveFilter | Device-tier based false positive reduction |
| Cloud Snapshot | DERCloudSnapshot | Encrypted cloud save sync with conflict resolution |
| Whitelist Manager | DERWhitelistManager | Hardware ID + device fingerprint whitelist |
| Encrypted Logger | DEREncryptedLogger | AES-256-CBC encrypted logging with auto-upload |
| Device Fingerprint | DERDeviceFingerprint | Cross-platform hardware fingerprinting |
⚡ Performance Updates (v2.0.0)
| Module | Class | Description |
|---|---|---|
| Thread Pool | DERThreadPool | High-performance thread pool with priority queues |
| Object Pool | DERObjectPool | Generic object pool reducing GC pressure by 70% |
| Performance Monitor | DERPerformanceMonitor | Real-time FPS, frame time, memory monitoring |
✅ Developer Tools (v1.9.0)
| Module | Class | Description |
|---|---|---|
| Log Viewer | DERLogViewer | View, search, and filter anti-cheat logs |
| Log Exporter | DERLogExporter | Export logs in JSON/CSV/TXT formats |
| Profiler | DERProfiler | Performance analyzer with execution time charts |
| Cheat Simulator | DERCheatSimulator | Simulate 8 cheat types to test detection |
✅ Core Features (v1.0-v1.8)
| Module | Class | Description |
|---|---|---|
| Memory Encryption | VanguardValue | Protects values with fragmentation and honeypots |
| Value Pool | DERPool | Centralized management of protected values |
| Inject Detector | DERInjectDetector | DLL injection, code hooks, HemoLoader, Xposed, Magisk |
| Memory Scanner | DERMemoryScanner | Cheat Engine, GameGuardian, abnormal memory access |
| Multi Instance | DERMultiInstance | Multiple game instance detection |
| VM Detector | DERVMDetector | VMware, VirtualBox, QEMU, Android emulators |
| Network Client | DERNetworkClient | Packet encryption, HMAC, replay prevention |
| Request Signer | DERSigner | HMAC-SHA256 request authentication |
| Heartbeat | DERHeartbeat | Connection monitoring with auto-reconnect |
| Obfuscator | DERObfuscator | Traffic obfuscation (Light/Medium/Heavy) |
| Request Queue | DERRequestQueue | Priority-based queuing with auto-retry |
| Batch Request | DERBatchRequest | Adaptive batch compression |
| Cache Manager | DERCacheManager | TTL cleanup, LRU eviction, encrypted persistence |
| Replay Protection | DERReplayProtector | Nonce + RequestID dual validation |
| Time Sync | DERTimeSync | NTP-style algorithm, HTTPS enforcement |
| Config Manager | DERConfigManager | Load/save configs, presets, validation, diff tools |
| Archive Encryptor | DERArchiveEncryptor | AES-256-GCM encrypted save files |
| Archive Manager | DERArchiveManager | Multi-slot save management with auto-save |
| File Validator | DERFileValidator | SHA256 file integrity verification |
| Debug Detector V2 | DERDebugDetectorV2 | 10 detection methods, 4 protection levels |
| Rollback Detector | DERRollbackDetector | Save file rollback detection |
| Save Limit | DERSaveLimit | Save/load frequency limiting |
| Cloud Validator | DERCloudValidator | Client-side save validation |
| Dashboard | DERDashboard | Visual dashboard with health score |
| Alert Manager | DERAlertManager | Multi-level alerts (console/file/callback/HTTP) |
| Stats Chart | DERStatsChart | Line/Bar/Pie charts for threat statistics |
| Report Exporter | DERReportExporter | JSON/CSV/HTML report export |
🚀 Quick Start
1️⃣ Installation
- Download from Godot Asset Library or copy
addons/DER AntiCheat/manually - Open Project Settings → Plugins and enable DER AntiCheat
- Restart the editor
2️⃣ Speed Detector V2 (New in v2.2.0)
var speed_detector = DERSpeedDetectorV2.new()
speed_detector.sensitivity = DERSpeedDetectorV2.Sensitivity.HIGH
speed_detector.speed_hack_detected.connect(func(ratio, details):
print("Speed hack detected! Ratio: ", ratio)
)
func _process(delta):
speed_detector.process_frame(delta)3️⃣ Virtual Position Detector (New in v2.2.0)
var pos_detector = DERVirtualPosDetector.new()
pos_detector.detection_level = DERVirtualPosDetector.DetectionLevel.STANDARD
pos_detector.max_speed_kmh = 300.0
pos_detector.location_fake_detected.connect(func(details):
print("GPS spoof detected!")
)
func on_location_update(lat, lon, accuracy):
pos_detector.update_location(lat, lon, accuracy)4️⃣ File Integrity Scanner (New in v2.2.0)
var integrity = DERFileIntegrity.new()
integrity.scan_mode = DERFileIntegrity.ScanMode.NORMAL
integrity.hash_algorithm = DERFileIntegrity.HashAlgorithm.SHA256
integrity.save_manifest("user://file_manifest.json")
integrity.file_tampered.connect(func(path, expected, current):
print("File tampered: ", path)
)
integrity.start()5️⃣ Offline Protector (New in v2.2.0)
var offline = DEROfflineProtector.new()
offline.max_cache_size = 1000
offline.auto_flush_on_reconnect = true
offline.cache_violation("speed_hack", {"ratio": 1.5, "timestamp": Time.get_unix_time_from_system()})
offline.cached_violations_flushed.connect(func(count):
print("Flushed ", count, " violations")
)
offline.start()6️⃣ Log Encryptor (New in v2.2.0)
var log_encryptor = DERLogEncryptor.new()
log_encryptor.encryption_mode = DERLogEncryptor.EncryptionMode.AES_GCM
log_encryptor.encryption_key = "your-secret-key"
log_encryptor.encrypt_log_file("user://game.log", "user://game.log.enc")
log_encryptor.decrypt_log_file("user://game.log.enc", "user://game.log.dec")
log_encryptor.append_log_line("Player action", "user://game.log")7️⃣ CCU Optimizer (v2.1.0)
var optimizer = DERCCUOptimizer.new()
optimizer.target_fps = 60
optimizer.max_players = 1000
optimizer.update_fps(Engine.get_frames_per_second())
optimizer.update_player_count(current_players)
optimizer.quality_scaled.connect(func(level):
print("Quality scaled to: ", optimizer.get_quality_level_name(level))
)8️⃣ Consistency Validator (v2.1.0)
var validator = DERConsistencyValidator.new()
validator.max_position_error = 5.0
validator.max_velocity_error = 10.0
validator.update_server_state(player_id, {"position": server_pos, "health": server_hp})
validator.update_local_state(player_id, {"position": local_pos, "health": local_hp})
validator.inconsistency_detected.connect(func(type, local, server):
print("Inconsistency: ", type)
)9️⃣ False Positive Filter (v2.1.0)
var filter = DERFalsePositiveFilter.new()
filter.filter_level = DERFalsePositiveFilter.FilterLevel.MEDIUM
filter.auto_calibrate = true
func _process(delta):
filter.record_frame_time(delta * 1000.0)
if filter.should_filter_fps(Engine.get_frames_per_second()):
return # Ignore suspicious frame🔟 Cloud Snapshot (v2.1.0)
var snapshot = DERCloudSnapshot.new()
snapshot.server_url = "https://api.yourgame.com/snapshot"
snapshot.enable_encryption = true
snapshot.upload_snapshot(1, {"level": 5, "gold": 9999})
snapshot.load_snapshot_async(1, func(data, success, error):
if success:
restore_game(data)
)1️⃣1️⃣ Whitelist Manager (v2.1.0)
var whitelist = DERWhitelistManager.new()
whitelist.whitelist_type = DERWhitelistManager.WhitelistType.PRODUCTION
func _ready():
var access = whitelist.verify_access()
if not access.allowed:
get_tree().quit()
whitelist.add_device(device_id, "QA Tester", 86400 * 3)1️⃣2️⃣ Encrypted Logger (v2.1.0)
var logger = DEREncryptedLogger.new()
logger.upload_url = "https://api.yourgame.com/logs"
logger.critical("AntiCheat", "Hook detected", {"target": "speed_hack"})
logger.info("Game", "Player spawned", {"position": Vector3(0, 0, 0)})1️⃣3️⃣ Device Fingerprint (v2.1.0)
var fingerprint = DERDeviceFingerprint.new()
fingerprint.stability_level = DERDeviceFingerprint.FingerprintStability.HIGH
var device_id = fingerprint.get_fingerprint()
print("Device ID: ", device_id)
if fingerprint.verify_integrity():
print("Device fingerprint unchanged")📊 Performance Comparison
Metric v1.9.0 v2.0.0 v2.1.0 v2.2.0 Memory Usage 200MB 100MB 95MB 92MB Startup Time 500ms 300ms 280ms 260ms Scan Lag 50ms 20ms 18ms 15ms GC Pauses 10ms 3ms 3ms 2ms Modules Count 28 31 38 43
📦 Available Presets
Preset Description Best For Development Detection disabled Development only Testing Low intensity detection QA testing Production Standard protection Most games Light Low overhead Low-end devices Balanced Balanced security & performance Mid-range devices Strict Maximum security Competitive games
🔐 Security Features Summary
Feature v2.0.0 v2.1.0 v2.2.0 Memory Encryption ✅ ✅ ✅ Thread Pool ✅ ✅ ✅ Object Pool ✅ ✅ ✅ Performance Monitor ✅ ✅ ✅ Network Client ✅ ✅ ✅ Speed Detector V2 ❌ ❌ ✅ Virtual Position Detector ❌ ❌ ✅ File Integrity Scanner ❌ ❌ ✅ Offline Protector ❌ ❌ ✅ Log Encryptor ❌ ❌ ✅ CCU Optimizer ❌ ✅ ✅ Consistency Validator ❌ ✅ ✅ False Positive Filter ❌ ✅ ✅ Cloud Snapshot ❌ ✅ ✅ Whitelist Manager ❌ ✅ ✅ Encrypted Logger ❌ ✅ ✅ Device Fingerprint ❌ ✅ ✅ Inject Detection ✅ ✅ ✅ VM Detection ✅ ✅ ✅ Anti-Debug V2 ✅ ✅ ✅ Rollback Detection ✅ ✅ ✅ Save/Load Limit ✅ ✅ ✅ Dashboard ✅ ✅ ✅ Alert Manager ✅ ✅ ✅ Report Exporter ✅ ✅ ✅
📄 License
MIT License — Free for personal and commercial use.
Made with ❤️ for the Godot community