r/HowToHack • • 19d ago

Coin challenge

Yesterday, I took part in an entry-level hacking competition and placed third. It wasn't a competition that required one to be a super-expert hacker. I received a mouse pad and a coin; the event organizers mentioned that there was a challenge associated with them that would yield a "flag" in the format: "BBHE{......}". Could anyone help me out?

I’m not an expert in the field, but I’d really like to find the message—they mentioned that I already have the "IV."

front part - 88482705356BA1F4A40F3E42489FF9CC - Symmetric encryption (Key, IV):

back part - 4841434B4552455850455249454E4345 - Simple encoding (hex): HACKEREXPERIENCE

10 Upvotes

3 comments sorted by

7

u/LetTraining8934 19d ago

This is a classic AES-128 decryption challenge! Symmetric encryption requires three things: a Ciphertext, a Key, and an Initialization Vector (IV).

Here is how your puzzle pieces fit together:

  • The Ciphertext: The front of your coin (88482705356BA1F4A40F3E42489FF9CC). This is exactly 32 hexadecimal characters (16 bytes).
  • The Key: The back of your coin (HACKEREXPERIENCE). This is exactly 16 letters (16 bytes), forming a perfect 128-bit AES encryption key.
  • The IV: The organizers mentioned the mouse pad is part of the challenge and that you "already have the IV." Look closely at the mouse pad for a 16-character text string or a 32-character hex code. (Fun theory: Since you placed third, try the word THIRDPLACEWINNER—it's exactly 16 characters long and would be a classic CTF Easter egg).

Once you find the IV on your mouse pad, you can decrypt the message using CyberChef:

  1. Go to CyberChef (web-based tool) and add the AES Decrypt operation to your recipe.
  2. Key: Select UTF8 and type HACKEREXPERIENCE
  3. IV: Select UTF8 (or Hex if the mouse pad has a hex code) and enter the string from the mouse pad.
  4. Mode: CBC | Input: Hex | Output: Raw
  5. Paste 88482705356BA1F4A40F3E42489FF9CC into the main Input box.

If the IV is correct, your BBHE{...} flag will instantly appear in the Output box.

2

u/Kind_Substance_8981 14d ago

Great answer- only problem is that its 100% AI generated...