---
title: "CAPEC-49: Password Brute Forcing"
url: https://radicalnotion.ai/capec/capec-49
type: capec
description: "An adversary tries every possible value for a password until they succeed. A brute force attack, if feasible computationally, will always be successful because it will essentially go through all possible passwords given the alphabet used (lower case letters, upper case letters, numbers, symbols, etc.) and the maximum length of the password."
updated: 2026-06-01
source: RadicalNotion.AI
license: CC BY-NC 4.0 (https://creativecommons.org/licenses/by-nc/4.0/)
---

# CAPEC-49: Password Brute Forcing

- **Abstraction:** Standard
- **Status:** Draft
- **Typical severity:** High
- **Likelihood of attack:** Medium
- **CAPEC catalog version:** 3.9

## Description

An adversary tries every possible value for a password until they succeed. A brute force attack, if feasible computationally, will always be successful because it will essentially go through all possible passwords given the alphabet used (lower case letters, upper case letters, numbers, symbols, etc.) and the maximum length of the password.

A system will be particularly vulnerable to this type of an attack if it does not have a proper enforcement mechanism in place to ensure that passwords selected by users are strong passwords that comply with an adequate password policy. In practice a pure brute force attack on passwords is rarely used, unless the password is suspected to be weak. Other password cracking methods exist that are far more effective (e.g. dictionary attacks, rainbow tables, etc.). Knowing the password policy on the system can make a brute force attack more efficient. For instance, if the policy states that all passwords must be of a certain level, there is no need to check smaller candidates.

## Execution flow

### Step 1: Explore

\[Determine application's/system's password policy\] Determine the password policies of the target application/system.

- Determine minimum and maximum allowed password lengths.
- Determine format of allowed passwords (whether they are required or allowed to contain numbers, special characters, etc.).
- Determine account lockout policy (a strict account lockout policy will prevent brute force attacks).

### Step 2: Exploit

\[Brute force password\] Given the finite space of possible passwords dictated by the password policy determined in the previous step, try all possible passwords for a known user ID until application/system grants access.

- Manually or automatically enter all possible passwords through the application/system's interface. In most systems, start with the shortest and simplest possible passwords, because most users tend to select such passwords if allowed to do so.
- Perform an offline dictionary attack or a rainbow table attack against a known password hash.

## Prerequisites

- An adversary needs to know a username to target.
- The system uses password based authentication as the one factor authentication mechanism.
- An application does not have a password throttling mechanism in place. A good password throttling mechanism will make it almost impossible computationally to brute force a password as it may either lock out the user after a certain number of incorrect attempts or introduce time out periods. Both of these would make a brute force attack impractical.

## Skills required

- **Low:** A brute force attack is very straightforward. A variety of password cracking tools are widely available.

## Resources required

- A powerful enough computer for the job with sufficient CPU, RAM and HD. Exact requirements will depend on the size of the brute force job and the time requirement for completion. Some brute forcing jobs may require grid or distributed computing (e.g. DES Challenge).

## Indicators

- Many incorrect login attempts are detected by the system.

## Consequences

| Scope | Impact | Note |
| --- | --- | --- |
| Confidentiality, Access Control, Authorization | Gain Privileges | - |
| Confidentiality | Read Data | - |
| Integrity | Modify Data | - |

## Mitigations

- Implement a password throttling mechanism. This mechanism should take into account both the IP address and the log in name of the user.
- Put together a strong password policy and make sure that all user created passwords comply with it. Alternatively automatically generate strong passwords for users.
- Passwords need to be recycled to prevent aging, that is every once in a while a new password must be chosen.

## Example instances

A system does not enforce a strong password policy and the user picks a five letter password consisting of lower case English letters only. The system does not implement any password throttling mechanism. Assuming the adversary does not know the length of the users' password, an adversary can brute force this password in maximum 1+26+26^2+26^3+26^4+26^5 = 1 + 26 + 676 + 17576 + 456976 + 11,881,376 = 12,356,631 attempts, and half these tries (6,178,316) on average. Using modern hardware this attack is trivial. If the adversary were to assume that the user password could also contain upper case letters (and it was case sensitive) and/or numbers, than the number of trials would have been larger. An adversary's job would have most likely been even easier because many users who choose easy to brute force passwords like this are also likely to use a word that can be found in the dictionary. Since there are far fewer valid English words containing up to five letters than 12,356,631, an attack that tries each of the entries in the English dictionary would go even faster.

A weakness exists in the automatic password generation routine of Mailman prior to 2.1.5 that causes only about five million different passwords to be generated. This makes it easy to brute force the password for all users who decided to let Mailman automatically generate their passwords for them. Users who chose their own passwords during the sign up process would not have been affected (assuming that they chose strong passwords). See also: CVE-2004-1143

## Related weaknesses (CWE)

- [CWE-257](https://radicalnotion.ai/cwe/cwe-257): Storing Passwords in a Recoverable Format
- [CWE-262](https://radicalnotion.ai/cwe/cwe-262): Not Using Password Aging
- [CWE-263](https://radicalnotion.ai/cwe/cwe-263): Password Aging with Long Expiration
- [CWE-307](https://radicalnotion.ai/cwe/cwe-307): Improper Restriction of Excessive Authentication Attempts
- [CWE-308](https://radicalnotion.ai/cwe/cwe-308): Use of Single-factor Authentication
- [CWE-309](https://radicalnotion.ai/cwe/cwe-309): Use of Password System for Primary Authentication
- [CWE-521](https://radicalnotion.ai/cwe/cwe-521): Weak Password Requirements
- [CWE-654](https://radicalnotion.ai/cwe/cwe-654): Reliance on a Single Factor in a Security Decision

## Related attack patterns

| Relationship | CAPEC | Name |
| --- | --- | --- |
| Parent | [CAPEC-112](https://radicalnotion.ai/capec/capec-112) | Brute Force |
| Child | [CAPEC-16](https://radicalnotion.ai/capec/capec-16) | Dictionary-based Password Attack |
| Child | [CAPEC-55](https://radicalnotion.ai/capec/capec-55) | Rainbow Table Password Cracking |
| Child | [CAPEC-70](https://radicalnotion.ai/capec/capec-70) | Try Common or Default Usernames and Passwords |
| Child | [CAPEC-565](https://radicalnotion.ai/capec/capec-565) | Password Spraying |
| Can precede | [CAPEC-151](https://radicalnotion.ai/capec/capec-151) | Identity Spoofing |
| Can precede | [CAPEC-560](https://radicalnotion.ai/capec/capec-560) | Use of Known Domain Credentials |
| Can precede | [CAPEC-561](https://radicalnotion.ai/capec/capec-561) | Windows Admin Shares with Stolen Credentials |
| Can precede | [CAPEC-600](https://radicalnotion.ai/capec/capec-600) | Credential Stuffing |
| Can precede | [CAPEC-653](https://radicalnotion.ai/capec/capec-653) | Use of Known Operating System Credentials |

## Taxonomy mappings

| Taxonomy | Entry | Id |
| --- | --- | --- |
| ATTACK | Brute Force:Password Guessing | 1110.001 |

## Frequently asked questions

### What is CAPEC-49?

An adversary tries every possible value for a password until they succeed. A brute force attack, if feasible computationally, will always be successful because it will essentially go through all possible passwords given the alphabet used (lower case letters, upper case letters, numbers, symbols, etc.) and the maximum length of the password.

### How does a Password Brute Forcing attack work?

It typically unfolds over 2 phases. It begins with: \[Determine application's/system's password policy\] Determine the password policies of the target application/system.

### How do you prevent CAPEC-49?

Implement a password throttling mechanism. This mechanism should take into account both the IP address and the log in name of the user.

### What weaknesses does CAPEC-49 target?

CAPEC-49 exploits 8 CWE weaknesses, including CWE-257 (Storing Passwords in a Recoverable Format), CWE-262 (Not Using Password Aging), CWE-263 (Password Aging with Long Expiration) and CWE-307 (Improper Restriction of Excessive Authentication Attempts).

### How severe is CAPEC-49?

MITRE rates CAPEC-49 as High severity with medium likelihood of attack.

Primary source: [MITRE CAPEC](https://capec.mitre.org/data/definitions/49.html)

---

Source: [RadicalNotion.AI](https://radicalnotion.ai/capec/capec-49). Licensed CC BY-NC 4.0; attribute RadicalNotion.AI and link the source page when you reuse this data.
