December 3, 2026
TryHackMe: Advent of Cyber 2026 โ Day 2: Key Under the Mat (Writeup)
Room: Key Under the Mat
By Vishweshdangeti
2 min read
Event: Advent of Cyber 2026 (Day 2)
Difficulty: Easy
Topic: Password Security, Attack Vectors, & Multi-Factor Authentication (MFA)
Introduction
Day 2 of TryHackMe's Advent of Cyber 2026 brings us back to Wareville, where the elves' accounts are at risk due to weak password practices. In Key Under the Mat, we explore why passwords fail, how attackers exploit them, and how to build and manage credentials that actually hold up against modern attacks.
Task 1: Introduction
The room kicks off with a simple premise: even the best security systems fall apart if the credentials protecting them are weak. The goal is to help McSkidy and Elf Robin audit and secure the elves' accounts before attackers can take advantage of them.
Questions & Answers:
No questions required for this task (Read & Complete).
Task 2: What Makes a Password Weak?
A password is only as strong as its resistance to automated guessing and human predictability. Weak passwords typically share a few common traits:
- Too short: Easy for modern hardware to crack via brute force.
- Predictable: Based on dictionary words, keyboard patterns (
qwerty), or personal information (birthdays, pet names). - Reused: Using the same password across multiple services.
Common Password Attacks
- Brute Force Attack: Trying every possible character combination until the right one is found.
- Dictionary Attack: Using a precompiled list of common words, phrases, and leaked passwords (e.g.,
rockyou.txt). - Credential Stuffing: Taking username/password pairs leaked from one data breach and testing them across other websites, exploiting password reuse.
Questions & Answers:
- Q1: What type of attack uses a precompiled list of common words and leaked passwords?
- A:
Dictionary Attack - Q2: What type of attack tests leaked username and password pairs across multiple websites?
- A:
Credential Stuffing
Task 3: A Password Nobody Can Guess
To counter automated cracking and social engineering, strong passwords rely on three core principles:
- Length: The single most important factor. Longer passwords exponentially increase the time required for brute-force attacks.
- Unpredictability (Complexity): Avoiding dictionary words and personal details in favor of random combinations of uppercase, lowercase, numbers, and symbols โ or long, random passphrases.
- Uniqueness: Never reusing a password across different accounts so that a single breach doesn't compromise everything else.
Questions & Answers:
- Q: Which password principle matters most when resisting brute-force attacks?
- A:
Length
Task 4: Managing and Protecting Passwords
Remembering unique, complex passwords for dozens of accounts is impossible for humans โ which is why Password Managers are essential.
- Password Managers: Tools (like 1Password or KeePass) that generate, store, and autofill strong, unique passwords for every site. You only need to remember one strong master password to unlock the vault.
- Multi-Factor Authentication (MFA): Even a strong password can be phished or leaked. MFA adds a critical second layer of defense by requiring an additional verification factor:
- Something you know (password, PIN)
- Something you have (authenticator app, hardware key, phone)
- Something you are (biometrics like fingerprints or facial recognition)
Questions & Answers:
- Q: What is the name of the password you can't forget when you are using a password manager?
- A:
master password
Task 5: Save Wareville Passwords (PassSec Challenge)
In the final task, Elf Robin introduces PassSec, an interactive mini-game simulating how attackers exploit weak passwords and how defenders stop them. Completing each scenario awards a flag:
- The Break-In: Identifying and fixing weak, predictable password habits.
- The Stalker's Notebook: Understanding how attackers use OSINT and social media posts to guess passwords based on personal details.
- The Spare Key: Demonstrating how Multi-Factor Authentication (MFA) stops unauthorized access even when a password is compromised.
Questions & Answers:
- Q1 (The Break-In): What is the flag?
- A:
THM{Ch3ckl1st_B34ts_H4ck3rs} - Q2 (The Stalker's Notebook): What is the flag?
- A:
THM{Y0ur_P0st5_4r3_Clu35} - Q3 (The Spare Key): What is the flag?
- A:
THM{MFA_St0ps_Br34ch3s}
Conclusion & Next Steps
Key Under the Mat is a great refresher on why password hygiene still matters in 2026. Length beats complexity, uniqueness stops credential stuffing, and MFA acts as the safety net when everything else fails.
If you want to dive deeper into related topics on TryHackMe:
- Red Team: Enumeration & Brute Force
- Blue Team: Phishing Analysis Fundamentals
Thanks for reading! Feel free to connect or share your thoughts in the comments.