| Follow @anir0y | |
|---|---|
| Key Under the Mat |
Key Under the Mat is Day 2 of Advent of Cyber 2026, a beginner walkthrough on password security. Someone walked into several elf accounts on SleighTrack, and every one of them had a password like snowflake123 or santa. The room explains why those fall, how attackers actually get passwords, and what stops them, then hands you PassSec, a small browser arcade with three mini challenges that each pay out a flag. Day 1 was the account-audit room, written up in my Who’s Home walkthrough. If you want the offensive side of the same idea, my Checkmate walkthrough builds a targeted wordlist with CUPP, which is exactly what the second PassSec game simulates by hand.
PassSec is a static site (Task 5, View Site), so there is no VM, no AttackBox and no VPN. Everything runs in the browser tab.
Task 1: Introduction
Story setup: McSkidy’s SOC flags unauthorised access on SleighTrack, and the root cause is a handful of elves with guessable passwords. No answer needed, just click Check.
Task 2: What Makes a Password Weak
The task walks through a table of weak passwords and why each fails (123456, password, a name plus birth year, qwerty, iloveyou, a pet name plus a number), then lists how attackers get passwords: brute force, dictionary attacks, phishing, and reuse of breached credentials.
The first question asks which technique reuses the same leaked password across multiple services. That is Credential Stuffing: take one username and password pair from a breach and try it everywhere else.
The second asks what to call passwords like qwerty or tyuiop. The table describes qwerty as a Keyboard walk pattern: adjacent keys in a row, well known and cracked instantly. The mask (******** **** *******) needs all three words, so “keyboard pattern” alone will not fit.
Task 3: A Password Nobody Can Guess
This task rebuilds a weak password step by step. Step 1 is “make it longer”, and the room is explicit that Length is the single most important thing you can do. Every extra character multiplies the work for a brute-force tool, while symbol swaps like a to @ add almost nothing because cracking tools try them automatically. The recommended shape is a passphrase: several random, unrelated words.
Task 4: Managing and Protecting Passwords
Once every account has a long, unique password, nobody can remember them all. A password manager generates and stores them, and you only remember one: the Master Password. The task also covers MFA as the second lock for when a password leaks anyway.
Task 5: Save Wareville Passwords (PassSec)
The arcade has three cartridges. Each is a short guided story with a small interactive part, and each ends with a flag.

The Break-In: the attacker’s checklist
Elf Robin explains that cracking is not genius, it is a checklist run fastest-first: famous passwords list, dictionary words, word plus a number or year, letter-for-symbol swaps, and only then trying every combination. You predict where two passwords fall. Sunset2019 is caught at step 3 (word plus a year), and P@ssw0rd! does not fool anything because symbol swaps are on the checklist too.

Then comes a 20-password quiz: mark each as Survives or Cracked. The rule that scores every item correctly is the one the room just taught. Anything built from a common password, a dictionary word, a word plus a year, or a symbol-swapped word is cracked, and so is a short random string like kX9!q (too short, brute force eats it). Only the long ones survive: four random words, or a long random string of 13 or more characters, even lowercase-only.
Cracked: 123456 iloveyou elephant dolphin Soccer2019 Tiger2024
P@ssword Adm1n2020 kX9!q qwerty123
Survives: velvet cactus harbor plum otter maple river cloud
quiet glacier violin nine acorn feather quartz willow
gecko harbor lantern comet 7yQ$mK2pLxRt9nZ xhqzvupmertbn
jL8wQznFtkPa3xR b3Kx9mQwZaFtrQp zprmvqxutbnhskcw
Score: 20 / 20

The Break-In flag is THM{Ch3ckl1st_B34ts_H4ck3rs}.

The Stalker’s Notebook: targeted guessing from public posts
This one is OSINT. Elf Maya has a public profile, and you tap each post to mine it: a dog called Coco, “turning 32 next week” (so born 1994), the Tigers, and Bristol. Each post drops guesses into the attacker’s notebook, including the combined and swapped variants. Her “clever” password C0co1994 is already in the list.

Asked which new password is safe from that notebook, the answer is the random one, kettle-harbor-violet-spoon. Coco2024! and GoTigers1994 are both still built from her life.
Then you play attacker on three more profiles with five attempts each. Read the posts, pair a name with a year:
Elf Jake: "Class of 2015" + "Meet Bessie, my new (used) Mustang" -> Bessie2015
Elf Priya: cat Milo + "2019 was the best year" -> Milo2019
Elf Tom: his own display name + "State champs in 2011" -> Tom2011
Score: 3 / 3, all on the first attempt
Tom is the one that catches people: the clue is the name at the top of the profile, not a post.

The Stalker’s Notebook flag is THM{Y0ur_P0st5_4r3_Clu35}.

The Spare Key: credential stuffing, then the fix
PizzaGo is breached and Elf Sam’s login leaks. You get a fake browser with four site tabs and a “paste stolen password” button. Trying it everywhere is credential stuffing: MailBox and Snapgram fall (2 of 4), NorthBank and ShopMart reject it only because Sam happened to use different passwords there. The game points out that the email account is the worst one to lose, because it resets every other password.

Then a fifth account, CloudDrive, accepts the stolen password and asks for a six-digit code sent to Sam’s phone. You do not have it. I typed a guess and got “Incorrect or expired code”: the right password is not enough when MFA is on.

The fix is a password manager. You create a master password for Sam’s vault, generate a unique random password for every reused account, and re-run the same attack. Result: broken into 0 of 4.
The Spare Key flag is THM{MFA_St0ps_Br34ch3s}.

Notes from solving it
- I also pulled the three flags out of the site’s own JavaScript before playing. They sit base64-encoded in
js/script.min.js, socurlplus a base64 decode gives all three in seconds. I played every game anyway for the evidence, and the in-app flags matched what the bundle said. - My browser’s password-manager extension reacted to the OTP and “master password” fields inside the game and briefly took over the tab. If your automation or screen reader loses the page on The Spare Key, that is why. Setting the field from the console avoids it.
- The THM task accordion only renders inputs for the open task, and submitting too fast drops a Check. One answer on Task 5 needed a second click.
Takeaways
- Attackers guess in order, from cheapest to most expensive. Common passwords, dictionary words, word plus year, and symbol swaps all fall in seconds. Length and randomness are the only things that push a password down to “try everything”, which is where it becomes impractical.
- A unique password per site plus MFA turns a breach into a dead end. Reuse is what lets one leaked pizza account unlock email; a password manager removes reuse with no memorising, and MFA stops even a correct stolen password.
Room solved 100%: 5 tasks, 7 answers.