Brute Force Attack
A brute force attack is a trial-and-error method of cracking passwords, login credentials, or encryption keys by systematically attempting all possible combinations.
Updated
Overview
Attackers use brute force to gain access to accounts when passwords are unknown or when they have obtained password hashes. The guessing can run against a service that checks whether the credentials are valid, or offline against previously acquired credential data such as password hashes. MITRE ATT&CK lists brute force as technique T1110 under the credential access tactic, with four sub-techniques: password guessing, password cracking, password spraying, and credential stuffing.
In a dictionary attack, a type of brute force attack, the guesses come from lists of words, phrases, or commonly used passwords. Brute forcing can happen at various points during a breach, as part of initial access against external remote services or later against valid accounts inside a victim environment.
In logs, brute forcing shows up as a high volume of failed logon attempts, sometimes followed by a successful one, or as multiple authentication failures followed by success from the same IP address or user.
Defenses include account lockout after a set number of failed login attempts, multi-factor authentication on externally facing services, conditional access policies that block logins from non-compliant devices or from outside defined organization IP ranges, and password policies that follow NIST guidelines. A lockout policy that is too strict can create a denial of service condition, with every account used in the attack locked out.
Similar Terms
1 termFrequently Asked Questions
What is the difference between a brute force attack and a dictionary attack?→
A dictionary attack is a type of brute force attack. Instead of attempting all possible combinations, it guesses from lists of words, phrases, or commonly used passwords.
What is password spraying?→
Password spraying tests a single weak password against a large number of different accounts. MITRE ATT&CK lists it as a sub-technique of brute force.
How do you stop brute force attacks?→
Lock accounts after a number of failed login attempts, use multi-factor authentication on externally facing services, apply conditional access policies, and follow NIST guidelines for password policies. Set lockout carefully, since a policy that is too strict can create a denial of service condition.
Related
Tool categories
Glossary terms
Sources
Definitions follow the government and standards body sources listed above. This site is not affiliated with the agencies or organizations cited.