Skip to main content

Module auth

Module auth 

Source
Expand description

Credential verification against the configured user database using the NTLM family of schemes ([MS-NLMP] §3.3).

Structs§

AuthOutcome
Outcome of credential verification.

Functions§

authenticate_ntlmssp
Verify NTLMv2 (preferred), NTLMv1-with-ESS or LM responses.
derive_session_key 🔒
Exported session key ([MS-NLMP] §3.2.5.1.2): KeyExchangeKey = HMAC-MD5(NTLMv2Hash, NTProofStr) ExportedSessionKey = RC4(KeyExchangeKey, EncryptedRandomSessionKey) When the client did not perform NEGOTIATE_KEY_EXCH the exported key equals KeyExchangeKey.
utf16_le 🔒