NEW
Also known as: COA
A cryptanalytic scenario where the attacker has only ciphertexts and seeks to recover plaintexts or keys.
DESCRIPTION
In a ciphertext-only attack, adversaries possess encrypted data without corresponding plaintext or oracle access. Secure schemes aim for strong security even under COA, though many classic ciphers failed under statistical analysis. Modern designs target stronger models like CPA and CCA security. Defense focuses on robust algorithms, large key spaces, and proper randomness. Poor key management or predictable plaintext structures can still aid attackers.
ALTERNATIVE DEFINITIONS
Wikipedia
In cryptanalysis, a ciphertext-only attack (COA) is an attack model where the attacker is assumed to have access only to a set of ciphertexts.
Defines the attack model by limiting adversary capabilities.
NIST Computer Security Resource Center
A cryptanalytic attack in which only ciphertext is available.
Concise formal definition from a security glossary.
RELATED TERMS
Chosen-Plaintext Attack Chosen-Ciphertext Attack Brute-Force Attack Differential Cryptanalysis Side-Channel Attack Kerckhoffs’s Principle Cryptanalysis Linear Cryptanalysis
COMPETING TERMS
RELATIONS
- Broader: Cryptanalysis
KNOWLEDGE AREAS
Data Security Testing & Validation
TARGET AUDIENCE
Cybersecurity Engineer Security Architect Chief Information Security Officer Software Developer IT Auditor
EXTERNAL SOURCES
- Wikipedia - Ciphertext-only attack
- RFC 4949 Internet Security Glossary - Standardized security glossary
- Ross Anderson (Security Engineering) - Textbook on attack models
TOP QUESTIONS
How practical are Ciphertext-Only Attacks today?
Against modern ciphers with proper use, COAs are impractical. Weak algorithms or poor configurations can still be vulnerable.
Category: Relevancy
What classic systems failed under COA?
Simple substitution and monoalphabetic ciphers succumb to frequency analysis with sufficient ciphertext.
Category: Example
How does COA compare to CPA and CCA?
COA assumes the least attacker power; CPA and CCA are stronger models modern schemes aim to resist.
Category: Comparison
What design features help resist COA?
Strong diffusion, confusion, large key spaces, and proper randomness limit exploitable patterns.
Category: Requirements
Can predictable plaintext patterns aid COA?
Yes. Known file headers or formats can reduce search space even without plaintext samples.
Category: Risks
Does encrypting twice prevent COA?
Not necessarily; composition can introduce vulnerabilities. Use vetted AEAD schemes instead.
Category: Misunderstanding
How much ciphertext is needed for COA?
It depends on the cipher. Simple ciphers may need modest amounts; modern ciphers remain secure regardless.
Category: Opinion
What role do IVs play against COA?
Random IVs ensure identical plaintexts produce different ciphertexts, thwarting pattern analysis.
Category: BestPractices
Is base64 encoding susceptible to COA?
Base64 isn’t encryption; it provides no security, so COA is irrelevant.
Category: Misunderstanding