LibreAuth

Anti-Tamper

How LibreAuth protects sessions — and what your client must do.

INFO
Panel toggles explained in detail: Access Controls — maps 1:1 to Settings → Access Controls in your panel.

Protection Layers

FeatureDescription
Ed25519 signingClient verifies response authenticity
AES encryptionEncrypted wire body with enckey
Anti-TamperIP bind, replay block, HWID session lock
Hash CheckExe MD5 must match server whitelist
Nonce ChainOne-time nonce per request
Token File CheckValidate token + thash on init (C++)

Client Requirements

  1. Send hash= MD5 (and/or sha256) of exe on init when hash check is enabled
  2. Use correct Ed25519 public key from init response
  3. Send same hwid on login, license, and check
  4. Return nonce from init on every subsequent request
  5. Call check() periodically (SessionGate watchdog ~15s)
  6. Call Integrity.Seal() at startup — silent kill only; อย่าใช้ข้อความ packer เด่นๆ เช่น File corrupted! — ดู Hardening

SDK Integrity modules

LanguageModulePulse
C# / WPF / VB / UnityIntegrity.csthread after MarkLicensed
C++integrity.hpp · SecureLoader anti_tamper.hppPulseTick
PHP / Perl / LuaIntegrity.*PulseTick with watchdog
Python / Ruby / Java / Go / Rust / JS / TSintegrity.*background timer/thread

API: Seal · Verify · VerifyOrDie · StartPulse / PulseTick · fail → DieSilent (no UI string for crackers to xref).

Endpoint lock: ApiSeal — XOR-seal the API URL; Resolve() only after AntiRe.Gate() Arms. Strip the gate without Arming and HTTP calls fail closed.

Opaque packs สำหรับผู้ค้า: ดู Ship Opaque — โหลดจาก SDK Portal แล้วทำตาม Production Lock บน Panel

Common Errors

MessageFix
Hash required / E04Send hash on init
E05Exe MD5 mismatch — hash troubleshooting
Invalid nonce / E11Update SDK · send nonce on every request after init
Session IP mismatch / E10Reconnect from same network
Duplicate request / E12Don't replay captured requests — wait before retrying
HWID session mismatch / E13Send same hwid on all requests
INFO
Native hardening: Hardening Guide · Signing: Response Signing