CloudAcademia
EN

Cybersecurity · Module 01 · Strong Passwords and Account Protection

Lab: Securing One of Your Own Accounts

Lab30 minFoundationsMarkdown

Showing raw Markdown: the renderer could not load.

## Goal
Practise the habits from the lesson. You build a passphrase with dice, judge example passwords, list and rank your own accounts on paper, and turn on two-step verification on one account of your own.

## Objectives
- Explain how attackers guess or steal passwords and why reused passwords are dangerous (Steps 2, 3 and 5).
- Create a long, memorable passphrase and judge whether a password is strong (Steps 1 and 2).
- Explain what a password manager does and how to start using one (Challenge).
- Turn on two-step verification (2FA) on an account and keep the recovery codes safe (Step 4).

## Prerequisites
- [The lesson](lesson.md) of this module.
- Two dice (or a dice app), a pen and a sheet of paper.
- A computer or phone, and one of your own online accounts that offers two-step verification. Your email is the best choice.
- A phone with an authenticator app, or willingness to install one (any well-known authenticator app works), if you pick that method.

> [!WARNING]
> **Never type a real password into any tool in this lab**, and never type one into a website that is not the real login page of the account itself. The passphrases you build in Step 1 are for practice only: do not use them for a real account. Use these steps only on accounts you own.

## Architecture
<figure class="diagram" style="--dg-w: 1040px"><svg xmlns="http://www.w3.org/2000/svg" class="dg" viewBox="0 0 1040 210" width="1040" height="210" role="img" aria-labelledby="passwords-lab-architecture-title passwords-lab-architecture-desc" font-family="Inter, system-ui, -apple-system, Segoe UI, Roboto, sans-serif" xml:lang="en">
<title id="passwords-lab-architecture-title">Lab overview: five short activities, no real password typed anywhere</title>
<desc id="passwords-lab-architecture-desc">Five numbered activities joined by arrows: build a passphrase with dice and a short word list; judge example passwords by length and patterns; rank your own accounts on paper with email first; turn on two-step verification on one of your own accounts; and, optionally, check your email on Have I Been Pwned. A note below says that no real password is ever typed into a tool in this lab.</desc>
<rect class="dg-bg" x="0.5" y="0.5" width="1039" height="209" rx="16" fill="#ffffff" stroke="#e3e3dd"/>
<rect class="dg-card" x="24" y="24" width="174.4" height="118" rx="12" fill="#ffffff" stroke="#cfcfc8"/>
<g class="dg-l2"><circle class="dg-solid" cx="46" cy="48" r="12" fill="#15803d"/><text x="46" y="52.5" font-size="12.5" class="dg-on" fill="#ffffff" font-weight="700" text-anchor="middle">1</text></g>
<g class="dg-l2"><g class="dg-icon" transform="translate(158.4 36) scale(1.0833)" fill="none" stroke="#15803d" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round"><path d="M12 20h9"/><path d="M16.376 3.622a1 1 0 0 1 3.002 3.002L7.368 18.635a2 2 0 0 1-.855.506l-2.872.838a.5.5 0 0 1-.62-.62l.838-2.872a2 2 0 0 1 .506-.854z"/></g></g>
<text x="38" y="86" font-size="14" class="dg-text" fill="#17171c" font-weight="700">Build a passphrase</text>
<text x="38" y="106" font-size="12" class="dg-muted" fill="#5c5c68" font-weight="500">Dice and a short</text>
<text x="38" y="123" font-size="12" class="dg-muted" fill="#5c5c68" font-weight="500">word list</text>
<path class="dg-line" d="M204.4 83H222.4" stroke="#cfcfc8" stroke-width="2.5" fill="none" stroke-linecap="round" stroke-linejoin="round"/>
<path class="dg-line" d="M214.4 77l8 6-8 6" stroke="#cfcfc8" stroke-width="2.5" fill="none" stroke-linecap="round" stroke-linejoin="round"/>
<rect class="dg-card" x="228.4" y="24" width="174.4" height="118" rx="12" fill="#ffffff" stroke="#cfcfc8"/>
<g class="dg-l2"><circle class="dg-solid" cx="250.4" cy="48" r="12" fill="#15803d"/><text x="250.4" y="52.5" font-size="12.5" class="dg-on" fill="#ffffff" font-weight="700" text-anchor="middle">2</text></g>
<g class="dg-l2"><g class="dg-icon" transform="translate(362.8 36) scale(1.0833)" fill="none" stroke="#15803d" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round"><path d="m3 16 4 4 4-4"/><path d="M7 20V4"/><path d="M11 4h10"/><path d="M11 8h7"/><path d="M11 12h4"/></g></g>
<text x="242.4" y="86" font-size="14" class="dg-text" fill="#17171c" font-weight="700">Judge passwords</text>
<text x="242.4" y="106" font-size="12" class="dg-muted" fill="#5c5c68" font-weight="500">Reason about length</text>
<text x="242.4" y="123" font-size="12" class="dg-muted" fill="#5c5c68" font-weight="500">and patterns</text>
<path class="dg-line" d="M408.8 83H426.8" stroke="#cfcfc8" stroke-width="2.5" fill="none" stroke-linecap="round" stroke-linejoin="round"/>
<path class="dg-line" d="M418.8 77l8 6-8 6" stroke="#cfcfc8" stroke-width="2.5" fill="none" stroke-linecap="round" stroke-linejoin="round"/>
<rect class="dg-card" x="432.8" y="24" width="174.4" height="118" rx="12" fill="#ffffff" stroke="#cfcfc8"/>
<g class="dg-l2"><circle class="dg-solid" cx="454.8" cy="48" r="12" fill="#15803d"/><text x="454.8" y="52.5" font-size="12.5" class="dg-on" fill="#ffffff" font-weight="700" text-anchor="middle">3</text></g>
<g class="dg-l2"><g class="dg-icon" transform="translate(567.2 36) scale(1.0833)" fill="none" stroke="#15803d" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round"><path d="M8 6h13"/><path d="M8 12h13"/><path d="M8 18h13"/><path d="M3 6h.01"/><path d="M3 12h.01"/><path d="M3 18h.01"/></g></g>
<text x="446.8" y="86" font-size="14" class="dg-text" fill="#17171c" font-weight="700">Rank your accounts</text>
<text x="446.8" y="106" font-size="12" class="dg-muted" fill="#5c5c68" font-weight="500">On paper: email first</text>
<path class="dg-line" d="M613.2 83H631.2" stroke="#cfcfc8" stroke-width="2.5" fill="none" stroke-linecap="round" stroke-linejoin="round"/>
<path class="dg-line" d="M623.2 77l8 6-8 6" stroke="#cfcfc8" stroke-width="2.5" fill="none" stroke-linecap="round" stroke-linejoin="round"/>
<rect class="dg-card" x="637.2" y="24" width="174.4" height="118" rx="12" fill="#ffffff" stroke="#cfcfc8"/>
<g class="dg-l2"><circle class="dg-solid" cx="659.2" cy="48" r="12" fill="#15803d"/><text x="659.2" y="52.5" font-size="12.5" class="dg-on" fill="#ffffff" font-weight="700" text-anchor="middle">4</text></g>
<g class="dg-l2"><g class="dg-icon" transform="translate(771.6 36) scale(1.0833)" fill="none" stroke="#15803d" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round"><rect x="4" y="11" width="16" height="10" rx="2"/><path d="M8 11V7a4 4 0 0 1 8 0v4"/></g></g>
<text x="651.2" y="86" font-size="14" class="dg-text" fill="#17171c" font-weight="700">Turn on 2-step</text>
<text x="651.2" y="106" font-size="12" class="dg-muted" fill="#5c5c68" font-weight="500">One of your own</text>
<text x="651.2" y="123" font-size="12" class="dg-muted" fill="#5c5c68" font-weight="500">accounts</text>
<path class="dg-line" d="M817.6 83H835.6" stroke="#cfcfc8" stroke-width="2.5" fill="none" stroke-linecap="round" stroke-linejoin="round"/>
<path class="dg-line" d="M827.6 77l8 6-8 6" stroke="#cfcfc8" stroke-width="2.5" fill="none" stroke-linecap="round" stroke-linejoin="round"/>
<rect class="dg-card" x="841.6" y="24" width="174.4" height="118" rx="12" fill="#ffffff" stroke="#cfcfc8"/>
<g class="dg-l2"><circle class="dg-solid" cx="863.6" cy="48" r="12" fill="#15803d"/><text x="863.6" y="52.5" font-size="12.5" class="dg-on" fill="#ffffff" font-weight="700" text-anchor="middle">5</text></g>
<g class="dg-l2"><g class="dg-icon" transform="translate(976 36) scale(1.0833)" fill="none" stroke="#15803d" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round"><circle cx="12" cy="12" r="10"/><path d="M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20"/><path d="M2 12h20"/></g></g>
<text x="855.6" y="86" font-size="14" class="dg-text" fill="#17171c" font-weight="700">Check for breaches</text>
<text x="855.6" y="106" font-size="12" class="dg-muted" fill="#5c5c68" font-weight="500">Optional: Have I</text>
<text x="855.6" y="123" font-size="12" class="dg-muted" fill="#5c5c68" font-weight="500">Been Pwned</text>
<rect class="dg-panel" x="24" y="160" width="992" height="30" rx="10" fill="#f0f0ec"/>
<g class="dg-l2"><g class="dg-icon" transform="translate(38 165) scale(0.8333)" fill="none" stroke="#15803d" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round"><path d="M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z"/></g></g>
<text x="66" y="180" font-size="13" class="dg-text" fill="#17171c" font-weight="600">On paper or in your head: no password ever typed into a tool</text>
</svg></figure>

*Figure 1. Steps 1 to 3 are done on paper; step 4 happens on your own account; step 5 is optional.*

## Steps

### Step 1 — Build a passphrase with dice (8 min)
Humans are bad at picking random words, so let dice choose. The table below has 36 words. Roll the two dice together. The **first die is the row**, the **second die is the column**, and the word where they meet is your word. Roll again for each word until you have five.

| Row \ Column | 1 | 2 | 3 | 4 | 5 | 6 |
|---|---|---|---|---|---|---|
| **1** | anchor | apple | bridge | candle | canyon | cherry |
| **2** | cloud | copper | daisy | dolphin | ember | falcon |
| **3** | forest | garden | glacier | harbor | island | jungle |
| **4** | kettle | lantern | maple | meadow | orbit | pebble |
| **5** | pepper | quartz | river | saddle | thunder | tulip |
| **6** | umbrella | velvet | violin | walnut | window | yellow |

For example, a roll of 3 and 4 gives row 3, column 4: **harbor**. Write your five words on paper, separated by spaces. Then say them out loud twice and picture a small scene with them (a harbor, a violin, a pebble...). Pictures help you remember.

> [!NOTE]
> This table is small on purpose, so it fits on a page. Five words from 36 give about 60 million combinations (36 × 36 × 36 × 36 × 36 = 60,466,176), which is **not enough** for a real password. For real use, take five or more words from the EFF's list of 7,776 words ([eff.org/dice](https://www.eff.org/dice)), rolled with five dice per word: that gives about 28 quintillion combinations. A password manager can also generate one for you.

**Optional: let the computer roll (macOS or Linux, in a terminal).** Open the **Terminal** app, paste this line and press Enter. It uses Python's `secrets` module, which is built to give unpredictable random choices:

```bash
python3 -c 'import secrets; W="anchor apple bridge candle canyon cherry cloud copper daisy dolphin ember falcon forest garden glacier harbor island jungle kettle lantern maple meadow orbit pebble pepper quartz river saddle thunder tulip umbrella velvet violin walnut window yellow".split(); print(len(W)); print(" ".join(secrets.choice(W) for _ in range(5)))'
```

Expected output (the second line is different every time):
```text
36
maple harbor orbit ember walnut
```

What each part does:

- `python3 -c '...'` runs the short program between the quotes.
- `W="...".split()` builds the list of the same 36 words as the table.
- `print(len(W))` shows how many words are in the list: `36`.
- `secrets.choice(W) for _ in range(5)` picks five words at random, and `" ".join(...)` puts spaces between them.

If you see `command not found`, Python is not installed: use the dice, they work just as well. Windows learners can use the dice too.

### Step 2 — Judge example passwords (5 min)
Without any tool, rank these four **invented** passwords from weakest to strongest, and say why. Think about length and predictability.

1. `qwerty123`
2. `Fluffy2020!` (the name of the writer's cat, plus a year and a symbol)
3. `T7#kq9!Z`
4. `river copper walnut tulip violin`

<details>
<summary>Show the answers</summary>

From weakest to strongest: 1, 2, 3, 4.

1. `qwerty123` is the weakest. It is short and appears on every list of common passwords. Attackers try it in the first few guesses.
2. `Fluffy2020!` is a pet name, a year and a symbol: exactly the pattern attackers try early, and the name can be found on social media. The capital and the symbol add very little.
3. `T7#kq9!Z` looks random, so it is not predictable, but it has only 8 characters. It is hard to remember and hard to type, so people end up reusing it or writing it down.
4. The passphrase is long (32 characters) and random, easy to remember, and the best of the four.

Note the pattern: **length plus unpredictability** wins, and symbols alone do not.

</details>

### Step 3 — List and rank your accounts on paper (5 min)
On a sheet of paper, list ten online accounts you use (write only the name of the service, **never the password**). Include email, banking, shopping, social networks, cloud storage and anything with your photos or card details. Then mark each one **1** (would be a disaster if taken over), **2** (a big nuisance) or **3** (low impact).

Put a star next to your email account or accounts. Then answer: which accounts can your email reset?

<details>
<summary>Show a model answer</summary>

Email should have a star and a **1**: it receives the reset links for almost every other account on your list, so the answer to the last question is usually "nearly all of them". Banking and anything with payment details are the next **1**s. Your list is your protection plan: begin at the top, one account at a time, with a unique passphrase and 2FA.

</details>

### Step 4 — Turn on two-step verification on one account (10 min)
Pick the **most important account** on your list that offers 2FA, ideally your email. The exact screens differ from service to service, so follow the general path:

1. Sign in to the **real** site or app yourself (type the address or use your own bookmark; do not click a link in a message).
2. Open your **account settings** and look for **Security**, **Sign-in** or **Privacy and security**.
3. Find **Two-step verification**, **2-Step Verification**, **Two-factor authentication** or **Multi-factor authentication** and choose **Turn on**.
4. Choose the strongest method offered: a **passkey or security key**, then an **authenticator app**, then **SMS**. For an authenticator app, the service shows a **QR code**: open the app, choose to add an account, and scan the code with your phone camera.
5. Type the 6-digit code the app shows to confirm that it works.
6. When the service shows **recovery codes**, save them: print them or write them on paper and keep the paper somewhere safe (not in your wallet next to your phone), or store them in your password manager. Do not take a screenshot that syncs to the cloud.

> [!NOTE]
> Menu names change from time to time. If you cannot find the setting, search the service's help pages for "two-step verification" or "two-factor authentication".

Check that it works: sign out, then sign in again. The service should ask for the second step after your password.

### Step 5 — Check your email for known breaches (optional, 2 min)
Go to [haveibeenpwned.com](https://haveibeenpwned.com/), type **only your email address** (never a password) and run the search.

- If the result says your email was **not found**, that is good, but it only covers breaches that became public. Keep your habits.
- If it lists breaches, note the service names. For each one, change the password there and anywhere you reused it, and turn on 2FA.

<details>
<summary>What if my email is in a breach?</summary>

It is common, and it does not mean your account was taken over. It means the service lost your data at some point. Check which data was exposed. If it included a password, change that password (and any account where you used it). Then be careful with messages that mention that service, because attackers may use the leaked details to make phishing look real.

</details>

## Verification
You are done when you can say yes to all of these:

- You have five words from the dice on paper, and you know they are for practice only.
- You ranked your accounts and starred your email.
- Signing in to your chosen account now asks for a second step.
- Your recovery codes are saved somewhere safe, and not only on your phone.

## Troubleshooting
| Symptom | Likely cause | Fix |
|---|---|---|
| The account has no two-step option | Some services do not offer it | Choose another account from your list, or use a different method if the service lists several |
| The authenticator code is rejected | The phone clock is wrong, or the code expired | Turn on automatic date and time on the phone, wait for a new code and try again |
| You cannot scan the QR code | The camera is blocked or the code is too small | Allow camera access, or choose "enter the key manually" on the service's screen |
| No SMS arrives | Poor signal or a wrong number | Check the number in your account settings and try again, or choose an authenticator app |
| `python3: command not found` | Python is not installed | Use the dice for Step 1 |

## Challenge (optional)
Install a password manager (browser built-in or a dedicated app), set a long master passphrase with five random words from the EFF list, and replace the password of your email with a manager-generated one. Then turn on 2FA for the manager itself if it offers it.

## Cleanup
Nothing in this lab changed your computer. The only things to clean up are on paper:

- Tear up and bin (or shred) any paper that has the practice passphrase on it. Do not use it for a real account.
- **Keep** the paper with your recovery codes, and keep it in a safe place. Destroy only papers with passwords.

## What you learned
- Dice give random words, and five or more random words make a strong, memorable passphrase.
- Length and unpredictability matter more than symbols.
- Your email is your most important account because it can reset the others.
- Two-step verification adds a second proof, and recovery codes are your way back in, so store them safely.