CyberQuest - POGIL Activity

Strong Passwords and Keyspace

A guided-inquiry activity. Work in a team of 3 to 4, or on your own. Read each Model, then answer the Critical Thinking Questions in order before revealing a hint.

Learning objectives

Prerequisites: exponents, and the idea of a password.

Team roles

Manager - keeps time, makes sure everyone participates, keeps the team on task.
Recorder - writes the team's agreed answers and questions to ask.
Presenter - speaks for the team and shares answers.
Reflector - watches teamwork and suggests one improvement.

Model 1: Counting possible passwords

characters allowed (N)length (L)possible passwords (N to the power L)
26 (lowercase)4456,976
26 (lowercase)6308,915,776
95 (all symbols)481,450,625
  1. Compare rows 1 and 2: changing only the length from 4 to 6 multiplied the total by about how much?
    Check your thinking

    About 676 times (26 times 26). Two more lowercase letters multiply the count by 26 each.

  2. Compare rows 1 and 3: keeping length 4 but allowing all 95 symbols. Which change produced a bigger jump, more length or more characters?
    Check your thinking

    Both help, but notice length is an exponent. Over realistic lengths, adding length grows the total far faster than enlarging the character set.

  3. Write the formula for the number of possible passwords and name each part.
    Check your thinking

    N to the power L, where N is how many characters are allowed and L is the length.

Model 2: Time to crack

passwordrough time to crack
cat123instant
P@ssw0rdhours to days
kayak-piano-river-7thousands of years
  1. Using Model 1, explain why kayak-piano-river-7 is so much harder to crack than P@ssw0rd.
    Check your thinking

    It is much longer, so its keyspace (N to the power L) is vastly larger, and a guessing attack must try far more combinations.

  2. Define keyspace in your own words.
    Check your thinking

    The total number of possible passwords an attacker would have to try.

Model 3: Multi-factor authentication

factorexample
something you knowa password
something you havea phone or key
something you area fingerprint
  1. An attacker steals your password but you have MFA turned on. Why can they still not log in?
    Check your thinking

    They have only one factor (what you know). MFA also requires a second factor (what you have or are), which the attacker does not possess.

  2. Why is a long passphrase plus MFA stronger than a short complex password alone?
    Check your thinking

    The passphrase gives a huge keyspace, and MFA means a stolen or guessed password is still not enough by itself.

Do it now

Open Day2.ipynb and run the keyspace and crack-time cells. Then try made-up passwords on the Security.org tester and watch the time grow as you add length.

Application

Write a one-sentence password rule for a school that uses Model 1 and Model 3 to justify itself.

Reflection (process skills)

Did everyone on the team get to explain a row? What is one way to share the talking more evenly next time?