benilla-re systems structs docs

HandleChecksumSalt

function · net · orchestration

Address
0x5b1c70 · 444 bytes, up to 0x5b1e2b
Signature
void __thiscall (void *this, const uint8_t *salt)
Meaning
Sends the proof with a zero checksum when reconnecting; else keeps the 16-byte salt and reports state 9, or 7 with a PIN
Confidence
verified, proof one
Finding
net/logonlink#logon-checksum

Finding: Logon checksum in net: logon link

The checksum the logon proof carries is ChecksumExecutables, an HMAC-SHA-1 keyed by the 16-byte checksum salt the server sent. It hashes, in this order, the whole contents of WoW.exe, fmod.dll, ijl15.dll, dbghelp.dll and unicows.dll, each opened by that name in the current directory. A file that does not exist, does not open, or is not read in full adds nothing. The 20-byte result goes to the proof, which sends SHA-1(A ‖ result). On a reconnect the checksum is 20 zero bytes and no file is read. With the salt BA A3 1E 99 A0 0B 21 57 FC 37 3F B3 69 CD D2 F1 and the five stock files of this build the construction gives 95EDB27C7823B363CBDDAB56A392E7CB73FCCA20.

The derivation is in the doc.

Callers 0

None by a direct call or jump.

Callees 3

Calls and jumps by a bare address, from tables/calls.tsv.