Common Types of Password Attacks and How to Prevent Them

Common password attacks include brute force (trying every combination), dictionary attacks (trying common words and passwords), password spraying (one common password against many accounts), credential stuffing (reusing leaked username and password pairs), offline cracking of stolen password hashes, phishing, keyloggers and infostealer malware, and MFA fatigue.

Jul 04, 2025 - 11:15
Updated: 
101.8k

Active Directory & Identity Security in Cybersecurity & Ethical Hacking · Tutorial

Ethical Hacking

Common Types of Password Attacks and How to Prevent Them

Quick answer: Common password attacks include brute force (trying every combination), dictionary attacks (trying common words and passwords), password spraying (one common password against many accounts), credential stuffing (reusing leaked username and password pairs), offline cracking of stolen password hashes, phishing, keyloggers and infostealer malware, and MFA fatigue. Prevent them with long unique passwords stored in a password manager, multi-factor authentication (ideally passkeys or security keys), checks against breached passwords, login rate limiting and lockout, and strong password hashing such as Argon2id or bcrypt on the server side.

Key takeaways

  • Reused passwords make credential stuffing easy; use a unique password per site.
  • Length beats complexity rules; NIST favours long passphrases.
  • MFA stops most password-only attacks; phishing-resistant MFA stops even more.
  • Servers must hash passwords with slow algorithms and salts.
  • Monitor for spraying and stuffing patterns across many accounts.

Table of Contents

What Are the Main Password Attacks?

AttackHow it worksMITRE ATT&CK
Brute forceTries many combinations against one accountT1110.001
DictionaryUses lists of common passwords and wordsT1110.001
Password sprayingTries a few common passwords across many accountsT1110.003
Credential stuffingReuses leaked credentials from other breachesT1110.004
Offline crackingGuesses against stolen password hashesT1110.002
PhishingTricks users into entering passwords on fake sitesT1566
Infostealers and keyloggersMalware steals saved or typed passwordsT1555
MFA fatigueFloods users with push prompts after stealing a passwordT1621
Default credentialsUses factory passwords on devicesT1078.001

What Is Offline Password Cracking?

When attackers steal a database of password hashes, they can guess passwords on their own hardware without any lockout. Fast, unsalted hashes such as MD5 or SHA-1 make this easy; slow, salted algorithms make each guess expensive. That is why the OWASP Password Storage Cheat Sheet recommends Argon2id, scrypt or bcrypt.

How Can Individuals Protect Their Passwords?

  1. Use a password manager to create long, unique passwords for every account.
  2. Turn on MFA everywhere; prefer passkeys or security keys.
  3. Check whether your passwords appear in breaches with Pwned Passwords.
  4. Never enter passwords from links in messages; go to the site directly.
  5. Reject unexpected MFA prompts and report them.

How Should Organisations Defend Logins?

ControlStops
Phishing-resistant MFA (CISA)Phishing, stuffing, spraying
Breached and common password blockingDictionary and stuffing
Rate limiting and smart lockoutBrute force and spraying
Number matching for push MFAMFA fatigue
Changing default credentialsDevice takeover
EDR and browser password policiesInfostealers

NIST SP 800-63B Rev. 4 recommends allowing long passwords, checking them against compromised lists, and not forcing periodic changes. The OWASP Authentication Cheat Sheet covers implementation.

How Should Passwords Be Stored?

# Python: hash and verify with Argon2id (argon2-cffi library)
from argon2 import PasswordHasher
ph = PasswordHasher()
stored = ph.hash("correct horse battery staple")
ph.verify(stored, "correct horse battery staple")   # raises an error if wrong

Never store passwords in plain text or with fast unsalted hashes.

How Do You Detect Password Attacks?

  • Many failed logins from one IP across many accounts (spraying).
  • Logins with valid passwords from unusual locations or devices (stuffing).
  • Bursts of MFA prompts for one user.
  • Windows event IDs 4625 (failed logon) and 4771 (Kerberos pre-authentication failed) in the SIEM.

Related: modern authentication methods and passkeys. WebAsha offers ethical hacking and identity security training.

References

Frequently Asked Questions

Brute force, dictionary attacks, password spraying, credential stuffing, offline cracking, phishing and infostealer malware.

Trying a few common passwords against many accounts to avoid lockouts that would trigger on a single account.

Using usernames and passwords leaked from one site to log in to other sites where people reused them.

Use unique passwords from a password manager plus phishing-resistant MFA such as passkeys or security keys.

No. NIST favours long passwords, breached-password checks and no forced periodic changes over complexity rules.

With slow, salted hashing algorithms such as Argon2id, scrypt or bcrypt, never in plain text.

Bombarding a user with MFA push prompts until they approve one; number matching and phishing-resistant MFA prevent it.

Use Have I Been Pwned’s Pwned Passwords service or your password manager’s breach monitoring feature.

What's Your Reaction?

Like Like 0
Dislike Dislike 0
Love Love 0
Funny Funny 0
Wow Wow 0
Sad Sad 0
Angry Angry 0
Vaishnavi

Vaishnavi is a skilled tech professional at the Ethical Hacking Training Institute in Pune, responsible for managing and optimizing the technical infrastructure that supports advanced cybersecurity education. With deep expertise in network security, backend operations, and system performance, she ensures that practical labs, online modules, and assessments run smoothly and securely. Her behind-the-scenes contributions play a vital role in delivering a seamless and secure learning experience for aspiring ethical hackers.