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:
Generate a public/private key pair.
Put the public key into the CSR.
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?