βοΈ AtomicShield Server
July 1, 2026 Β· View on GitHub
Advanced Game AntiCheat Master Server β The backend powering the AtomicShield anti-cheat ecosystem.
π° Note: This project has been sold.
π Overview
AtomicShield Server is the central command hub for the AtomicShield anti-cheat platform. It manages real-time WebSocket connections with game servers and client-side agents, processes cheat detections, issues bans, handles HWID fingerprinting, and provides a full-featured Django Admin dashboard plus a React SPA frontend for server owners.
Key capabilities:
- π‘οΈ Real-time cheat detection via encrypted WebSocket communication
- π Hardware ID (HWID) fingerprinting with historical tracking
- β‘ Low-latency AES-encrypted packet protocol between server β agent
- π Full admin dashboard (Django Unfold + React SPA)
- π³ Subscription & payment system
- π₯ Moderator role management with granular permissions
- π Comprehensive audit logging for all actions
- π Discord webhook notifications for detections, bans, and alerts
- π¦ Release management & asset distribution
- π₯οΈ Live screen streaming via WebRTC signaling
ποΈ Architecture
βββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β AtomicShield Server β
β β
β ββββββββββββ ββββββββββββ βββββββββββββββββββββ β
β β Django β β Django β β WebSocket β β
β β REST APIβ β Admin β β (Channels/Daphne)β β
β β (JWT) β β (Unfold) β β β β
β ββββββββββββ ββββββββββββ ββββββββββ¬βββββββββββ β
β β β β β
β ββββββ΄βββββββββββββββ΄βββββββββββββββββ΄βββββββββββ β
β β MySQL Database β β
β βββββββββββββββββββββββββββββββββββββββββββββββββ β
β β
β ββββββββββββββββ ββββββββββββββββ β
β β Guards β β Core β β
β β β β (AES Crypto)β β
β ββββββββββββββββ ββββββββββββββββ β
β β
β ββββββββββββ ββββββββββββ ββββββββββββ β
β β Utils β β Shared β βAnalytics β β
β β(Discord, β β(Enums, β β(Charts, β β
β β ASE, etc)β β Flags) β β Stats) β β
β ββββββββββββ ββββββββββββ ββββββββββββ β
βββββββββββββββββββββββββββββββββ¬ββββββββββββββββββββββ
β
βββββββββββββββββββββββββΌββββββββββββββββββββββ
β β β
βββββββ΄ββββββββββ βββββββ΄βββββββ ββββββββ΄βββββββ
β Game Server β β Agent β β React SPA β
β (Resource) β β (Engine) β β (Frontend) β
β WS Client β β WS Client β β HTTP/JWT β
βββββββββββββββββ ββββββββββββββ βββββββββββββββ
π Quick Start
Prerequisites
- Python 3.11+
- MySQL 8+
- Node.js 18+ (for frontend)
Installation
# Clone the repository (with submodules)
git clone --recurse-submodules https://github.com/adem-hosni/AtomicShieldServer.git
cd AtomicShieldServer
# Create and activate virtual environment
python -m venv venv
source venv/bin/activate # Linux/Mac
venv\Scripts\activate # Windows
# Install Python dependencies
pip install -r requirements.txt
# Configure database (MySQL)
mysql -u root -e "CREATE DATABASE atomicshield CHARACTER SET utf8mb4;"
# Run migrations
python src/manage.py migrate
# Generate AES encryption keys
python scripts/generate_keys.py --target debug/aes_keys --count 8 --key_size 16
# Start development server
python src/manage.py runserver
Frontend (React SPA)
cd web
npm install
npm run dev
π§© Project Structure
AtomicShieldServer/
βββ src/ # Python backend
β βββ AtomicShield/ # Django project configuration
β β βββ settings.py # Main settings (DB, apps, channels, etc.)
β β βββ urls.py # Root URL routing
β β βββ asgi.py # ASGI config (WebSocket + HTTP)
β β βββ middleware.py # Custom middleware
β β βββ hosts.py # Django-hosts subdomain routing
β β βββ sitemaps.py # SEO sitemaps
β βββ anticheat/ # Core anti-cheat app
β β βββ consumers/ # WebSocket consumers
β β β βββ safe_server.py # FxServer WS consumer
β β β βββ safe_engine.py # Agent/Engine WS consumer
β β β βββ streamer.py # WebRTC signaling consumer
β β βββ handlers/ # Packet handlers
β β β βββ safe_server.py # Server packet logic
β β β βββ safe_engine.py # Engine packet logic
β β βββ models.py # DB models (HWID, Ban, Detection, etc.)
β β βββ admin.py # Django admin interfaces
β β βββ routing.py # WebSocket URL routing
β βββ dashboard/ # Dashboard & management app
β β βββ models.py # GameServer, Subscription, AuditLog, etc.
β β βββ views.py # REST API + Jinja views (~3000 lines)
β β βββ admin.py # Admin interfaces for dashboard models
β βββ authentication/ # Auth app (JWT, Discord OAuth, Google OAuth)
β βββ api/ # Payment/Tebex webhook API
β βββ home/ # Landing page views
β βββ resources/ # Engine binary distribution
β βββ guards/ # Connection managers
β β βββ _base.py # Base guard manager
β β βββ fivem.py # FiveM guard (singleton)
β β βββ multitheftauto.py # MTA:SA guard (singleton)
β βββ core/ # Core AES crypto engine
β βββ shared/ # Shared enums, flags, models
β βββ utils/ # Utilities (Discord, ASE, analytics)
βββ web/ # React SPA frontend
β βββ client/ # React app source
β βββ server/ # Express mock server (deprecated)
β βββ shared/ # Shared TS types
βββ config/ # Server configuration
βββ scripts/ # Utility scripts
βββ tests/ # Load testing (Locust)
βββ bin/ # Binary resources (AES keys, engines)
π WebSocket Protocol
The server communicates with game servers and agents via AES-256-CBC encrypted WebSocket packets.
Packet Structure
{
"type": "<PacketID>",
"ut": <unix_timestamp>,
"...": "<payload>"
}
Server Packet IDs (SafeServerPacketID)
| ID | Name | Description |
|---|---|---|
| 1 | NETWORK_JOIN | Server authentication & join |
| 2 | SYNC_ANTICHEAT_CONFIGS | Sync configuration templates |
| 3 | REQUEST_STATUS | Server health check |
| 4 | REQUEST_PLAYER_JOIN | Player connection validation |
| 5 | PLAYER_KICK | Kick a player |
| 6 | OBFUSCATE_CLIENT_SCRIPT | Script obfuscation |
| 7 | SYNC_ANTICHEAT_COMPONENTS | Component sync |
| 8 | PLAYER_QUIT | Player disconnect |
| 9 | MANAGE_ONLINE_PLAYER | Online player management |
| 10 | ENGINE_CHECK | Engine connectivity check |
Engine Packet IDs (SafeEnginePacketID)
| ID | Name | Description |
|---|---|---|
| 1 | NETWORK_JOIN | Agent authentication & HWID registration |
| 2 | SYNC_SIGNATURES | Malicious signature sync |
| 3 | MALICIOUS_SIGNATURE_DETECTION | Signature match found |
| 4 | GAME_ANTICHEAT_COMPONENT_STATUS | Component health |
| 5 | SCANNER_DISCONNECT | Agent disconnect |
| 6 | REQUEST_UPLOAD | File upload request |
| 7 | CHEAT_DETECTION | Cheat detection report |
| 8 | REQUEST_SCREENSHOT | Screenshot capture |
| 9 | RUN_SCANNERS | Toggle scanner state |
| 10 | ENGINE_SHUTDOWN | Engine shutdown command |
| 11 | REQUEST_DEBUG_LOGS | Debug log retrieval |
| 12 | REQUEST_FILEHASH | File hash lookup |
| 13 | REQUEST_FILE_UPLOAD | File upload request |
π‘οΈ Detection System
Detection Types
| Value | Type | Severity |
|---|---|---|
| 0 | Custom | Strict |
| 1 | Unauthorized Thread | Strict |
| 2 | Unrecognized IAT | Strict |
| 3 | Direct X DLL Found | Unstrict |
| 4 | Secure Boot Disabled | Unstrict |
| 5 | Debug Mode Enabled | Unstrict |
| 6 | Test Signing Enabled | Unstrict |
| 7 | Injected DLL | Strict |
| 8 | Cheat Signature Found | Strict |
| 9 | Malicious Process Handle Open | Strict |
| 10 | Malicious Driver Found | Unstrict |
| 11 | Thread Shell Code | Strict |
Strict detections result in an automatic ban. Unstrict detections are checked against server configuration before action is taken.
π Security
- AES-256-CBC encryption for all WebSocket communication
- Random key selection from 8 key pairs for each packet
- Timestamp-based anti-replay protection
- JWT authentication for REST API
- CORS protection with configurable origins
- reCAPTCHA integration for public forms
- IP validation for server subscriptions
- Comprehensive audit logging for all sensitive actions
AtomicShieldClient
The AtomicShield Agent (game client-side component) is maintained in a separate repository and contains:
- AtomicShield Agent β The client-side anti-cheat engine that connects to this server
- Game integration libraries for FiveM and other platforms
- Client-side detection scanners
π€ Contributing
Internal project. Contributions are managed by the AtomicShield team.
π¬ Contact
π License
Proprietary. All rights reserved.
Related Repositories
- AtomicShield Client β Backend API and WebSocket server
- AtomicShield Platform β Management dashboard UI