GRC Careers

HomeResourcesBrute Force Attacks

CS-029 · Passwords & Authentication

Brute Force Attacks

Systematically trying many secrets until one works, defeated by length and rate limits.

Executive Summary

A brute force attack systematically tries many possible secrets until the correct one is found. It can run online against a live login or offline against stolen password hashes. The defense is mathematical and procedural. Long, unpredictable secrets make the number of possibilities impractical, while rate limiting, lockout, slow hashing, and MFA make each attempt slow or unhelpful.

What It Is

Brute force is the most direct guessing attack. In its purest form it tries every possible combination of characters until it lands on the right one, but pure exhaustion is rarely practical against long secrets, so attackers use smarter variants. A dictionary attack tries lists of likely passwords and common words. A hybrid attack adds predictable modifications such as appending numbers or swapping letters for symbols. Brute force comes in two settings. Online attacks submit guesses to a live system and are limited by its speed and defenses. Offline attacks run against stolen password hashes on the attacker's own hardware, where they can test enormous numbers of guesses per second.

Why It Matters

Brute force is a constant background threat and a benchmark for how strong a secret needs to be. Its feasibility depends entirely on the length and randomness of the secret and on how the system stores and rate limits attempts. Short or predictable passwords fall quickly, while long random ones remain out of reach even to fast offline cracking. Weak password storage, such as fast unsalted hashing, hands attackers a huge advantage after a breach. For a professional, brute force explains why modern guidance stresses length, slow salted hashing, rate limiting, and MFA, and it is fundamental to reasoning about credential strength.

How It Works

In an online attack, the attacker submits guesses to the login endpoint, so the system's rate limits, lockout, and MFA directly constrain how many guesses are possible and whether success even helps. This is slow and noisy, which is why attackers often prefer offline cracking. There they obtain a database of password hashes and run cracking software on powerful hardware, testing billions of candidates against the hashes. If the hashes were made with a fast function or without salts, cracking is far easier. Defenders raise the cost by using long secrets that expand the search space, slow memory hard salted hashing that limits guesses per second, and MFA so a cracked password alone is insufficient.

Architecture Diagram

Generate candidate secretsTest against login or stolen hashesSlow hashing and rate limits cap the rateLong random secrets keep the space impractical
Guesses are generated and tested until one matches, so defenses aim to slow each attempt and enlarge the space.

Visual Workflow

Attacker chooses online guessing or offline cracking of stolen hashes.Candidate secrets are generated by exhaustion, dictionary, or hybrid rules.Each candidate is tested against the target or the hash database.Online attempts are throttled by rate limits, lockout, and MFA.Offline attempts run at high speed unless slow salted hashing was used.Defenders enlarge the search space and slow each attempt to make it infeasible.

Common Attacks

Common Mistakes

Best Practices

Quick Checklist

Recommended Tools

Rate limiting and lockout controls
Slow or stop online guessing at the login endpoint
Slow password hashing library
Limits how many offline guesses per second are possible
Breached and common password screening
Blocks the dictionary candidates attackers try first
Authenticator app or security key
Ensures a cracked password alone cannot grant access

Industry Standards

NIST SP 800-63B
Emphasizes length, breach screening, and rate limiting over forced complexity
OWASP Authentication Cheat Sheet
Guidance on password storage, rate limiting, and lockout
OWASP Password Storage Cheat Sheet
Specifies slow, salted, memory hard hashing to resist offline cracking

Career Relevance

Brute force resistance is core to identity engineering, security operations, and penetration testing. Security engineers configure rate limiting, lockout, and slow hashing; SOC analysts detect and respond to guessing campaigns; penetration testers demonstrate weak credential storage; and GRC analysts verify controls against frameworks. The mathematics of why length beats complexity, and why slow salted hashing matters, is foundational knowledge for the roles AI-Governance-Jobs.com serves.

Interview Questions

Related Certifications

CompTIA Security+ ISC2 Certified in Cybersecurity (CC) ISC2 SSCP

Further Reading

Key Takeaways

Download PDFDownload PNG

FAQ

Why is offline brute force more dangerous than online?

Offline cracking runs on the attacker's own hardware against stolen hashes, with no rate limits or lockout in the way, so it can test enormous numbers of guesses per second. Slow, salted hashing and long secrets are what keep it infeasible.

How long does a password need to be to resist brute force?

Longer is always better, because each added character multiplies the possibilities. Modern guidance favors generous length and passphrases precisely so exhaustion becomes impractical even at high cracking speeds.

Is a dictionary attack a kind of brute force?

Yes. It is a smarter, faster variant that tries likely words and known passwords first instead of every possible combination, which is why screening against dictionaries and breached lists is an effective defense.

Get all 116 reference sheets
The complete AGJ Cybersecurity Professional Reference Library, print-ready PDFs and PNGs.
Browse the library

Related Careers

Related certifications

CompTIA Security+ISC2 Certified in Cybersecurity (CC)ISC2 SSCP

Current openings

Live openings appear on the web version. Browse the job board for current GRC and security roles.
Browse all jobs

Suggested learning path

  1. Ground the basics with CS-001 Cybersecurity
  2. Study this sheet: Brute Force Attacks
  3. Go deeper: Passwords
  4. Go deeper: Password Spraying
  5. Validate it: work toward CompTIA Security+
  6. Find the role: browse current openings

Related sheets

More in Passwords & Authentication

Share this LinkedIn Facebook X Email