What is a brute force attack?
A brute force attack means trying credential combinations until one works. In its pure form it walks the entire possible character space, but in practice that is almost never used because it is too slow: the common variant is the dictionary attack, which tries passwords leaked in earlier breaches plus their most likely variations, cutting millions of years of computation down to minutes for an ordinary key.
Variants worth telling apart
Password spraying inverts the approach: instead of many passwords against one account, it tries one very common password against thousands of accounts, thereby dodging failed-attempt lockouts. Credential stuffing reuses username and password pairs already leaked. And the offline attack, the most dangerous, runs against a stolen hash database, with no attempt limit and nobody watching.
How to stop them?
On the service side: rate-limit attempts per IP and per account, apply progressive temporary lockouts, add CAPTCHA after repeated failures, alert on unusual sign-ins, and store passwords with slow, salted hashing algorithms (bcrypt, scrypt, Argon2) so a database theft does not turn into profitable cracking. On the user side, a second factor turns a guessed password into access that still does not work.



