Tag

39 posts from HNF26, Self-Created and picoCTF

Cryptographybeginner

HNF26 - 13

The challenge provided an encoded text block along with a short hint: i do a rotate and some 2 Ciphertext: The title “13” and the phrase “i do a rotate and some 2^6” pointed directly to ...

  • ROT13
  • Base64
  • Python
Cryptographymedium

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 ...

  • Vigenère
  • Transposition
Cryptographyeasy

HNF26 - DISKLOCK

The challenge provided three files: DISKLOCK.LOG DISKLOCK.TXT PHOTO.LCK I checked DISKLOCK.LOG first to see what the program had done. According to the log, DISKLOCK v1.0 had encrypted PHOTO.BMP as PHOTO.LCK, then deleted the original image.

  • XOR
  • Python
Cryptographyeasy

HNF26 - Lebron

The challenge provided a ciphertext string along with a basketball-themed description full of wordplay: Reading through the description revealed several distinct clues: “64 ...

  • Vigenère
  • Base64
Cryptographyeasy

HNF26 - Moving Schools

The challenge description said the author was moving to another CTF and had found this flag there: The flag started with SMU26 instead of HNF26, and the text inside the braces looked ...

  • Substitution
  • Atbash
  • Python
Cryptographymedium

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 ...

  • RSA
  • Hex
  • Python
Cryptographymedium

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 ...

  • XOR
  • One-time pad
  • Python
Cryptographyeasy

HNF26 - the-last-transmission

The challenge provided this Morse code message: The message was split into three groups by the ..--.- symbol, which is Morse for an underscore. Decoding each group gave: Morse Letter ..

  • Morse Code
Cryptographyeasy

HNF 2025 - 23summit46

I heard encoding and encryption are 2 different things. Not sure whether this is useful.

  • Base64
Cryptographymedium

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 ...

  • Vigenère
Cryptographymedium

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>.

  • Python
  • XOR
Cryptographymedium

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.

  • Base64
Forensicsmedium

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.

  • Packet capture
  • Wireshark
  • Cryptography
Cryptographymedium

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).

  • Morse Code
  • Python
Cryptographymedium

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.

  • RSA
Cryptographymedium

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.

  • Substitution
Cryptographymedium

Mr-Worldwide

Seems like an interesting challenge. We first download the file and display its contents using wget <link> and cat <file-name> respectively.

  • Geography
Cryptographymedium

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.

  • Caesar Cipher
Cryptographymedium

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.

  • Python
  • Caesar Cipher
Cryptographymedium

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).

  • Vigenère
Cryptographymedium

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.

  • One-time pad
Cryptographymedium

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.

  • Python
  • Substitution
Cryptographymedium

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 ...

  • Python
  • Modular arithmetic
Cryptographymedium

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.

  • Modular arithmetic
  • Python
Cryptographymedium

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.

  • Substitution
Cryptographymedium

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.

  • Transposition
Cryptographymedium

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>.

  • Steganography
Cryptographymedium

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.

  • ROT13
Cryptographymedium

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.

  • Vigenère
Cryptographyeasy

13

ROT13 (“rotate by 13 places”) is a simple letter substitution cipher that replaces each letter with the letter 13 positions after it in the alphabet. Since the English alphabet has 26 letters, applying ROT13 twice returns the original text.

  • ROT13
Cryptographyeasy

The Numbers

Seems like an interesting challenge. The downloaded file looks like this. Now, this is surprising. All the previous challenges have had the same flag format of picoCTF{...}.

  • Python
Cryptographyeasy

interencdec

From the description and hint provided, we can infer that this challenge will likely use a variety of decoding processes. We shall begin by downloading the file using wget <link>.

  • Base64
  • Caesar Cipher
Cryptographyeasy

Mind your Ps and Qs

As the description suggests, this is an RSA cryptography challenge. After downloading the file provided using wget <link>, we can run cat values.

  • RSA
Cryptographymedium

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”).

  • ROT13
Cryptographymedium

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.

  • ROT13
Cryptographymedium

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.

  • Morse Code
Cryptographymedium

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”.

  • Transposition
  • Rail Fence
Cryptographymedium

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.

  • Substitution
Cryptographymedium

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.

  • Substitution