Cracking Passwords
Computer Science: OCR GCSE, topic 1.4.8
Cracking Passwords
Many hackers focus their attention on cracking passwords to overcome authentication mechanisms.

Cracking passwords
- Authentication is the name for any methods which allow users to prove that an account is theirs.
- The most common authentication method is using a password.
- Many hackers want to find people's passwords, so that they can gain access to accounts.
- Finding people's passwords is called cracking the password.

The brute force attack
- A brute force attack tries to crack a password by trying every single combination of letters and numbers.
- The attack continues until the correct combination is found.
- The attack can take a very long time.
- However, special software makes it possible to make millions of attempts per second.

The dictionary attack
- A quicker form of the brute force attack is the dictionary attack.
- Rather than attempting every single combination, a dictionary attack tries words from a predetermined list.
- A common dictionary to use would be a list of common passwords.

Protection against cracking
- Writing a network policy which enforces strong passwords can protect against dictionary attacks.
- Using two-factor authentication can prevent the hacker from logging in, even if they have the password.
- Restricting the number of failed password attempts can deter hackers.
- After too many attempts, an account is 'locked' for a fixed period of time.
Test yourself on Cracking Passwords
What is a brute force attack?
Select the correct statement about a dictionary attack for each pair.
A hacker uses a dictionary attack to correctly guess a user's password. The account also has two-factor authentication turned on. What happens when the hacker tries to log in?