RealmConnection::HandleAuthChallenge
function · net · orchestration
- Address
0x5b4000· 432 bytes, up to0x5b41af- Signature
uint32_t __thiscall (RealmConnection *this, uint32_t opcode, uint32_t arg, CDataStore *msg)- Meaning
- Answers the server seed with opcode 0x1ed: build, the logon link's +0x74 dword, account, client seed, digest, add-ons
- Confidence
- verified, proof one
- Finding
- net/session#session-challenge
Finding: Session challenge in net: session
SMSG_AUTH_CHALLENGE (0x1ec) carries the server's 32-bit seed. The client answers with
CMSG_AUTH_SESSION (0x1ed): build 0x16f3, the dword from the session key record, the
account as a C string, a client seed, a 20-byte digest and the add-on block. The seed is the
first output of the client's random generator seeded with the clock. The digest is
SHA1(account ‖ 0u32 ‖ client seed ‖ server seed ‖ K), the seeds as little-endian dwords and
K the 40-byte key. This packet arms the header cipher (wire).
The derivation is in the doc.
Callers 1
Callees 13
- CDataStore::PutUInt32 base
- CDataStore::PutCString base
- CDataStore::PutData base
- CDataStore::GetUInt32 base
- OsGetAsyncTimeMs core
- NTempest::CRndSeed::SetSeed random
- NTempest::CRandom::uint32 random
- WriteAddonInfo ui
- NetClient::Send net
- SHA1_Init net
- SHA1_Update net
- SHA1_Final net
- SStrLen storm
Calls and jumps by a bare address, from tables/calls.tsv.