
Writeup RingZer0 CTF: You Turn Me On And Off
2024-06-27
sdr-challenge1.cfile
; open it with Universal Radio Hacker.Amplitude Shift Keying
) modulation and more specifically an OOK (On Off Keying
).1
we send a signal (on
) and to represent a 0
, we send nothing (off
).ASK
. You can also change the Show data as
setting to ASCII
so the data is displayed in clear text.
An important parameter to find is the Samples/Symbol
, which for digital modulation represents the duration of one bit
.
To find it, click Autodetect
; sometimes it works (like here where it finds 200
) but let’s learn to do it manually :)210
is the size of the smallest word possible, hence the size of one symbol. For larger words, their size will be multiples of 210
.Samples/Symbol
to this value.Autodetect
suggests.
No worries, the decoded output shows that every line (except perhaps the last) is similar. The same signal repeats.
I switched from Hex to ASCII view to see if a flag appeared, but that would be a minor detail regarding URH.Pause Threshold
.
This parameter determines the pauses (intervals of silence) between the data segments in the signal. Essentially, it’s the minimum number of consecutive silent samples required to register a pause.
By default, URH sets this value at 8
, meaning it considers a pause every 8 consecutive samples below a certain threshold.
Disabling this setting prevents URH from looking for pauses and allows it to successfully decode the signal.