Compartir a través de


2.2.3.1.1 SMB2_PREAUTH_INTEGRITY_CAPABILITIES

The SMB2_PREAUTH_INTEGRITY_CAPABILITIES context is specified in an SMB2 NEGOTIATE request by the client to indicate which preauthentication integrity hash algorithms the client supports and to optionally supply a preauthentication integrity hash salt value. The format of the data in the Data field of this SMB2_NEGOTIATE_CONTEXT is as follows.


0


1


2


3


4


5


6


7


8


9

1
0


1


2


3


4


5


6


7


8


9

2
0


1


2


3


4


5


6


7


8


9

3
0


1

HashAlgorithmCount

SaltLength

HashAlgorithms (variable)

...

Salt (variable)

...

HashAlgorithmCount (2 bytes): The number of hash algorithms in the HashAlgorithms array. This value MUST be greater than zero.

SaltLength (2 bytes): The size, in bytes, of the Salt field.

HashAlgorithms (variable): An array of HashAlgorithmCount 16-bit integer IDs specifying the supported preauthentication integrity hash functions. The following IDs are defined.

Value

Meaning

0x0001

SHA-512 as specified in [FIPS180-4]

Salt (variable): A buffer containing the salt value of the hash.