1/17
Looks like no tags are added yet.
What are the main high ideas in crypto?
Symmetric/shared key encryption
Asymmetric/ public key encryption
Digital signatures
Hashing
What can crypto be used for?
To explain how ransomware uses encryption to hold data
To explain how hashing and signatures can be used against ransomware
Definition: Cryptology
The science of secret information
What is cryptology used for?
Protecting data using secret keys
Tool for maintaining cybersecurity
Prevent damage
Punish/deter corruption
Be computationally impossible to crack
Definition: Block cipher
A shared key with a fixed input/ output size used to encrypt data
Splits the data into chunks (blocks)
What is the easiest encryption protocol?
One Time Pad (OTP)
Generates a one-time, random key of the same length as the input
Uses XOR (flips the bit values)
Downsides of OTP?
Key MUST be the same size of the input → can be slow if a large input
Keys cannot be reused
Keys aren’t stored anywhere
What are the two main encryption types?
AES and Public Key Encryption
How does AES work?
A symmetric form of encryption
Generates keys that are 128/192/256 bits long
Benefits of AES?
Can encrypt data of any size/length
Same key is used for encryption and decryption
Downsides of AES?
Both parties must know the key values beforehand. Otherwise, there is a risk of someone unauthorized getting access to the key
How does Public Key Encryption work?
A public key is used to encrypt messages - anyone can use it to encrypt/ send encrypted messages
A private key is generated to decrypt the messages
only accessible to those that are authorized to read the message
RSA was the first version created
Benefits of PKC?
Anyone can send a message using it
Computationally impossible to crack
Downsides of PKC?
Very slow → since a private key has to be generated, there are increased bits that have to be processed
How does hybrid encryption work?
Combines PKC and AES
Generates a random key
Generates a symmetric key via AES
Using a public key, encrypts the symmetric key
Definition: Ransomware
A type of malware that tricks users into opening files that then encrypt all of their data and demands for payment to the decryption key
Has a key inside the system
Outcomes of ransomware depending on type?
Using a normal, plaintext key → can be reverse engineered to decrypt files
Using a public key → cannot be used to decrypt files BUT
can be terminated by the user before damage is done since it is slow
Using hybrid encryption → ggs gang
How can cryptology be used to avoid malware?
Using public keys → no worry if someone finds the encryption key, only worry about decryption key
Hashing → stores data in a way that is almost impossible to figure out computationally
collision resistance
pre-image resistance