Midterm2 Flashcards
How many shared keys are derived between a client and a server that establish a TLS session?
Each side generates 4-6 keys
In TLS, how does the server prove ownership of its private key?
Implicitly by decrypting the pre-master secret and finishing handshake
In TLS, how does the client prove ownership of its private key when client authentication is (rarely) used?
Send digital signature to the server
In TLS, who creates the pre-master secret?
Client
In TLS, how is the pre-master secret securely transmitted?
It is encrypted with the server’s public key.
In TLS, when do the client and server start encrypting traffic using symmetric encryption?
Finished message
Buffer Overflow defenses
Write correct code (avoid vulnerable functions)
Make stack non-executable
Array bounds checking (type-safe language)
Code pointer integrity checking (detect when a pointer is corrupted; Canaries and pointer checking)