Module 2


1. Cryptography

πŸ”΄ Asymmetric Encryption

Uses a public key and private key.

  • Public key β†’ can be shared.

  • Private key β†’ must be protected.

  • The keys work together for encryption, authentication, and digital signatures.

🧠 Memory: Public = share it. Private = protect it.

πŸ”΄ Symmetric Encryption

Uses the same secret key to encrypt and decrypt data.

Examples:

  • AES β†’ symmetric encryption.

  • DHE β†’ helps establish a shared symmetric key without directly sending the key.

πŸ”΄ DHE

Diffie-Hellman Ephemeral

Allows two parties to establish a shared secret without transmitting the actual secret key.

🧠 Exam clue:
If the question says an attacker might capture a symmetric key, look for DHE.

πŸ”΄ Secure Enclave

A protected area on a workstation/device used to protect sensitive information such as cryptographic keys.

⚠ For your course's question specifically:

Protect cryptographic key data on a user's workstation β†’ Secure Enclave

🟑 TPM

Trusted Platform Module

Hardware security component that provides cryptographic functions and secure storage.

🟑 HSM

Hardware Security Module

Dedicated hardware designed to securely generate, store, and manage cryptographic keys.


2. Hashing and Password Security

πŸ”΄ Hashing

A one-way process that converts data into a fixed-length hash value.

Commonly used for password storage.

πŸ”΄ Salting

Adds a unique random value to a password before hashing.

Purpose: Makes password-cracking attacks more difficult, especially attacks using precomputed hashes.

🧠 Salt = extra randomness added before hashing.

🟑 Key Stretching

Makes password-based key generation more computationally expensive.

Purpose: Slow down password attacks.

πŸ”΄ SHA

A family of hashing algorithms.

⚠ SHA is not encryption.

πŸ”΄ AES

A symmetric encryption algorithm.

🟑 RSA

An asymmetric cryptographic algorithm.


3. Certificates and PKI

πŸ”΄ Private Key Compromise

If an SSL/TLS private key is stolen, the associated certificate should be revoked.

The certificate should be submitted to the CA's:

CRL β€” Certificate Revocation List

πŸ”΄ CRL

A list maintained by a Certificate Authority containing certificates that have been revoked.

🧠 Stolen private key β†’ revoke certificate β†’ CRL

πŸ”΄ CSR

Certificate Signing Request

A request used when obtaining a digital certificate.

Before creating a CSR:

  1. Generate a public/private key pair.

  2. Put the public key into the CSR.

  3. Never send the private key with the CSR.

🧠 CSR = Public goes in, Private stays private.


4. Data Obfuscation / Hiding

πŸ”΄ Steganography

Hides data inside another file or medium.

Example: hiding confidential information inside an image.

This can make the information difficult for a DLP system to detect.

🟑 Tokenization

Replaces sensitive information with a non-sensitive token representing the original data.

🟑 Data Masking

Obscures sensitive information so the original data isn't directly visible.

🟑 DLP

Data Loss Prevention

Helps detect and prevent unauthorized movement or disclosure of sensitive information.

🧠 Steganography = hide the data.


5. Social Engineering / Threat Vectors

πŸ”΄ Phishing

Fraudulent emails or messages designed to trick users.

Common examples:

  • Malicious links

  • Malicious attachments

  • Fake websites

  • Credential theft

Your missed question:
Employees receive emails appearing to be from the company president that direct them to a malicious website β†’ Phishing

⚠ This is important because impersonation may be used as part of phishing, but the course question classified the overall attack as phishing.


πŸ”΄ Impersonation

An attacker pretends to be another person or entity.

Example:

  • Pretending to be the company president.

πŸ”΄ Phishing vs. Impersonation

Phishing β†’ fraudulent message/communication used to trick someone.

Impersonation β†’ pretending to be someone else.

🧠 Think:
Phishing = the message/attack
Impersonation = who they're pretending to be


🟑 Pretexting

Creating a believable story or scenario to convince someone to provide information or perform an action.

🧠 Pretext = made-up story.


🟑 Watering Hole

An attacker compromises a website that the intended victims are known to visit.

🧠 Watering hole = poison the place the victims already visit.


6. Business Email Compromise

πŸ”΄ BEC

Business Email Compromise

An attacker uses a fraudulent business email to trick an employee into performing an action, often transferring money.

Example:

Fake CEO β†’ accounting department β†’ fraudulent wire transfer.

🧠 BEC = business email + money/action.


7. Threat Actors

πŸ”΄ Insider

A person with legitimate access to an organization's systems who may misuse that access.

Example:

  • Employee resigns β†’ organization immediately disables sensitive system access.

πŸ”΄ Organized Crime

Threat actors primarily motivated by financial profit, fraud, or other criminal activity.

Your course questions specifically associate organized crime with attackers who may move attacks between states to evade law enforcement.

πŸ”΄ Hacktivist

Attackers motivated by ideological, political, or social causes.

Example:

  • Coordinated attacks intended to damage an organization's reputation without financial demands.

🟑 Nation-State

Threat actors associated with or supported by a government, often pursuing national strategic objectives.


8. Network Threat Vectors

πŸ”΄ Open Service Ports

A system has network services listening and accessible through open ports.

Examples from the question:

  • FTP

  • SMTP

  • IMAP

Open ports can increase the attack surface.

πŸ”΄ Default Credentials

Systems that still use default usernames/passwords or other default authentication settings.

⚠ If a question says a device allows authentication without needing to crack a password, think about default credentials.


9. Supply Chain

πŸ”΄ Supply Chain

The collection of suppliers, vendors, products, services, and components that an organization depends on.

Supply-chain security considers risks introduced by suppliers and third parties.

🧠 Supply chain = everything you depend on from outside your organization.


10. Unsupported / Unpatchable Systems

πŸ”΄ Unsupported System

A system that no longer receives normal security updates or patches.

πŸ”΄ Unpatchable Legacy System

An older system that cannot be patched or updated.

If it cannot be patched, a major mitigation is:

Isolate the computer from the corporate network.

🧠 Can't patch it? Separate it.


11. Security Concepts From Earlier Quiz Questions

πŸ”΄ Compensating Control

An alternative control used when the primary control isn't practical or viable.

Example:

Recommended firewall is too expensive/complicated β†’ implement another control that provides appropriate protection.

πŸ”΄ CIA Triad

Confidentiality β†’ prevents unauthorized disclosure.

Integrity β†’ protects against unauthorized modification.

Availability β†’ ensures authorized access when needed.

🧠 CIA:

  • C = Can they see it?

  • I = Is it changed?

  • A = Can they access it?

πŸ”΄ Non-repudiation

Provides evidence that an action occurred so a subject cannot later deny performing it.

🧠 "You can't say you didn't do it."


12. AAA

πŸ”΄ Identification

Claims an identity.

Example: username.

πŸ”΄ Authentication

Proves an identity.

Example: password.

πŸ”΄ Authorization

Determines what the authenticated user is allowed to access.

πŸ”΄ Accounting

Tracks and records user activity.

🧠 AAA sequence:

Identification β†’ Authentication β†’ Authorization β†’ Accounting

Who are you? β†’ Prove it β†’ What can you access? β†’ What did you do?