Skip to main content
SAFE EDUCATIONAL SIMULATORS

Attack Simulator Collection

Explore interactive, safe simulations of real-world cryptographic attacks (Brute-Force, Dictionary, ECB Pattern Leakage, Replay Attacks, and Timing Attacks). Understand vulnerabilities and learn industry-standard mitigations.

Brute-ForceRisk: Critical

Brute-Force Key Search

Systematically testing all possible key combinations until the correct key is found.

Educational Explanation:Increasing key sizes (e.g. from 56-bit DES to 256-bit AES) exponentially increases search complexity beyond the computational capability of classical computers.
Key SearchExhaustive
Launch Simulator
Brute-ForceRisk: High

Dictionary & Rainbow Table Attack

Testing common passwords and pre-computed hash lookup tables against credential hashes.

Educational Explanation:Defended using salted password hashes (PBKDF2, Argon2, bcrypt) which invalidate pre-computed lookup tables.
PasswordsPrecomputed
Launch Simulator
CryptanalysisRisk: High

ECB Pattern Leakage Attack

Exploiting deterministic block encryption to reveal plaintext visual structures.

Educational Explanation:Electronic Codebook (ECB) mode encrypts identical plaintext blocks to identical ciphertext blocks. Always use randomized IV modes like CBC or GCM.
Block CipherDeterminism
Launch Simulator
ProtocolRisk: Critical

Replay & Packet Transmission Attack

Intercepting and re-sending valid authenticated messages to duplicate transactions.

Educational Explanation:Mitigated by appending unique nonces, monotonic sequence numbers, or timestamp expiration windows to signed payload streams.
NetworkNonce
Launch Simulator
Side-ChannelRisk: High

Timing Side-Channel Attack

Measuring microsecond execution delays during string comparisons to deduce secret keys.

Educational Explanation:Requires constant-time comparison implementations (`crypto.timingSafeEqual`) to prevent leaking key bytes byte-by-byte.
Side-ChannelExecution Delay
Launch Simulator