cis4360 final

0.0(0)
Studied by 0 people
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play

1/54

encourage image

There are no tags or description

Looks like no tags are added yet.

55 Terms

1
New cards
<p></p>


B

Symmetric encryption uses 1 shared secret key to encrypt and decrypt. Asymmetric encryption uses a public/private key pair.

2
New cards
<p></p>


C

Encrypt with the receiver’s public key, so only the receiver’s private key can decrypt.

3
New cards
<p></p>


C

Active attacks modify data or the system.

4
New cards
term image

A

Passive attacks don’t change anything, so there is nothing to detect.

5
New cards
<p></p>


C

Unconditional security means secure even against unlimited computing power, because the ciphertext gives no information about the plaintext.

6
New cards
<p></p>


B

There are 2^128 possible keys. On average you find the right one after searching half the keyspace.

7
New cards
<p></p>


C

128 bits is the modern minimum and 256 gives a long-term margin.

8
New cards
<p></p>


C

each of n bits is 0 or 1, giving 2^n blocks. a reversible mapping is a permutation of those 2^n blocks, and there are (2^n)! permutations.

9
New cards
<p></p>


C

to pick 1 of (2^n)! possible permutations you need log2((2^n)!) bits.

10
New cards
<p></p>


B

Diffusion spreads the plaintext statistics across the ciphertext.

11
New cards
<p></p>


B

confusion hides the key-to-ciphertext relationship, and non-linear S-boxes do that.

12
New cards
<p></p>


A

13
New cards
term image

B

AES always uses a 128-bit block. AES-128 has a 128-bit key and 10 rounds.

14
New cards
term image

B

only the key length changes, and the block is always 128 bits.

15
New cards
term image

B

16
New cards
term image

A

17
New cards
term image

B

In CBC, you XOR the plaintext with the previous ciphertext block, then encrypt. To decrypt, you decrypt first, then XOR with the previous ciphertext.

18
New cards
term image

B

For confidentiality, encrypt with the receiver’s public key so only the receiver’s private key can decrypt.

19
New cards
term image

C

Only A holds PR_a, so a signature made with it proves origin and gives non-repudiation. Anyone, including B, can verify it with A’s public key PU_a.

20
New cards
term image

A

Encrypting K_s under PU_b means only B can recover it. The two then use fast symmetric encryption with K_s.

21
New cards
<p>B</p>

B

Encryption with the public key must be easy so anyone can do it. Deriving the private key from the public key must be infeasible, and so must recovering M without the private key.

22
New cards
term image

C

23
New cards
<p></p>


C

24
New cards
term image

B

25
New cards
<p>C</p>

C

OFB and CTR both generate a keystream that is XORed with the plaintext, so no padding is needed.

26
New cards
term image

A

This is the extension forgery. The attacker gets a valid tag without knowing K.

27
New cards
term image

B

Using different subkeys keeps padded and unpadded messages from colliding and fixes the CBC-MAC length issue.

28
New cards
term image

B

With x fixed, finding another y with the same hash is a second preimage.

29
New cards
term image

C

Encoding the length makes padding unambiguous, so messages of different lengths cannot pad to the same blocks.

30
New cards
term image

(a) CBC encryption is sequential because each block needs the previous ciphertext. CTR is fully parallel in both directions, since each keystream block is independent and can be precomputed.

(b) In CBC, a flipped bit in C_i garbles all of P_i and flips the same bit in P_(i+1). In CTR, only the corresponding single bit of P_i flips, with no other propagation.

31
New cards
term image

1) Prepend the message length as the first block. Then X is no longer a prefix of X II, since the lengths and therefore the first blocks differ, so the chaining trick fails.

2.) Encrypt the last block with an independent second key K2. The attacker never sees the raw chaining value, so it cannot be XORed in to splice messages together.

32
New cards
term image

It is done using left shifts and conditional XOR with Rb. If the final block is complete, it is XORed with K1. If incomplete, it is padded with a 1 bit followed by zeros and XORed with K2.

33
New cards
term image

HMAC(K,M) = H((K’XOR opad) || H((K’ XOR ipad) || M)). The inner hash processes the message, while the outer hash authenticates the result. Using 2 hashes prevents length-extension attacks associated with simply computing.

34
New cards
term image

MD5 appends a 1 bit, followed by 7 0 bits, to the 440-bit message, bringing it to 448 bits. It then appends the original message length as a 64-bit little-endian integer, resulting in a 512-bit block.

35
New cards
term image

A

36
New cards
term image

B

An SA is identified by SPI, destination IP address, and security protocol.

37
New cards
term image

B

38
New cards
term image

B

SKEYSEED is derived from the Diffie-Hellman shared secret and both nonces, providing the foundation for subsequent encryption and integrity keys.

39
New cards
term image

D

ESP provides confidentiality through encryption, while AH does not.

40
New cards
term image
41
New cards
term image
42
New cards
term image
43
New cards
term image
44
New cards
term image
45
New cards
term image
46
New cards
term image
47
New cards
term image
48
New cards
term image
49
New cards
term image
50
New cards
term image
51
New cards
term image
52
New cards
term image
53
New cards
term image
54
New cards
term image
55
New cards
term image