By Fatskills Exam Guides Team — the exam nerds behind 28,500+ quizzes and 2.1M practice questions across 500+ global exams.
For CISSP, Security+, CEH, and Real-World Security Roles
Cryptographic attacks exploit weaknesses in encryption, key management, or authentication to steal data, impersonate users, or disrupt systems. These attacks are critical because they bypass security controls that protect confidentiality, integrity, and availability (CIA Triad). For example: - Brute Force: In 2012, LinkedIn suffered a breach where attackers used brute force to crack 6.5 million hashed passwords, leading to credential stuffing attacks.- Man-in-the-Middle (MitM): In 2017, the KRACK attack exploited Wi-Fi WPA2 vulnerabilities to intercept and decrypt traffic between devices and routers.- Replay: In 2018, attackers exploited replay vulnerabilities in Tesla’s key fob system to clone signals and unlock cars.
Understanding these attacks helps you design defenses, detect intrusions, and respond to incidents—key skills for certifications and real-world roles.
Example: Cracking an 8-character password with uppercase, lowercase, and numbers (~218 trillion combinations) using a GPU cluster.
Dictionary Attack: A subset of brute force that uses a precomputed list of common passwords (e.g., "password123") or leaked credentials. Tools: RockYou.txt wordlist, CeWL.
Standard: NIST SP 800-63B recommends banning common passwords to mitigate this.
Rainbow Table Attack: Uses precomputed tables of hash values (e.g., MD5, SHA-1) to reverse-engineer passwords. Defenses: Salting (adding random data to hashes) and peppering (secret key).
Example: Cracking unsalted Windows NTLM hashes with Ophcrack.
Man-in-the-Middle (MitM) Attack: An attacker secretly intercepts and possibly alters communications between two parties who believe they are directly communicating. Variants:
Standard: MITRE ATT&CK T1557 (Adversary-in-the-Middle).
Replay Attack: Captures and retransmits valid data (e.g., authentication tokens, session IDs) to gain unauthorized access. Defenses: Timestamps, nonces (one-time random numbers), sequence numbers.
Example: Replaying a captured RFID badge signal to unlock a door.
Downgrade Attack: Forces a system to use weaker encryption (e.g., TLS 1.0 instead of TLS 1.3) to exploit known vulnerabilities. Example: POODLE attack (SSL 3.0).
Defense: Disable weak protocols (e.g., SSLv3, TLS 1.0/1.1) via NIST SP 800-52.
Side-Channel Attack: Exploits physical implementation flaws (e.g., timing, power consumption, electromagnetic leaks) to extract keys. Example: Spectre/Meltdown (CPU cache attacks).
Defense: Constant-time algorithms, hardware security modules (HSMs).
Birthday Attack: Exploits the birthday paradox to find hash collisions (two inputs with the same hash) faster than brute force. Affects MD5, SHA-1.
Example: Creating a malicious file with the same hash as a legitimate one to bypass integrity checks.
Kerberos Golden Ticket Attack: Forges a Kerberos Ticket Granting Ticket (TGT) to impersonate any user (e.g., domain admin). Tool: Mimikatz.
Defense: Monitor for unusual TGT lifetimes (default: 10 hours) and abnormal authentication patterns.
Pass-the-Hash (PtH): Uses stolen password hashes (e.g., NTLM) to authenticate without cracking them. Tool: Impacket.
Defense: Enforce credential hygiene (e.g., LAPS for local admin passwords).
Padding Oracle Attack: Exploits error messages in block cipher modes (e.g., CBC) to decrypt data. Example: POODLE, BEAST attacks.
Defense: Use authenticated encryption (e.g., AES-GCM).
Cryptographic Agility: The ability to quickly switch algorithms or key lengths (e.g., from RSA-2048 to RSA-4096) in response to new threats. Required by NIST SP 800-131A.
--script ssl-enum-ciphers
openssl s_client -connect example.com:443
Strict-Transport-Security
state
sourcetype=authentication action=failure | stats count by src_ip
PurpleElephant$Jumping2024!
/dev/urandom
A) Brute Force B) Man-in-the-Middle C) Replay D) Downgrade ✅ Answer: C) ReplayExplanation: Replay attacks involve retransmitting valid data (e.g., tokens, session IDs) to impersonate a user.
A) Disable the account B) Implement account lockout after 5 failed attempts C) Block the IP address at the firewall D) Enforce password complexity ✅ Answer: C) Block the IP address at the firewallExplanation: Blocking the IP is the fastest way to stop a brute force attack in progress. Account lockout (B) is a good long-term control but doesn’t stop the current attack.
A) Replay B) Downgrade C) Side-Channel D) Birthday ✅ Answer: B) DowngradeExplanation: Downgrade attacks force systems to use weaker encryption (e.g., TLS 1.0) to exploit vulnerabilities (e.g., POODLE).
Join 4M+ learners. Unlock unlimited quizzes, wrong-answer tracking, flashcards + reminders, study guides, and 1-on-1 challenges.