Password attacks are attempts to obtain or guess the secret that protects an online account. Account harvesting is the related work of collecting usernames, email addresses and other identifiers that are known to belong to real accounts. The two fit together: a list of valid accounts tells an attacker where to aim, and a password attack supplies the key. The usual goal is account takeover, followed by theft of funds, stored cards, loyalty points or personal data.
Banks, payment firms, online merchants and employers all face these attacks because they run login pages that anyone can reach. Stolen details also come from phishing, malware and earlier data breaches, and are traded on the dark web. The methods below differ in where the guessing happens and what the attacker already holds, which shapes the defence needed against each.
Account Harvesting
Account harvesting is the collection of valid usernames or account identifiers at scale. Sources include public websites and staff directories, leaked databases, and services that reveal whether an account exists. A sign-up, login or password reset page that answers differently for a registered address and an unknown one lets automated tools test long lists and keep the hits. This is a form of enumeration attack, and it is often carried out through a botnet so that requests appear to come from many places.
The harvested list has value even without passwords, since it supports targeted phishing and later guessing. Warning signs include sharp rises in reset requests, many lookups for accounts that do not exist and unusual traffic outside normal patterns. Common defences are identical responses whether or not an account exists, rate limiting, bot detection and monitoring of reset and registration pages.
Dictionary Attack
A dictionary attack tries likely passwords taken from a prepared list instead of every possible combination. Such lists typically contain ordinary words, names, keyboard patterns, passwords exposed in earlier breaches and predictable variations on them. The approach works because many people choose memorable and therefore guessable secrets. It is narrower and faster than an exhaustive brute force attack, which works through all combinations.
Two related methods are often confused with it. Password spraying tries a few very common passwords against many accounts, which avoids lockouts on any single one. Credential stuffing replays username and password pairs already stolen from another service. Defences include rejecting known compromised or common passwords when they are set, slowing or blocking repeated failures, watching for failures spread across many accounts, and requiring multi-factor authentication so that a correct guess alone is not enough.
Password Cracking
Password cracking is the recovery of passwords from stored data, usually after a database has been stolen. Well-run systems do not keep passwords in readable form. They keep the output of a one-way hash function, so an attacker must guess candidates, hash each one and compare the results. Because this happens on the attacker's own equipment, login limits and lockouts offer no protection.
The strength of the storage method therefore matters. A unique random salt for each password prevents one precomputed table from being used against every account, and deliberately slow password hashing functions raise the cost of each guess. Long, unique passwords take far longer to recover than short or reused ones. After a breach, organisations commonly force resets, end active sessions and warn affected users, since weakly protected passwords should be treated as exposed.
How the methods compare
| Method | What the attacker needs | Main defence |
|---|---|---|
| Account harvesting | Pages or data that reveal valid accounts | Uniform responses and rate limits |
| Dictionary attack | A word list and a login page or stolen hashes | Blocked common passwords and a second factor |
| Password cracking | A stolen file of password hashes | Salted, slow hashing and long passwords |
A password manager helps individuals keep a different strong password for each service, and passkey authentication removes the shared secret altogether, which takes away the target of guessing and cracking.
Ref 1140000278