Mindmap
u6.3 TLS Handshake
Inhalt der Mindmap
u6.3 TLS Handshake
Used for key establishment
To setup the secure channel between client and server before the application data is transmitted.
Agree parameters with which to set-up the secure channel
Each party has a notion of a current state that the connection is in and the current state determines the current level of protection.
- During this current state the next state or 'pending state' is negotiated using the handshake protocol
- The pending state defines the secure channel that is going to be used once the parameters are negotiated.
- The initial state prior to the TLS session is called the 'null state'.
- The negotiation sets up the pending state and what the keys will be
- Once both sides are ready to move to the next state, the pending state becomes the current state.
- The negotiation sets up the pending state and what the keys will be
- The initial state prior to the TLS session is called the 'null state'.
- The pending state defines the secure channel that is going to be used once the parameters are negotiated.
- During this current state the next state or 'pending state' is negotiated using the handshake protocol
The Negotiation specifies
- bulk cipher with which to encrypt the session;
- MAC algorithm with which to provide data integrity
- key size
- key material from which to produce the keys for authentication and encryption.
Handshake Steps
- 1st - Exchange hello messages
- Initiator sends a client hello which contains random numbers. The hello message includes a list of the suggested cipher suites to be used.
- The responder replies with a server hello, this also contains random numbers & chosen cipher suite to be set up
- 2nd - agree secret material for pre-master secret and authenticate parties
- Both parties
- Exchange the necessary cryptographic parameters to allow the client and server to agree on a pre-master secret.
- Exchange certificates and crypto information to allow the client and server to authenticate
- Generate a master secret from the pre-master secret and exchanged random values
- Provide security parameters to the record layer.
- Allow the client and server to verify that their peer has calculated the same security parameters and that the handshake occurred without tampering by an attacker.
- Both parties confirm that the correct keys have been generated using Change Cipher Spec. and finished messages.
- Allow the client and server to verify that their peer has calculated the same security parameters and that the handshake occurred without tampering by an attacker.
- Provide security parameters to the record layer.
- Generate a master secret from the pre-master secret and exchanged random values
- Exchange certificates and crypto information to allow the client and server to authenticate
- Exchange the necessary cryptographic parameters to allow the client and server to agree on a pre-master secret.
- Both parties
- 2nd - agree secret material for pre-master secret and authenticate parties
- The responder replies with a server hello, this also contains random numbers & chosen cipher suite to be set up
- Initiator sends a client hello which contains random numbers. The hello message includes a list of the suggested cipher suites to be used.
- 1st - Exchange hello messages
Following actions must be agreed to form a secure channel
- Crypto Algorithms to be used
- Encryption keys used to protect the channel
- Verification of the identity of both parties
- Verification of the integrity of the messages during the handshake protocol.
- Verification of the identity of both parties
- Encryption keys used to protect the channel
- Crypto Algorithms to be used
Informationen
- Beschreibung
- Masters Degree Network Security Mindmap am u6.3 TLS Handshake, erstellt von Craig Parker am 09/02/2014.
- Erstellt von
- Craig Parker
- Aufrufe
- 38
- Tags
- Bewertung