Intermediate


NYITSec CTF 2026.

Multi-step investigations combining network protocols, encodings, and forensic reasoning.



Challenges

The Forgotten Commit

Mission: A fictional satellite-monitoring team deleted an important recovery ledger during repository cleanup. The current files no longer contain the approved handoff phrase, but the project's Git history may still preserve it.

Goal: Recover the approved recovery phrase from the missing ledger and submit it.

This is a fully fictional, offline Git investigation inside your specially prepared pwn.college challenge VM. No external GitHub access or real credentials are needed.

Start here

The project is in your writable /nyitsec-ctf workspace:

cd /nyitsec-ctf/night-relay
cat docs/incident-204.md
git status
git log --oneline

Hints:

  • A deleted file disappears from the latest working tree, but earlier commits may still include it.
  • Git records which files were changed or removed in each commit. git log --stat and git show are useful investigation tools.
  • The ledger had both a draft and an approved revision. Recover the final approved phrase, not the draft.
  • You can inspect historical files without changing the current branch.

Once you find the phrase, run:

nyitsec-answer

If you accidentally damage the repository's history or cannot continue, use Reset Challenge to generate a fresh copy.

Temporary workspace: Files in /nyitsec-ctf disappear when the challenge restarts. Copy important notes to ~/ first.

Packet Detective

A fictional helpdesk suspects someone submitted login credentials over unencrypted HTTP. You have been given a packet capture with several different web sessions.

Mission: Identify the login associated with CASE-417, reconstruct the relevant HTTP request, and recover its username and password.

Everything here is synthetic evidence made for this authorized NYITSec CTF VM. The domains, addresses, accounts, and credentials are invented. No live server or external network access is required.

Start investigating

Your temporary workspace is /nyitsec-ctf:

cd /nyitsec-ctf
cat incident-brief.txt
ls -lh traffic.pcap

You may open traffic.pcap in Wireshark through the Desktop, or use tshark in the terminal. Both are preinstalled.

One useful way to list HTTP requests is:

tshark -r traffic.pcap -Y http.request -T fields -e tcp.stream -e http.request.method -e http.request.uri

Hints: Find the captured support ticket first. Its response contains a reference to a different HTTP request. There are several unrelated logins, so avoid submitting the first password you see. A password may span multiple TCP packets, and HTTP form values can use percent-encoding.

To examine a complete conversation, Wireshark provides Follow → TCP Stream. The equivalent tshark feature is -z follow,tcp,ascii,<stream-number>.

When you recover both fields, run:

nyitsec-answer

If you accidentally alter or lose the capture, use Reset Challenge to restore a clean copy. Files under /nyitsec-ctf are temporary, so copy notes to ~/ if needed.

DNS Treasure Hunt

An investigator suspects that an unusual message is scattered across the DNS records of a fictional organization.

Goal: Follow the record references, reconstruct the hidden message, and submit it.

Your terminal opens in the writable /nyitsec-ctf workspace. The DNS server is local to this challenge, not a public website.

Get started

cat dns-briefing.txt
dig -v
dig @127.0.0.1 -p 5300 archive.nyitsec.test TXT

The DNS tool dig is already provided, so there is nothing to install.

Hints: DNS has more than one type of record. A hostname can lead you to other hostnames, and not every TXT record contains a useful clue. Some evidence may need to be combined or decoded.

When you recover a readable message, run nyitsec-answer and submit the flag it prints.

Temporary workspace: Files saved in /nyitsec-ctf disappear when the challenge restarts. Copy important notes to ~/.

The Suspicious Script

An investigator discovered a Python script with confusing variable names, encoded text, and an unknown download. The script might do something unexpected.

Goal: Explain what the script actually does and recover an answer hidden inside the downloaded, encoded data. Do not execute unfamiliar code merely to see what happens.

Your terminal begins in the writable /nyitsec-ctf directory.

Start with static analysis

ls
cat audit_sync.py

Follow the imports, look for transformations of strings or bytes, and find where the data comes from. The script contacts a fictional service on this challenge's localhost, so you can investigate the resource without contacting an outside system.

Hints:

  • Encoded strings can hide a URL, but encoding is not encryption.
  • A short XOR operation may transform downloaded bytes before another decoding step.
  • Ask yourself whether the script reads, writes, imports, or executes the recovered content.
  • The script contains a decoding helper you can study and reuse in your own safe analysis program. Inspect its behavior before importing or invoking anything. Reading decoded Python source is different from executing it.

When ready, run nyitsec-answer. You must provide both the most accurate behavior description (multiple choice) and the recovered answer string. The checker will not tell you which part is wrong.

Temporary workspace: Files in /nyitsec-ctf disappear when the challenge restarts. Copy important notes to ~/ to keep them.

The Broken Login

Mission: A fictional forum has gone out of control. Your investigation team wants you to find its Nuke authorization password so the test forum can be shut down.

This is an authorized, intentionally vulnerable training website running only inside your specially crafted pwn.college VM. All accounts, posts, email addresses, and database records are fictional. Use only this local lab, never a real website.

Open the forum

  1. Select Workspace → Desktop and open Firefox.
  2. Go to http://nyitsecwebsite.test/.
  3. Explore the forum, its signup waiting list, and its member login.

Recon team hint: Several input fields were not properly sanitized before being inserted into SQL queries. The signup queue and the administrator login might both be worth investigating. Think about what an unsafe query could let you do.

An administrator can access the Nuke Forum button in the top-right corner. Follow the confirmation process to recover the password.

Alternative solutions are welcome: If you find another route to recover valid administrator credentials or gain administrator access using the lab's vulnerable inputs, that counts too.

Once you have the Nuke authorization password, return to the terminal:

nyitsec-answer

If you make a major mistake, such as deleting something required to continue, use Reset Challenge in pwn.college to restore the fictional website and its database.

Temporary workspace: Files in /nyitsec-ctf are not preserved after a challenge restart. Save notes to ~/ if needed.


30-Day Scoreboard:

This scoreboard reflects solves for challenges in this module after the module launched in this dojo.

Rank Hacker Badges Score