WEBVTT

00:02.320 --> 00:05.760
Good morning, almost afternoon, RF Village.

00:06.460 --> 00:10.420
We have something very good in store for you.

00:11.240 --> 00:16.560
Some of you may be familiar with, and are not familiar with, software-defined radio.

00:16.660 --> 00:27.820
We have a long-time competitor who has been nice enough to put together a presentation on the SDR portion of capturing a flag.

00:27.960 --> 00:31.600
This might be beneficial to some of you first-timers over there in the Village.

00:31.860 --> 00:37.320
So if you can't see and or wish to know, you might want to make your way over.

00:38.940 --> 00:46.760
So, without further ado, I now turn it over to our distinguished speaker for the 1130 slot.

00:46.760 --> 00:47.660
Thank you.

00:52.460 --> 00:55.740
No, it's ran under the table for tripping reasons.

00:55.740 --> 00:56.560
Awesome.

00:56.680 --> 00:57.740
Many thanks there, Wasabi.

00:57.740 --> 00:58.920
Can everyone hear me?

00:59.620 --> 01:00.920
Excellent, good.

01:00.920 --> 01:06.520
So show of hands, how many of you know what an SDR is or don't?

01:06.900 --> 01:08.260
New to SDR?

01:09.360 --> 01:13.740
Anyone have an SDR with them they want to play the challenge?

01:13.780 --> 01:24.840
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.

01:24.840 --> 01:34.460
So the goal of this is really to get you guys on the scoreboard in an hour.

01:35.060 --> 01:45.700
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.

01:45.700 --> 01:50.920
I was right in your spot with the RTL-SDR, with the HackRF, with all the stuff.

01:50.920 --> 01:52.540
All right, how do I do this?

01:52.720 --> 01:57.220
And, oh, actually, if I go back, before I do, I see people taking pictures.

01:57.220 --> 02:01.360
If you check on the GitHub down here, all these slides are posted.

02:01.360 --> 02:05.540
So feel free to go get them, PDF them, bring them with you.

02:05.540 --> 02:09.660
All of this is up, so you can take it right over to the tables and work with it directly.

02:09.920 --> 02:15.720
So you don't have to capture every slide, just go get the PDF, download it, you're good to go.

02:18.850 --> 02:19.950
Everyone got that?

02:19.950 --> 02:21.750
Got pictures of the first one.

02:23.550 --> 02:32.910
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?

02:33.730 --> 02:38.130
About five, six hours later on day one, got a flag.

02:38.490 --> 02:54.630
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.

02:54.810 --> 02:58.030
And they said, we're gonna move the flag, we're gonna do this, we're gonna change it.

02:58.030 --> 03:02.250
So just when you thought you got it, it moved and you had to do it all over again.

03:02.250 --> 03:11.130
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.

03:11.450 --> 03:25.110
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.

03:25.290 --> 03:33.370
But really good job now using some of the stuff that I'll teach you here just to show you the hardware, the software.

03:33.570 --> 03:37.390
Again, you can be up on the board with the easy flags to start.

03:37.910 --> 03:53.670
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.

03:54.350 --> 03:59.950
It wasn't until after my undergrad in 2011 I got into a lot of ham radio.

03:59.950 --> 04:01.050
It's a show of hands.

04:01.050 --> 04:03.110
Anyone here a licensed ham operator?

04:03.910 --> 04:04.450
Excellent.

04:04.450 --> 04:07.030
Who here is gonna take their ham license test?

04:07.330 --> 04:08.110
Excellent.

04:08.110 --> 04:09.530
Every hand should be up.

04:09.790 --> 04:12.570
So Ham Radio Village, a lot of great people over there.

04:12.570 --> 04:14.070
I encourage you to do it.

04:14.170 --> 04:16.610
I'm licensed and actually gets you a little bit more.

04:16.610 --> 04:21.830
So in SDR, having the ham license, I can now transmit in certain bands.

04:21.830 --> 04:28.290
So if we're doing fun things to do, testing my own stuff, it does give you a little bit more than just receiving.

04:28.290 --> 04:30.270
So I encourage everyone to do that.

04:31.310 --> 04:34.490
So my current work here is I do a lot of work now today.

04:34.490 --> 04:46.550
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.

04:46.550 --> 04:49.950
So we're actually using a lot of SDR in a lot of that.

04:50.570 --> 05:00.010
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.

05:00.010 --> 05:03.630
So if you see hard hats going around, check us out there too.

05:03.630 --> 05:05.510
We have a community space down there.

05:05.510 --> 05:08.990
A lot of neat projects, wireless, non-wireless, all that stuff.

05:10.770 --> 05:12.350
So what is SDR?

05:12.350 --> 05:16.370
And SDR basically, as it sounds, it's software defined.

05:16.370 --> 05:35.030
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.

05:35.030 --> 05:46.290
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?

05:46.810 --> 05:58.570
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.

05:58.690 --> 06:00.050
So in a nutshell.

06:00.370 --> 06:11.930
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.

06:11.930 --> 06:19.450
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.

06:21.370 --> 06:30.430
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.

06:30.430 --> 06:35.310
He has a really good training series, I recommend it's like an 8 or 10 part YouTube video series.

06:35.570 --> 06:47.470
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.

06:48.070 --> 06:53.030
But how to really go in and understand what SDR is.

06:53.110 --> 07:01.790
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.

07:01.990 --> 07:08.630
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.

07:08.630 --> 07:10.590
And those SDR talks are one of them.

07:10.590 --> 07:14.350
Really good to sit down and kind of listen to that.

07:15.910 --> 07:24.030
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.

07:24.030 --> 07:40.370
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,

07:40.370 --> 07:42.050
how do we make the radios and software?

07:42.050 --> 07:50.350
How do we get a DC to daylight, a radio that does 2 MHz or 1 MHz to 2 GHz?

07:50.550 --> 07:56.770
Very hard at the time, very easy now, but that's really what started a lot of this off.

07:57.410 --> 08:03.850
Of course, those radios were hundreds of thousands of dollars, millions of dollars, billion dollar programs.

08:03.850 --> 08:17.530
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.

08:17.530 --> 08:23.370
And you're going to see a lot of these radios are a couple hundred bucks, the RTL-SDRs, 40 bucks, 30 bucks.

08:23.690 --> 08:38.330
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.

08:38.390 --> 08:50.050
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.

08:50.550 --> 08:53.950
And then soon after that, you had kind of the bottom there.

08:53.950 --> 09:06.890
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.

09:06.890 --> 09:21.990
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.

09:21.990 --> 09:34.150
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.

09:34.210 --> 09:36.490
So really good explosion there.

09:36.490 --> 09:39.490
A lot of these things you'll see kind of in the next couple of slides.

09:39.550 --> 09:48.570
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.

09:50.190 --> 09:56.070
With the capability side, just another way to put, kind of you saw the history, the chronological timeline.

09:56.430 --> 10:02.070
This really just to show you that if you're new to get into it, what hardware do I need to buy or purchase?

10:02.310 --> 10:09.470
The RTL-SDRs are really good entry, but they're kind of down in the lower left-hand corner there.

10:09.470 --> 10:12.350
They're doing up to about 1.7, 1.8 GHz.

10:12.350 --> 10:16.610
You can't do things in Wi-Fi, can't do things at 5 GHz.

10:16.610 --> 10:22.250
It's not really when you start going up in price, you start going up in frequency as well.

10:22.610 --> 10:27.750
But again, to show you that, again, what can I do for under 1,000 bucks?

10:28.890 --> 10:31.590
Being the RTL-SDR is the lower cost.

10:31.650 --> 10:37.650
A lot of technology, as you'll see more when we get into the software, but really our go-to radios.

10:37.650 --> 10:51.010
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.

10:51.010 --> 10:54.410
So there really is no one solution to fit everything.

10:54.950 --> 10:58.610
But again, the RTL-SDR, really good entry point for that.

11:01.310 --> 11:05.090
More in the table here to kind of show you the full comparison.

11:05.450 --> 11:23.070
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.

11:23.070 --> 11:30.430
And what you'll notice here, starting with the far right there, is RTL-SDRs don't give you transmit.

11:30.550 --> 11:34.190
So they're receive-only, it allows you to tune around, hear the things.

11:34.210 --> 11:42.610
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.

11:42.610 --> 11:56.470
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.

11:56.470 --> 12:05.070
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.

12:05.370 --> 12:25.290
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.

12:25.810 --> 12:38.230
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.

12:38.230 --> 12:43.390
The more samples you can do per second translates to better bandwidth you can see.

12:43.610 --> 12:49.730
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.

12:50.130 --> 13:04.550
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.

13:04.550 --> 13:14.730
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.

13:14.730 --> 13:28.350
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.

13:28.350 --> 13:33.490
So, just be aware that all this technology, there are trade-offs to that.

13:36.400 --> 13:40.040
So, moving into the software, just kind of like what we did with the hardware.

13:40.400 --> 13:45.780
The software, kind of easy or simple up top, all the way down to the more complex.

13:46.340 --> 13:51.920
Again, all this software we use for one challenge in the SDR, or a few challenges.

13:52.340 --> 13:55.740
The first up here, some command-line tools.

13:55.780 --> 14:00.740
In most, if not any, Linux distribution, you can actually install them, things like that.

14:01.360 --> 14:04.080
We're going to do some more waterfall-based stuff.

14:04.080 --> 14:09.940
So, how to just start seeing things in the spectrum, all the way down to the bottom here, of how do you start interacting?

14:09.940 --> 14:13.180
How do you start reading a signal like your key fob?

14:13.300 --> 14:16.740
How do you modify it, and how do you replay it back?

14:19.570 --> 14:22.030
So, the first one, RTL433.

14:22.530 --> 14:25.030
Again, having kind of all the information here.

14:25.030 --> 14:31.170
Again, a compilation of the hardware, the software, kind of what we use to do the CTF.

14:31.170 --> 14:34.150
This is a really simple one.

14:34.210 --> 14:35.990
It's a command-line tool.

14:36.050 --> 14:39.290
And you'll see down here, that command there might actually be helpful.

14:39.410 --> 14:45.430
If you're running challenges here, TPMS, things like that, you might want to pay attention to things like that.

14:45.910 --> 14:50.150
But it's a command-line tool that allows you to have the SDR.

14:50.150 --> 14:53.990
This is actually a special function where I can't use a HackRF with this.

14:53.990 --> 14:55.450
I can't use a BladeRF with this.

14:55.450 --> 14:56.750
It has to be an RTL.

14:56.750 --> 15:01.230
So, again, a really good place to start having just an RTL SDR.

15:01.230 --> 15:05.890
You can do most of the read-only or the receive parts here.

15:06.390 --> 15:26.650
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,

15:26.650 --> 15:28.650
key fob sensors, things like that.

15:28.650 --> 15:45.210
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.

15:45.210 --> 16:03.410
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.

16:03.830 --> 16:12.970
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.

16:12.970 --> 16:15.290
So I'll put in saying, okay, give me this.

16:15.350 --> 16:17.210
I'm looking for a certain ID.

16:17.390 --> 16:18.950
Walk around, see if I can find it.

16:18.950 --> 16:24.150
It's a really simple tool specific to RTL-SDR for that.

16:26.570 --> 16:35.770
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.

16:35.770 --> 16:39.950
So the RTL-SDR, the HackRF, the LimeSDR, the BladeRF.

16:39.990 --> 16:49.570
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.

16:50.670 --> 17:00.170
And we have this notion now of you have a graphical user interface where you have spectrum on the top, but then waterfall.

17:00.390 --> 17:06.110
So what the waterfall does, the spectrum, of course, is showing you kind of the power.

17:06.110 --> 17:08.930
If you look at that window, remember that sample rate?

17:09.110 --> 17:11.670
Kilo samples or mega samples per second?

17:11.670 --> 17:14.730
That corresponds to how wide you can look.

17:14.730 --> 17:25.810
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.

17:25.810 --> 17:32.150
So again, that's really how a lot of that correlates back in that chart that I showed you a couple slides ago.

17:32.510 --> 17:44.790
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.

17:44.790 --> 17:48.250
The waterfall takes and shows you that over time.

17:48.250 --> 18:00.330
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.

18:00.670 --> 18:03.490
The waterfall is really where you're going to want to pay attention to that.

18:03.490 --> 18:08.990
So again, more common when we now do the tactics, techniques, and procedures later on.

18:08.990 --> 18:13.410
But you're going to see how the spectrum changes with time in the waterfall.

18:13.410 --> 18:15.010
That's going to scroll down.

18:15.050 --> 18:23.950
You're going to see the spray paint of the logo followed by some flag, Morse code, amplitude shift keying, things like that.

18:24.050 --> 18:28.610
The waterfall, again, a really good go-to source for that.

18:28.770 --> 18:31.310
You can tune in your frequency up top here.

18:31.310 --> 18:33.710
If I hit those numbers, the default settings are great.

18:33.710 --> 18:36.730
Just by knowing, okay, where do I need to tune?

18:36.730 --> 18:39.990
How do I set for 7 MHz versus 100 MHz?

18:39.990 --> 18:41.090
Things like that.

18:41.130 --> 18:44.130
I wouldn't go and play with a whole lot of settings.

18:44.130 --> 18:47.210
The defaults are good just to get you receiving something.

18:47.890 --> 18:53.990
But that's just to show you that that's what really the waterfall means when we talk about what does the waterfall show?

18:53.990 --> 18:55.570
Where do you see spray paint?

18:55.570 --> 18:57.770
That's really what we're talking about there.

18:59.810 --> 19:04.090
The SDR++, SDR Sharp, and GQRX are really...

19:04.090 --> 19:11.230
You install them, you run them, you point that at the RTL-SDR, and it starts showing you things right away.

19:11.230 --> 19:18.730
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.

19:22.440 --> 19:24.840
So now we're kind of changing gears a bit.

19:24.840 --> 19:43.880
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.

19:43.880 --> 19:51.660
So another fantastic piece of software that really is meant for the ham community to do digital keyboard-to-keyboard.

19:51.660 --> 20:02.240
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.

20:02.240 --> 20:07.700
It comes over one of these modes of, hey, here's what the text is.

20:07.700 --> 20:11.520
It's like ham radio instant messenger, if you will.

20:12.520 --> 20:16.960
But where the RFCTF uses it for those virtual challenges.

20:17.500 --> 20:24.620
So again, looking at their wiki, how do you get access to the FL Digi or the SDR virtual?

20:24.620 --> 20:28.240
You're going to be wanting to use FL Digi to decode some of that.

20:28.240 --> 20:30.860
A lot of different modes here.

20:31.100 --> 20:47.720
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.

20:48.200 --> 20:58.520
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.

20:59.760 --> 21:05.120
It also is good for some of the in-room ones, but virtual is a great place to start with that.

21:06.180 --> 21:09.460
And you can basically use just simple audio coupling.

21:09.460 --> 21:15.760
So just the microphone on your laptop could be hearing you play out the audio from the flag.

21:15.760 --> 21:19.700
That's really how I got my start with this, is just, okay, here it is.

21:19.700 --> 21:22.620
Play it and then record it and then, oh, look, there the flag is.

21:22.620 --> 21:29.180
So once you can kind of compare, if you say, here is what the signal kind of looks like.

21:29.180 --> 21:32.040
Let me start going down the list playing with certain things.

21:32.040 --> 21:33.740
Can I get that flag to fall out?

21:33.740 --> 21:36.440
So this is a very good, like, audio to text.

21:36.440 --> 21:41.700
You are going to see that text of the flag right there in kind of the yellow screen there.

21:45.140 --> 21:55.180
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.

21:55.180 --> 22:00.440
So InSpectrum here is more geared for things like your key fob.

22:00.440 --> 22:15.300
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.

22:15.300 --> 22:19.340
If we see a flag, we can hit record saying, okay, I want to capture this now.

22:20.660 --> 22:25.080
InSpectrum is a great way to replay that and say, okay, what do I see in the signal?

22:25.360 --> 22:36.260
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.

22:36.260 --> 22:39.580
And we are starting to get the notion of data here, ones and zeros.

22:39.680 --> 22:45.620
So we are getting into more of, okay, what does it mean for things like that beyond what you just see in the waterfall.

22:46.660 --> 22:51.960
Your capture now can be pre-recorded and loaded, so you are not actually trying to capture it real-time.

22:52.700 --> 22:54.740
Very nice for decoding at your leisure.

22:54.740 --> 23:01.280
Like, if I see it on the waterfall, just say record, get it all, stop it, and then go back and look at it.

23:01.280 --> 23:05.680
Now I have a capture that I can work with, replay, retransmit, things like that.

23:05.680 --> 23:08.520
So really good for things like that.

23:08.560 --> 23:14.080
But we are getting more into the analysis of what things mean and how do you get to the ones and zeros.

23:17.470 --> 23:25.350
So moving down that list with Universal Radio Hacker and actually with the subsequent ones, again, more in that analysis.

23:25.350 --> 23:33.750
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.

23:33.750 --> 23:38.110
You have to use programs to decode to see what the data is.

23:38.690 --> 23:44.930
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.

23:44.930 --> 23:46.450
So you can record it.

23:46.910 --> 23:48.350
You can record something.

23:48.350 --> 23:55.310
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.

23:56.850 --> 24:05.470
You can receive, you can decode it, maybe change a couple of the bits, change the data, and then resend it back or retransmit.

24:05.630 --> 24:09.330
It does allow for scanning, kind of like that waterfall-type approach.

24:09.650 --> 24:14.430
But the main function of URH is really to do that analysis.

24:14.430 --> 24:16.930
To say, how do I change it and resend it?

24:16.930 --> 24:18.110
How do I spoof?

24:18.110 --> 24:19.790
How do I do those things?

24:20.510 --> 24:27.090
And you are dissecting the packets instead of just saying, what do I see, reading it, and then submitting it to the scoreboard.

24:27.870 --> 24:38.010
This one really is closest to that Wireshark-like ability where the information, the ones and zeros, can be visualized and manipulated.

24:38.010 --> 24:43.090
So you can see here really what your data looks like on the top, what you capture from the radio.

24:43.090 --> 24:53.050
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.

24:53.050 --> 24:55.910
So again, you are getting more and more into that complex.

24:56.350 --> 25:02.030
For you intro guys that have never seen things like this, just know that a lot of these things exist down the road.

25:02.130 --> 25:09.070
So where you are going to be playing mostly is with SDR++, SDR Sharp, GQRX, things like that.

25:09.070 --> 25:21.570
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.

25:21.930 --> 25:26.190
That one challenge you are trying to do, this is really good for that analysis.

25:29.400 --> 25:35.260
So another program here, SDR Angel, again more in that sandbox-y kind of environment.

25:35.900 --> 25:38.780
We are really getting into the more complex stuff now.

25:38.780 --> 25:44.380
So SDR Angel, a lot of good tutorials out there, a lot of read the fine manual too.

25:44.380 --> 25:49.600
So because there is a lot of functionality, it is really, they give you the keys to do anything you want.

25:50.520 --> 25:53.680
But it also can be very powerful too.

25:53.680 --> 26:09.200
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.

26:09.200 --> 26:14.300
So a lot of features, you really need to know what you are doing with every single of those buttons.

26:14.300 --> 26:16.660
I am actually not an expert in this.

26:16.860 --> 26:19.820
I have basically done this and that is about it.

26:20.020 --> 26:27.340
But again, just know that it exists, it is available, but also it is a powerful program.

26:27.340 --> 26:33.020
Down there we have a lot of team members that do use this for a lot of their daily driving for doing these challenges.

26:33.660 --> 26:36.060
There can be good use cases here.

26:36.060 --> 26:38.500
And this is really one of those use cases.

26:38.580 --> 26:40.200
So very complex.

26:40.400 --> 26:44.100
All this is custom built, this is actually just pulled from their website.

26:44.280 --> 26:50.720
But you have your receiver over there, where you are receiving say 100 MHz.

26:50.920 --> 26:55.060
You have your waterfall spectrum that you have to kind of drag and drop in.

26:55.060 --> 27:01.240
You have maybe some data visualization, maybe what your DMOD, like your audio looks like, your channel.

27:01.240 --> 27:04.560
But then also visualizing like this could be like ADS-B.

27:04.660 --> 27:06.260
Like where are the planes on the map?

27:06.260 --> 27:09.400
How do I plot GPS position of that received signal?

27:09.420 --> 27:12.660
So SDR Angel allows you to configure all this.

27:12.660 --> 27:17.320
So down the road, you guys play the CTF this year, you get some ideas.

27:17.420 --> 27:22.260
You can come back next year with something like this saying, alright, I am ready to go to hit the start button.

27:22.260 --> 27:24.560
And then really see everything start to finish.

27:24.560 --> 27:27.900
So again, more complex, just to know it exists.

27:27.900 --> 27:32.960
But also having this whole dashboard in one place, really good to see down the road.

27:32.960 --> 27:37.120
But extremely complex to kind of get running with that workflow.

27:39.480 --> 27:46.340
And then lastly here with GNU Radio Companion, this is really going to the beach for the sandbox.

27:46.600 --> 27:49.360
So most complex for this talk.

27:50.320 --> 27:56.460
Zero mentioned with the virtual challenges, you will actually need to use a GNU Radio flow graph.

27:56.640 --> 27:59.400
So if you do, go over in the table and you say, how do I start?

27:59.400 --> 28:02.280
I can actually... I will be over here kind of mulling around.

28:02.280 --> 28:04.080
I can help you run you through that.

28:04.980 --> 28:15.520
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.

28:15.920 --> 28:18.560
Really kind of the epitome of that SDR.

28:19.240 --> 28:22.900
Every block you can bring in, you can wire things start to finish.

28:23.520 --> 28:29.840
Extremely powerful, but also you can get into trouble quick and also things don't work.

28:29.840 --> 28:31.460
So you really do need to know what you are doing.

28:31.460 --> 28:34.480
I have seen flow graphs that take up the whole screen.

28:34.480 --> 28:36.620
I can't even figure out what is going on.

28:36.720 --> 28:39.460
But also it does its thing really well.

28:40.560 --> 28:45.800
And this is the concept, and you will see in the next screen where you wire inputs to outputs.

28:45.800 --> 28:52.000
Just like in the last slide here where you always need an input source.

28:52.000 --> 28:57.280
So you always need that RTLSDR, that HackRF, that BladeRF over there on the left.

28:57.560 --> 28:59.580
And you always need, okay, what do you want to do with that?

28:59.580 --> 29:01.640
Do you want to visualize it?

29:01.640 --> 29:03.400
Do you want to decode it?

29:04.640 --> 29:12.860
With GNU Radio, you wire it where your input is the FunCube dongle, the RTLSDR.

29:12.860 --> 29:15.200
You basically drag and drop a block there.

29:15.200 --> 29:19.620
Then we are going to put a filter in again, SDR, everything is in software.

29:19.740 --> 29:22.840
So we are just going to keep on connecting these things up.

29:23.440 --> 29:26.020
And ultimately we are going to say, okay, what do we want to do on the output?

29:26.020 --> 29:26.860
We want to hear it.

29:26.860 --> 29:28.500
We want to put it out on the audio.

29:28.900 --> 29:32.120
So this is a simple, like a narrowband FM receiver.

29:32.360 --> 29:33.880
All done in software.

29:34.000 --> 29:39.540
You sample from the SDR, you bring it through, you do some stuff, and then we hear the audio output.

29:39.540 --> 29:44.860
So GNU Radio, again, more complex side, but also more powerful.

29:44.860 --> 29:48.480
Not just for receiving, but also we use these for transmitting as well.

29:48.480 --> 29:54.400
So we could send our data on the receivers or on the input side.

29:54.400 --> 29:56.540
Here is kind of the data we want to send.

29:56.640 --> 30:01.800
Our output here instead of an audio sync is maybe the SDR, maybe the Blade RF to transmit.

30:02.100 --> 30:07.820
So GNU Radio really gives you the power to do a lot of that configuration all in software.

30:07.820 --> 30:12.640
And then really either coming into the antenna or going off the antenna for transmit.

30:12.900 --> 30:16.820
Really a good kind of playing at the beach way of thinking about it.

30:17.280 --> 30:20.960
Again, it can be very complex if this is the first time you are seeing it.

30:20.960 --> 30:29.860
So aside from playing with the virtual challenges, the RFCTF, downloading that flow graph to be able to play it to get the data.

30:30.060 --> 30:32.320
That is really kind of the intro stuff.

30:32.320 --> 30:34.600
You are really not going to be designing or altering that.

30:34.600 --> 30:39.320
But again, for the new guys, for the new people out there, know that this exists.

30:39.700 --> 30:45.680
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.

30:45.680 --> 30:50.680
Less and less on GQRX, more and more just in here trying to figure out the new challenges.

30:51.040 --> 30:55.180
The guys would say we have a new TPMS or new this challenge.

30:55.280 --> 31:00.240
We are trying to go in here and how to alter past flow graphs on how to get that new challenge.

31:00.260 --> 31:03.500
Again, down the road more into that medium to advanced level.

31:06.450 --> 31:13.210
So all the software and a lot of this is really geared on the Linux distributions versus like Mac or Windows.

31:13.210 --> 31:15.610
Windows support has been kind of hit or miss.

31:15.750 --> 31:19.550
So all the software I mentioned to is available in the Linux distributions.

31:19.550 --> 31:21.990
There are three really good options here.

31:22.430 --> 31:26.890
If you just want to say plug in a live CD or a live USB and run.

31:26.890 --> 31:29.850
You do not have to install anything, do anything.

31:29.850 --> 31:40.550
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.

31:40.710 --> 31:43.370
And then all of your software is kind of there ready to go.

31:43.370 --> 31:45.770
So all these really good options.

31:46.650 --> 31:52.590
Zero likes Pentoo, so he is going to say every time I actually run Pentoo now myself did not start out that way.

31:52.590 --> 32:00.190
I started with Kali, Dragon OS, but depending on your familiarity with Linux, there are really good plug and play solutions there.

32:00.190 --> 32:01.870
So really encourage that.

32:01.870 --> 32:03.210
They all can do live.

32:03.210 --> 32:05.430
They get you up and running super quick.

32:05.430 --> 32:09.350
With the hardware drivers baked in, everything all set to go.

32:09.550 --> 32:11.050
Windows, again, hit or miss.

32:11.050 --> 32:16.310
You have to manually load drivers, put the software on, things may or may not play.

32:16.310 --> 32:19.950
But again, great options, just packaging kind of that all in one.

32:22.590 --> 32:26.750
So lastly here, moving on to the tactics, techniques, and procedures.

32:26.870 --> 32:28.230
So you have all the software.

32:28.230 --> 32:29.290
You have the hardware.

32:29.290 --> 32:30.830
You have the RTL-SDR.

32:30.830 --> 32:32.430
You have the HackRF.

32:32.490 --> 32:33.910
You have the software.

32:33.910 --> 32:36.610
You know, okay, we can tune across the band.

32:36.610 --> 32:39.830
We can get the waterfall, look for the spray paint.

32:40.010 --> 32:41.870
Where do we actually look?

32:42.190 --> 32:48.030
You have about 0 to 6 gigahertz or 0 to 6,000 megahertz of space to look through.

32:48.030 --> 32:50.110
Remember that sample rate.

32:50.110 --> 32:54.670
If you have an RTL-SDR, you're looking at 2 megahertz every time.

32:54.850 --> 33:00.650
So you have now 2 megahertz wide or HackRF 20 megahertz wide, 60 megahertz wide.

33:00.650 --> 33:03.810
But now you're doing 0 to 6,000 megahertz.

33:03.810 --> 33:13.990
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.

33:13.990 --> 33:17.890
So consider all the bands you use day to day.

33:17.890 --> 33:19.290
We have cellular.

33:19.290 --> 33:21.310
We have quad band cellular, LTE.

33:21.310 --> 33:24.070
We have GPS, Wi-Fi, Bluetooth.

33:24.470 --> 33:29.550
GPS, they're probably not going to be anywhere around trying to jam out GPS.

33:29.550 --> 33:32.670
So I can take out 1,500 megahertz.

33:33.190 --> 33:35.410
LTE cellular, same way.

33:35.410 --> 33:38.470
They're probably not going to... the flags aren't going to be there.

33:38.550 --> 33:41.850
Wi-Fi, Bluetooth, certainly fair game.

33:41.850 --> 33:47.690
So the goal of this section now is just to say concentrate your chances on where to look.

33:48.490 --> 33:53.050
And what if there was a great way to target certain areas to look?

33:54.050 --> 33:57.370
And that's where a little bit of an eye chart here, very colorful.

33:57.370 --> 33:59.710
You can't probably read any of that text.

34:00.290 --> 34:08.690
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.

34:08.690 --> 34:17.130
That's all of here in the United States what the FCC or Department of Commerce governs of everything 0 to 6 gigahertz.

34:17.210 --> 34:18.790
Cellular's in here.

34:18.790 --> 34:21.410
AM and FM broadcast are in here somewhere.

34:21.410 --> 34:26.070
So everyone where everyone has a license for, amateur bands are in here.

34:26.110 --> 34:32.690
And there are certain key areas where... does anyone here know what ISM, the ISM band is?

34:32.970 --> 34:35.390
We see in the back, we see some hands.

34:35.390 --> 34:37.910
You have the industrial, scientific, and medical band.

34:37.910 --> 34:56.310
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.

34:56.570 --> 34:59.230
If you go for your ham license, you become licensed.

34:59.230 --> 35:02.570
We can transmit now in certain amateur bands with that license.

35:02.570 --> 35:05.530
Well, the ISM band are license-free within reason.

35:05.530 --> 35:10.210
You can't transmit 1,000 watts in some bands or you can't do certain things.

35:10.210 --> 35:21.450
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.

35:21.450 --> 35:23.890
It just needs to talk to the nurse's station.

35:23.890 --> 35:26.430
You don't need an FCC license for all that.

35:26.550 --> 35:30.110
ISM bands are a great place to look for things like this.

35:30.110 --> 35:33.590
So the 430 megahertz band, great place.

35:33.590 --> 35:42.810
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.

35:42.810 --> 35:48.170
Or some of us are also licensed ham operators, so look in the ham bands.

35:48.370 --> 35:53.270
So, again, you're not really looking in cellular, not really looking anywhere else.

35:53.270 --> 36:01.430
The staying away from the GPS, staying away from cellular, staying away from radio navigation or radio location for the airports here.

36:01.430 --> 36:03.950
So you're really concentrating your successes.

36:03.950 --> 36:08.090
You're not blindly scanning through the entire band looking for the flag.

36:08.170 --> 36:13.370
You're concentrating maybe five, six, seven different spots now, again, to get that.

36:13.370 --> 36:20.730
But there's a lot going on here, and you're maybe only concerned with four or five of these areas.

36:22.790 --> 36:29.530
So, again, with that, kind of what I mentioned here is look in the ISM or amateur radio bands.

36:29.530 --> 36:31.370
Really good place to look.

36:32.130 --> 36:34.590
Might have some interesting signals right there.

36:34.590 --> 36:40.830
So if you have that RTL-SDR, you have that HAC-RF, tune in and see what you get there.

36:40.930 --> 36:42.330
You might find something.

36:42.330 --> 36:44.170
I'm just saying hypothetically.

36:44.610 --> 36:48.010
And look for that waterfall spray paint that Wasabi and Zero mentioned.

36:48.010 --> 36:54.470
So that's really, if you see any signal that doesn't have that, it's probably not a flag.

36:54.470 --> 36:56.050
Because, again, there's a lot in there.

36:56.050 --> 37:01.050
I mean, even going back to the chart here, a lot of public safety is in here, too.

37:01.050 --> 37:07.430
So if you see kind of these weird digital radio things around 450 to 470, that's probably not a flag.

37:07.450 --> 37:13.990
So get to know kind of where those band limits are, where the amateur bands are, where the ISM bands are.

37:14.510 --> 37:21.850
Because you are going to see things like your public radio, your DMR, your P25, things like that.

37:21.850 --> 37:23.450
No spray paint.

37:23.450 --> 37:25.130
So don't try to decode it.

37:25.130 --> 37:27.510
Don't try to do anything you're not supposed to.

37:27.510 --> 37:29.950
But look for that spray paint right in that waterfall.

37:29.950 --> 37:31.410
Increase those chances.

37:32.450 --> 37:35.410
And so what you'll see is you'll see the waterfall spray paint.

37:35.410 --> 37:40.130
And then you'll see something coming after, whether it's on-off keying like Morse code.

37:40.130 --> 37:42.470
There are some ham digital flags out there.

37:42.570 --> 37:45.570
They could be really good, really easy to decode.

37:45.570 --> 37:49.830
Even if you don't know Morse code, that's actually what I did a couple of years ago.

37:49.830 --> 37:55.130
And you just kind of say, oh, this looks like this, and let's get the whole table of all the Morse alphabet.

37:55.130 --> 37:57.350
And let's just kind of go right down the list and decode.

37:57.430 --> 37:59.290
Real easy way to do that.

37:59.910 --> 38:05.350
And then you get some of the other ones, amplitude shift keying, frequency shift keying, that require a little bit more to go through.

38:05.570 --> 38:07.710
But again, look for that spray paint.

38:09.970 --> 38:16.790
And lastly here, for the unknown signals, so for the digital, like the FSK, the ASK, things like that.

38:16.790 --> 38:29.050
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.

38:29.350 --> 38:45.530
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.

38:45.530 --> 38:51.930
So the SIG-ID wiki, again, link right here, great place to go if you're trying to figure out some of these signals.

38:52.430 --> 38:55.630
On the left there, you have all the categories.

38:55.850 --> 38:59.130
You're not really going to be spending every time in every one of those.

38:59.510 --> 39:12.290
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.

39:12.290 --> 39:25.390
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.

39:25.450 --> 39:30.790
And this is really what you see on the right here is you'll see signals, what they look like in the waterfall.

39:30.790 --> 39:38.510
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.

39:38.510 --> 39:44.530
And also what the SIG-ID wiki does is has play buttons there, you can actually listen to it.

39:44.530 --> 39:53.910
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?

39:53.910 --> 40:10.810
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.

40:11.090 --> 40:18.050
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.

40:18.050 --> 40:22.070
But great way to compare it here, but also listen to it as well.

40:24.650 --> 40:26.170
So where do you go from here?

40:26.170 --> 40:27.670
So we're just about wrapped up here.

40:27.670 --> 40:37.310
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.

40:38.170 --> 40:42.050
You can download the distro, but where do you go from here?

40:42.050 --> 40:45.550
And that's really sit down, plug in and go.

40:45.550 --> 40:52.310
So you can get the GNU Radio flow graphs from the RFHS wiki.

40:53.290 --> 41:01.050
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.

41:01.050 --> 41:06.150
So , again, things that when I first started DEF CON 24, none of this existed.

41:06.150 --> 41:09.030
There was no tutorial how to do it, no wiki.

41:09.230 --> 41:14.790
Those guys actually liked the pain of you trying to spend the whole day to get one flag.

41:14.790 --> 41:21.630
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.

41:21.630 --> 41:28.670
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.

41:29.430 --> 41:31.710
And bottom here, get to know some of the people.

41:31.710 --> 41:40.430
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.

41:40.430 --> 41:42.910
So that's really how I got started.

41:42.910 --> 41:46.250
And now actually walking around there and helping others do the same.

41:46.250 --> 41:48.410
So a great way to meet people.

41:48.410 --> 41:49.830
We all had to start somewhere.

41:49.830 --> 41:59.330
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.

41:59.330 --> 42:01.870
So it's time to start passing it off to you guys.

42:01.870 --> 42:04.710
Come up and now start getting points yourself.

42:06.910 --> 42:08.910
So with that being said, any questions?

42:12.160 --> 42:13.160
Yes, sir.

42:15.280 --> 42:17.660
I'm sorry, come on up here.

42:22.520 --> 42:24.920
What do you mean by virtual?

42:24.920 --> 42:28.840
I heard the man before talking about Amazon Web Services.

42:29.060 --> 42:36.280
Are you saying you can use the actual applications you mentioned, but instead of a hardware radio, you're going to something virtual?

42:36.280 --> 42:37.560
I just don't get that.

42:37.560 --> 42:40.440
Yeah, so that's actually a great question.

42:40.440 --> 42:50.220
Yeah, so the virtual challenges, again, if you go to the RFHS wiki, you don't actually even need an RTL-SDR.

42:50.220 --> 42:51.680
You don't need any hardware.

42:51.980 --> 42:56.440
Just your computer, your GNU radio on there.

42:56.440 --> 43:00.020
They kind of walk you through what you need to get that flow graph running.

43:00.020 --> 43:03.500
You actually don't need any hardware SDR, but no, great question.

43:03.980 --> 43:05.960
And you really just need the software.

43:06.180 --> 43:08.120
So they kind of walk you through.

43:08.120 --> 43:12.220
If you have any questions with that, if you come up, ask questions with that, let me know.

43:12.220 --> 43:17.200
But there is, in that wiki, this is the flow graph you need.

43:17.200 --> 43:19.840
So GNU radio, here's how you're going to want to run it.

43:19.840 --> 43:23.820
So you do need the internet connection, but you run the flow graph.

43:23.840 --> 43:28.780
It connects to the AWS, pulls and just starts doing what your RTL-SDR would do.

43:28.780 --> 43:38.160
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.

43:38.160 --> 43:40.980
You're going to hear the audio, you're going to hear these things.

43:41.180 --> 43:48.020
So use the SIG-ID wiki, you're going to hear it, compare it, things like that.

43:48.020 --> 43:51.260
But yeah, you actually don't need any hardware to do that.

43:51.260 --> 43:53.220
So , that answer your question?

43:54.060 --> 43:56.300
So, great question.

43:56.300 --> 43:57.500
Yeah, so read the wiki.

43:57.500 --> 44:02.100
But yeah, the virtual stuff is all geared so that you're going to get points on the board without any hardware.

44:02.380 --> 44:07.280
But more challenging or medium hard stuff, you're going to start needing the hardware for that.

44:07.280 --> 44:10.740
But again, use more of the software for that.

44:12.760 --> 44:14.020
Any other questions?

44:15.800 --> 44:17.080
All right, thank you so much.

44:17.080 --> 44:19.140
So I hope to see you over in the tables to play.

