Ransomware and Basic Applied Cryptography

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

1/17

encourage image

There's no tags or description

Looks like no tags are added yet.

18 Terms

1
New cards

What are the main high ideas in crypto?

  • Symmetric/shared key encryption

  • Asymmetric/ public key encryption

  • Digital signatures

  • Hashing


2
New cards

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


3
New cards

Definition: Cryptology

The science of secret information

4
New cards

What is cryptology used for?

  • Protecting data using secret keys

  • Tool for maintaining cybersecurity

  • Prevent damage

  • Punish/deter corruption

  • Be computationally impossible to crack


5
New cards

Definition: Block cipher

A shared key with a fixed input/ output size used to encrypt data

Splits the data into chunks (blocks)

6
New cards

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)


7
New cards

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


8
New cards

What are the two main encryption types?

AES and Public Key Encryption

9
New cards

How does AES work?

  • A symmetric form of encryption

  • Generates keys that are 128/192/256 bits long


10
New cards

Benefits of AES?

  • Can encrypt data of any size/length

  • Same key is used for encryption and decryption


11
New cards

Downsides of AES?

Both parties must know the key values beforehand. Otherwise, there is a risk of someone unauthorized getting access to the key

12
New cards

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


13
New cards

Benefits of PKC?

  • Anyone can send a message using it

  • Computationally impossible to crack


14
New cards

Downsides of PKC?

Very slow → since a private key has to be generated, there are increased bits that have to be processed

15
New cards

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


16
New cards

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


17
New cards

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



18
New cards

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