Midterm2 Flashcards

1
Q

How many shared keys are derived between a client and a server that establish a TLS session?

A

Each side generates 4-6 keys

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

In TLS, how does the server prove ownership of its private key?

A

Implicitly by decrypting the pre-master secret and finishing handshake

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

In TLS, how does the client prove ownership of its private key when client authentication is (rarely) used?

A

Send digital signature to the server

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

In TLS, who creates the pre-master secret?

A

Client

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

In TLS, how is the pre-master secret securely transmitted?

A

It is encrypted with the server’s public key.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

In TLS, when do the client and server start encrypting traffic using symmetric encryption?

A

Finished message

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Buffer Overflow defenses

A

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)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly