Tesla | 0xFun CTF 2026
a writeup for "Tesla" challenge in 0xFun CTF 2026.
Overview
- Platform: 0xFun
- challenge: Tesla
- Categories: Forensics
- Rating: 9/10
- Difficulty: Medium
- Solving Time: ~20 Minutes
Challenge
“Flipper Zero, often referred to as a hacking device, is designed to capture frequencies and execute commands. It’s considered a risky tool to have, as it is illegal in some countries.”
Walkthrough
Recon
Hmmm that Data looks some weird raw dump of something. as the challenge name and description it could be Flipper Zero Sub-GHz RAW Dump more on that later.
Raw Dump
1
2
3
4
5
6
Filetype: Bad Usb 0xfun
Version: 1
Frequency: 433920000
Preset: FuriHalSubGhz
Protocol: RAW
RAW_Data: 11111111 11111110 00100110 01000000 01100011 01101100 01110011 00100110 01000000 01110011 01100101 01110100 00100000 00100010 01001001 01101100 11000011 01100011 00111101 01110000 01100101 01110011 01100010 01001101 01010101 01010001 01101100 00110111 00110011 01101111 01010111 01101110 01110001 01000100 00111001 01110010 01000001 01110110 01000110 01010010 01001011 01011010 01100001 01100110 00110000 01101000 01001111 00110101 01000000 01100100 01000010 01001110 00110100 01110101 01010011 01111010 01000011 01110100 01000111 01101010 01000101 00100000 01011001 01111000 01001001 01010100 01110111 01011000 01101001 01010110 01101101 00110001 01001010 01100011 01100111 01111001 00110010 00110110 01001100 01101011 01001000 00111000 01010000 00100010 00001010 00100101 01001001 01101100 11000011 01100011 00111010 01111110 00110010 00111001 00101100 00110001 00100101 00100101 01001001 01101100 11000011 01100011 00111010 01111110 00110001 00101100 00110001 00100101 00100101 01001001 01101100 11000011 01100011 00111010 01111110 00110101 00110100 00101100 00110001 00100101 00100101 01001001 01101100 11000011 01100011 00111010 01111110 00110010 00110110 00101100 00110001 00100101 00100101 01001001 01101100 11000011 01100011 00111010 01111110 00110001 00110000 00101100 00110001 00100101 00100101 01001001 01101100 11000011 01100011 00111010 01111110 00110100 00110010 00101100 00110001 00100101 00100101 01001001 01101100 11000011 01100011 00111010 01111110 00110001 00110000 00101100 00110001 00100101 00100101 01001001 01101100 11000011 01100011 00111010 01111110 00110010 00110100 00101100 00110001 00100101 00100101 01001001 01101100 11000011 01100011 00111010 01111110 00110010 00110100 00101100 00110001 00100101 00001101 00001010 00100101 01001001 01101100 11000011 01100011 00111010 01111110 00110000 00101100 00110001 00100101 00100101 01001001 01101100 11000011 01100011 00111010 01111110 00110001 00110000 00101100 00110001 00100101 00100101 01001001 01101100 11000011 01100011 00111010 01111110 00110100 00110111 00101100 00110001 00100101 00100101 01001001 01101100 11000011 01100011 00111010 01111110 00110001 00101100 00110001 00100101 00100101 01001001 01101100 11000011 01100011 00111010 01111110 00110001 00110110 00101100 00110001 00100101 00100101 01001001 01101100 11000011 01100011 00111010 01111110 00110010 00101100 00110001 00100101 00100101 01110101 10101111 11000011 01010000 10101100 01110110 11000011 00100101 00100101 01001001 01101100 11000011 01100011 00111010 01111110 00110010 00110110 00101100 00110001 00100101 00100101 01001001 01101100 11000011 01100011 00111010 01111110 00110001 00101100 00110001 00100101 00100101 01001001 01101100 11000011 01100011 00111010 01111110 00110111 00101100 00110001 00100101 00100101 01001001 01101100 11000011 01100011 00111010 01111110 00110111 00101100 00110001 00100101 00100101 01001001 01101100 11000011 01100011 00111010 01111110 00110100 00110010 00101100 00110001 00100101 00101101 00100101 01001001 01101100 11000011 01100011 00111010 01111110 00110011 00110010 00101100 00110001 00100101 00100101 01001001 01101100 11000011 01100011 00111010 01111110 00110001 00110000 00101100 00110001 00100101 00100101 01001001 01101100 11000011 01100011 00111010 01111110 00110110 00110011 00101100 00110001 00100101 00100101 01001001 01101100 11000011 01100011 00111010 01111110 00110001 00110110 00101100 00110001 00100101 00100101 01001001 01101100 11000011 01100011 00111010 01111110 00110001 00110000 00101100 00110001 00100101 00100101 01001001 01101100 11000011 01100011 00111010 01111110 00110010 00110100 00101100 00110001 00100101 00100101 01001001 01101100 11000011 01100011 00111010 01111110 00110100 00111001 00101100 00110001 00100101 00100101 01001001 01101100 11000011 01100011 00111010 01111110 00110111 00101100 00110001 00100101 00100101 01001001 01101100 11000011 01100011 00111010 01111110 00110001 00101100 00110001 00100101 00100101 01001001 01101100 11000011 01100011 00111010 01111110 00110100 00110010 00101100 00110001 00100101 00101101 00100101 01001001 01101100 11000011 01100011 00111010 01111110 00110011 00110111 00101100 00110001 00100101 00100101 01001001 01101100 11000011 01100011 00111010 01111110 00110001 00110000 00101100 00110001 00100101 00100101 01001001 01101100 11000011 01100011 00111010 01111110 00110101 00110001 00101100 00110001 00100101 00100101 01001001 01101100 11000011 01100011 00111010 01111110 00110101 00110001 00101100 00110001 00100101 00100101 01001001 01101100 11000011 01100011 00111010 01111110 00110010 00110011 00101100 00110001 00100101 00100101 01001001 01101100 11000011 01100011 00111010 01111110 00110001 00110010 00101100 00110001 00100101 00100101 01001001 01101100 11000011 01100011 00111010 01111110 00110011 00110000 00101100 00110001 00100101 00100101 01001001 01101100 11000011 01100011 00111010 01111110 00110100 00110010 00101100 00110001 00100101 00100010 01011011 00100101 01001001 01101100 11000011 01100011 00111010 01111110 00110011 00110111 00101100 00110001 00100101 00100101 01001001 01101100 11000011 01100011 00111010 01111110 00110001 00110000 00101100 00110001 00100101 00100101 01001001 01101100 11000011 01100011 00111010 01111110 00110001 00110010 00101100 00110001 00100101 00100101 01001001 01101100 11000011 01100011 00111010 01111110 00110001 00111000 00101100 00110001 00100101 00100101 10101011 11000011 01101000 11000011 10100100 11000011 01010010 00100101 00100101 01001001 01101100 11000011 01100011 00111010 01111110 00110001 00101100 00110001 00100101 00100101 01001001 01101100 11000011 01100011 00111010 01111110 00110001 00110110 00101100 00110001 00100101 00100101 01001001 01101100 11000011 01100011 00111010 01111110 00110011 00111000 00101100 00110001 00100101 00100101 01001110 10101001 01001001 10101100 01110111 01010111 01100010 00100101 01011101 00111010 00111010 00100101 01001001 01101100 11000011 01100011 00111010 01111110 00110100 00110110 00101100 00110001 00100101 00100101 01001001 01101100 11000011 01100011 00111010 01111110 00110001 00110000 00101100 00110001 00100101 00100101 01001001 01101100 11000011 01100011 00111010 01111110 00110011 00110001 00101100 00110001 00100101 00100101 01010010 10110010 11000011 11000011 10110110 10100010 01110101 00100101 00100101 01001001 01101100 11000011 01100011 00111010 01111110 00110010 00110011 00101100 00110001 00100101 00100101 01001001 01101100 11000011 01100011 00111010 01111110 00110010 00101100 00110001 00100101 00100101 01001001 01101100 11000011 01100011 00111010 01111110 00110001 00101100 00110001 00100101 00100101 01001001 01101100 11000011 01100011 00111010 01111110 00110101 00111000 00101100 00110001 00100101 00100101 01001001 01101100 11000011 01100011 00111010 01111110 00110011 00110011 00101100 00110001 00100101 00100101 01001001 01101100 11000011 01100011 00111010 01111110 00110011 00110101 00101100 00110001 00100101 00100101 01001001 01101100 11000011 01100011 00111010 01111110 00110011 00111000 00101100 00110001 00100101 00100101 01001001 01101100 11000011 01100011 00111010 01111110 00110001 00110110 00101100 00110001 00100101 00100101 01001001 01101100 11000011 01100011 00111010 01111110 00110100 00111001 00101100 00110001 00100101 00100101 01001001 01101100 11000011 01100011 00111010 01111110 00110001 00110010 00101100 00110001 00100101 00100101 01001001 01101100 11000011 01100011 00111010 01111110 00110101 00110101 00101100 00110001 00100101 00101000 01011011 00100101 01001001 01101100 11000011 01100011 00111010 01111110 00110011 00110101 00101100 00110001 00100101 00100101 01001001 01101100 11000011 01100011 00111010 01111110 00110101 00110110 00101100 00110001 00100101 00100101 01001001 01101100 11000011 01100011 00111010 01111110 00110010 00101100 00110001 00100101 00100101 01001001 01101100 11000011 01100011 00111010 01111110 00110011 00111000 00101100 00110001 00100101 00100101 01001001 01101100 11000011 01100011 00111010 01111110 00110001 00101100 00110001 00100101 00100101 01001001 01101100 11000011 01100011 00111010 01111110 00110101 00110001 00101100 00110001 00100101 00101110 00100101 01001001 01101100 11000011 01100011 00111010 01111110 00110100 00110110 00101100 00110001 00100101 00100101 01001001 01101100 11000011 01100011 00111010 01111110 00110001 00101100 00110001 00100101 00100101 01001001 01101100 11000011 01100011 00111010 01111110 00110100 00110100 00101100 00110001 00100101 00100101 01001001 01101100 11000011 01100011 00111010 01111110 00110011 00111000 00101100 00110001 00100101 00101110 00100101 01001001 01101100 11000011 01100011 00111010 01111110 00110100 00110001 00101100 00110001 00100101 00100101 01001001 01101100 11000011 01100011 00111010 01111110 00110001 00110010 00101100 00110001 00100101 00100101 01001001 01101100 11000011 01100011 00111010 01111110 00110101 00110100 00101100 00110001 00100101 00100101 01001001 01101100 11000011 01100011 00111010 01111110 00110001 00110000 00101100 00110001 00100101 00100101 01001001 01101100 11000011 01100011 00111010 01111110 00110011 00110000 00101100 00110001 00100101 00100101 01001001 01101100 11000011 01100011 00111010 01111110 00110100 00111001 00101100 00110001 00100101 00100101 01001001 01101100 11000011 01100011 00111010 01111110 00110001 00110010 00101100 00110001 00100101 00100101 01001001 01101100 11000011 01100011 00111010 01111110 00110101 00110101 00101100 00110001 00100101 01011101 00111010 00111010 00100101 01001001 01101100 11000011 01100011 00111010 01111110 00110101 00101100 00110001 00100101 00100101 01001001 01101100 11000011 01100011 00111010 01111110 00110100 00110110 00101100 00110001 00100101 00100101 01001001 01101100 11000011 01100011 00111010 01111110 00110001 00111001 00101100 00110001 00100101 00100101 10100010 11000011 11000011 01110011 11000011 11000011 01110111 00100101 00100101 01001001 01101100 11000011 01100011 00111010 01111110 00110110 00110010 00101100 00110001 00100101 00101110 00100101 01001001 01101100 11000011 01100011 00111010 01111110 00110011 00111001 00101100 00110001 00100101 00100101 01001001 01101100 11000011 01100011 00111010 01111110 00110001 00101100 00110001 00100101 00100101 01001001 01101100 11000011 01100011 00111010 01111110 00110011 00111000 00101100 00110001 00100101 00100101 01001001 01101100 11000011 01100011 00111010 01111110 00110011 00110001 00101100 00110001 00100101 00100101 01001001 01101100 11000011 01100011 00111010 01111110 00110101 00110110 00101100 00110001 00100101 00100101 01001001 01101100 11000011 01100011 00111010 01111110 00110011 00111000 00101100 00110001 00100101 00100101 01001001 01101100 11000011 01100011 00111010 01111110 00110001 00101100 00110001 00100101 00100101 01100100 11000011 01011001 01101011 01100011 11000011 01001101 00100101 00100101 01001001 01101100 11000011 01100011 00111010 01111110 00110010 00101100 00110001 00100101 00101000 00100111 00100101 01001001 01101100 11000011 01100011 00111010 01111110 00110100 00111001 00101100 00110001 00100101 00100101 01001001 01101100 11000011 01100011 00111010 01111110 00110100 00110010 00101100 00110001 00100101 00100101 01001001 01101100 11000011 01100011 00111010 01111110 00110101 00110100 00101100 00110001 00100101 00100101 01001001 01101100 11000011 01100011 00111010 01111110 00110001 00110000 00101100 00110001 00100101 00100101 01001001 01101100 11000011 01100011 00111010 01111110 00110011 00110100 00101100 00110001 00100101 00100101 01001001 01101100 11000011 01100011 00111010 01111110 00110111 00101100 00110001 00100101 00100101 01001001 01101100 11000011 01100011 00111010 01111110 00110011 00110000 00101100 00110001 00100101 00100101 01001001 01101100 11000011 01100011 00111010 01111110 00110100 00110010 00101100 00110001 00100101 00100101 01001001 01101100 11000011 01100011 00111010 01111110 00110011 00101100 00110001 00100101 00100101 01001001 01101100 11000011 01100011 00111010 01111110 00110001 00101100 00110001 00100101 00100101 01001001 01101100 11000011 01100011 00111010 01111110 00110100 00110010 00101100 00110001 00100101 00100101 01001001 01101100 11000011 01100011 00111010 01111110 00110010 00101100 00110001 00100101 00100101 01001001 01101100 11000011 01100011 00111010 01111110 00110001 00110000 00101100 00110001 00100101 00100101 01001001 01101100 11000011 01100011 00111010 01111110 00110101 00110001 00101100 00110001 00100101 00100101 01001001 01101100 11000011 01100011 00111010 01111110 00110001 00101100 00110001 00100101 00100101 01001001 01101100 11000011 01100011 00111010 01111110 00110011 00111000 00101100 00110001 00100101 00100101 01001001 01101100 11000011 01100011 00111010 01111110 00110010 00110110 00101100 00110001 00100101 00100101 01001001 01101100 11000011 01100011 00111010 01111110 00110100 00111001 00101100 00110001 00100101 00100101 01001001 01101100 11000011 01100011 00111010 01111110 00110001 00110010 00101100 00110001 00100101 00100101 01101111 11000011 11000011 10101100 10100000 10000111 01010101 00100101 00100101 01001001 01101100 11000011 01100011 00111010 01111110 00110101 00110101 00101100 00110001 00100101 00100101 10101100 10111011 10100010 01001110 10101001 10100011 10111010 00100101 00100101 01001001 01101100 11000011 01100011 00111010 01111110 00110100 00110010 00101100 00110001 00100101 00100101 01001001 01101100 11000011 01100011 00111010 01111110 00110011 00111000 00101100 00110001 00100101 00100101 01001001 01101100 11000011 01100011 00111010 01111110 00110001 00110000 00101100 00110001 00100101 00100101 01001001 01101100 11000011 01100011 00111010 01111110 00110100 00110010 00101100 00110001 00100101 00100101 01001001 01101100 11000011 01100011 00111010 01111110 00110011 00111000 00101100 00110001 00100101 00100101 01001001 01101100 11000011 01100011 00111010 01111110 00110010 00110110 00101100 00110001 00100101 00100101 01001001 01101100 11000011 01100011 00111010 01111110 00110100 00111001 00101100 00110001 00100101 00100101 01001001 01101100 11000011 01100011 00111010 01111110 00110010 00101100 00110001 00100101 00100111 00101001 00101001 00100010 00001101 00001010 00111010 00111010 00100101 01001001 01101100 11000011 01100011 00111010 01111110 00110100 00110010 00101100 00110001 00100101 00100101 01001001 01101100 11000011 01100011 00111010 01111110 00110010 00111000 00101100 00110001 00100101 00100101 01001001 01101100 11000011 01100011 00111010 01111110 00110001 00110101 00101100 00110001 00100101 00100101 01110101 10000100 11000011 11000011 01101111 10010001 11000011 00100101 00100101 01001001 01101100 11000011 01100011 00111010 01111110 00110010 00111000 00101100 00110001 00100101 00100101 11000011 10010001 01001111 01011000 01110011 10100011 10110010 00100101 00100101 01001001 01101100 11000011 01100011 00111010 01111110 00110110 00110010 00101100 00110001 00100101 00100101 01001001 01101100 11000011 01100011 00111010 01111110 00110010 00110101 00101100 00110001 00100101 00100101 01001001 01101100 11000011 01100011 00111010 01111110 00110010 00111000 00101100 00110001 00100101 00100101 01001001 01101100 11000011 01100011 00111010 01111110 00110101 00110010 00101100 00110001 00100101 00100101 01001001 01101100 11000011 01100011 00111010 01111110 00110010 00110011 00101100 00110001 00100101 00100101 01001001 01101100 11000011 01100011 00111010 01111110 00110101 00110010 00101100 00110001 00100101 00100101 01001001 01101100 11000011 01100011 00111010 01111110 00110011 00101100 00110001 00100101 00100101 01001001 01101100 11000011 01100011 00111010 01111110 00110101 00110010 00101100 00110001 00100101 00100101 01001001 01101100 11000011 01100011 00111010 01111110 00111000 00101100 00110001 00100101 00100101 01001001 01101100 11000011 01100011 00111010 01111110 00110010 00110101 00101100 00110001 00100101 00100101 01001001 01101100 11000011 01100011 00111010 01111110 00110010 00110101 00101100 00110001 00100101 00100101 01001001 01101100 11000011 01100011 00111010 01111110 00110101 00110010 00101100 00110001 00100101 00100101 01001001 01101100 11000011 01100011 00111010 01111110 00111001 00101100 00110001 00100101 00100101 01001001 01101100 11000011 01100011 00111010 01111110 00110010 00111000 00101100 00110001 00100101 00100101 01001001 01101100 11000011 01100011 00111010 01111110 00110101 00110111 00101100 00110001 00100101 00100101 01001001 01101100 11000011 01100011 00111010 01111110 00110010 00110101 00101100 00110001 00100101 00100101 01001001 01101100 11000011 01100011 00111010 01111110 00111000 00101100 00110001 00100101 00100101 01000111 01110100 01110101 01100011 11000011 01110110 11000011 00100101 00100101 01001001 01101100 11000011 01100011 00111010 01111110 00110011 00110011 00101100 00110001 00100101 00100101 01001001 01101100 11000011 01100011 00111010 01111110 00110101 00111000 00101100 00110001 00100101 00100101 01001001 01101100 11000011 01100011 00111010 01111110 00110101 00110111 00101100 00110001 00100101 00100101 01001001 01101100 11000011 01100011 00111010 01111110 00110101 00111000 00101100 00110001 00100101 00100101 01001001 01101100 11000011 01100011 00111010 01111110 00110010 00111000 00101100 00110001 00100101 00100101 01001001 01101100 11000011 01100011 00111010 01111110 00110010 00110011 00101100 00110001 00100101 00100101 01001001 01101100 11000011 01100011 00111010 01111110 00110010 00110101 00101100 00110001 00100101 00100101 01001001 01101100 11000011 01100011 00111010 01111110 00110001 00101100 00110001 00100101 00100101 01001001 01101100 11000011 01100011 00111010 01111110 00110010 00111000 00101100 00110001 00100101 00100101 01001001 01101100 11000011 01100011 00111010 01111110 00110101 00110010 00101100 00110001 00100101 00100101 01001001 01101100 11000011 01100011 00111010 01111110 00110011 00110011 00101100 00110001 00100101 00100101 01001001 01101100 11000011 01100011 00111010 01111110 00111001 00101100 00110001 00100101 00100101 01001001 01101100 11000011 01100011 00111010 01111110 00110010 00111000 00101100 00110001 00100101 00100101 01001001 01101100 11000011 01100011 00111010 01111110 00110011 00101100 00110001 00100101 00100101 01001001 01101100 11000011 01100011 00111010 01111110 00111001 00101100 00110001 00100101 00100101 01001001 01101100 11000011 01100011 00111010 01111110 00110101 00111000 00101100 00110001 00100101 00100101 01001111 01010100 01110000 10110100 11000011 10101011 10101010 00100101 00100101 01001001 01101100 11000011 01100011 00111010 01111110 00110101 00110010 00101100 00110001 00100101 00100101 01001001 01101100 11000011 01100011 00111010 01111110 00110101 00111000 00101100 00110001 00100101 00100101 01001001 01101100 11000011 01100011 00111010 01111110 00110010 00111000 00101100 00110001 00100101 00100101 01001001 01101100 11000011 01100011 00111010 01111110 00111000 00101100 00110001 00100101 00100101 01001001 01101100 11000011 01100011 00111010 01111110 00110010 00111000 00101100 00110001 00100101 00100101 01001001 01101100 11000011 01100011 00111010 01111110 00110101 00110111 00101100 00110001 00100101 00100101 01001001 01101100 11000011 01100011 00111010 01111110 00110011 00110011 00101100 00110001 00100101 00100101 01001001 01101100 11000011 01100011 00111010 01111110 00111000 00101100 00110001 00100101 00100101 01001001 01101100 11000011 01100011 00111010 01111110 00110010 00110101 00101100 00110001 00100101 00100101 01010101 01110010 10011100 01101001 10100111 11000011 11000011 00100101 00100101 01001001 01101100 11000011 01100011 00111010 01111110 00110011 00101100 00110001 00100101 00100101 01001001 01101100 11000011 01100011 00111010 01111110 00111000 00101100 00110001 00100101 00100101 10111001 01000011 01010010 10110100 11000011 01110000 10101111 00100101 00100101 01001001 01101100 11000011 01100011 00111010 01111110 00110010 00110100 00101100 00110001 00100101 00100101 01001001 01101100 11000011 01100011 00111010 01111110 00110010 00110101 00101100 00110001 00100101 00100101 01001001 01101100 11000011 01100011 00111010 01111110 00111001 00101100 00110001 00100101 00100101 01001001 01101100 11000011 01100011 00111010 01111110 00110010 00111000 00101100 00110001 00100101 00100101 01001001 01101100 11000011 01100011 00111010 01111110 00110001 00110101 00101100 00110001 00100101 00100101 01001001 01101100 11000011 01100011 00111010 01111110 00110101 00110010 00101100 00110001 00100101 00100101 01001001 01101100 11000011 01100011 00111010 01111110 00110011 00110000 00101100 00110001 00100101 00100101 01001001 01101100 11000011 01100011 00111010 01111110 00110101 00110010 00101100 00110001 00100101 00100101 01001001 01101100 11000011 01100011 00111010 01111110 00110011 00101100 00110001 00100101 00100101 01001001 01101100 11000011 01100011 00111010 01111110 00111001 00101100 00110001 00100101 00100101 01001001 01101100 11000011 01100011 00111010 01111110 00110101 00111000 00101100 00110001 00100101 00100101 01001001 01101100 11000011 01100011 00111010 01111110 00110011 00110011 00101100 00110001 00100101 00100101 01001001 01101100 11000011 01100011 00111010 01111110 00110011 00101100 00110001 00100101 00100101 01001001 01101100 11000011 01100011 00111010 01111110 00110010 00111000 00101100 00110001 00100101 00100101 01001001 01101100 11000011 01100011 00111010 01111110 00110010 00110101 00101100 00110001 00100101 00100101 01001001 01101100 11000011 01100011 00111010 01111110 00110101 00110010 00101100 00110001 00100101 00100101 01001001 01101100 11000011 01100011 00111010 01111110 00110101 00111000 00101100 00110001 00100101 00100101 01001001 01101100 11000011 01100011 00111010 01111110 00110010 00110101 00101100 00110001 00100101 00100101 01001001 01101100 11000011 01100011 00111010 01111110 00110110 00110010 00101100 00110001 00100101 00100101 01001001 01101100 11000011 01100011 00111010 01111110 00110101 00111000 00101100 00110001 00100101 00100101 01001001 01101100 11000011 01100011 00111010 01111110 00110101 00110010 00101100 00110001 00100101 00100101 01001001 01101100 11000011 01100011 00111010 01111110 00110101 00111000 00101100 00110001 00100101 00100101 01001001 01101100 11000011 01100011 00111010 01111110 00110001 00101100 00110001 00100101 00100101 01001001 01101100 11000011 01100011 00111010 01111110 00110100 00110010 00101100 00110001 00100101 00111010 00111010 00001101 00001010 00111010 00111010 00100101 01001001 01101100 11000011 01100011 00111010 01111110 00110100 00110010 00101100 00110001 00100101 00100101 01001001 01101100 11000011 01100011 00111010 01111110 00110100 00111001 00101100 00110001 00100101 00100101 01001001 01101100 11000011 01100011 00111010 01111110 00110001 00111000 00101100 00110001 00100101 00100101 01001001 01101100 11000011 01100011 00111010 01111110 00110001 00101100 00110001 00100101 00100101 01001001 01101100 11000011 01100011 00111010 01111110 00110100 00110010 00101100 00110001 00100101 00100101 01001001 01101100 11000011 01100011 00111010 01111110 00110011 00101100 00110001 00100101 00100101 01001001 01101100 11000011 01100011 00111010 01111110 00110001 00101100 00110001 00100101 00100101 01001001 01101100 11000011 01100011 00111010 01111110 00110001 00101100 00110001 00100101 00100101 01001001 01101100 11000011 01100011 00111010 01111110 00110001 00110010 00101100 00110001 00100101 00100101 01001001 01101100 11000011 01100011 00111010 01111110 00110100 00110010 00101100 00110001 00100101 00100101 01001001 01101100 11000011 01100011 00111010 01111110 00110001 00101100 00110001 00100101 00100101 01001001 01101100 11000011 01100011 00111010 01111110 00110001 00110010 00101100 00110001 00100101 00100101 01001001 01101100 11000011 01100011 00111010 01111110 00110101 00110100 00101100 00110001 00100101 00100101 01001001 01101100 11000011 01100011 00111010 01111110 00110001 00110110 00101100 00110001 00100101 00100101 01001001 01101100 11000011 01100011 00111010 01111110 00110101 00110110 00101100 00110001 00100101 00100101 01001001 01101100 11000011 01100011 00111010 01111110 00110000 00101100 00110001 00100101 00100101 01001001 01101100 11000011 01100011 00111010 01111110 00110011 00111000 00101100 00110001 00100101 00100101 01001001 01101100 11000011 01100011 00111010 01111110 00110001 00101100 00110001 00100101 00100101 01001001 01101100 11000011 01100011 00111010 01111110 00110011 00110000 00101100 00110001 00100101 00100101 11000011 01011001 01011000 10110011 10110101 11000011 01010011 00100101 00100101 01001001 01101100 11000011 01100011 00111010 01111110 00110100 00110010 00101100 00110001 00100101 00100101 11000011 11000011 01101100 01000110 11000011 01011111 10101001 00100101 00100101 01001001 01101100 11000011 01100011 00111010 01111110 00110101 00110001 00101100 00110001 00100101 00100101 01001001 01101100 11000011 01100011 00111010 01111110 00110010 00110011 00101100 00110001 00100101 00100101 01001001 01101100 11000011 01100011 00111010 01111110 00110001 00110010 00101100 00110001 00100101 00100101 01001001 01101100 11000011 01100011 00111010 01111110 00110101 00110110 00101100 00110001 00100101 00100101 01001001 01101100 11000011 01100011 00111010 01111110 00110100 00110010 00101100 00110001 00100101 00100101 01001001 01101100 11000011 01100011 00111010 01111110 00110100 00111001 00101100 00110001 00100101 00100101 01001001 01101100 11000011 01100011 00111010 01111110 00110001 00110010 00101100 00110001 00100101 00100101 01001001 01101100 11000011 01100011 00111010 01111110 00110100 00110010 00101100 00110001 00100101 00100101 01001001 01101100 11000011 01100011 00111010 01111110 00110100 00110111 00101100 00110001 00100101 00100101 01001001 01101100 11000011 01100011 00111010 01111110 00110010 00110011 00101100 00110001 00100101 00100101 01001001 01101100 11000011 01100011 00111010 01111110 00110101 00110110 00101100 00110001 00100101 00100101 01001001 01101100 11000011 01100011 00111010 01111110 00110010 00101100 00110001 00100101 00111010 00111010 00001101 00001010 00100101 01001001 01101100 11000011 01100011 00111010 01111110 00110000 00101100 00110001 00100101 00100101 01001001 01101100 11000011 01100011 00111010 01111110 00110010 00110011 00101100 00110001 00100101 00100101 01001001 01101100 11000011 01100011 00111010 01111110 00110011 00110100 00101100 00110001 00100101 00100101 01001001 01101100 11000011 01100011 00111010 01111110 00110010 00101100 00110001 00100101 00100101 01001001 01101100 11000011 01100011 00111010 01111110 00110001 00101100 00110001 00100101 00001101 00001010
Solution Approach
“Flag format:
0xfun{}”
After more looking into the file this is acutually not SubGHz dump, its Bad USB (HID) Payload. And The .sub extension is a red herring.
Breakdown
Layer 1 Binary encoding in RAW_Data The RAW_Data: field normally holds RF pulse timing data. Here it’s been repurposed to store space-separated 8-bit binary values that decode to ASCII text (with a UTF-16 LE BOM prepended as a small jab). Just convert each group of 8 bits to its ASCII character.
Layer 2: Windows CMD obfuscation The decoded text is a .bat script that uses a classic CMD obfuscation technique, a variable is set to a scrambled 64-char alphabet, and every meaningful character in the commands is referenced as %var:~N,1% (extract 1 character at position N). Collecting all the indices and looking them up in the key string reconstructs the real script:
1
2
3
4
5
@echo off
powershell -NoProfile -Command "[Convert]::ToBase64String([System.Text.Encoding]::UTF8.GetBytes('i could be something to this
:: <hex blob>
ive been encrypted many in ways'))"
pause
Layer 3: XOR ciphertext hidden in a CMD comment The hex blob 5958051a...616e lives in a comment line (comments are ignored at runtime, so the PS command only sees the two hint sentences). The two surrounding phrases are your XOR hints:
“i could be something to this” → the XOR key (28 bytes, applied cyclically)
“ive been encrypted many in ways” → just flavor text, it’s telling you the method, not a second key
Now here’s the interesting part, the key is 28 bytes but the ciphertext is 35 bytes, so how does the last _k3y} come out? The key just wraps around. positions 28–32 reuse key[0..4] which is “i cou”, and that’s exactly what decrypts the tail:
1
2
3
4
5
cipher[28] = 0x36 ^ 'i' = '_'
cipher[29] = 0x4b ^ ' ' = 'k'
cipher[30] = 0x50 ^ 'c' = '3'
cipher[31] = 0x16 ^ 'o' = 'y'
cipher[32] = 0x08 ^ 'u' = '}'
The last 2 bytes (33–34) are just \r\n padding — stripped at the end.
Decryption Code
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
import re
# ─────────────────────────────────────────────
# STEP 0: Read the .sub file
# ─────────────────────────────────────────────
with open('Tesla.sub', 'rb') as f:
content = f.read()
text = content.decode('latin-1')
raw_line = ''
for line in text.split('\n'):
if line.startswith('RAW_Data:'):
raw_line = line.replace('RAW_Data:', '').strip()
break
print("[*] Found RAW_Data field")
# ─────────────────────────────────────────────
# STEP 1: Binary -> ASCII
# The RAW_Data contains space-separated 8-bit binary values.
# Skip the first 2 bytes (FF FE = UTF-16 LE BOM).
# ─────────────────────────────────────────────
binary_groups = raw_line.split()
raw_bytes = bytes(int(b, 2) for b in binary_groups)
script = raw_bytes[2:].decode('utf-8', errors='replace') # skip BOM
print("[*] Decoded binary -> script text")
# ─────────────────────────────────────────────
# STEP 2: Deobfuscate CMD %var:~N,1% substitution
# The script sets a variable with a scrambled alphabet,
# then constructs commands by indexing into it.
# ─────────────────────────────────────────────
lookup = "pesbMUQl73oWnqD9rAvFRKZaf0hO5@dBN4uSzCtGjE YxITwXiVm1Jcgy26LkH8P"
all_indices = re.findall(r':~(\d+),1%', script)
decoded_cmd = ''.join(lookup[int(i)] for i in all_indices if int(i) < len(lookup))
print("[*] Deobfuscated CMD script:")
print(" " + decoded_cmd)
# ─────────────────────────────────────────────
# STEP 3: Extract the XOR ciphertext
# The PowerShell command embeds the ciphertext in a CMD comment (:: line).
# The comment line's indexed chars decode to the hex string.
# ─────────────────────────────────────────────
# Line 2 (the :: comment) indices decode to the ciphertext hex:
comment_line_indices = [
'42','28','15','28','62','25','28','52','23','52','3','52','8','25','25',
'52','9','28','57','25','8','33','58','57','58','28','23','25','1','28',
'52','33','9','28','3','9','58','52','58','28','8','28','57','33','8',
'25','3','8','24','25','9','28','15','52','30','52','3','9','58','33',
'3','28','25','52','58','25','62','58','52','58','1','42'
]
ciphertext_hex = ''.join(lookup[int(i)] for i in comment_line_indices).strip()
print(f"\n[*] Extracted ciphertext (hex): {ciphertext_hex}")
# ─────────────────────────────────────────────
# STEP 4: XOR decrypt
# The XOR key is "i could be something to this" —
# extracted from the first part of the PowerShell GetBytes() argument.
# ─────────────────────────────────────────────
xor_key = "i could be something to this"
cipher_bytes = bytes.fromhex(ciphertext_hex)
plaintext = bytes(
cipher_bytes[i] ^ ord(xor_key[i % len(xor_key)])
for i in range(len(cipher_bytes))
)
flag = plaintext.decode('utf-8', errors='replace').rstrip('\r\n')
print(f"\n[+] FLAG: {flag}")
Flag
0xfun{d30bfU5c473_x0r3d_w1th_k3y}
Hope you enjoyed the writeup, Don’t forget to leave a comment or a star on the github repo (;


