4.2.2.4 GSS_WrapEx Examples

The GSS_WrapEx() is specified in section 3.4.6. The following data is part of the security context state for the NTLM Session.

SeqNum for the message:

 0000000: 00 00 00 00                                       ••••

RandomPad(4):

 0000000: 00 00 00 00                                       ••••

Plaintext data where conf_req_flag == TRUE and sign == TRUE:

 0000000: 50 00 6c 00 61 00 69 00 6e 00 74 00 65 00 78 00   P·l·a·i·n·t·e·x·
 0000010: 74 00                                             t·

The output message data and signature is created using SEAL() specified in section 3.4.3. Output_message will contain conf_state == TRUE, signed == TRUE and data:

Data:

 0000000: 56 fe 04 d8 61 f9 31 9a f0 d7 23 8a 2e 3b 4d 45   V.•.a∙1...#è.;ME
 0000010: 7f b8                                             ⌂╕

Checksum: CRC32(Message):

 0000000: 7d 84 aa 93                                       }...

RandomPad: RC4(Handle, RandomPad):

 0000000: 45 c8 44 e5                                       E.D.

Checksum: RC4(Handle, NTLMSSP_MESSAGE_SIGNATURE.Checksum):

 0000000: 09 dc d1 df                                       ·...

SeqNum: RC4(Handle, 0x00000000):

 0000000: 2e 45 9d 36                                       .E.6

SeqNum: XOR:

 0000000: 2e 45 9d 36                                       .E.6

Assembled Signature:

 0000000: 01 00 00 00 45 c8 44 e5 09 dc d1 df 2e 45 9d 36   ····E╚Dσ·▄╤▀.E¥6