General Security Concepts: Examining Encryption Solutions Flashcards

1
Q

What is encrytion?

A

Encryption is the process of converting plaintext into scrambled output called ciphertext. A cipher is a mathematical method you use to convert plaintext into ciphertext.

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

What are different types of Encryptions?

A

Block cipher: A symmetric-key encryption algorithm that encrypts data in fixed-size blocks by breaking it into chunks for processing.

Stream cipher: A symmetric-key encryption algorithm that encrypts data bit by bit or byte by byte. It provides continuous encryption and decryption of data streams.

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

What are the different levelsof encryption you apply?

A

Full-disk: Encrypts the entire contents of a disk.

Partition: Encrypts an isolated partition on a single disk.

File: Encrypts a file within an operating system.

Volume: Encrypts a logical disk. A volume can span multiple physical disks.

Database: Encrypts a database instance.

Record: Encrypts a set of data stored in a table that’s within a database.

Note: It’s important to note that encrypted network channels should always be used for transport and communication.

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

What is Asymmetric encryption?

A

Asymmetric, which is an encryption method that uses two mathematically aligned keys, known as a key pair (public/private keys) for encryption and decryption.

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

What is Symmetric?

A

Symmetric, which is an encryption method that uses a single key for encryption and decryption.

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

How is an encryption key structured?

A

Encryption keys are generated by algorithms, which are mathematical formulas used to perform encryption, decryption, and other security-centric operations. Here are some important definitions with respect to encryption keys:

Shared key or preshared key (including passwords): This is a cryptographic key that’s used for encryption and decryption. It must be kept confidential between authorized parties to maintain the security of encrypted communications or data.

Key exchange: The secure process of sharing cryptographic keys between parties to enable encrypted communication.

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

What are the effects of Key lengths?

A

Key length: This refers to the size of the cryptographic key. Larger keys are potentially more secure than shorter key lengths. However, longer keys require more processing power.

Small:
Weakers
Less CPU power
Faster

Large:
Stronger
More CPU
Slower

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

What is key stretching in terms of encryption methods used?

A

Key stretching: This strengthens the resiliency of a cryptographic key to brute force attacks. By applying a hash function or block cipher to the key repeatedly, you increase its length and complexity, thereby making it more resistant to attacks such as brute force.

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

What is salting in terms of encryption methods used?

A

Salting: This is the process of adding an extra piece of data to a password before its run through a hashing algorithm.

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

How do you manage these keys?

A

Key management system (cryptographic tool): Manages cryptographic keys and metadata.

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

What are the tools that is used for cryptography?

A

TPM
HSM
Secure Enclaves

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

What is the TPM tool used for?

A

TPM: A hardware-based security component that stores cryptographic keys, certificates, and sensitive data, and secure storage for credentials and encryption keys

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

What is the HSM tool used for?

A

HSM: A dedicated hardware device or appliance that provides secure key storage, management, and cryptographic operations. Hardware Secure Module. Movable TPM - (Dedicated box instead inbuilt in the host)

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

What is the tool secure enclaves used for?

A

Secure enclaves: A trusted and isolated environment within a system’s hardware or software that protects sensitive data and cryptographic operations. (Virtualization as an example)

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