Documentation

The Warden loader

An optional, ready-made Windows app for your customers. They enter their key; the loader signs in, downloads your program from Files, checks it and starts it. Your program never ships on its own, so a cracked copy of the loader has nothing to run.

You don't need it to use Warden: keys and Files work through any SDK too.

Set it up

  1. 1Upload your program in Content → Files.
  2. 2Open Content → Loader and choose it as the File to run. Add launch arguments, or turn on Run as administrator if your program needs it.
  3. 3Set the name, tagline, design and colours. The live preview is the real loader: try signing in to see each step.
  4. 4Save, then Download loader and give the .exe to your customers. It runs on Windows 10 and 11.

Designs

DesignLookPlan
StandardThe Warden design: your name on the left, sign-in on the right.Tester and up
CenteredEverything in one compact column in the middle.Developer and up
MinimalNo background effects. Flat, quiet and clean.Developer and up
AuroraSlowly drifting colour behind a frosted-glass card.Seller and up
TerminalMonospace and square, with scanlines and a blinking cursor.Seller and up
SpotlightThe left half filled with your colour, name and logo.Seller and up

Appearance by plan

TesterDeveloperSeller
Name and taglineYesYesYes
Accent colourWarden greenFrom a paletteAny colour
Your logo—Yes (up to 256 KB)Yes (up to 256 KB)
Light theme——Yes
Remove Warden branding——Yes

The settings are signed by Warden when you download, and the loader refuses settings that don't match the signature, so nobody can edit the file to unlock features your plan doesn't include.

What happens when a customer signs in

  1. 1Sign in. The key is checked with this PC's hardware ID, like any SDK sign-in. Every answer from Warden is signature-checked. "Remember on this PC" stores the key encrypted for that Windows user.
  2. 2Check for updates. The loader asks for the file's details and shows the release version. If its encrypted copy is current, it shows "Up to date" and skips the download.
  3. 3Download and verify. Otherwise it downloads the file, checks it against the signed SHA-256, and caches it encrypted.
  4. 4Launch. It unpacks the program to a fresh folder, starts it with a one-time launch ticket, hides itself while it runs, and deletes the unpacked copy when it exits.

Tamper protection

The loader looks for tampering when a customer signs in, and every few seconds while your program runs: a debugger on the loader or your program, a cracking tool running (x64dbg, Cheat Engine, IDA, ReClass, dnSpy, dumpers and others), a hooked debugger check, or a loader file that's been patched. It reports what it finds; Warden decides what happens, so editing the loader can't reset anyone's count.

SettingWhat happens
Log onlyNothing is stopped. Every detection appears in Logs (Tamper).
Refuse, then ban (default)The loader refuses to run, or closes your program, and asks them to close the tool. 3 detections within 24 hours (you choose both numbers) ban the account and blacklist the PC and IP.
Ban straight awayThe first detection bans the account and blacklists the PC and IP.

Set it under Tamper protection on the Loader page. It applies immediately, without a new download. Strikes count per PC and per account, so switching keys doesn't help. A hooked function on its own (some antivirus does this) is logged and counts as a strike but never stops or bans anyone.

Like every check on the customer's PC, a determined cracker can patch it out. It stops casual attempts and gives you a record of who tried. Your own programs can report tampering too, with the tamper call in the Client API.

Make your program require the loader

The program the loader starts gets an environment variable, WARDEN_HANDOFF, holding JSON with a ticket, the key and the hwid. The ticket works once, within two minutes, on that PC. Have your program sign in with it and refuse to run if that fails: then a copy pulled out of the loader's folder won't start on its own.

main.go
// In the program the loader starts (Go SDK):
var h struct{ Ticket, Key string }
json.Unmarshal([]byte(os.Getenv("WARDEN_HANDOFF")), &h)
os.Unsetenv("WARDEN_HANDOFF") // don't pass it on to child processes

app, _ := warden.New("YOUR_APP_ID", "YOUR_PUBLIC_KEY", "1.0", "https://your-warden-site.com/api/v1")
if err := app.Init(); err != nil { log.Fatal(err) }
if _, err := app.Redeem(h.Ticket); err != nil {
    log.Fatal("Start this program from the loader.") // refuse to run without a fresh ticket
}

The Go SDK has Redeem. In other languages, send the redeem call from the Client API with the ticket and HWID. The key is there so your program can sign in again if its session runs out while it's open.

Updating

New versions of your program don't need a new loader. Publish a release on the file and loaders pick it up on the next sign-in.

Changing the loader itself (a different file, design, colours or name) needs a fresh Download loader, because the settings are built into the .exe. Customers with the old one keep the old look until they get the new download.

Next guideCustomer portalA page where customers check their time, reset their PC and add keys, without messaging you.