Book Image

Packet Analysis with Wireshark

By : ANISH NATH
Book Image

Packet Analysis with Wireshark

By: ANISH NATH

Overview of this book

Table of Contents (14 chapters)

The SSL/TLS handshake


The TLS Handshake Protocol is responsible for the authentication and key exchange necessary to establish or resume a secure session. Handshake Protocol manages the following:

  • Client and server will agree on cipher suite negotiation, random value exchange, and session creation/resumption

  • Client and server will arrive at the pre-master secret

  • Client and server will exchange their certificate to verify themselves with the client (optional)

  • Generating the master secret from the pre-master secret and exchanging it

Types of handshake message

There are ten types of message, as shown in the following table, and their corresponding Wireshark filters. This is a one-byte field in the Handshake Protocol:

Type

Protocol

Message

Wireshark content type

Wireshark filter

0

Handshake

Hello request

ssl.record.content_type == 22

ssl.handshake.type == 0

1

Client Hello

ssl.handshake.type == 1

2

Server Hello

ssl.handshake.type == 2

11

Certificate

ssl.handshake.type ==...