Security & Privacy

Brute-force attack

Also known as: brute force attack, brute-force, brute forcing

A brute-force attack is an attempt to break into an account, file, or encrypted data by systematically trying many possible passwords or keys until one works.

Attackers use software that can try millions or billions of guesses, especially against stolen password files. While brute force sounds unstoppable, long passwords or passphrases, account lockouts, and multi-factor authentication make it impractical.

Brute-force attack, explained at three levels

At home

A brute-force attack is like trying every combination on a padlock, one after another, until it clicks open. A computer does the same with passwords, but it can try millions of guesses a second against a stolen password file. A short password has few combinations, so it falls quickly, while each extra character multiplies the possibilities until guessing takes far too long to be worth it.

At work

A brute-force attack is an attempt to break into an account by automatically trying huge numbers of passwords until one works. Attackers aim it at email, remote desktop, and admin portals, especially where short passwords are allowed and there's no multi-factor authentication. Businesses defend by requiring long passwords, slowing or locking out repeated failed logins, and turning on MFA for every remote access point.

Real-world examples

At home

Thomas used a short password for an old gaming account. After a breach, attackers cracked it in minutes. He switched to long, random passwords stored in a password manager.

At work

Lena is IT lead for a Regina dental group. Logs showed thousands of guessing attempts against the office's remote desktop, so she shut it off from the internet and required VPN with MFA.

How it compares

featureBrute-force attackPassword spraying
MethodTries many guesses on one accountTries a few common passwords on many accounts
DetectionEasier, many failures per accountHarder, few failures per account
LockoutsEffectiveOften avoided by attackers
Best defenceLong passwords and lockoutsMFA and banned common passwords

Brute force hammers one door. Spraying tries every door gently.

For analysts

I'd remove remote desktop from the internet and require MFA for all remote access. Those two steps defeat most brute-force attempts against small businesses.

History & origin

Trying every possible key is the oldest way to break a code. As computers grew faster, password cracking tools such as John the Ripper, first released in 1996, and Hashcat, released in 2009, made brute force and smarter 'dictionary' attacks easy, especially using graphics cards. Large password leaks gave attackers real-world examples to build better guess lists. Exposed remote desktop services became frequent brute-force targets, helping fuel ransomware. Security guidance shifted toward length: the US National Institute of Standards and Technology's password guidelines, revised in 2017 and again in 2025, recommended long passphrases and checking against breached passwords instead of forced complexity rules. In my view, the best defence against brute force is the most boring one: make passwords long.