Describe the steps performed during the TLS handshake procedure.
The TLS handshake involves:
Protocol Version Exchange: Client and server agree on TLS versions (e.g., TLS 1.2, 1.3).
Cipher Suite Selection: Negotiate a mutually supported cipher suite (e.g., AES for encryption).
Server Authentication: Server sends its certificate, validated by the client using a trusted CA.
Session Key Generation: Create temporary symmetric keys for encrypted communication post-handshake.
Describe the sanity checks which can be performed by a TLS client.
Date Check: Verify certificate validity (start/end dates).
Signer Trust Check: Confirm the CA that signed the certificate is trusted (e.g., pre-installed root certificates).
Signature Check: Validate the certificate’s integrity using the CA’s public key.
Site Identity Check: Ensure the certificate’s domain matches the server’s domain (e.g., example.com).
example.com
Explain the elements of a given TLS 1.2 cipher suite: TLS_RSA_WITH_AES_256_CBC_SHA256
A cipher suite is a combination of algorithms for creating and managing secure sockets.
TLS: Protocol identifier -> using TLS protocol.
RSA: Key exchange and authentication algorithm (server uses RSA keys -> asymetric encryption).
AES_256_CBC: Symmetric encryption algorithm (256-bit AES in CBC mode).
SHA256: Hash function for message integrity (HMAC).
Explain the elements of a given TLS 1.3 cipher suite: TLS_AES_256_GCM_SHA384
TLS: Protocol identifier.
AES_256_GCM: Encryption algorithm (256-bit AES in GCM mode, providing authenticated encryption).
SHA384: Hash function for integrity (SHA-384).
Note: TLS 1.3 removes explicit key exchange names (e.g., RSA), favoring ephemeral keys.
Explain the network layers used in the HTTPS protocol.
HTTPS adds a security layer (TLS/SSL) between the application and transport layers:
Application Layer: HTTP (handles data).
Security Layer: TLS/SSL (encrypts data).
Transport Layer: TCP (ensures data delivery).
Network Layer: IP (routes packets).
Data Link Layer: Network interface (physical transmission).
Example:
HTTP Layers: HTTP → TCP → IP → Network Interface.
HTTPS Layers: HTTP → TLS → TCP → IP → Network Interface.
Zuletzt geändertvor 2 Monaten