Cracking Passwords

Computer Science: OCR GCSE, topic 1.4.7

Cracking Passwords

Many hackers focus their attention on cracking passwords to overcome authentication mechanisms.

Cracking passwords

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

The brute force attack

  • A brute force attack tries to crack a password by trying every single combination of letters and numbers until the correct one is found.
  • This can take a very long time, although special software is used to do this which makes it possible to make millions of attempts per second.
The dictionary attack

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

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 before an account is 'locked' for a fixed period of time can deter hackers.

Test yourself on Cracking Passwords

  • What is a brute force attack?

  • Which of these is true of a dictionary attack?

Practise this topic for free