CAPEC-55 / ATTACK-PATTERN
Rainbow Table Password Cracking
An attacker gets access to the database table where hashes of passwords are stored. They then use a rainbow table of pre-computed hash chains to attempt to look up the original password. Once the original password corresponding to the hash is obtained, the attacker uses the original password to gain access to the system.
- Category
- CAPEC patterns
- Version / scope
- CAPEC 3.9; release 2023-01-24; publisher status Draft
- Affected / relevant technologies
- Publisher platform scope not separately specified
- Evidence
- Documentation: pinned-source excerpt checked. Execution: not tested. Editorial: curated reference.
Defensive analysis and explicitly authorized assessment only. This website performs no scans, exploitation, model calls or infrastructure changes. Indicators below are investigation opportunities, not proof of compromise or guaranteed detectors.
Mechanism and prerequisites
Hash of the original password is available to the attacker. For a better chance of success, an attacker should have more than one hash of the original password, and ideally the whole table. Salt was not used to create the hash of the original password. Otherwise the rainbow tables have to be re-computed, which is very expensive and will make the attack effectively infeasible (especially if salt was added in iterations). The system uses one factor password based authentication.
Potential impact
Confidentiality Access Control Authorization Gain Privileges
Versioned source scope
This record contains normalized, sometimes shortened source excerpts with editorial safety context. Markup and executable example blocks are omitted. Source-field verification does not establish device testing, a working detector or local applicability.
Publisher: MITRE. Release: CAPEC 3.9. Source checked: 2026-11-18.
Source object: CAPEC-55. Object modified: 2022-02-22.
Attribution and source terms (© The MITRE Corporation; reproduced with permission)Detection and investigation
- This is a completely offline attack that an attacker can perform at their leisure after the password hashes are obtained.
Preserve source timestamps, asset identity and collection context. Correlate independent evidence before attributing malicious intent. In OT, review passive evidence with the process owner; do not induce failures, replay commands or write to controllers to test a hypothesis.
Mitigation and response
- Use salt when computing password hashes. That is, concatenate the salt (random bits) with the original password prior to hashing it.
Apply changes through the asset owner's approved change and recovery process. Documentation review is separate from successful testing or verified production protection.
Related technical context
No protocol-specific mapping is asserted for this entry.
Publisher weakness and attack-pattern relationships
These relationships retain the publisher's source attributes and view context; they do not establish that an attack or weakness applies to a particular system.
- CAPEC-55 → CanPrecede → CAPEC-151 Open related reference
- CAPEC-55 → ChildOf → CAPEC-49 Open related reference
- CAPEC-55 → CanPrecede → CAPEC-560 Open related reference
- CAPEC-55 → CanPrecede → CAPEC-561 Open related reference
- CAPEC-55 → CanPrecede → CAPEC-600 Open related reference
- CAPEC-55 → CanPrecede → CAPEC-653 Open related reference
- CAPEC-55 → Related_Weakness → CWE-261 Open related reference
- CAPEC-55 → Related_Weakness → CWE-262 Open related reference
- CAPEC-55 → Related_Weakness → CWE-263 Open related reference
- CAPEC-55 → Related_Weakness → CWE-308 Open related reference
- CAPEC-55 → Related_Weakness → CWE-309 Open related reference
- CAPEC-55 → Related_Weakness → CWE-521 Open related reference
- CAPEC-55 → Related_Weakness → CWE-654 Open related reference
- CAPEC-55 → Related_Weakness → CWE-916 Open related reference
- CWE-261 → Related_Attack_Pattern → CAPEC-55 Open related reference
- CWE-262 → Related_Attack_Pattern → CAPEC-55 Open related reference
- CWE-263 → Related_Attack_Pattern → CAPEC-55 Open related reference
- CWE-308 → Related_Attack_Pattern → CAPEC-55 Open related reference
- CWE-309 → Related_Attack_Pattern → CAPEC-55 Open related reference
- CWE-521 → Related_Attack_Pattern → CAPEC-55 Open related reference
- CWE-654 → Related_Attack_Pattern → CAPEC-55 Open related reference
- CWE-916 → Related_Attack_Pattern → CAPEC-55 Open related reference
Authoritative sources and attribution
Identifiers and source titles belong to OWASP, MITRE, the CVE Program, CISA, NIST or the cited vendor. Source excerpts are attributed and adapted under the linked publisher license; editorial context is separate. This is not an official framework mirror. Review baseline: 2026-11-18. Live documents can change; check exact current applicability.
- https://capec.mitre.org/data/definitions/55.html — Publisher link; not separately HTTP-checked
- capec — source accessed 2026-11-18
Source review supports bounded reference text. It is not execution evidence, a completeness claim, a CVSS assessment, a compliance certification or verification of production security.
