start	end	text
920	2420	All right.
3320	5040	Greetings, Wireless Village.
5360	7480	Thanks for coming to my talk today.
9280	10740	Brandon has the audio.
12400	19700	All right, so today we're going to be talking about how to run a software-defined radio capture-of-the-flag using Challenge CTL.
20060	25620	So, Challenge CTL is the software that we use to run the RF capture-of-the-flag here and some of the challenges.
26460	30340	So, what we're going to talk about today is what is the RF CTF?
30340	35800	If you've heard my spiel during this weekend, you're probably familiar with this.
36080	46560	But just to make sure we're on the same page, we're going to go over what our goals are for the RF CTF, what kinds of challenges that we have, Wi-Fi, RFID, the other RF stuff, other RF.
46560	56060	In this case, we kind of use that interchangeably with software-defined radio, mostly because we're using software-defined radio for a lot of it, and that's what we expect people to use to solve it.
56060	61700	It's not necessarily the only thing that you could use to solve it, but that's what other RF is referring to.
61880	63780	We'll talk a little bit about scoring.
63960	69600	We're not going to go super deep into that since the focus of this is on using Challenge CTL.
70520	73160	And then we'll talk about what some of those challenges are.
73160	80620	We'll dive into Challenge CTL, what the design goals were for that, the current state, and then some future development ideas for it.
80860	94120	And hopefully by the end of this, you'll be able to run Challenge CTL, you'll be able to run our software-defined radio challenges at home by yourself on your machine, your software-defined radio, and possibly even write your own challenges or roll the keys yourself.
95900	98160	So a couple of acknowledgements real quick.
98540	101960	A lot of people have contributed to make the RFCTF happen.
101960	103900	That's for all the different challenges.
103980	111240	So I'm going to be talking about one aspect of it, but to actually make the event that you're seeing in front of you, it takes a lot of people.
111520	116180	Current and former RFHS staff, there are a lot of people that have contributed and volunteered over the years.
116360	129460	Friends of the village, we have folks that haven't technically been on staff but are good friends of the village and have contributed a lot in terms of challenges, technical support, releasing great products, releasing great libraries, other software that we make use of.
129820	136500	And then specifically for Challenge CTL and the software-defined radio challenges, I want to give acknowledgements to Russ Handorf.
136500	142640	He is the person that introduced the software-defined radio aspect to the RF Capture the Flag.
142660	147740	And then Corey Koval, also, he was the one that originally wrote Challenge CTL.
147740	154220	I've been making some contributions, but Corey is the one that wrote the original wrapper for all these challenges.
156160	158380	So what is the RF CTF?
158380	167040	So it's a radio frequency capture the flag, and the goal is to capture, identify, and decode or interact with lots of different RF signals.
167360	182200	And these can range anything from Wi-Fi to Bluetooth, RFID, amateur radio, other types of RF, things like tire pressure sensors, industrial control systems, basically anything that communicates wirelessly, we're interested.
182200	185760	And that can be a part of our challenge, or a part of our contest.
185860	188420	And our goals are a couple of fold.
188420	191540	So one, it's a competition, so it is a contest.
191540	197000	We want to see who can solve the most challenges, who can solve them most quickly, all that kind of stuff.
197220	200220	But the main goals are learning and experimentation.
200220	203360	We want this to be an educational activity.
203480	214800	We want people to be able to come and try out their tools, their software, be able to attack our networks and signals and really play with stuff in a way that they wouldn't necessarily be able to at home or out in public.
214840	217060	So things like, you know, we've got restaurant pagers.
217060	221500	If you want to try to set some of those off, set ours off and don't tick off the local restaurant.
221840	224180	Try out new different attacks and things.
224180	232860	Try out aspects of amateur radio or just wireless experimentation that you've not gotten a chance to do at home.
235720	237080	So real quick on scoring.
237080	242580	One of the things that makes it a CTF contest or a capture the flag contest is the scoring.
242740	248900	So again, we're not going to dive super deep into this, but I want to acknowledge that this is a really important part if you're trying to make it a game.
249600	251520	You have to keep score some way.
251900	259020	If you want to just set this up for learning and experimentation, you can run all these challenges and just have a good time, not worry about scoring at all.
259920	265320	Typically speaking, each challenge will have a certain number of points assigned to it.
265320	273300	There are some other things where it's like you'll accumulate points based on how long you were in control of an access point or something along those lines.
273300	281020	Those are a little bit different, but most of the challenges are if you solve this challenge, you submit this flag and you get this number of points.
281740	290140	If you're going to be running a moderately sized capture flag or larger, something like this, you need some sort of scoring system.
290140	295560	You could use paper or just write down scores for people if you have a small event, just a handful of people.
295660	298800	Or if you're doing this with a couple of coworkers or something.
299320	307860	But for something like this, you need some sort of automated scoring system for people to put points in or put flags into, have them validated, and then assign points.
308620	311060	Right now we're using CTFD.
311160	314520	That's an open source project that you can download and run yourself.
314520	316800	I think you can pay them to host it.
316800	318220	We're hosting our own.
319260	323300	We've tried with a number of different roll-your-own scoring systems in the past.
323300	327140	Over there on the right side, you can see that's our previous scoreboard.
327800	329640	Down below, that is CTFD.
329640	331260	That's what we're currently using.
334530	339770	I mentioned typically the scoring is you get a certain number of points per challenge.
339770	342830	At a basic level, what is an RFCTF challenge?
342830	347770	This is a discrete wireless signal or a device to decode or interact with.
347850	354410	We want to break down the Capture the Flag into small nuggets, like discrete things for people to do.
354410	360510	Capture this Morse code signal, or set that pager off, or decode this other thing.
360690	367150	Things like MeshTastic is really popular right now, but MeshTastic is not a Capture the Flag challenge.
367150	371910	We could have a MeshTastic challenge, but it would be, we're sending out a message.
371910	372910	Decode that message.
372910	376830	Find that message, or send me a message on MeshTastic.
376830	377950	Find this node.
377950	378910	Find this device.
378910	379990	Something like that.
379990	386790	We have to make it a little bit more specific and something that people can actually digest and solve.
387550	389030	A couple of requirements.
389030	392390	Things that are required for our Capture the Flag challenges.
392510	394050	Number one, it has to be legal.
394050	398250	It has to be legal for both us to transmit and for the contestants to receive.
398250	403510	This is one of the reasons that you won't see us running a cellular challenge, for example.
404090	407730	We don't have the licenses to be able to transmit onto cellular bands.
407750	410830	Contestants don't have licenses to be able to monitor that.
410830	412970	That would cause all sorts of legal problems.
413210	419770	Even if we were able to run our own cell tower, for example, it would be problematic to get the contestants to decode that.
419770	426470	We would also potentially be encouraging people to do something that could get them into legal trouble if they make a misconfiguration or something.
426470	428550	So we've tried to avoid things like that.
428950	431990	Similar sort of thing with things like ADS-B.
431990	443850	There's potentially ways that we could run an ADS-B challenge, but we need to modify that in a certain way so that people aren't sending out packets and disrupting local air traffic and that kind of stuff.
445150	448030	Another requirement is the challenge has to be solvable.
448490	452970	With this being said, it doesn't necessarily have to be solvable with some off-the-shelf software.
452970	457250	There doesn't have to be an easy solution, but there has to be an answer for people to get to.
457470	462750	So it can't just be a, we're transmitting something, good luck, let us know what you find.
463090	466530	That would be hard to score, also frustrating for the contestants.
466530	468390	You don't really know when you get to the end.
468550	472430	And we want there to be a defined end to each of the challenges.
473390	475170	Challenges also need to be repeatable.
475170	479190	We have to do this every single time, like the same way every single time.
479330	484230	And so throughout the course of the weekend, we're transmitting challenges hundreds of times, if not thousands.
484270	486850	And it needs to be the same every single time.
487090	489990	And we need to be able to do that at least for the course of the weekend.
490410	498030	It's even better if we can have rollable keys, easily changeable keys, where we can change that between conferences.
498110	502490	But if nothing else, it has to be repeatable for the duration of the contest.
503330	505210	A couple of nice-to-have things.
505530	508750	We'd like for the challenges to be solvable with commodity hardware.
508750	516170	Things like an RTL-SDR or a BladeRF, a HackRF, things that people would commonly have and might be bringing to conferences.
516550	520010	We try to avoid things that require specialized hardware.
520010	526050	So if you need, let's say, one example that we've run a couple of times is 60 GHz Wi-Fi.
526590	531970	There's specific hardware out there that you need for 60 GHz Wi-Fi or frequencies in that range.
532030	534910	And that's not something that people typically carry around.
535270	543190	When we've done that, we typically have gear available to loan to people to do that, but that is a little bit inconvenient on our side to be able to just bring more gear.
543230	544410	It's another thing to bring.
544410	551470	So nice-to-have is making sure that we can transmit it and that contestants can receive it with commodity hardware.
552770	557090	And then another nice-to-have, I mentioned that the challenge has to be solvable.
557830	568290	It's nice to have things like MultiMon that is meant for decoding pager traffic or other software like FL Digi for decoding some of the amateur radio modes.
568450	577950	Those are nice-to-haves, but even if you have to go to something like InSpectrum or URH to manually decode some of these signals, that's okay.
577950	583530	Sometimes that is meant to be a hard challenge, but it's nice when there's something out there already for folks to go and use.
583530	586390	This way they can go and experiment with the protocols.
587230	594290	It makes the challenge a little bit more approachable than there's a signal out there with no software that we know of to decode it.
594290	595090	Good luck.
595530	598370	Those are some of the requirements and nice-to-haves.
601410	607310	There are a few rabbit holes that go into making the RF capture the flag that are outside the scope of this presentation.
607730	615790	For the Wi-Fi challenges, check out the RFCTF container and some of the other repositories up on the RFHS GitHub.
616550	621910	For the FOXs, Kitsune is the software that we run on the little FOX modules.
621910	628110	Just for reference, the FOXs, we're talking about the fox-and-hound type challenges.
628110	631110	That's where we give a person a wireless transmitter.
631110	639450	They go around the conference just enjoying themselves like normal and then the contestants have to go find that person based only on the information about the wireless transmitter.
640570	643270	The code that we're using right now for that is Kitsune.
643270	644970	That's up on our GitHub as well.
645670	649830	For RFID challenges, those are not transmitted with Challenge CTL.
649830	654070	We have a building in a box that RTA created for us.
654110	658670	And then you can also look into RFID door simulators for creating RFID challenges.
660230	661930	RFID tends to...
661930	672190	It's more realistic when you have real readers and so when you have a real reader configured to read the credentials that you're trying to get people to attack, that ends up being a more engaging RFID challenge.
672210	674510	But those are outside the scope of this presentation.
674510	681770	I just want to make you aware that that is also part of the RF Capture the Flag and things that you can look into if you're looking to run this kind of event yourself.
685130	689970	So, running RFCTF challenges and running specifically the other RF.
689970	693750	So, not Wi-Fi, not Bluetooth, RFID, that kind of stuff.
694110	697150	One of the ways that you can run these is using dedicated hardware.
697150	699130	And you'll see examples of this up there.
699190	703890	Things like pagers, TPMS sensors, the RGB light ones that we have.
704650	706830	We used to have a DVB-T transmitter.
707430	709770	There's a couple of examples up in that picture there.
709770	714690	Six low-pan radios, 802.15.4, a couple of different pagers and whatnot.
715090	722270	So, the pros of this is that when you use off-the-shelf hardware doing exactly what it was designed to do, it's very reliable.
722290	723830	It's also very realistic.
724890	726270	So, those are great.
726270	731570	And it's always fun to have stuff where people have seen these things and go, like, hey, I've seen that before.
731570	732810	I know exactly what that is.
732810	737750	I've seen that in my local restaurant, or I've seen that in a hospital, or isn't that a pager from the 80s?
737810	738950	And the answer is yes.
738950	741450	Those are all real devices just doing their thing.
742250	744270	Cons of this are scalability.
745110	748930	The more of these types of things that we add, the more hardware we have to bring.
748930	753330	So, that just adds weight, adds complication in terms of getting the equipment to events.
754350	757290	It adds expense because we have to go buy these things.
757390	763210	We may or may not do that anyway for challenge development, but it just reduces the scalability of it.
764050	766170	Replacement is also an important concern.
766170	771770	If you have dedicated hardware, if that pager fails, that challenge is no longer in the CTF.
772730	777190	I can't just run out to the store and buy a tire pressure sensor necessarily.
777890	781590	That's probably the most easily replaceable item on that page.
781810	787810	Some of the pagers and some of the dedicated hardware, though, you can't just run out locally and get if you need to replace it.
788050	793010	Another con for some of the off-the-shelf stuff is the ease of changing keys.
793210	796750	That pager, for example, that's got number 61 on it.
796750	804830	That pager is always number 61 and there may be a way to change it with some other dedicated hardware, but it is not easy to change.
804830	810330	That pager will always be that number assigned to that system unless it gets reprogrammed some other way.
810590	812270	Same thing with that tire pressure sensor.
812270	813610	It's got its own ID.
813650	818670	It'll always be the same no matter what, basically until that battery dies and can't be changed.
818670	820350	Those are some of the cons.
820350	824870	It is nice again because they're realistic, they're engaging, and they're very reliable.
827310	843850	The next step up from using dedicated hardware is using individual SDR flow graphs, things like GNU Radio or other types of scripts and whatnot, to be able to transmit using a HackRF, BladeRF, USRP, any of these types of things.
844130	846690	These are great because they're easy to prototype.
846690	852950	It's easier to roll the keys, usually, assuming you've designed that in a way where you can roll the keys and actually change things.
853190	855410	And you can transmit it with commodity hardware.
856390	862170	Downside to this is, so this is how most of our challenges start, is by an individual flow graph.
862710	864190	I have one radio.
864190	865890	I'm doing one thing at a time.
866170	867190	I tried it out.
867190	868210	Great, it works.
868210	869830	That's good enough to be a challenge.
870630	880510	Downside is when you do the development like this, you're tying up a single SDR device to one challenger script, and so that device will just be doing that one thing.
881270	887890	And then starting and stopping those things with multiple devices, you are basically limited.
887890	901550	If you turn off the GUI and make this into a script that just runs once and exits , you can wrap that in a bash script or something like that, but you're still essentially limited to the same loop, just one device running that one script.
907260	908120	Let's see.
908300	910960	Subdividing individual SDR flow graphs or scripts.
913420	919340	When you're creating these individual scripts, there's essentially three different things that you can do with them.
919740	921460	You can do a capture and replay.
921460	924520	I mentioned the dedicated off-the-shelf hardware.
924780	933900	One of the things that we could do with that is capture the raw IQ and just replay that IQ file, just a raw capture, which is fine.
933900	934860	That will work.
934860	935860	That will be functional.
935860	937860	It's kind of messy, a little bit noisy.
937860	941640	If we don't do some additional filtering and stuff, then you could be capturing other noise.
941660	944780	It's not really the best way of doing things, but it would work.
945940	949360	Next way, generating binary or audio files to transmit.
949360	958460	This is how some of our challenges are done right now, where you generate a binary file and then use that into a more generic script to transmit that out of your SDR.
959780	963640	That's reliable, but rolling keys can be challenging.
963760	971540	Right now, with the challenge that we have running out of the SDR box, it takes roughly two hours to roll the keys.
971540	975720	Not because there's that many challenges, that there's just so many things to do.
975720	983560	It's that the time that it takes, the FL Digi is what we're using to generate some of those keys, and it's doing everything in real time.
983560	997660	It's meant for interactive use, and so it is replaying everything in real time, so we have to wait for everything to finish generating and then save off the WAV file, then do it again to test to make sure that that works.
998920	1007200	And then there's also complication in terms of making sure that all the files are the right format and all that, before they go into the flow graph.
1008300	1013140	So then, the next, the ideal state is when you're generating the signals entirely within the flow graph.
1013140	1024300	So you give it the key that you want, so if I want the flag to be the quick fox jumps over the lazy dog or whatever, I just put that in and it generates everything for me.
1024300	1029100	I don't have to wait for it to generate a binary file or anything, and it just goes.
1032820	1039840	So, next thing to consider for scaling up from those individual scripts is scaling up with multiple devices.
1040180	1047660	So, the pro, the main advantage that you get with this is that you will be able to get more challenges in the air with standardized hardware.
1048000	1052300	So, you can absolutely run all of these challenges on a single device.
1052440	1054720	The downside is that you're limited to that one device.
1054720	1060180	That device can transmit usually one thing at a time, so you have one challenge in the air at any one time .
1060300	1071660	And if your contestants are waiting for a specific challenge to come around, then they have to wait for all the other challenges that you have going to be transmitted before it gets back to the one that they're interested in.
1071960	1081080	So, if you add multiple devices, then you can have three or more, however many radios you have, you can have that many challenges in the air at the same time.
1081540	1086940	This is something that we've prototyped over multiple years, going back to roughly 2014.
1087440	1095900	Russ Handorf, who I mentioned earlier, his original SDR football was actually using a couple of Raspberry Pis and PiFM to transmit some of the challenges.
1096640	1101640	We relatively quickly moved on from that to using a couple of HackRFs.
1101760	1109440	And so, the diagram up in the top right is essentially a functional diagram of the original software defined radio football.
1109640	1115860	There were a couple of Raspberry Pis controlling a few HackRFs, and then those going out to a couple of amplifiers.
1116060	1121360	There was also a DVB-T dongle, that's that specialized hardware, some of that specialized hardware I mentioned before.
1122160	1135100	And from what I remember about running challenges on this, there was essentially one script per device, per HackRF, and then there was synchronization happening through a database that was on one of those two Pis.
1135960	1146820	So that was essentially the first iteration of ChallengeCTL, before it was called ChallengeCTL, but that was how we were coordinating some of the challenges, and having each of those hosts go through and check, is there a challenge available?
1146820	1148620	Is there one that I need to be running right now?
1148620	1152300	And do I have, like, am I ready to transmit that on this device?
1153680	1160320	Fast forward about a decade, and now we have our current generation SDR box, which is the picture in the bottom right.
1160320	1169660	That is using three BladeRF 2.0s and that is running ChallengeCTL, which is a single Python wrapper to do all that marshalling and scheduling.
1173020	1176900	So like I said, this is the current generation of our SDR box.
1177400	1178840	It's running in Python.
1178840	1184480	It's a multi-threaded Python application to manage the CTFs, or CTF challenges.
1184500	1198480	It manages a list of software-defined radio devices, so it knows that it's got, in this particular case, it has three BladeRFs and it checks to make sure that device is available before it starts transmitting, and then when it finds an available device,
1198480	1203400	it will check to see if there's a challenge that it needs to be transmitting, and it will take that challenge and start sending it.
1204720	1208420	It manages a list of challenges, so we're not limited to three challenges with this.
1208420	1217280	We have probably 15 or 16 different flags being sent out from these three devices, and it will cycle those challenges across devices as they're available.
1217640	1232140	This is also doing some spectrum painting, so if you've seen our display over that direction, where we have the various different sponsor logos coming across the spectrum, that display isn't mixing them into the spectrum, that's doing that after the fact,
1232140	1242780	but for Challenge CTL, we're actually putting our logo out on the radio frequency right before we transmit the challenge to make sure that contestants are aware that one of our challenges is coming.
1246140	1250980	So, right now, there are a handful of different types of challenges in Challenge CTL.
1251160	1253380	First type is Morse code.
1253800	1256180	Next type is amplitude shift keying.
1256640	1262640	We have narrowband FM and upper sideband flow graphs for transmitting some of the amateur radio digital modes.
1262840	1273480	All three of those are actually carriers over from the original SDR Football and what Russ Endorf developed, I think, in collaboration with Arguello and some of his SDR examples.
1274280	1276320	But those are some of the challenges that we've got.
1276320	1283000	We've also got POCSAG and the long range systems restaurant pager challenge being transmitted out of that box as well.
1285260	1287120	Alright, so, demo time.
1288280	1291140	So, all of this is open source.
1291140	1292880	Challenge CTL is open source software.
1292880	1294680	It is available on our GitHub.
1297600	1310600	And so, if you go to github.com rfhs challengectl there's a link to this from our website as well, rfhackers.com but this is the project that you're going to want to be looking at.
1311220	1314900	So, this is what we use to transmit out all those challenges.
1315220	1322200	We also have this flags archive where we upload challenges from previous CTFs.
1322200	1328960	So, what I'm going to walk you through right now is running actually running all of our challenges as we were running them at ShmooCon.
1328960	1332900	So, on my laptop here, I have a single just a single blade RF.
1332900	1339020	So, not as fancy as the SDR box that we have up there with three of them.
1339800	1350440	If you git clone the challenge CTL you'll come out here, you'll have a number of different scripts here.
1350440	1359520	First one to take note of is the create devices.text.py So, one of the things that challenge CTL needs is two things.
1359520	1362160	It needs a devices file and a flags file.
1366520	1372980	So , first thing we need to do is generate that device file and then I'll show you the flags files as well.
1373200	1376280	So, there are also a number of other examples up here.
1376280	1385940	So, the flags.text.ci that's for testing to make sure that we don't have any new errors just for essentially continuous integration, continuous testing.
1387340	1389580	But to create those, we have some examples
1393360	1393760	for...
1393760	1397400	So , this is the general format of the devices.text file.
1397400	1402900	So, it's going to have a device ID or a device index and then the device string for Osmo SDR.
1403960	1408980	Nice thing is that this script that I'm about to run will generate that file for you.
1409000	1412500	So, you don't have to remember any of this, you don't have to worry about it.
1416580	1425160	So, what that script is going to do is that it will query your system for any SDR devices that you have and it will put those into the devices.text.
1427160	1432720	So, that's the devices.text file for my laptop right now with just this one SDR.
1436120	1439360	Next thing that we have is the flags file.
1439360	1442080	So, I mentioned that we have all of our...
1442440	1446360	a lot of our previous conferences uploaded here with all the challenges that we're running.
1446400	1451260	So, for ShmooCon 2025, this is a conference that we ran the CTF at in January.
1459730	1463550	And this is what the flags file looks like.
1464350	1469970	So, essentially what you have here is first line is the conference name and the start and end times.
1470090	1472770	And then everything after that is an individual challenge.
1472870	1476310	And you'll see from here we've got the ham digital challenges.
1476310	1479670	So, these are all the amateur radio digital modes.
1479670	1485150	Those are things like RIDI or Thor or Feldhell.
1485150	1486630	There's a couple different other ones.
1486630	1491550	Basically anything that can be encoded into an audio file can go into that type of challenge.
1492490	1495210	So, you have a challenge name.
1495330	1500070	For those files, the wave file is one of the arguments for it.
1500070	1505230	You'll see one of the things that we need to work on is getting a more consistent format for some of these things.
1505230	1512990	This field has a wave file for the upper side band, narrow band FM, and narrow band FM flow graphs.
1513270	1519590	And then there are some other parameters after that for the audio's sample rate and the frequency that you're transmitting on.
1520670	1525310	We also have the capability to transmit on different frequencies or randomized frequencies.
1525310	1534470	So, when you see things like ham 440 that is anything in the amateur radio band at 440 megahertz could be transmitted anywhere within that range.
1534470	1539410	This challenge is a little bit more difficult because it's not on the same frequency every time.
1540930	1543610	Moving along from there, the Morse code challenges.
1543990	1554410	These are one of the ideal state challenges where all you have to do is put in the text that you want sent in Morse code and make sure the frequency is right.
1554590	1562750	There's also some parameters for changing the speed of the Morse code, but you type in the key that you want and that's what will be sent out over Morse code.
1563070	1566470	No generating WAV files or BIN files or anything like that.
1567150	1571470	The amplitude shifting challenges are basically the same as the CW ones.
1571470	1575150	Those are you type in the flag and that will be sent.
1576170	1582310	POCSAG is a little bit different in that there's an extra parameter for the cap code in addition to the flag.
1583010	1589490	And then LRS is a little bit different in that these parameters are passed directly to the script that is generating a BIN file.
1589490	1595670	So this is kind of an intermediate between generating a BIN file or a WAV file before running all of this.
1595890	1600870	This script will generate the BIN file on the fly and then transmit it out.
1601190	1602130	That's ephemeral.
1602130	1606750	It could be a little bit better, but that is how that is working.
1607690	1619130	Then the SSTV is a similar sort of thing to the other digital modes in that we have a WAV file that we generate, in that case with QSSTV or any other SSTV programs, and you plug it in there.
1621530	1627110	Also in the flags archive, we have all the WAV files.
1631040	1634620	So these are all the WAV files that were in that flags file.
1634620	1637040	So this is exactly what we ran at ShmooCon.
1637820	1648740	So once you have all that, all you have to do is run challengectl.py with the flag file and
1656670	1658330	your device file.
1661890	1670370	And so once you run that, assuming you have all the files in the right place and all that, it will pick up your SDR device that you defined earlier.
1670370	1680670	And right now, this is spectrum panning on that frequency and transmitting out the challenge that we had running at ShmooCon on 905.55 MHz.
1681610	1683250	We'll stop this in a second.
1683250	1690590	I don't have an RTL to show you actually decoding that over the air, and this is probably interfering with some of the contestants at the moment.
1690810	1694750	But that is all you have to do to run our challenge at home.
1695690	1701650	So again, if you're running this with just one SDR, it's only going to be transmitting one challenge at a time.
1701650	1704830	If it's just you doing this for practice, for fun, that's probably enough.
1706130	1709950	But you can scale up from there and run with multiple different devices if you want.
1713750	1718710	Let's see, one of the other things that we can look at is I mentioned FL Digi.
1718730	1726610	If you want to roll some of the flags for the digital modes, FL Digi is what we're using to generate those files.
1728230	1732010	If you open up FL Digi, there's an option.
1732010	1738590	So this is meant for essentially amateur radio either contesting or just using digital mode software.
1738590	1744970	So this would normally be used interactively with other hams across the world with an HF rig and all that kind of stuff.
1744970	1751530	There is also an ability to generate these WAV files.
1751530	1752590	So if you want to...
1753410	1758350	Let's say we wanted to generate a RIDI flag for right now.
1758430	1765690	So if we picked RIDI 45 and then said Ham Digital 9
1768730	1771030	This is a test flag.
1771510	1778170	You can go up here and in the audio menu , TX Generate Generate
1781360	1782160	a WAV file.
1782160	1783640	Hit transmit .
1784500	1790740	And it'll go through and actually put that into a WAV file that you can then use in Challenge CTL.
1791440	1801340	Now if you do that, make sure you double check the sample rate of the audio file and the sample rate that you have set in the flow graph because that is something that just bit us a few minutes ago.
1801860	1805480	8,000 Hz as it turns out is not the same as 48,000 Hz.
1806060	1807500	But it's easy to miss.
1808160	1814020	That's what you need to do for generating new flags for any of the modes that FL Digi supports.
1814580	1825780	If you want to check to make sure that that worked, you can also go back up there and stop the TX Generate and do a playback and then load that WAV file that you just created.
1826780	1838880	Play it on a continuous loop, that'll just start going and once you see it decoding on that same mode that you just did, this is what the contestants should be seeing after they get it either over the air or over the virtual syncs for the virtual side of the game.
1853830	1855930	Then QSSTV, some other software.
1855930	1877650	So for the SSTV Challenge, this will also generate WAV files for you if you transmit and have your options set to sound for sound output, sound card and record, that'll generate that WAV file that you need to put into Challenge CTL for the SSTV Challenges.
1877750	1885170	From there you need to load up an image of some kind and then it'll generate the WAV file for you.
1899910	1915110	Alright, so that is essentially Challenge CTL, that's what we're using for all the Software Defined Radio Challenges and so in that short amount of time we just ran the ShmooCon 2025 RFCTF from this laptop right here.
1915110	1916830	You can also do that at home.
1917410	1919810	A couple of ideas for future development.
1919950	1928650	So I mentioned the virtual challenges, we also have a virtual side of the game where we are sending those same files, those same WAV files over a zero message queue sync.
1929690	1931930	Essentially so you can stream it over the internet.
1931950	1942850	It was prompted in Defcon 2020 during COVID, that's what really prompted the it set a fire under the development idea, since we couldn't come out here and actually run the CTF.
1943030	1945770	But right now Challenge CTL does not run those.
1946590	1961230	It shouldn't be too hard trademark to integrate those into Challenge CTL, but one of the considerations there is that the parameters that you need for running a virtual challenge are different from the ones you need for a physical challenge.
1961230	1965370	So for a virtual challenge, there's no frequency.
1965370	1966450	There's a port.
1966910	1968910	Some of the things don't really matter.
1968910	1970530	The bandwidth might be different.
1970530	1976730	There are just some aspects of it that don't matter for the virtual side that do matter for the physical side and vice versa.
1976930	1985470	So getting that all into one consistent format so that you can have one flag file format to be able to do all that, that would be nice to have.
1985470	1986670	That's something that we'd like to do.
1986670	1990950	So we have just one software stack running all the challenges, both physical and virtual.
1991870	1996910	Another nice to have that we'd like to work on is having multiple coordinated SDR boxes.
1997010	1999830	So right now, I've got two different boxes up there.
1999830	2001850	One has two SDRs in it.
2001850	2002990	One has three.
2003150	2006530	They don't communicate back and forth with each other about what's running.
2006530	2014470	The way we're dividing that up right now is one box has all the main challenges that are running both virtually and physically.
2014730	2021350	The second box has things that are special, running just in the room, or haven't been integrated into Challenge CTL yet.
2021350	2034370	But it would be really awesome to be able to have multiple SDR boxes that communicate over a network and say, like, hey, I'm running this challenge, I just transmitted that one, all those sorts of things, so we can have even more challenges on the air without colliding with each other.
2035730	2038830	Another nice to have would be adding logic for multiple transmit frontends.
2038830	2048490	So the Blade RFs have two different transmit ports and it would be really neat to be able to have different antennas on there for different frequencies or different filters, all that sort of thing.
2049130	2056590	We have the start of that logic in there, mostly because one of the ports on a Blade RF that we have broke in transit.
2056650	2062550	So it literally snapped off the board and we need to transmit out the second port now because the first one is broken.
2062770	2066690	So that specific device is hard-coded in there to always transmit out the second port.
2066910	2070010	We need to polish that up a little bit and actually make that a little bit better.
2071530	2076250	Another thing that we need to work on is having sensible gain defaults based on your SDR type.
2076250	2081870	So the Hack RF, Blade RF, USRP, the gain settings for all those are all different.
2082170	2088450	We need to make sure that we have a consistent gain settings at least across all the challenges for all the Blades.
2088450	2092130	But having sensible gain for a Hack RF.
2092130	2099330	So if I know I'm transmitting from a Hack RF saying I know this is a reasonable setting for that and setting that automatically would be really nice.
2100030	2103610	I'd also like to make use of the Blade RF gate calibration.
2103610	2109310	So if you have a Blade RF 2.0 Nuon is actually calibrating them for doing a gain calibration.
2109630	2115570	So there is a curve for your transmit frequency and how much power you're actually transmitting.
2115570	2120190	You can standardize that to have it be a flat consistent gain across the entire spectrum.
2120190	2123710	I think it would be really cool to have that integrated into Challenge CTL as well.
2124730	2131310	I showed you the FL Digi and how we're rolling the digital mode keys and that's a little bit painful.
2131310	2135750	One at a time is not that bad but if you're doing six or seven of those, it takes a little while.
2136970	2139490	If there's a better way, I'd love to do that.
2139490	2148310	As far as I know, or at least we haven't found yet a way to programmatically have FL Digi generate those files and not have to sit there and wait for it.
2149490	2151690	If there's a better way, I'd love to hear about it.
2151690	2154850	If any of you know about a better way to do that, I'd love to hear it.
2155050	2158410	But that's another nice to have future development goal.
2159490	2163330	I mentioned we could do a capture and replay type of challenge.
2163330	2165070	We don't currently have a flow graph for that.
2165070	2166170	It won't be that hard.
2166690	2167910	It's a relatively simple thing.
2167910	2169170	We just don't have it in there yet.
2169170	2175110	But that'll let us integrate some of the Woody's crazy challenges where there's one device that does this thing.
2175110	2177930	We could integrate that and have that transmit a little bit more regularly.
2178850	2182470	And then something that we're perpetually looking for are additional challenges.
2182490	2185110	Additional things we can integrate into Challenge CTL.
2185150	2189050	Even if it's not quite ready to go into there, we're always interested in adding more stuff.
2189050	2194350	One of our goals is to have as much as many different types of signals out here as we can.
2194450	2197550	Just to give everybody something interesting to look at.
2197550	2200210	Not everybody's interested in Morse or the digital modes.
2200210	2203230	Some people are more interested in certain challenges versus others.
2203430	2206870	And we like having all the things so you can choose your own adventure.
2209830	2211470	And that's all I got.
2211470	2215950	That is Challenge CTL and how to run your own RFCTF at home.
2215950	2219830	Any questions or comments?
2219830	2221030	Concerns?
2223870	2224550	Yeah
2230530	2231210	.
2248850	2253750	So the question's about containerizing the SDR challenges and Challenge CTL.
2253750	2257790	So you're asking if we can containerize Challenge CTL and how to run those challenges?
2268790	2269850	Yeah.
2280960	2282640	That is true.
2282640	2284400	No, that's correct.
2284400	2289240	The virtual SDR challenges have not been open sourced yet.
2290040	2291840	One of our goals is to do that.
2292360	2296220	And basically, when those are open sourced, they will be in Challenge CTL.
2299000	2301420	Yeah, the flow graph is essentially the same.
2301420	2307020	It's instead of a BladeRF or a HackRF or an Osmocomp sync, we're using a ZMQ sync.
2308060	2321280	And then the examples that we have, the RFCTF files or whatever it is, also on our GitHub, those flow graphs are just the ZMQ source into a file or into an audio sync or something like that.
2321280	2323260	And those are examples just to get folks started.
2323260	2326880	But yeah, that is essentially what's happening on the other side.
2326880	2328100	We have a different...
2328740	2337320	So we have our own challenge runner that's running on the virtual side, specifically designed for the virtual things.
2337400	2340880	And so there shouldn't be as much of a difference between the two.
2340880	2342220	They're already very similar.
2342480	2350300	And so the first step for Challenge CTL is likely going to be running Challenge CTL in either a physical or virtual mode.
2350540	2356340	And then we can have all the virtual challenges just with a different flag format or something like that.
2356360	2364460	But this way we'd at least have one program and one set of flow graphs or two sets of flow graphs, essentially, for those challenges.
2365440	2368180	So yeah, that is not out there yet, but it will be.
2375480	2376360	Not sure.
2376540	2381720	Probably when we're good and ready, but that is not a hard and firm answer.
2381720	2389340	That is just the place where they're at right now has the other secret sauce for the CTF .
2389340	2390140	Yeah.
2391860	2393160	Any other questions?
2397720	2398820	Looks like no.
2399020	2402800	Hey guys , thanks everybody for coming to my talk and sticking through the end.
2402800	2408200	And if you have any more questions or want to play in the CTF, come see me at the CTF table.
2408460	2409020	Thanks.
