TheByteDungeon

TheByteDungeon is a personal tech blog where I document my thoughts, explore technical challenges, and reinforce my knowledge.

Home Posts Projects View on GitHub
21 January 2025

Writeup: HTB Challenge RFlag

CHALLENGE DESCRIPTION:

We have found the garage where some cyber criminals have all their stuff. Using an SDR device, we captured the signal from the remote key that opens the garage. Can you help us to analyze it?

Provided files


Decode the signal data

The challenge mentions SDR (software defined radio), so we can use the Universal radio hacker to try to understand the data.

After some research we understand that remote garage keys use “on-off keying” which is a type of ASK (“amplitude-shifting keying”) so let’s use that.

urh1

Using “autodetect” changes the “Samples/Symbols” to 900 which is the size of each bit as can be visualized here (~7200/900):

urh2

Once we have interpreted the data, we move on to the Analysis tab. I played around with settings but turns out that “Manchester code” is a common encoding schema to use. Wikipedia also mentions that is was (and is) used for uploading commands to the Voyager spacecraft!

Anyway, we view the data as ASCII and set the decoding to “Manchester 2” and the flag pops up!

urh3

tags: htb - ctf - hardware