9 - Message Authentication Code Flashcards

1
Q

MesAuthCodes protect from

A
  • Impersonation (both in creation and acknowledgement)
  • Content modification
  • TIming modification
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Authentication (Message)

A

Guarantee that a message originates from the claimed sender, unmodified and at the stated time

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

Auth schemes using public keys vs secret

A

Public key: Digitial signature
Secret: MAC

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

Process of MAC computation

A

A:
1. Message m
2. Use some MAC algotrithm with m and k
3. Send m and MAC to B

B:
1. Receive message m
2. Use MAC algo with m and k
3. Compare to received MAC.

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

MAIN idea of MAC

A

Concatenate key and message then hash. Result is MAC.

In CBC the end block is kept for MAC and this is most likely to have changed

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

GCM - Galois Counter mode

A

Provides a MAC as part of authenticated encryption

Encrypt in counter mode
Compute a MAC of ciphertext using GHASH

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

Authenticated Encryption

A

Encryption and authentication are now designed together

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

TImestamp method of authenticating message time

A

include the timestamp in the message before the whole is authenticated

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

Challenge and response

A

Generate random number
Send to server
“When you reply add this number also”
server replies with number on next message

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