medium
Tag
74 posts from HNF26, Self-Created and picoCTF
HNF26 - A lightkeeper of Nod-krai
The challenge provided a long block of ciphertext alongside an atmospheric story description: Beneath a lantern at the edge of the ruins, a traveller found a note ...
HNF26 - Textbook Perfect
The challenge provided an RSA modulus n, a public exponent e, and a ciphertext c: The small public exponent, e = 3, made me check whether a cube root attack would work ...
HNF26 - Twice-Used Page
The challenge provided a file named tapes.txt containing two hexadecimal ciphertexts: The challenge title and the two ciphertexts pointed to a classic One-Time Pad (OTP) key reuse ...
HNF26 - The Custodian's Cadence
The challenge hosted a network service on port 2323 with the following description: The custodian of retro-01 still logs in at odd hours. The machine is long gone, but the feed is live.
HNF26 - shared
The target shared John’s home directory over NFS with no_root_squash, so root on my machine was treated as root on the share. That let me write into John’s home directory, add an SSH key and log in as John.
HNF26 - skill issue
The game involved clicking a moving red circle as many times as possible before the timer ran out. To get the flag, I needed to beat the high score of 9999.
HNF 2025 - Beaconing
An IT staff on the internal network (10.0.0.0/24) reported unauthorised data transfers! We managed to capture some network traffic from the affected segment, and initial analysis ...
HNF 2025 - Friendly Butler
Automation is becoming increasingly popular! This system’s automated butler, however, seems a bit too friendly. Perhaps we could coerce it to see what kind of secrets it would reveal? Rules of Engagement: The flag is located at /home/[username]/flag.txt.
YCEP 2025 - Extensions
I was told that the flag is separated into 3 files, but I can’t seem to retrieve it and I don’t know what’s wrong…
YCEP 2025 - French Frenzy
Oh no! My French pen pal accidentally encrypted the contents of a few top-secret files, and things took an acidic turn! Now his boss is as sour as vinegar ...
YCEP 2025 - Snips and Sips
My brother told me about this aesthetic cafe with perfect vibes and cozy corners. The only problem? I have no clue where it is. I only have this image. Guess I’ll have to make do with it… Flag format: YCEP25{cityname_cafename} Example: YCEP25{bangkok_cafeclaire}
YCEP 2025 - Riding WAVes
You’ve received an unusual WAV file - but it doesn’t feel quite right. Could there be more to this sound than meets the ear? Do note that the flag is case-sensitive.
like1000
The challenge description implies that we will probably have to extract the contents of the provided tar file repeatedly until we finally find a flag.
based
As the challenge description suggests, we must be equipped with basic knowledge of different data encodings in order to solve this challenge. However, there are many types of numerical encodings or data encodings used to represent data in different formats.
useless
This challenge requires us to first connect to their SSH server as picoplayer on port 59574. We can do this by running ssh -p 59574 [email protected].
Custom encryption
In this challenge, we will attempt to decode the contents of the given file that has been encrypted with a Python script. We first begin by downloading the 2 files, enc_flag and custom_encryption.py, by running wget <link1> <link2>.
ReadMyCert
Based on the description, we will be dealing with certificate requests in this challenge. Before starting this challenge, I actually had little knowledge about certificate requests.
eavesdrop
For this challenge, not much clue was given in the description. However, a hint was provided. We’ll have to keep that in mind when we analyse the packets in Wireshark.
endianness-v2
Welcome to another challenge about endianness. I have done a challenge related to Big-Endian and Little-Endian systems before, which you can check out here: endianness Without further ado, let’s dive into this challenge.
Mob psycho
Honestly, I have put off this challenge for the longest time because I feared that I wouldn’t be able to solve it since I had no prior experience with apk files ...
PW Crack 5
This is the final challenge of the “PW Crack” challenge series. What a journey it has been! In this challenge, we will be cracking a password using a dictionary attack, which is a brute-force approach.
PW Crack 4
The 4th addition to the “PW Crack” challenge series! How exciting! Check out the previous challenges if you’re interested: PW Crack 1 PW Crack 2 PW Crack 3 In this challenge, we are provided ...
Plumbing
When I saw the challenge name, my first instinct was that I’ll be required to use pipe (“|”) for this challenge. Of course, it will be pointless guessing without more clues.
PW Crack 3
Another challenge in the “PW Crack” series! Check out the previous 2 challenges in this series too: PW Crack 1 PW Crack 2 We first download the 3 challenge files using wget <link1> ...
Serpentine
This is a challenge involving a Python script. We will likely have to manipulate the script to display the flag in this challenge. We first download the provided script using wget <link>.
ASCII Numbers
We are given a string of hexadecimal values, where each value corresponds to an ASCII character. Indeed, CyberChef can be useful in challenges like these.
WhitePages
This challenge was pretty interesting when I tried it, as I’ve never encountered a “blank” .txt file before. As per normal, we first download the provided file by using wget <link> to understand what we’re dealing with.
Trivial Flag Transfer Protocol
Hmmmm… vague description. We first download the file using wget <link> and see what type of file it is. The downloaded file is called tftp.pcapng.
Operation Orchid
Since this challenge provides a compressed disk image, we will probably have to use The Sleuth Kit (TSK) tools to assist us. We first download the file using wget, then run gunzip <file-name> to expand the compressed disk image file.
WPA-ing Out
This is an interesting challenge, as we are trying to crack the WPA password of a wireless network, by using a common password list rockyou.txt. rockyou.txt contains over 14 million unique passwords.
Tapping
Both the description and the hint imply that the flag we are looking for in this challenge is most likely encoded using morse code. In fact, this made me recall the morse-code challenge where the challenge was to decode morse code (.wav file).
john_pollard
In this challenge, we will be dealing with RSA certificates. The contents of the downloaded certificate is as follows: Since the challenge wants us to break the certificate, I used the CertLogik Certificate Decoder website to gain a better understanding of the certificate.
Flags
Looks like an interesting challenge with a seemingly helpful description. Let’s see. We first download the file using wget <link>. The file downloaded is called flag.png.
Mr-Worldwide
Seems like an interesting challenge. We first download the file and display its contents using wget <link> and cat <file-name> respectively.
caesar
This challenge, as both the name and hint suggest, is all about the Caesar cipher. We first download the provided file using wget, and running cat on it displays the following string: This looks like a possible flag that we can submit…right? Nope.
New Caesar
As the name suggests, this challenge revolves around the concept of the caesar cipher. The downloaded file, new_caesar.py is used to encrypt the flag, and the encrypted flag is given in the challenge description: The following is how the encryption script, new_caesar.py looks like.
la cifra de
This is a challenge involving Vigenère cipher. After we run this command nc jupiter.challenges.picoctf.org 58295, we are greeted with a block of text: With this clue, I tried searching the years mentioned in the above text (1508, 1467, 1553, 1555).
Easy1
This is a straightforward(but tedious) one time pad challenge. The downloaded file, table.txt looks like this: With the encrypted flag UFJKXQZQUNB and the key SOLVECRYPTO, we have all we need to decrypt the flag.
spelling-quiz
This is, once again, a challenge involving substitution ciphers. We begin by downloading the given file and seeing its contents. After downloading the file using wget <link>, we realise that it is a zip file.
basic-mod2
This challenge is similar to the previous challenge, basic-mod1, but instead of calculating the modulus of each number, we need to calculate the modular inverse ...
basic-mod1
The approach for this challenge was already provided in the description, so we can just follow that. After downloading the file using wget, and running cat message.txt, we get this string of numbers: I used a python script to decrypt the message above in order to get the flag.
substitution0
As the description suggests, we will likely have to decode a message which was encrypted using substitution cipher. We first download the file using wget, and then run cat to see the message.
transposition-trial
This is a transposition cipher challenge. We first download the corrupted message by using wget. After running cat message.txt, we can see a scrambled message.
HideToSee
From the description, it seems like this challenge will be using both Forensics and Cryptography concepts. As usual, we start off by downloading the image using wget <link>.
rotation
As the challenge name and hint suggest, the flag is probably encrypted using a caesar cipher. We first download the file using wget to see how the encrypted flag looks like to understand how we should obtain the flag.
Vigenere
For this challenge, we only have to download the provided file, check its contents and decode it using a Vigenere cipher decoder, with the key given. Running cat cipher.txt displays the encrypted string that we will need to decode.
Mod 26
ROT13 shifts each letter by 13 positions in the alphabet. Since the English alphabet has 26 letters, this shift wraps around modularly (hence “Mod 26”).
credstuff
We first begin by downloading the file using wget <link>. The file provided for this challenge is a .tar file. A TAR file is an archive saved in the Tape Archive format.
morse-code
For this challenge, we are required to decode morse code in an audio format. We begin by downloading the file provided, which is a .wav file. However, using Audacity will likely be a longer approach, so I used an online morse code audio decoder tool instead.
rail-fence
This was an interesting challenge that involves a message encoded using the rail fence cipher. Essentially, the plaintext is written diagonally in a zig-zag format, according the number of “rails” in the “fence”.
substitution1
For this challenge, we will basically repeat the same steps we did to retrieve the flag for the substitution0 challenge. We first download the file using wget, and then run cat to see the message.
substitution2
For this challenge, we will basically repeat the same steps we did to retrieve the flag for the substitution0 challenge. First, we download the file using wget, and then run cat to see the message.
shark on a wire 1
We shall start our journey by downloading the file using wget <link>. The downloaded file is a .pcap file. Hence we will continue by using Wireshark.
So Meta
After downloading the file using wget, we can run exiftool <file-name> to retrieve the flag, as both the description and the hint indicate that we have to examine the metadata ...
extensions
We shall begin by using wget <link> to download the file provided. Running file flag.txt shows that flag.txt is a .png file instead of a .txt file.
advanced-potion-making
We begin our quest for the flag by downloading the file using wget. Running file advanced-potion-making and exiftool advanced-potion-making did not provide us with any clue about the file type of this file.
What Lies Within
Let’s begin by downloading the file using wget <link>. The downloaded file, buildings.png looks like this. Doesn’t seem helpful in any way. This may be hinting that this is a Steganography challenge.
Disk Disk Sleuth
This seems like a straightforward The Sleuth Kit (TSK) challenge. As per normal, we begin by downloading the compressed disk image using wget, and then expand the file using gunzip.
Wireshark Doo Dooo Do Doo...
Aha, a Wireshark challenge. First we download the .pcapng file using wget <link>. Wireshark is a network analysis tool. For more information, refer to Wireshark’s official documentation.
Matryoshka doll
This seems like an interesting challenge. The name suggests that we will probably have to recursively extract embedded files from the file provided, since this source explains what Matryoshka Dolls are.
Disk Disk Sleuth II
Another disk forensics challenge! As usual, we first download the file using wget <link>. We will have to run gunzip <file-name> as well to expand the file.
MacroHard WeakEdge
As the challenge name suggests, we will be dealing with Microsoft PowerPoint files in this challenge. We begin our journey by downloading the .pptm file using wget <link>.
Enhance!
A straightforward challenge. First, we download the file using wget <link>. At first, running strings <file-name> does not seem to reveal any important information.
File types
This challenge requires us to use binwalk and decompress many file types to eventually obtain our flag… and there’s a reason why it’s only 26% liked. As usual, we start by using wget to download our file from PicoCTF.
Operation Oni
From the description, it looks like we will have to download the disk image and retrieve an ssh key to connect to an ssh server afterwards, in order to obtain our flag ...
Lookey here
We begin by downloading the file using wget. We realise that the file provided is a text file. Based on the description, this text file is likely to be text-heavy.
Packets Primer
Seems like a typical network forensics challenge. After downloading the pcap file using wget, we can use Wireshark to get the flag. Since there are only 9 packets in this pcap file, finding the flag was straightforward.
Redaction gone wrong
After downloading the file, we can simply use the GUI to open the pdf file. In this case, I opened it with Atril Document Viewer. Selecting one of the blacked out portion reveals the flag in plaintext.
Sleuthkit Apprentice
We will first download and extract the compressed disk image using wget <link> and gunzip <file-name> respectively. We will then need to use The Sleuth Kit (TSK) commands for disk image analysis.
St3g0
We shall start off by following the instructions. I ran wget <link> to download the file. I also opened the file in GUI, but as the challenge name suggests, this is a Steganography challenge, so there was no useful information there.
FindAndOpen
We are provided with a flag.zip file and a dump.pcap file. The flag.zip file is password protected, as displayed below. With the above hint, I ran strings dump.pcap to have a quick glimpse of what’s going on in the pcap file.
Sleuthkit Intro
Based on the directions given, we will just have to wget <link to file> then run mmls and enter the value of the size of Linux partition in the nc server ...
hideme
The hideme challenge name already suggests that the flag is hidden from plain sight. We shall try to explore. Running binwalk reveals that there are embedded files that we need to take note of.
PcapPoisoning
After downloading the file, we realise that it is a pcap file, as the challenge name already suggests. We can run strings <file-name> | grep pico to get the flag immediately.