Video summary

SQ1: The Unwinnable Game TryHackMe | Sidequests 2026

Main summary

Key takeaways

Educational

Summary

The video walks through the first TryHackMe Sidequests 2026 challenge, “SQ1: The Unwinnable Game.” The story describes a town whose files are held behind a portal that demands players beat an arcade game. The challenge’s real objective is not to win by playing normally, but to investigate the portal and find out who is operating it.

The narrator notes that the room is a 60-point, easy boot-to-root challenge. Its rules limit activity to the target machine over the VPN and say that flags should be found on the box or in the browser—not through wordlists, external services, or brute force. The room says there are five flags, although the walkthrough explicitly shows a portal flag, a user flag, and a root flag.

Walkthrough and Key Lessons

1. Scan the target and inspect the web portal

  • A version scan finds SSH on port 22 and an HTTP service on port 31337.
  • The portal claims the town’s files will be returned if someone beats the game.
  • The narrator checks the page source and browser network activity, finding JavaScript files and an API endpoint related to the game’s score.
  • The game normally ends in failure, while access to the vault depends on winning.

2. Bypass the game through browser debugging

  • The narrator uses the browser debugger and script-override feature to edit the game’s JavaScript locally.
  • After testing different values, the narrator sets the score to 100.
  • Refreshing and playing then causes the site to treat the game as won and opens the vault, revealing the first flag.
  • Lesson: In web challenges, examine client-side code and browser requests. Game logic enforced only in JavaScript may be alterable locally.

3. Find command injection in the vault

  • The vault has a file-recovery form that accepts a household name.
  • The narrator tests whether input is passed to a system command and finds that a command separator allows additional commands to run.
  • This exposes directory contents and lets the narrator read the user flag.
  • The narrator then obtains a reverse shell through the same vulnerable functionality for a more usable terminal.
  • Lesson: Test how inputs are handled, but keep testing within the authorized lab scope.

4. Use shell history and a key-generation script to access another account

  • As the relay user, the narrator inspects hidden files and shell history.
  • The history reveals prior work in an /opt directory, including use of a Python key-generation script and a switch to another user.
  • Examining the script shows that it deterministically generates the operator maintenance account’s password from host information and a rotation salt.
  • The narrator runs the script, uses the resulting password to SSH in as operator, and finds an operator.txt file.
  • Lesson: Check shell history, application scripts, and configuration details for clues. Credentials may be derivable from code even when they are not stored directly.

5. Escalate privileges through the maintenance workflow

  • The operator account does not have sudo privileges.
  • A README explains that root-required tasks are handled by dropping files into a maintenance directory, which is monitored and processed automatically.
  • The narrator places a reverse-shell script there and starts a listener. Although the web terminal reports a connection error, the listener receives a root shell.
  • The narrator confirms root access and locates the root flag.
  • Lesson: When direct privilege escalation is unavailable, inspect documented automation and privileged background workflows.

Speakers and Sources Featured

  • Cyb3rak narrator/host: Provides the spoken walkthrough and commentary. No other audible speaker is evident in the subtitles.
  • Challenge story and on-screen text: The portal’s ransom message and quoted story about the town, its missing files, and the game.
  • Sheriff Ashley: A character quoted in the challenge narrative, explaining that nobody has beaten the game.
  • Challenge system artifacts: The portal, browser source and JavaScript, API behavior, shell history, key-generation script, operator README, and flag files.
  • Referenced utilities and resources: OpenVPN, a network scanner, browser developer tools, Netcat, a reverse-shell generator website, and a shell-reference website.

Rate this summary

Your feedback will help improve summaries.

Improve this summary

Reprocess with a stronger model when the summary feels incomplete or inaccurate.

Pro

Translate summary in another language

Pro

Ask questions to this video

Chat for follow-up questions, clarifications, and source-backed answers.

Coming soon

Share this summary

Original video