2026-02-12 02:22:04 -08:00
|
|
|
# Warden Quick Reference
|
|
|
|
|
|
2026-02-17 15:05:18 -08:00
|
|
|
Warden is WoW's client integrity checking system. Wowee implements full Warden module execution
|
|
|
|
|
via Unicorn Engine CPU emulation — no Wine required.
|
2026-02-12 02:22:04 -08:00
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
2026-02-17 15:05:18 -08:00
|
|
|
## How It Works
|
2026-02-12 02:22:04 -08:00
|
|
|
|
2026-02-17 15:05:18 -08:00
|
|
|
Warden modules are native x86 Windows DLLs that the server encrypts and delivers at login.
|
2026-02-12 02:22:04 -08:00
|
|
|
|
2026-02-17 15:05:18 -08:00
|
|
|
1. Server sends `SMSG_WARDEN_DATA` (0x2E6) with the encrypted module
|
|
|
|
|
2. Client decrypts: RC4 → RSA-2048 signature verify → zlib decompress
|
|
|
|
|
3. Parses the PE: relocations applied, imports resolved (Windows API hooks)
|
|
|
|
|
4. Executes entry point via Unicorn Engine x86 emulator
|
|
|
|
|
5. Client responds with check results via `CMSG_WARDEN_DATA` (0x2E7)
|
2026-02-12 02:22:04 -08:00
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
2026-02-17 15:05:18 -08:00
|
|
|
## Server Compatibility
|
2026-02-12 02:22:04 -08:00
|
|
|
|
2026-02-17 15:05:18 -08:00
|
|
|
| Server type | Expected result |
|
|
|
|
|
|-------------|-----------------|
|
|
|
|
|
| Warden disabled | Works (no Warden packets) |
|
|
|
|
|
| AzerothCore (local) | Works |
|
|
|
|
|
| ChromieCraft | Should work |
|
|
|
|
|
| Warmane | Should work |
|
2026-02-12 02:22:04 -08:00
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
2026-02-17 15:05:18 -08:00
|
|
|
## Module Cache
|
2026-02-12 02:22:04 -08:00
|
|
|
|
2026-02-17 15:05:18 -08:00
|
|
|
Modules are cached after first download:
|
2026-02-12 02:22:04 -08:00
|
|
|
|
|
|
|
|
```
|
2026-02-17 15:05:18 -08:00
|
|
|
~/.local/share/wowee/warden_cache/<MD5>.wdn
|
2026-02-12 02:22:04 -08:00
|
|
|
```
|
|
|
|
|
|
2026-02-17 15:05:18 -08:00
|
|
|
First connection: ~120ms (download + decompress + emulate). Subsequent: ~1-5ms (load from cache).
|
2026-02-12 02:22:04 -08:00
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
2026-02-17 15:05:18 -08:00
|
|
|
## Dependency
|
2026-02-12 02:22:04 -08:00
|
|
|
|
2026-02-17 15:05:18 -08:00
|
|
|
Unicorn Engine is required for module execution:
|
2026-02-12 02:22:04 -08:00
|
|
|
|
2026-02-17 15:05:18 -08:00
|
|
|
```bash
|
|
|
|
|
sudo apt install libunicorn-dev # Ubuntu/Debian
|
|
|
|
|
sudo dnf install unicorn-devel # Fedora
|
|
|
|
|
sudo pacman -S unicorn # Arch
|
2026-02-12 02:22:04 -08:00
|
|
|
```
|
|
|
|
|
|
2026-02-17 15:05:18 -08:00
|
|
|
The client builds without Unicorn (falls back to crypto-only responses), but will not pass
|
|
|
|
|
strict Warden enforcement in that mode.
|
2026-02-12 02:22:04 -08:00
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
2026-02-17 15:05:18 -08:00
|
|
|
## Key Files
|
2026-02-12 02:22:04 -08:00
|
|
|
|
|
|
|
|
```
|
2026-02-17 15:05:18 -08:00
|
|
|
src/game/warden_module.hpp/cpp - Module loader (8-step pipeline)
|
|
|
|
|
src/game/warden_emulator.hpp/cpp - Unicorn Engine executor
|
|
|
|
|
src/game/warden_crypto.hpp/cpp - RC4/MD5/SHA1/RSA crypto
|
|
|
|
|
src/game/game_handler.cpp - Packet handler (handleWardenData)
|
2026-02-12 02:22:04 -08:00
|
|
|
```
|
|
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
2026-02-17 15:05:18 -08:00
|
|
|
## Logs
|
2026-02-12 02:22:04 -08:00
|
|
|
|
2026-02-17 15:05:18 -08:00
|
|
|
```bash
|
|
|
|
|
grep -i warden logs/wowee.log
|
2026-02-12 02:22:04 -08:00
|
|
|
```
|
|
|
|
|
|
2026-02-17 15:05:18 -08:00
|
|
|
Key messages:
|
|
|
|
|
- `Warden: module loaded from cache` — cached path, fast startup
|
|
|
|
|
- `Warden: executing module entry point` — emulation running
|
|
|
|
|
- `Warden: check response sent` — working correctly
|
|
|
|
|
- `packetsAfterGate=0` — server not responding after Warden exchange
|
|
|
|
|
|
2026-02-12 02:22:04 -08:00
|
|
|
---
|
|
|
|
|
|
2026-02-17 15:05:18 -08:00
|
|
|
## Check Types
|
2026-02-12 02:22:04 -08:00
|
|
|
|
2026-02-17 15:05:18 -08:00
|
|
|
| Opcode | Name | Response |
|
|
|
|
|
|--------|------|----------|
|
|
|
|
|
| 0x00 | Module info | `[0x00]` |
|
|
|
|
|
| 0x01 | Hash check | `[0x01][results]` |
|
|
|
|
|
| 0x02 | Lua check | `[0x02][0x00]` |
|
|
|
|
|
| 0x04 | Timing | `[0x04][timestamp]` |
|
|
|
|
|
| 0x05 | Memory scan | `[0x05][num][results]` |
|
2026-02-12 02:22:04 -08:00
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
2026-02-17 15:05:18 -08:00
|
|
|
**Last Updated**: 2026-02-17
|