benilla-re systems structs docs

ChecksumExecutables

function · net · primitive

Address
0x5b1170 · 371 bytes, up to 0x5b12e2
Signature
void __fastcall (const uint8_t *key, uint32_t keyLength, uint8_t digest[20])
Meaning
Writes the HMAC-SHA1 under a key of the whole bytes of WoW.exe, fmod.dll, ijl15.dll, dbghelp.dll and unicows.dll
Confidence
verified, proof one
Finding
net/logonlink#logon-checksum
Test
net::hmac_sha1

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 1

Callees 10

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