User Avatar
Uncategorized

Cybersecurity: Brute Force Attacks & Defenses

Lifetime
All levels
17 lessons
0 quizzes
0 students

“If you will not show us the grail, we shall take your castle by force!”

What it’s about

A brute force attack is the process of repeatedly attempting possible combinations to a lock or passcode until the desired outcome is reached. Have you ever tried all possible combinations on a bike lock after forgetting its combination? That’s an example of a brute-force attack. 


Other examples of brute force attacks include trying all possible PIN (personal identification) numbers to gain access to a cell phone or tablet. Criminals use brute force to determine ATM card PIN numbers. Brute force attacks have also been used as a means to determine encryption keys. In this tutorial, you will experiment with brute force attacks and defenses to counter them: 

  • Attacks
    • Crack a PIN access code programmed into a micro:bit,
    • Crack a cipher intended to keep communication private.
  • Defenses
    • Increasing the number of combinations and adding time delays
    • Using stronger ciphers since shift ciphers like Caesar and ASCII Shift are inherently vulnerable to brute force attacks

 

Before you start

You will need:

Complete this tutorial first:

After you finish

You will understand the basics of brute force attacks and be able to write projects that perform those attacks. You will also be able to modify projects in apps to strengthen their defenses against brute-force attacks.