2.2.1 SMB2 Packet Header

The SMB2 Packet Header (also called the SMB2 header) is the header of all SMB 2.0 Protocol packets.

There are two variants of this header:

  • ASYNC
  • SYNC

If the SMB2_FLAGS_ASYNC_COMMAND bit is set in Flags, the header takes the form: SMB2 Protocol Header - ASYNC (section 2.2.1.1). This header format is used for responses to requests processed asynchronously by SMB2 server. For more details refer to sections 3.3.4.2, 3.2.5.1.4 and 3.2.4.23. The SMB2_CANCEL_Request uses this format for canceling requests that are being processed asynchronously.

If the SMB2_FLAGS_ASYNC_COMMAND bit is not set in Flags, the header takes the form: SMB2 Protocol Header - SYNC (section 2.2.1.2). This format is used for all requests with the exception of the SMB2_CANCEL_Request to cancel a previously sent request being processed asynchronously.

Show: