start	end	text
2320	5760	Good morning, almost afternoon, RF Village.
6460	10420	We have something very good in store for you.
11240	16560	Some of you may be familiar with, and are not familiar with, software-defined radio.
16660	27820	We have a long-time competitor who has been nice enough to put together a presentation on the SDR portion of capturing a flag.
27960	31600	This might be beneficial to some of you first-timers over there in the Village.
31860	37320	So if you can't see and or wish to know, you might want to make your way over.
38940	46760	So, without further ado, I now turn it over to our distinguished speaker for the 1130 slot.
46760	47660	Thank you.
52460	55740	No, it's ran under the table for tripping reasons.
55740	56560	Awesome.
56680	57740	Many thanks there, Wasabi.
57740	58920	Can everyone hear me?
59620	60920	Excellent, good.
60920	66520	So show of hands, how many of you know what an SDR is or don't?
66900	68260	New to SDR?
69360	73740	Anyone have an SDR with them they want to play the challenge?
73780	84840	So this talk is really going to give you the opportunity to say what software, the hardware, the software, and mostly the tactics, techniques, what we use to how to look for your flag.
84840	94460	So the goal of this is really to get you guys on the scoreboard in an hour.
95060	105700	So when I first started, a little bit about myself, so I started doing SDR a little bit down there, back in DEF CON 24, and there was nothing.
105700	110920	I was right in your spot with the RTL-SDR, with the HackRF, with all the stuff.
110920	112540	All right, how do I do this?
112720	117220	And, oh, actually, if I go back, before I do, I see people taking pictures.
117220	121360	If you check on the GitHub down here, all these slides are posted.
121360	125540	So feel free to go get them, PDF them, bring them with you.
125540	129660	All of this is up, so you can take it right over to the tables and work with it directly.
129920	135720	So you don't have to capture every slide, just go get the PDF, download it, you're good to go.
138850	139950	Everyone got that?
139950	141750	Got pictures of the first one.
143550	152910	So a little bit about myself, so I started SDR back at DEF CON 24, and right in your spot, knew nothing about it, and said, okay, how do I start playing this ETF?
153730	158130	About five, six hours later on day one, got a flag.
158490	174630	But there was no, no one was there helping me through, no one was there, what software to use, how to do it, where to look, not to mention the past generation of the volunteers over there that run the flag, that really like to give you the pain.
174810	178030	And they said, we're gonna move the flag, we're gonna do this, we're gonna change it.
178030	182250	So just when you thought you got it, it moved and you had to do it all over again.
182250	191130	So I really give the props here to the guys where they have easy flags that don't change, they have medium flags, hard flags, insane flags.
191450	205110	They really have done a nice job currently with this ETF design to make it easy to get your feet wet, to kind of build you in, and then kind of you're gonna need better hardware to do more of the hard stuff, the medium stuff.
205290	213370	But really good job now using some of the stuff that I'll teach you here just to show you the hardware, the software.
213570	217390	Again, you can be up on the board with the easy flags to start.
217910	233670	So back before that, I am an electrical engineer by trade, mainly hardware, analog, digital software design, microcontrollers, microprocessors, all that stuff, but nothing really radio.
234350	239950	It wasn't until after my undergrad in 2011 I got into a lot of ham radio.
239950	241050	It's a show of hands.
241050	243110	Anyone here a licensed ham operator?
243910	244450	Excellent.
244450	247030	Who here is gonna take their ham license test?
247330	248110	Excellent.
248110	249530	Every hand should be up.
249790	252570	So Ham Radio Village, a lot of great people over there.
252570	254070	I encourage you to do it.
254170	256610	I'm licensed and actually gets you a little bit more.
256610	261830	So in SDR, having the ham license, I can now transmit in certain bands.
261830	268290	So if we're doing fun things to do, testing my own stuff, it does give you a little bit more than just receiving.
268290	270270	So I encourage everyone to do that.
271310	274490	So my current work here is I do a lot of work now today.
274490	286550	So a lot of what started post my degree, the hobbies, getting into SDR, led me to a current job now doing SDR day to day, and also radio wireless mesh networks.
286550	289950	So we're actually using a lot of SDR in a lot of that.
290570	300010	I'm also a member, as Wasabi mentioned, I've been doing the Capture the Flag here for the past couple of years as a team member of What the Freak and also a member of Hard Hat Brigade.
300010	303630	So if you see hard hats going around, check us out there too.
303630	305510	We have a community space down there.
305510	308990	A lot of neat projects, wireless, non-wireless, all that stuff.
310770	312350	So what is SDR?
312350	316370	And SDR basically, as it sounds, it's software defined.
316370	335030	So you're basically taking your old radio technique where you had all your oscillators, mixers, filters, demodulators, everything in hardware, very much hardware dependent chipsets, or even just basic components, which are now in hardware, are now in software.
335030	346290	So your computing power goes up because it's basically the quickest way with SDR is how can you get from that antenna into the computer to do all your stuff?
346810	358570	And some SDRs, you need some hardware to do that, but it's how quickly can we get from that antenna into software for you to see it on a screen, for you to replay, to retransmit, things like that.
358690	360050	So in a nutshell.
360370	371930	But the basics of it is you sample from the antenna, you have an analog to digital conversion, you sample it, you create the digits, the ones and zeros, and then you do stuff on it, you do math on it.
371930	379450	You filter it, you demodulate it, you bring it in and then you put it on your screen to do whatever you want with it.
381370	390430	So with that, Mike Osmond down there on the bottom has a really good, if you want to learn more of really what it is, the math behind it.
390430	395310	He has a really good training series, I recommend it's like an 8 or 10 part YouTube video series.
395570	407470	He does it with the HackRF, but it really takes you through like 10 minutes at a time of what is SDR, how it works, how to build your flow graphs, which I'll actually talk a little bit about in the software section.
408070	413030	But how to really go in and understand what SDR is.
413110	421790	A little bit beyond this talk, this talk is really just designed to get you guys from here to there playing, kind of within an hour or two.
421990	428630	But if you do want to learn more, again, this is going to be a great compilation of a lot of tools that I found throughout the years.
428630	430590	And those SDR talks are one of them.
430590	434350	Really good to sit down and kind of listen to that.
435910	444030	So a little bit of a hardware with history is in the late 90s, early 2000s, you really had kind of the dawn of software-defined radio.
444030	460370	So all the way to the left there, the Air Force Speakeasy, the Army, if you're familiar with the Joint Tactical Radio System, Jitters, version 1, was really, I think, ahead of its time because they really wanted, so DARPA, the Army, the military, wanted a way to,
460370	462050	how do we make the radios and software?
462050	470350	How do we get a DC to daylight, a radio that does 2 MHz or 1 MHz to 2 GHz?
470550	476770	Very hard at the time, very easy now, but that's really what started a lot of this off.
477410	483850	Of course, those radios were hundreds of thousands of dollars, millions of dollars, billion dollar programs.
483850	497530	So, again, outside of our budget here, for you playing the Capture the Flag, but you'll see a lot of the things on there from 2010 up until now is really all based on what can I do for under a thousand bucks.
497530	503370	And you're going to see a lot of these radios are a couple hundred bucks, the RTL-SDRs, 40 bucks, 30 bucks.
503690	518330	But we really had a boom of 2010 and onward when Eric Fry and group saw the little USB TV tuner and said, hey, we can do a lot more than just receive TV with it.
518390	530050	We can tune around the UHF band, we can tune VHF, we can kind of do some things with it outside of tuning directly for TV signals, which really led to kind of that boom of the RTL-SDR.
530550	533950	And then soon after that, you had kind of the bottom there.
533950	546890	Edis Research and the USERP went the other way of not what can you do for under 30 bucks, 40 bucks, but the USERP, like the V200 series, were like the $1,000, $1,500 level.
546890	561990	So again, a little bit out of the price range, but that's really what led to the explosion here of now you see going forward, 2013, 2014, a lot more SDR technologies are out there to the general user.
561990	574150	So now you guys playing the flag or the Capture the Flag event have more widely available technology than a $2,000 radio to come in and do the stuff.
574210	576490	So really good explosion there.
576490	579490	A lot of these things you'll see kind of in the next couple of slides.
579550	588570	Most of these radios here really are go-tos for playing, even for the veteran side, playing a couple of years, we still go back to radios like this.
590190	596070	With the capability side, just another way to put, kind of you saw the history, the chronological timeline.
596430	602070	This really just to show you that if you're new to get into it, what hardware do I need to buy or purchase?
602310	609470	The RTL-SDRs are really good entry, but they're kind of down in the lower left-hand corner there.
609470	612350	They're doing up to about 1.7, 1.8 GHz.
612350	616610	You can't do things in Wi-Fi, can't do things at 5 GHz.
616610	622250	It's not really when you start going up in price, you start going up in frequency as well.
622610	627750	But again, to show you that, again, what can I do for under 1,000 bucks?
628890	631590	Being the RTL-SDR is the lower cost.
631650	637650	A lot of technology, as you'll see more when we get into the software, but really our go-to radios.
637650	651010	So a lot of these radios also can be purchased in the vendor area, but again, just to kind of show you where things stand, I have all these radios aside from the USERP, and all of them can be used for something.
651010	654410	So there really is no one solution to fit everything.
654950	658610	But again, the RTL-SDR, really good entry point for that.
661310	665090	More in the table here to kind of show you the full comparison.
665450	683070	One of the things that RTL-SDR does give you, which we'll see more in the software, is it is lower cost, lower sample rate, so we'll cover that in a little minute, but all of these SDRs we use at one point for the challenges.
683070	690430	And what you'll notice here, starting with the far right there, is RTL-SDRs don't give you transmit.
690550	694190	So they're receive-only, it allows you to tune around, hear the things.
694210	702610	It's not until you start getting to the LIME-SDR, the Hack-RF, the Blade-RF, that you'll have the capability of doing transmit.
702610	716470	So if your goal is to do TPMS transmit, or you need to transmit back to the table for the flag, you're going to need to spend time on the lower part of that table hardware, and not necessarily RTL-SDR.
716470	725070	There are some benefits to it, but that's just kind of showing you that really anything on here, there are pros and cons to each of that.
725370	745290	Moving over to sample rates, which are basically how many samples can it do per second, you'll see the FunCube dongle, which is a sound card-based SDR, is 192 kilo-samples.
745810	758230	So the bigger your SDR, the more powerful, but also the higher cost, is you start being able to... what that means, the sample rate, is your spectrum that you can look at.
758230	763390	The more samples you can do per second translates to better bandwidth you can see.
763610	769730	So you don't have to understand the math behind it, but the more you go down on this list, the more you can see on that spectrum.
770130	784550	Just a comparison here, if I'm looking at an RTL-SDR, which is a great off-the-start one, your sample rate at 2 to 3 mega-samples, or million samples per second, is about 2 megahertz wide.
784550	794730	So, which is more apparent when we cover the tactics down later, where, compare that to the HackRF, where it's 20 megahertz, or 20 million samples per second.
794730	808350	So about 10 times the bandwidth I could see, and you'll see that when, more apparent again in the tactics, where the wider area we could see, the more potential space we can cover to see flags that roll through.
808350	813490	So, just be aware that all this technology, there are trade-offs to that.
816400	820040	So, moving into the software, just kind of like what we did with the hardware.
820400	825780	The software, kind of easy or simple up top, all the way down to the more complex.
826340	831920	Again, all this software we use for one challenge in the SDR, or a few challenges.
832340	835740	The first up here, some command-line tools.
835780	840740	In most, if not any, Linux distribution, you can actually install them, things like that.
841360	844080	We're going to do some more waterfall-based stuff.
844080	849940	So, how to just start seeing things in the spectrum, all the way down to the bottom here, of how do you start interacting?
849940	853180	How do you start reading a signal like your key fob?
853300	856740	How do you modify it, and how do you replay it back?
859570	862030	So, the first one, RTL433.
862530	865030	Again, having kind of all the information here.
865030	871170	Again, a compilation of the hardware, the software, kind of what we use to do the CTF.
871170	874150	This is a really simple one.
874210	875990	It's a command-line tool.
876050	879290	And you'll see down here, that command there might actually be helpful.
879410	885430	If you're running challenges here, TPMS, things like that, you might want to pay attention to things like that.
885910	890150	But it's a command-line tool that allows you to have the SDR.
890150	893990	This is actually a special function where I can't use a HackRF with this.
893990	895450	I can't use a BladeRF with this.
895450	896750	It has to be an RTL.
896750	901230	So, again, a really good place to start having just an RTL SDR.
901230	905890	You can do most of the read-only or the receive parts here.
906390	926650	Basically, what this does is you call, say, a function like that, or you'll see kind of in the screen capture here, is RTL433 uses the RTL SDR to just basically fall out data directly from weather stations, from tire pressure monitors, from wireless doorbells,
926650	928650	key fob sensors, things like that.
928650	945210	So by giving it certain parameters of where you're looking for, where the flag might be, things like that, things like for Woody's challenges come out as the data in the RTL433 output.
945210	963410	So by understanding a little bit of what frequency I need to be on and what maybe tire pressure monitor I'm looking for, you can start to see, okay, how do I need to read the device ID or how do I need to read the temperature, the pressure, things like that.
963830	972970	But a really good simple tool by that one command, we'll use that for doing things at the table to doing things like the fox hunt, too.
972970	975290	So I'll put in saying, okay, give me this.
975350	977210	I'm looking for a certain ID.
977390	978950	Walk around, see if I can find it.
978950	984150	It's a really simple tool specific to RTL-SDR for that.
986570	995770	So moving down, once we get out of the RTL-SDR space, all of these tools now are really built for any of those radios I listed in hardware.
995770	999950	So the RTL-SDR, the HackRF, the LimeSDR, the BladeRF.
999990	1009570	We're now starting to get into more intricate things other than just a command line interaction of text, of just decode this and give me the data.
1010670	1020170	And we have this notion now of you have a graphical user interface where you have spectrum on the top, but then waterfall.
1020390	1026110	So what the waterfall does, the spectrum, of course, is showing you kind of the power.
1026110	1028930	If you look at that window, remember that sample rate?
1029110	1031670	Kilo samples or mega samples per second?
1031670	1034730	That corresponds to how wide you can look.
1034730	1045810	So better SDR, HackRF is going to give you a 20 MHz wide window versus an RTL-SDR you might only have 2 or 3 MHz wide to look at.
1045810	1052150	So again, that's really how a lot of that correlates back in that chart that I showed you a couple slides ago.
1052510	1064790	So with that being said, the spectrum kind of shows you the instant power when it runs, when it computes again in software, showing you where the activity is at that point in time.
1064790	1068250	The waterfall takes and shows you that over time.
1068250	1080330	So if you're painting it, like in this case, 25 frames a second, this is where, if you were here in the last talk, Wasabi mentioned about that spray paint where you see the RFHS logo.
1080670	1083490	The waterfall is really where you're going to want to pay attention to that.
1083490	1088990	So again, more common when we now do the tactics, techniques, and procedures later on.
1088990	1093410	But you're going to see how the spectrum changes with time in the waterfall.
1093410	1095010	That's going to scroll down.
1095050	1103950	You're going to see the spray paint of the logo followed by some flag, Morse code, amplitude shift keying, things like that.
1104050	1108610	The waterfall, again, a really good go-to source for that.
1108770	1111310	You can tune in your frequency up top here.
1111310	1113710	If I hit those numbers, the default settings are great.
1113710	1116730	Just by knowing, okay, where do I need to tune?
1116730	1119990	How do I set for 7 MHz versus 100 MHz?
1119990	1121090	Things like that.
1121130	1124130	I wouldn't go and play with a whole lot of settings.
1124130	1127210	The defaults are good just to get you receiving something.
1127890	1133990	But that's just to show you that that's what really the waterfall means when we talk about what does the waterfall show?
1133990	1135570	Where do you see spray paint?
1135570	1137770	That's really what we're talking about there.
1139810	1144090	The SDR++, SDR Sharp, and GQRX are really...
1144090	1151230	You install them, you run them, you point that at the RTL-SDR, and it starts showing you things right away.
1151230	1158730	So a really good way to just graphically see what's going on without interacting per se, but just to see what's going on.
1162440	1164840	So now we're kind of changing gears a bit.
1164840	1183880	Now we're starting to do, not just to see kind of what's going on RF-wise, Fastlight Digital or FL Digi, if you were here and Zero mentioned about or Wasabi mentioned about the virtual challenges, FL Digi is a way, it's a Soundcard or audio-based modulator-demodulator.
1183880	1191660	So another fantastic piece of software that really is meant for the ham community to do digital keyboard-to-keyboard.
1191660	1202240	So if I'm chatting with one of you guys in the audience or girls over an HF radio, I can sit here, keyboard-keyboard, hit enter.
1202240	1207700	It comes over one of these modes of, hey, here's what the text is.
1207700	1211520	It's like ham radio instant messenger, if you will.
1212520	1216960	But where the RFCTF uses it for those virtual challenges.
1217500	1224620	So again, looking at their wiki, how do you get access to the FL Digi or the SDR virtual?
1224620	1228240	You're going to be wanting to use FL Digi to decode some of that.
1228240	1230860	A lot of different modes here.
1231100	1247720	And this is where, as we get more into the tactics and techniques later on, there are a lot of modes here, a lot of different things that look different on the waterfall, with different tones, different way they encode or demodulate or modulate data.
1248200	1258520	So it is going to be more trial and error here, but just knowing, again, the program to use, this is going to cover you like 90% of those virtual flags for the SDR.
1259760	1265120	It also is good for some of the in-room ones, but virtual is a great place to start with that.
1266180	1269460	And you can basically use just simple audio coupling.
1269460	1275760	So just the microphone on your laptop could be hearing you play out the audio from the flag.
1275760	1279700	That's really how I got my start with this, is just, okay, here it is.
1279700	1282620	Play it and then record it and then, oh, look, there the flag is.
1282620	1289180	So once you can kind of compare, if you say, here is what the signal kind of looks like.
1289180	1292040	Let me start going down the list playing with certain things.
1292040	1293740	Can I get that flag to fall out?
1293740	1296440	So this is a very good, like, audio to text.
1296440	1301700	You are going to see that text of the flag right there in kind of the yellow screen there.
1305140	1315180	So, again, going down that list from simple or the easy to more complex, we are getting into more of the how do you start analyzing signals.
1315180	1320440	So InSpectrum here is more geared for things like your key fob.
1320440	1335300	So when you are starting to do, like, frequency shift keying or on-off keying, your doorbells, things like that, we can use our waterfall program, like GQRX or SDR, we could hit record.
1335300	1339340	If we see a flag, we can hit record saying, okay, I want to capture this now.
1340660	1345080	InSpectrum is a great way to replay that and say, okay, what do I see in the signal?
1345360	1356260	So what you see here is you see a lot of noise, a lot of noise, and then maybe someone hit, like, the key fob press, like, for a lock or unlock button or a wireless doorbell.
1356260	1359580	And we are starting to get the notion of data here, ones and zeros.
1359680	1365620	So we are getting into more of, okay, what does it mean for things like that beyond what you just see in the waterfall.
1366660	1371960	Your capture now can be pre-recorded and loaded, so you are not actually trying to capture it real-time.
1372700	1374740	Very nice for decoding at your leisure.
1374740	1381280	Like, if I see it on the waterfall, just say record, get it all, stop it, and then go back and look at it.
1381280	1385680	Now I have a capture that I can work with, replay, retransmit, things like that.
1385680	1388520	So really good for things like that.
1388560	1394080	But we are getting more into the analysis of what things mean and how do you get to the ones and zeros.
1397470	1405350	So moving down that list with Universal Radio Hacker and actually with the subsequent ones, again, more in that analysis.
1405350	1413750	We are getting more and more into kind of Wireshark-type things of you cannot just use the waterfall to decode or you cannot just listen to it.
1413750	1418110	You have to use programs to decode to see what the data is.
1418690	1424930	URH and then actually the subsequent slides here are more of the sandbox where you really need to know what you are doing with it.
1424930	1426450	So you can record it.
1426910	1428350	You can record something.
1428350	1435310	So a lot of the guys here, like Woody uses this and actually advocates for a lot of this for URH and does a lot with it.
1436850	1445470	You can receive, you can decode it, maybe change a couple of the bits, change the data, and then resend it back or retransmit.
1445630	1449330	It does allow for scanning, kind of like that waterfall-type approach.
1449650	1454430	But the main function of URH is really to do that analysis.
1454430	1456930	To say, how do I change it and resend it?
1456930	1458110	How do I spoof?
1458110	1459790	How do I do those things?
1460510	1467090	And you are dissecting the packets instead of just saying, what do I see, reading it, and then submitting it to the scoreboard.
1467870	1478010	This one really is closest to that Wireshark-like ability where the information, the ones and zeros, can be visualized and manipulated.
1478010	1483090	So you can see here really what your data looks like on the top, what you capture from the radio.
1483090	1493050	And then right into when you start setting your modulators, demodulators, things again in software, we are really looking for a bit stream that comes out of it.
1493050	1495910	So again, you are getting more and more into that complex.
1496350	1502030	For you intro guys that have never seen things like this, just know that a lot of these things exist down the road.
1502130	1509070	So where you are going to be playing mostly is with SDR++, SDR Sharp, GQRX, things like that.
1509070	1521570	But really good for analysis and also when you are trying to figure out that one key fob, that one higher pressure monitor, that one thing that you are trying to figure out to replay for the table, bless you.
1521930	1526190	That one challenge you are trying to do, this is really good for that analysis.
1529400	1535260	So another program here, SDR Angel, again more in that sandbox-y kind of environment.
1535900	1538780	We are really getting into the more complex stuff now.
1538780	1544380	So SDR Angel, a lot of good tutorials out there, a lot of read the fine manual too.
1544380	1549600	So because there is a lot of functionality, it is really, they give you the keys to do anything you want.
1550520	1553680	But it also can be very powerful too.
1553680	1569200	So not only can you just kind of do what you did before with the spectrum and the waterfall plot to see your signals, it does allow you to really go to that end, that extra mile to get here is what the data is and even visualizing that data over time.
1569200	1574300	So a lot of features, you really need to know what you are doing with every single of those buttons.
1574300	1576660	I am actually not an expert in this.
1576860	1579820	I have basically done this and that is about it.
1580020	1587340	But again, just know that it exists, it is available, but also it is a powerful program.
1587340	1593020	Down there we have a lot of team members that do use this for a lot of their daily driving for doing these challenges.
1593660	1596060	There can be good use cases here.
1596060	1598500	And this is really one of those use cases.
1598580	1600200	So very complex.
1600400	1604100	All this is custom built, this is actually just pulled from their website.
1604280	1610720	But you have your receiver over there, where you are receiving say 100 MHz.
1610920	1615060	You have your waterfall spectrum that you have to kind of drag and drop in.
1615060	1621240	You have maybe some data visualization, maybe what your DMOD, like your audio looks like, your channel.
1621240	1624560	But then also visualizing like this could be like ADS-B.
1624660	1626260	Like where are the planes on the map?
1626260	1629400	How do I plot GPS position of that received signal?
1629420	1632660	So SDR Angel allows you to configure all this.
1632660	1637320	So down the road, you guys play the CTF this year, you get some ideas.
1637420	1642260	You can come back next year with something like this saying, alright, I am ready to go to hit the start button.
1642260	1644560	And then really see everything start to finish.
1644560	1647900	So again, more complex, just to know it exists.
1647900	1652960	But also having this whole dashboard in one place, really good to see down the road.
1652960	1657120	But extremely complex to kind of get running with that workflow.
1659480	1666340	And then lastly here with GNU Radio Companion, this is really going to the beach for the sandbox.
1666600	1669360	So most complex for this talk.
1670320	1676460	Zero mentioned with the virtual challenges, you will actually need to use a GNU Radio flow graph.
1676640	1679400	So if you do, go over in the table and you say, how do I start?
1679400	1682280	I can actually... I will be over here kind of mulling around.
1682280	1684080	I can help you run you through that.
1684980	1695520	But GNU Radio Companion is really going to the beach, if you will, building that sandcastle where I say, here are the buckets to use, here are your shovels, go get it.
1695920	1698560	Really kind of the epitome of that SDR.
1699240	1702900	Every block you can bring in, you can wire things start to finish.
1703520	1709840	Extremely powerful, but also you can get into trouble quick and also things don't work.
1709840	1711460	So you really do need to know what you are doing.
1711460	1714480	I have seen flow graphs that take up the whole screen.
1714480	1716620	I can't even figure out what is going on.
1716720	1719460	But also it does its thing really well.
1720560	1725800	And this is the concept, and you will see in the next screen where you wire inputs to outputs.
1725800	1732000	Just like in the last slide here where you always need an input source.
1732000	1737280	So you always need that RTLSDR, that HackRF, that BladeRF over there on the left.
1737560	1739580	And you always need, okay, what do you want to do with that?
1739580	1741640	Do you want to visualize it?
1741640	1743400	Do you want to decode it?
1744640	1752860	With GNU Radio, you wire it where your input is the FunCube dongle, the RTLSDR.
1752860	1755200	You basically drag and drop a block there.
1755200	1759620	Then we are going to put a filter in again, SDR, everything is in software.
1759740	1762840	So we are just going to keep on connecting these things up.
1763440	1766020	And ultimately we are going to say, okay, what do we want to do on the output?
1766020	1766860	We want to hear it.
1766860	1768500	We want to put it out on the audio.
1768900	1772120	So this is a simple, like a narrowband FM receiver.
1772360	1773880	All done in software.
1774000	1779540	You sample from the SDR, you bring it through, you do some stuff, and then we hear the audio output.
1779540	1784860	So GNU Radio, again, more complex side, but also more powerful.
1784860	1788480	Not just for receiving, but also we use these for transmitting as well.
1788480	1794400	So we could send our data on the receivers or on the input side.
1794400	1796540	Here is kind of the data we want to send.
1796640	1801800	Our output here instead of an audio sync is maybe the SDR, maybe the Blade RF to transmit.
1802100	1807820	So GNU Radio really gives you the power to do a lot of that configuration all in software.
1807820	1812640	And then really either coming into the antenna or going off the antenna for transmit.
1812900	1816820	Really a good kind of playing at the beach way of thinking about it.
1817280	1820960	Again, it can be very complex if this is the first time you are seeing it.
1820960	1829860	So aside from playing with the virtual challenges, the RFCTF, downloading that flow graph to be able to play it to get the data.
1830060	1832320	That is really kind of the intro stuff.
1832320	1834600	You are really not going to be designing or altering that.
1834600	1839320	But again, for the new guys, for the new people out there, know that this exists.
1839700	1845680	And really down the road as you get more and more into it, this is really where I actually spend more and more of my time.
1845680	1850680	Less and less on GQRX, more and more just in here trying to figure out the new challenges.
1851040	1855180	The guys would say we have a new TPMS or new this challenge.
1855280	1860240	We are trying to go in here and how to alter past flow graphs on how to get that new challenge.
1860260	1863500	Again, down the road more into that medium to advanced level.
1866450	1873210	So all the software and a lot of this is really geared on the Linux distributions versus like Mac or Windows.
1873210	1875610	Windows support has been kind of hit or miss.
1875750	1879550	So all the software I mentioned to is available in the Linux distributions.
1879550	1881990	There are three really good options here.
1882430	1886890	If you just want to say plug in a live CD or a live USB and run.
1886890	1889850	You do not have to install anything, do anything.
1889850	1900550	So Kali, Pentoo and Dragon OS are three really good options of download the ISO, put it on a USB drive, boot it, put in your SDR, you are done.
1900710	1903370	And then all of your software is kind of there ready to go.
1903370	1905770	So all these really good options.
1906650	1912590	Zero likes Pentoo, so he is going to say every time I actually run Pentoo now myself did not start out that way.
1912590	1920190	I started with Kali, Dragon OS, but depending on your familiarity with Linux, there are really good plug and play solutions there.
1920190	1921870	So really encourage that.
1921870	1923210	They all can do live.
1923210	1925430	They get you up and running super quick.
1925430	1929350	With the hardware drivers baked in, everything all set to go.
1929550	1931050	Windows, again, hit or miss.
1931050	1936310	You have to manually load drivers, put the software on, things may or may not play.
1936310	1939950	But again, great options, just packaging kind of that all in one.
1942590	1946750	So lastly here, moving on to the tactics, techniques, and procedures.
1946870	1948230	So you have all the software.
1948230	1949290	You have the hardware.
1949290	1950830	You have the RTL-SDR.
1950830	1952430	You have the HackRF.
1952490	1953910	You have the software.
1953910	1956610	You know, okay, we can tune across the band.
1956610	1959830	We can get the waterfall, look for the spray paint.
1960010	1961870	Where do we actually look?
1962190	1968030	You have about 0 to 6 gigahertz or 0 to 6,000 megahertz of space to look through.
1968030	1970110	Remember that sample rate.
1970110	1974670	If you have an RTL-SDR, you're looking at 2 megahertz every time.
1974850	1980650	So you have now 2 megahertz wide or HackRF 20 megahertz wide, 60 megahertz wide.
1980650	1983810	But now you're doing 0 to 6,000 megahertz.
1983810	1993990	So this is really where the TTPs come into play of there are really good areas to look to kind of increase your chances to find that flag.
1993990	1997890	So consider all the bands you use day to day.
1997890	1999290	We have cellular.
1999290	2001310	We have quad band cellular, LTE.
2001310	2004070	We have GPS, Wi-Fi, Bluetooth.
2004470	2009550	GPS, they're probably not going to be anywhere around trying to jam out GPS.
2009550	2012670	So I can take out 1,500 megahertz.
2013190	2015410	LTE cellular, same way.
2015410	2018470	They're probably not going to... the flags aren't going to be there.
2018550	2021850	Wi-Fi, Bluetooth, certainly fair game.
2021850	2027690	So the goal of this section now is just to say concentrate your chances on where to look.
2028490	2033050	And what if there was a great way to target certain areas to look?
2034050	2037370	And that's where a little bit of an eye chart here, very colorful.
2037370	2039710	You can't probably read any of that text.
2040290	2048690	But the point here is so where we were 0 to 6 gigahertz, we're somewhere down in here on the second from the bottom chart there.
2048690	2057130	That's all of here in the United States what the FCC or Department of Commerce governs of everything 0 to 6 gigahertz.
2057210	2058790	Cellular's in here.
2058790	2061410	AM and FM broadcast are in here somewhere.
2061410	2066070	So everyone where everyone has a license for, amateur bands are in here.
2066110	2072690	And there are certain key areas where... does anyone here know what ISM, the ISM band is?
2072970	2075390	We see in the back, we see some hands.
2075390	2077910	You have the industrial, scientific, and medical band.
2077910	2096310	So what that means is if you have something that, say, emits RF or transmits, receives your wireless doorbell for your house, your Wi-Fi, Bluetooth, they all operate in what they call an ISM band where you do not need an FCC license.
2096570	2099230	If you go for your ham license, you become licensed.
2099230	2102570	We can transmit now in certain amateur bands with that license.
2102570	2105530	Well, the ISM band are license-free within reason.
2105530	2110210	You can't transmit 1,000 watts in some bands or you can't do certain things.
2110210	2121450	But the ISM band is a really good way to say we have this low-power device, this wireless doorbell, this key fob, this medical, say, heart rate monitor in a hospital.
2121450	2123890	It just needs to talk to the nurse's station.
2123890	2126430	You don't need an FCC license for all that.
2126550	2130110	ISM bands are a great place to look for things like this.
2130110	2133590	So the 430 megahertz band, great place.
2133590	2142810	900 meg, get to know the ISM bands because these guys up front are probably going to be transmitting in some of those locations for that license-free.
2142810	2148170	Or some of us are also licensed ham operators, so look in the ham bands.
2148370	2153270	So, again, you're not really looking in cellular, not really looking anywhere else.
2153270	2161430	The staying away from the GPS, staying away from cellular, staying away from radio navigation or radio location for the airports here.
2161430	2163950	So you're really concentrating your successes.
2163950	2168090	You're not blindly scanning through the entire band looking for the flag.
2168170	2173370	You're concentrating maybe five, six, seven different spots now, again, to get that.
2173370	2180730	But there's a lot going on here, and you're maybe only concerned with four or five of these areas.
2182790	2189530	So, again, with that, kind of what I mentioned here is look in the ISM or amateur radio bands.
2189530	2191370	Really good place to look.
2192130	2194590	Might have some interesting signals right there.
2194590	2200830	So if you have that RTL-SDR, you have that HAC-RF, tune in and see what you get there.
2200930	2202330	You might find something.
2202330	2204170	I'm just saying hypothetically.
2204610	2208010	And look for that waterfall spray paint that Wasabi and Zero mentioned.
2208010	2214470	So that's really, if you see any signal that doesn't have that, it's probably not a flag.
2214470	2216050	Because, again, there's a lot in there.
2216050	2221050	I mean, even going back to the chart here, a lot of public safety is in here, too.
2221050	2227430	So if you see kind of these weird digital radio things around 450 to 470, that's probably not a flag.
2227450	2233990	So get to know kind of where those band limits are, where the amateur bands are, where the ISM bands are.
2234510	2241850	Because you are going to see things like your public radio, your DMR, your P25, things like that.
2241850	2243450	No spray paint.
2243450	2245130	So don't try to decode it.
2245130	2247510	Don't try to do anything you're not supposed to.
2247510	2249950	But look for that spray paint right in that waterfall.
2249950	2251410	Increase those chances.
2252450	2255410	And so what you'll see is you'll see the waterfall spray paint.
2255410	2260130	And then you'll see something coming after, whether it's on-off keying like Morse code.
2260130	2262470	There are some ham digital flags out there.
2262570	2265570	They could be really good, really easy to decode.
2265570	2269830	Even if you don't know Morse code, that's actually what I did a couple of years ago.
2269830	2275130	And you just kind of say, oh, this looks like this, and let's get the whole table of all the Morse alphabet.
2275130	2277350	And let's just kind of go right down the list and decode.
2277430	2279290	Real easy way to do that.
2279910	2285350	And then you get some of the other ones, amplitude shift keying, frequency shift keying, that require a little bit more to go through.
2285570	2287710	But again, look for that spray paint.
2289970	2296790	And lastly here, for the unknown signals, so for the digital, like the FSK, the ASK, things like that.
2296790	2309050	If you're not familiar with that, or even the virtual stuff, if you kind of hear it through the years of playing this, I can say, okay, that sounds like Olivia, that sounds like Contestia, that sounds like Domino EX.
2309350	2325530	But you do this for a while, but if you don't have that, you're trying to build that up, the signal identification wiki or the SIG-ID wiki, great place right there on the bottom for it to show you what those sound like, what those different modes look like and sound like.
2325530	2331930	So the SIG-ID wiki, again, link right here, great place to go if you're trying to figure out some of these signals.
2332430	2335630	On the left there, you have all the categories.
2335850	2339130	You're not really going to be spending every time in every one of those.
2339510	2352290	Again, really good places to look are the amateur radio button, the digital, and I think maybe some commercial for like the Poxag for paging stuff, things like that.
2352290	2365390	But you're really not going to need like time or need like requested or utility, so focus on certain, the ham radio, the digital, the commercial, to see some of the signals in there.
2365450	2370790	And this is really what you see on the right here is you'll see signals, what they look like in the waterfall.
2370790	2378510	So if you have, again, that capture of you saw the spray paint, you see the waterfall of what it looks like, then you can just go right down the list.
2378510	2384530	And also what the SIG-ID wiki does is has play buttons there, you can actually listen to it.
2384530	2393910	So you can say, this is really where a lot of that experience comes in playing this for a couple of years, is you can play that, okay, does it sound like that?
2393910	2410810	In most of my cases, like with FL Digi, doing the RFCTF virtual, the virtual SDR stuff, it was just what does it sound like and what's the best one that I can look with and pair with it, go back to FL Digi and say, okay, let's put that mode in and see am I close.
2411090	2418050	You might be one or two off, but it gives you a great starting point, again, increase those chances of trying to find that signal.
2418050	2422070	But great way to compare it here, but also listen to it as well.
2424650	2426170	So where do you go from here?
2426170	2427670	So we're just about wrapped up here.
2427670	2437310	We gave you a little bit, I talked about the hardware, some basic software to use, maybe some distros if you're on the DEF CON, the secured Wi-Fi, I hope, not the open Wi-Fi.
2438170	2442050	You can download the distro, but where do you go from here?
2442050	2445550	And that's really sit down, plug in and go.
2445550	2452310	So you can get the GNU Radio flow graphs from the RFHS wiki.
2453290	2461050	And you might, again, with that, you might want to use for starting with the virtual stuff, use those two programs to start decoding some of that.
2461050	2466150	So , again, things that when I first started DEF CON 24, none of this existed.
2466150	2469030	There was no tutorial how to do it, no wiki.
2469230	2474790	Those guys actually liked the pain of you trying to spend the whole day to get one flag.
2474790	2481630	So just trying to help you, tutorial here, spoon feed it to get you guys interested to not have that burnout right from day one.
2481630	2488670	But you really might want to take a look at those two different programs there to start decoding some of that, because it could help you down the road.
2489430	2491710	And bottom here, get to know some of the people.
2491710	2500430	The guys here, the volunteers that run the village, great way to talk to, meet other people here, ask how do I do things, or just sit down and just start asking questions.
2500430	2502910	So that's really how I got started.
2502910	2506250	And now actually walking around there and helping others do the same.
2506250	2508410	So a great way to meet people.
2508410	2509830	We all had to start somewhere.
2509830	2519330	I was right in your spot in DC 23-24, and now up here doing talks and doing the CTF, and placing, getting a lot of points on the board.
2519330	2521870	So it's time to start passing it off to you guys.
2521870	2524710	Come up and now start getting points yourself.
2526910	2528910	So with that being said, any questions?
2532160	2533160	Yes, sir.
2535280	2537660	I'm sorry, come on up here.
2542520	2544920	What do you mean by virtual?
2544920	2548840	I heard the man before talking about Amazon Web Services.
2549060	2556280	Are you saying you can use the actual applications you mentioned, but instead of a hardware radio, you're going to something virtual?
2556280	2557560	I just don't get that.
2557560	2560440	Yeah, so that's actually a great question.
2560440	2570220	Yeah, so the virtual challenges, again, if you go to the RFHS wiki, you don't actually even need an RTL-SDR.
2570220	2571680	You don't need any hardware.
2571980	2576440	Just your computer, your GNU radio on there.
2576440	2580020	They kind of walk you through what you need to get that flow graph running.
2580020	2583500	You actually don't need any hardware SDR, but no, great question.
2583980	2585960	And you really just need the software.
2586180	2588120	So they kind of walk you through.
2588120	2592220	If you have any questions with that, if you come up, ask questions with that, let me know.
2592220	2597200	But there is, in that wiki, this is the flow graph you need.
2597200	2599840	So GNU radio, here's how you're going to want to run it.
2599840	2603820	So you do need the internet connection, but you run the flow graph.
2603840	2608780	It connects to the AWS, pulls and just starts doing what your RTL-SDR would do.
2608780	2618160	It gives you the audio stream or the IQ, the raw data, which then you can use FL Digi, QSSTV, things like that to decode.
2618160	2620980	You're going to hear the audio, you're going to hear these things.
2621180	2628020	So use the SIG-ID wiki, you're going to hear it, compare it, things like that.
2628020	2631260	But yeah, you actually don't need any hardware to do that.
2631260	2633220	So , that answer your question?
2634060	2636300	So, great question.
2636300	2637500	Yeah, so read the wiki.
2637500	2642100	But yeah, the virtual stuff is all geared so that you're going to get points on the board without any hardware.
2642380	2647280	But more challenging or medium hard stuff, you're going to start needing the hardware for that.
2647280	2650740	But again, use more of the software for that.
2652760	2654020	Any other questions?
2655800	2657080	All right, thank you so much.
2657080	2659140	So I hope to see you over in the tables to play.
