start	end	text
0	3200	In a world...
5460	7880	He sold tortillas on the corner.
7880	10300	And the mob wanted in.
11400	13260	These are my tortillas.
14260	15580	Are we going?
15580	17940	So you caught my little tortilla boy invitation?
17940	19540	It's not very good.
19540	20400	Alright!
20720	21800	Welcome!
22040	24200	I'm gonna use my search warrant voice.
24200	26760	All of you put your hands behind your head.
27800	28800	Excellent.
28800	31240	Seriously, come on in, sit down, have fun.
31460	32840	We're all here for the fun.
33440	34620	My name is Zero Chaos.
34620	36040	I am here with the Wireless Village.
36040	37640	And it's my fault that this is all delayed.
37640	39600	So, if you are just walking in, that's great.
39600	41720	You're catching the first important talk.
42060	44380	Only some losers spoke earlier.
44380	45280	So, welcome.
45280	46640	This is Intro to SDR.
46640	47540	This is Russ.
47540	49840	Russ is the newest member of our inner circle.
49840	52860	And he has penetrated not only our networks, but our hearts.
54660	55840	All the thanks.
55920	58460	Wow, that was fricking risky business letting you do that.
58460	59440	Thank you, Zero.
60240	61920	So, I'm humbled.
61920	63300	Thank you, everyone, for coming.
63320	64540	My name is Russ.
64740	68360	I'm going to teach you about a handful of things regarding software-defined radios.
68360	69820	More importantly, for two reasons.
69820	73160	One, so that y'all can play with all the stuff that we set up over here.
73360	76400	Secondarily, I really want to see more ham radio operators.
76400	81440	So, I'm going to show you the fun world of various bits of radio communications that are out there.
81440	85260	And what you need to do in order to start testing the waters legally and cleanly.
85260	89480	So, the title of the talk was originally, so you want to get into SDR.
89700	92840	I was on the Blade RF channel not so long ago.
92840	96100	And they actually suggested I change it to being 64 shades of qualm.
96100	98340	As opposed to, like, 50 shades of gray.
98540	102800	But nonetheless, I have Hoopy Cat to thank for that one.
103020	106320	Real quickly, I'm going to cover some SDR 101 stuff.
106320	109020	So that everyone understands what the heck I'm talking about.
109400	115240	Some of the cool things that you can do with them as far as having distributed radios, portable packs.
115240	118540	Some of the issues and concerns in regards to all that sort of stuff.
118540	121240	Let's say you want to start setting these things up at your house.
121240	125180	What do you need to do? Things to be cautious of in order to keep from burning equipment.
125520	131000	Some nice things to be able to do that you can do with these various devices.
131120	137520	And some various random things, more importantly, that I've come across that will be kind of hintish for the challenge.
137520	140220	But also some of the other things that you may be interested in.
140220	141520	And poking it around.
141520	152820	So, software-defined radios, unfortunately, as far as getting into the hobby or working into it, is much like this picture describes.
152820	157100	How to draw an owl. Well, draw two circles and then draw the rest of the fucking owl.
158700	160580	There's a lot of people who are out there who say,
160580	164260	Okay, I bought this dongle, I pop it in, and then woohoo, I'm sniffing the airwaves.
164260	165880	Well, okay, maybe.
165880	172280	So, how do you get from seeing that hearing static to a signal to actually seeing actual real data or anything along those lines?
172280	174360	There's a missing step between this.
175160	181240	So, I hope to be able to provide some information as to the missing steps so that you too can draw your very own owl.
181560	186660	The thing to keep in mind with software-defined radios is that they are software-defined.
186660	188580	It's just a radio at the front end.
188580	197740	It is taking signaling directly off of the ICs to the back end and allowing the host computer in order to demodulate it as you go.
197740	202700	Once again, the theme of The Village is kind of matrix-y some stuff in that.
202700	209800	Well, if you remember when Neo learned Kung Fu, he was dynamically uploaded on the fly, he learned a new thing.
209800	211600	Same thing with software-defined radios.
211600	214960	You have to tell them how to interpret the signaling that's coming in.
214960	221340	Fortunately, there's a lot of tools already built to do that, so you can then reverse-engineer those tools, read the documentation on them.
221620	231500	But then you can start going a little bit nuts with GNU Radio and start exploring some of the fewer documented protocols that are out there,
231500	238140	like some of the SCADA system water gates, flood gates, other forms of broadcasted communications, things along those lines.
239000	246720	So the hardware to get into this, the whole reason why you're all here is what hardware is out there to do it, probably.
247160	254060	It used to be the realm of academics. It used to be ungodly expensive, $40,000 and up.
254220	262020	Then a couple years ago, Atis Research came out with the USRP, dropped it to being about a $2,000 price, and it's been cycling downhill from there.
262020	279960	You have the cheapy little RTL-SDRs, which are actually meant to demodulate DVB-T radio transmissions, which is a form of high-def TV in Europe and China and such.
280760	287020	But it's software that's doing that for you. It's just receiving the signal, and then the software is taking care of the rest.
287020	296640	So with some hackery, with some software drivers, you're able to actually get them to be the cheapest, stupidest receivers that you can get.
300540	304420	Dude, it's totally because I got trousered last night.
305420	312720	Then you also have the HackRF and the BladeRF, which are the next series of really amazing tools, mostly because of price.
312720	318760	So you can start dealing with various more frequencies, but they do fundamentally very different things.
319100	324440	So be cautious and cognizant of what their capabilities are.
324440	327380	One is half-duplex, one allows full-duplex.
327380	335100	One is 30 MHz to 6 GHz, the other one's 300 MHz to just around 5 or 4 GHz, something along those lines.
335340	337740	Three hours of sleep, I don't care anymore.
338720	342700	But know which tool you're going to pick for the job that you're going to research.
342700	345620	The radio signal that you're going to want to look into.
345920	350520	Your antennas are your physical layer into this realm.
350520	358680	If you don't have the right antenna or don't understand basic radio theory of antenna design, you're going to have bad times.
358860	371080	If you end up trying to transmit with an improperly attenuated antenna, you're going to get a sad panda face on your reflected mirror screen from your monitor after you figure out,
371080	372800	fuck, I just burned this thing up.
372920	376040	So there's a great book called Antenna Theory.
377100	380500	So I suggest going out, picking it up, just flip through it.
380500	385440	You'll be able to understand, you know, resonance and all that sort of stuff to tune to the right frequency.
385540	388920	Actually, it's even just better to understand so that you actually can...
388920	394700	If your antenna is way too big, you're going to pick up more noise for the signal that you're not intentionally trying to receive.
394700	404120	So by having the right height, or length rather, of your antenna, you're going to be able to better filter out what it is you're going to be looking for.
404120	412380	You also have filters, now that I mentioned it, that can bandpass filters that help you whittle out even more noise and all that, but I'll get to that in a moment.
412380	413760	I'm getting ahead of myself.
415720	422300	So compared to things like Kismet and anything else along those lines, Kismet gives you raw packets.
422300	427320	Software-defined radio capturing tools give you just raw data.
428320	433080	Sometimes they store that data in a proprietary format, otherwise they don't.
433080	437740	And what they give you is representations of IQ data.
437920	441080	Imaginary and quotient components of a signal.
441080	444780	I'm not going to get into the fancy math, just recognize the terms.
444780	449820	There's a lot of fun math behind it, and it also explains the DC spike and all that stuff.
449820	459820	But what they're actively doing is comparing the signals in order to come up with a representation of something that you'll be able to use in order to apply software to,
459820	467480	then to convert it to audio, take a look at the audio stream, or be able to demodulate it into a bit stream.
467480	469380	And I'll have some examples of that in a moment.
469980	474320	Like I said, it used to be really difficult to get into this.
474600	477240	Commercially, you're paying a lot of money.
477340	479080	Academically, you're paying a lot of money.
479080	485420	The software and the papers that were out there in regards to it, having been an academic, I call it gradware,
485420	491000	meaning the software only works for graduate students for the exact experiment that they're working on right then and there.
491000	493660	If you try to download it, it comes with no documentation.
493660	495840	If you try to run it, good frickin' luck.
495940	498880	If you need help with it, good frickin' luck.
499000	505480	But fortunately, thanks to folks like Dominic, Mike Osman, and the rest of the folks in the community,
505480	510660	I don't see anyone else here right off the bat that I'm thanking for helping me with these various things.
510720	514080	But anyways, yeah! Round of applause.
518760	526020	So Mike Osman threw out the HackRF as a very easy-to-use tool,
526020	530240	and now more and more people are getting into it, such as yourselves.
530940	538280	So because they are software-defined and not limited to just one function,
538280	546520	your ability to observe and examine radio communications is limited to your own skill sets and who you work with,
546520	548780	or what your knowledge base is.
548780	558720	Travis Goodspeed, who is not here just yet, has used software-defined radios for his SASA,
558720	564300	where he's tracking low-Earth-orbiting satellites and then capturing their radio communications
564300	568480	in order to figure out what it is they're saying and what it is they're doing.
568480	577360	I highly recommend you corner this neighborly individual in order to have him explain to you what SASA is and how it works.
577360	584660	That's an application of these cheap devices being able to allow individuals to do more thorough research
584660	588880	on all these other protocols that may or may not have really awful problems.
590320	601340	So for your own edification, the majority of the main points that you need to pay attention to is what your sampling bit rate is.
601420	607120	Let me slow down. Red, leather, yellow... Wow, I can't even do that.
607120	616220	Anyways, drink. You need to be able to understand how much bandwidth you're actually recording at a time.
616440	620200	You never record at the center of the frequency that you want to record at.
620200	626440	You always record off-center of it because of the DC spike. I'll show you what that looks like in a minute.
626760	631920	But like I said, pay attention to the tool that you're using for the radio frequency that you're going to examine.
631920	640180	The tools that are out there for folks who want to just get into this and also start messing with the SDR challenges here.
640920	646140	If you got PIN2, you've solved like 99% of your problems and Nubuntu ain't one.
646600	655160	The program GQRX is a magnificent program to be able to just see what's out there from a radio communication standpoint.
655160	663660	You get a line chart of peaks and valleys of signal strengths and then you get a waterfall display so you can see how it communicates over time.
664200	668620	In addition to that, you'll be able to more clearly identify what your center frequency is.
668620	677060	Now keep in mind, these cheap little devices, they have drift as to what they report their receiving signal is.
677060	685100	Because as they warm up or as they cool down, the clocks in them cause what they're representing to shift.
685420	691200	So a couple times during the day, either unplug it, let it cool down, or I'll show you some other things you can do.
691200	694220	But you need to find a reference frequency.
694220	696340	Yes sir?
698810	699470	Cheap ones.
699470	702950	Cheap ones. The other devices can drift, do drift.
703390	704390	The HackRF...
704970	708010	Yeah, the HackRF is flawless.
708610	713190	I haven't seen the HackRF drift. I haven't seen my BladeRF drift.
713630	716090	The RTLs drift.
716090	724650	The best way to find out what your center frequency drift is, is to go to the National Weather Service transmissions.
724650	729450	And then you'll see, if you select it and hit center, you'll be off by a couple kilohertz.
729930	730350	So you'll be...
732010	734070	Yes, you can do that as well.
736010	736890	Absolutely.
737190	743890	But, so all these things are your initial tools in order to see kind of what's out there, see the light, how bright the light is.
743890	754070	And then you take that and run it through other programs like your new radio or other pre-compiled applications in order to demodulate more cleanly and directly.
754070	760270	If you have Windows, SDR-Sharp works pretty well. There's been drama surrounding that. Not going to get into that at the moment.
761210	765090	But it's still out there. It's available probably every two weeks or so.
765090	770310	I see another plug-in written for it and it's for added capabilities and all that sort of stuff.
770930	774090	The biggest thing that you need to understand with software-defined radio.
774090	777210	Alright, you see a signal. What the heck is that signal?
777210	782350	Well, there's a great wiki that is the signal identification guide.
782350	791370	What they have for their information is what frequency it is, has someone identified it before, a description of what they've identified it as.
791530	799870	A picture of the waterfall display of it, like a really clean, crisp waterfall of it so you can see what it looks like as it's transmitting.
800170	804050	And most importantly, an audio sample of it so you can hear it.
804050	811690	So your software-defined radio being your brain is the best thing that you can use to identify other radio communications.
811690	818170	An example was when we were at B-Sides Vegas earlier this week giving a two-day class on this stuff.
818170	824890	Justin and I were observing a POCSAG communication, but it was nowhere near any pager frequency.
824890	834190	But what we were able to then identify as being is like those restaurant hockey pucks that light up and vibrate whenever someone's table is ready.
834190	843450	So just by being able to listen to it, identify it, and then doing some other querying out of radio reference and some FCC lookup stuff,
843450	850370	it was very plainly and easily identified as that being the device without even having to demodulate it.
851090	860050	So the other things that you can use in order to analyze your captured signals is a fantastic tool called Bodline.
860790	865870	Bodline has some quirks. It doesn't like large files.
866710	877790	And there is, according to Dragorn, a push to have an open-source version, a complete and total open-source version of Bodline,
877790	885250	in order to address some of these quirks and also to get them rolled into Pentoo and other open-source distros.
885250	889850	But really the big thing that you need to be able to do with Bodline, and you can either use DD or Split,
889850	893830	but you need to break up your IQ capture files into 50 meg chunks.
894550	901710	Now, as you can imagine, what if you chop the file where the transmission is like right at that middle point,
901710	908730	so in that 49 to 51 meg barrier, you chop the file right there and you cut your signal in half?
908730	918890	Well, use DD in order to trim and skew, in order to whittle down on that IQ file to actually get a good handle as to what it is you're seeing.
919010	920830	So, the...
922810	926750	Wow, I am that jerk. Voicemail.
927790	935730	The way that you run Bodline, download it, extract it, execute it. It's pre-compiled. You're good to go.
935730	941570	So, when you open up Bodline, this is kind of what it starts with. It's got some fun little quirks because of the UI.
941570	952790	You right-click for your menus. You'll be able to navigate to your capture.bin or capture.iq file from whatever it is you're using to record the raw IQ samples from.
953110	956850	You need to select that it is a raw file format.
956850	971490	Then the few other things that you need to remember to do is to, whatever your sample rate for your capture was, remember to put in the sample rate as well so your cadence for the demodulation is going to be able to display cleanly.
971490	979690	You're going to select two channels because you have both I and Q in these files. Quadrature and 8-bit unsigned data.
979690	985250	And once you do that, this is an example of a recording of a key fob for a car.
986270	987890	Specifically, drag horns.
988570	992330	So you'll see it displays these bursts.
992370	1002730	And since we, for this example from the class, recorded offset from the center frequency, you'll see these little groupings of data bursts.
1002750	1005570	Well, you can enhance, like in CSI.
1005750	1010230	And what you very plainly see is stuff like this.
1010230	1013890	What do you think this on-off-on-off-on-off-on-off at the top is?
1015970	1017690	Preamble. Very good.
1018070	1021910	And then right after that, you have a series of on's and off's.
1022430	1025430	So what do they mean? What is their significance?
1025590	1027370	Well, that's up to you to determine.
1027370	1034010	How do you go from this in order to put it into an actual reverse bit stream or byte stream?
1034450	1038350	Well, that's when time and experience is going to come into play.
1038350	1044650	I'll show you a few more examples of this, but when I was working on demodulating something with Mike Ostman,
1044650	1052230	I shot him a screen cap of one of my baud line captures, and he immediately responded back with what the bit stream was.
1052230	1054430	And I was like, dude, how the hell did you do that?
1054430	1056270	How did you demodulate too quickly?
1056270	1060730	What new radio widget do you have kicking out?
1060730	1062330	I just looked at it.
1063130	1065770	Okay, clearly I'm not there yet.
1065770	1071990	But if you get in a whole lot, you can zoom in very, very plainly into seeing this one capture.
1072010	1078990	And you also then need to identify whether it's OOK, AFSK, or any other form of modulation.
1078990	1083670	So like OOK on off is like this. It's like Morse code.
1084130	1092370	AFSK, you'll see, I'm not sure if I have an example on the screenshot, but it alternates between two frequencies.
1092370	1098390	Now the other thing to keep in mind when looking at this stuff, when you see something is on and something is off,
1098390	1102750	we typically think of that as a binary representation of a 1 or a 0.
1102810	1104650	That may or may not be true.
1104650	1112270	Because there's really neat things out there like other modulation schemas like Manchester encoding,
1112270	1116810	where you actually have symbols, and depending on how those symbols match up,
1116810	1120270	they pair up to actually being a representation of a 1 or a 0.
1120270	1124450	That really screwed with me for a while when I started getting into this.
1124690	1128930	So in this case, I gave you an example of OOK data.
1128990	1130650	Transmitter's on, it's off.
1132090	1135390	And the things that you can do that can go wrong.
1135390	1137370	I'm just going to ramble at this point.
1138130	1145950	So for those who are going to do the contest, or anyone who's going to bot those little RTLs,
1145950	1152010	you may notice once you put two RTLs side by side, what it is you're receiving looks like shit.
1152070	1154570	Or is very different from the other person.
1154830	1156150	This is why.
1157210	1164210	Sometimes when you pop off the bottom tin plate, maybe it's connected, maybe it's not,
1164210	1168350	maybe the ground plane is connected to the element feed, who the F knows.
1168410	1174050	So really, some of the best stuff that you can do in order to ensure that you get a good clean signal
1174050	1176930	is to go out on Amazon and buy little pigtails.
1176930	1182870	So you can actually connect real antennas with SMA or PL239 or whatever connector head is necessary
1182870	1184670	for what it is you're looking into.
1184970	1186670	I can't stress that enough.
1186950	1192390	It starts with the physical layer, your actual hardware of the wire.
1192390	1196930	So if you have that, bad times.
1197210	1199970	Now, Lightning definitely wants to be your friend.
1199970	1201930	Do not be Lightning's friend.
1201930	1206010	If you're going to set up a ground station, a base station at your house,
1206010	1213770	make sure, please, please, please, please, please, make sure that you do Lightning suppression and grounding properly.
1213770	1218130	Have a licensed electrician, if you're not familiar with it, have a licensed electrician come out and help you with it.
1218130	1220690	Or find another ham radio operator in your area.
1220690	1222690	They'll be more than happy to come out, I'm sure.
1223630	1229790	This is an example of an Ethernet plug from an Ethernet based radio that I manage.
1229790	1231290	The radio survived.
1231290	1236550	A six foot section of that Ethernet cable baked and fried.
1236830	1238990	But the Lightning suppression system worked.
1238990	1241450	The radio survived. It's working now.
1241850	1244550	Everything else south of the Lightning arrestor worked.
1244550	1247130	The grounding straps and everything else worked.
1247230	1249730	Make sure you get that right.
1249730	1251890	Because otherwise, I've blown radios.
1251890	1253610	I've had almost fires.
1253610	1256950	Dragorn, just recently at his house,
1256950	1264750	Lightning hit one tree, jumped out of the tree, hit another tree, said, fuck you tree, you're too small, and then jumped to a third tree, and then went down to earth ground.
1264750	1266610	It will do whatever it wants.
1266610	1268610	It's the honey badger of nature.
1269270	1271210	Lightning doesn't give a fuck.
1271510	1275910	So, the other thing to keep in mind is just general static.
1276230	1285070	Taking these cheaper ones, and you'll notice that the connector heads of them are kind of barreled and very loose.
1285070	1292790	I've seen some where if you just twist it a little bit, it causes the receiver in it to freak out and reboot the actual device.
1292790	1299750	So, whatever it is you're monitoring stops, you'll take a look at DMessage, and you'll see that it disconnected and reconnected.
1299770	1303150	So, be wary. You get what you pay for. A lot like training.
1303890	1310210	But the thing, if you're going to set up a base station at your house, you're probably going to have the antenna outside.
1310210	1315770	Be very, very careful of wind and static built up on your elements with wind.
1315890	1320790	Like I said, any time something rubs against something else, you're going to generate some level of static.
1320790	1325510	These devices sometimes don't have static protection built into them.
1326730	1331610	It's a crap shoot. I've bought the exact same device out of the exact same batch queue.
1331610	1334350	Some have ESD protection, some don't.
1334350	1336390	You don't know until you open it up.
1336390	1342490	And you can fry your radio receiver and these things with a little tiny shock.
1342930	1344430	And I have done that.
1344950	1352550	So, the other things, if you're going to set up a base station, are stuff to... these two documents to read.
1353030	1359290	The mitigation of radio noise from external sources at radio receiving sites and the Enable RFI Handbook.
1359290	1365170	You don't have to be a crazy person like me and build a skiff in your basement that has a Faraday cage and all that stuff.
1365170	1372730	But eliminating common radio signal sources, like noise sources, in your environment helps a ton.
1372730	1377970	It really, really helps clean up some of the signals that you're going to be receiving.
1377990	1385170	So, some of the best examples inside these guides are the computer power supplies.
1385170	1389950	Not in accordance with barrier feed and ground principles like BFG.
1391570	1397470	So, what that means is that this electrical outlet, this plug right here, is plastic.
1397470	1400870	It's not grounded to the actual power supply itself.
1401030	1407710	So, any signal source coming in is now going inside the computer and can possibly cause a source of interference.
1407970	1414710	Also from this same guide is another great example where someone thought it was a brilliant idea to take a copper braid...
1414710	1418010	to a copper braid and use brass and just paint over it.
1418010	1423350	So, what ended up happening is the connector had expanded and contracted over time due to the elements.
1423350	1425250	It created a fracture in the cap.
1425530	1432150	The issue with this device was it was a grounding point for a cellular communication tower.
1432150	1435370	It brought the cellular communication tower down to its knees.
1435370	1438250	Just that, from improper grounding.
1438250	1446090	So, if you're going to go this level of insanity, make sure you just read those guides and cover your basics.
1446090	1452330	The clocks, as I mentioned earlier, they tend to drift as they warm up and cool down.
1452730	1459050	So, some of the things that you can do in order to manage that drift is cooling your RTLs,
1459050	1462990	or keeping them cool for longer periods of time, or cycling them around for their usage.
1463730	1469730	The stupidest thing that I've seen someone do is take a fan and put it on top of their RTL.
1469730	1473250	Because a fan is just a noise generator for RF.
1473250	1479190	And you're putting a bright flashlight next to your eyeball as you're receiving these radio communications.
1479190	1481170	It's just saturating out everything else.
1481170	1483990	So, I'm getting ahead of myself.
1483990	1490710	But, in regards to managing your clocks, if you want to capture more bandwidth simultaneously,
1490710	1497290	there's some hacks that you can do where you can take the crystal off and stitch them together using a common real-time source.
1497290	1504130	This is a website where I was reading about multi-channel receivers.
1504130	1509930	I think they can output up to 8, so that means you can theoretically stitch up to 8 RTLs at the same time
1510510	1515990	and start capturing more bandwidth at the same time of a particular signal.
1516130	1521470	But, once again, you're going to be soldering these signal feeds back onto the board.
1521470	1525170	If you have a bad solder joint, it's going to be sad panda.
1525170	1529310	Now, as I was mentioning earlier, the clock will drift as it warms up.
1529310	1533770	So, you need to check reference radio frequencies all the time, depending on where you are.
1533770	1536290	Hey, I'm in the U.S., so I use the National Weather Service.
1537090	1541550	So, in regards to the cooling, a really clever thing that I've seen is, you know,
1541550	1547490	you just put it in a tin can with vegetable oil or mineral oil without vitamin K.
1548090	1550650	E, sorry, vitamin E. Thank you.
1550650	1551770	Wow, drink.
1555010	1557150	Vitamin E will lead to corrosion.
1557710	1563490	Mineral oil, if you have pets, is great because if the can tips over and spills out, the pets will clean it up.
1563490	1568710	Then you take your pet and put them outside and the mess will take care of itself in a few hours.
1570550	1572630	Easiest set of napkins ever.
1573470	1578670	But, keeping it cool is absolutely important, but if you also put it inside of a tin can,
1578670	1581730	you've also started to isolate additional noise sources.
1581730	1582890	Fantastic.
1583130	1585550	Now, some of the dev random stuff.
1585550	1591350	And when I started getting into this, I started recording various radio communications.
1591350	1593870	In particular, my alarm system at my house.
1593870	1599450	Now, I grabbed a copy of the waveform and I sent it off to Mike Osman,
1599450	1602130	and he responded with this quote immediately.
1602130	1604870	The best way to nerd snipe me is to send me a waveform.
1605230	1608250	So that is your secret key to get his help.
1608250	1614070	So this is what, when you start going into this stuff, this is what your desktop is going to end up looking like.
1614590	1618150	You're going to be running multiple sessions of GQRX side by side.
1618150	1621410	You're going to have GIMP or some sort of screenshot utility open,
1621410	1625570	because you'll want to be able to translate those bitstream patterns into something usable.
1625570	1636470	Like Jared was using Audacity as well as the open source version of Excel
1636470	1642610	in order to mark above the boxes which symbol pairs were ones or zeros.
1642950	1645930	With these, I just printed them out, put graph paper on them,
1645930	1648610	and then just did it by hand for the very first time.
1648750	1651030	So over time, what you'll end up seeing...
1651030	1653290	Oh, I do have an example of Manchester encoding.
1653750	1656430	As well as AFSK.
1656910	1661270	So these are like sensors from my alarm system in my house
1661990	1665370	that like to burp activity every once in a while.
1665370	1668410	At the top you get the preamble and then data.
1668430	1671210	What do they mean? Beats the hell out of me as of yet.
1671210	1675130	I'm still working on it, and I have some up here if anyone wants to mess with them with me.
1675310	1682630	But similarly, all the way on the right is AFSK example along with Manchester encoding.
1682770	1687990	So you'll end up seeing the preamble on this is very clearly on-off-on-off-on-off.
1687990	1691450	Well, this almost looks like it starts with off and then goes to on-off-on-off,
1691450	1692990	or maybe it's the other way around.
1692990	1696210	Well, actually it's read up on Manchester encoding.
1696210	1699870	It'll explain it because of the interest of time that I'm in.
1700010	1704590	Now I also mentioned being able to drop this stuff into Audacity in order to get waveforms out.
1704590	1710590	You could also drop them into GNU Radio and you'll be able to generate scope plots.
1710690	1714390	So this is an example of a scope plot of my alarm system.
1714470	1719630	It wakes up, it farts out this like bass band noise as it's waking up,
1719630	1721950	and then it goes on-off-on-off-on-off-on-off.
1721950	1730350	And then you'll then be able to figure out exactly what bits are meaningful and all that sort of stuff.
1730530	1733190	Now the other thing to... wow, that was really annoying.
1733530	1740590	The other thing to keep in mind is when you're doing this stuff, jamming is illegal.
1740590	1744510	You've got to watch yourself because you might do it by accident.
1744690	1749690	And for the challenge, I'm using Raspberry Pis as FM transmitters.
1749690	1755210	And if you don't tell them to stop being FM transmitters, they turn into FM jammers.
1755470	1762610	So this is an example of my proof of that for a very short period of time,
1762610	1768510	where I overpowered for a period of time a commercial FM radio station at my house.
1768510	1772430	I stopped the transmission, but the center spike on this was still so strong
1773590	1778770	that it bled over and just saturated the actual bandwidth of that legitimate radio station.
1778770	1783390	That was a mistake. I recorded it so that you can see what you can do wrong.
1783850	1790330	Don't do this, or at least if you're doing this, be very careful to make sure that you stop doing this.
1790390	1792250	So that was a lesson learned.
1792350	1798570	The other cool things that you can do with RTLs and other software-defined radio stuff is radio astronomy.
1799170	1803890	So if you do this stuff, if you're monitoring at night,
1803890	1810610	you might start seeing these neat little streaks like this. It almost looks like a Doppler shift.
1810610	1813770	Well, that's actually a meteor shooting across the atmosphere.
1813790	1818910	As it interacts with the atmosphere, it also interacts with the ionosphere and it generates radio signals.
1819130	1826470	Ham radio operators are known to use those as well in order to reflect radio communications around the world at various places.
1827230	1834190	You'll start seeing all this stuff, especially in the signal identification guide.
1834510	1838890	And there's just like this really awesome world of things that communicate that are out there.
1839770	1847570	So the rest of the sources of information, the places that I go to, rtl-sdr.com on a daily basis.
1847570	1853610	Radio reference is a bookmark in order to take a look at what is immediately there.
1853610	1861330	Dangerous Prototypes occasionally has SDR stuff, but when they do, it's really amazing and poignant.
1861350	1868870	My shameless plug, I'm throwing together a website to kind of be like, hey, not just RTL stuff, but HackRF, BladeRF, USRP.
1868870	1874690	If you want to get into this, here's all the knowledge as opposed to going to these one individual one-off sites.
1875170	1878970	And last but not least, Dragorn, Kismet Wireless.
1879110	1883310	He's put together a handful of how-tos. I'm scraping his how-tos.
1883310	1892930	Some of the ones that I've done to just toss them into SDR Ninja for the purpose of one-on-one processes as to how to learn how to do these things.
1893410	1897070	So I think I almost got us caught back up to time. Any questions?
1898930	1902390	Did I embarrass myself? No?
1903510	1904550	Yes, sir, in the back.
1911070	1912930	Oh, yes, yes.
1912930	1923650	Absolutely. I did forget to throw in, I'm also on that subreddit. I'm a lurker, not a poster.
1923650	1929930	But on reddit.com slash r slash RTL SDR, there is a very active community there.
1930170	1933170	It's almost like it's a Reddit version of IRC.
1933170	1940770	Well, so what Reddit is really great for in this case is being able to submit like, what is this signal?
1940770	1952950	And someone helping you out. Whereas if you try to do that in an IRC chat room for like HackerRef or BladerRef or Pentoo or anything else, that's not exactly the right form for that sort of question.
1952950	1956910	So yeah, highly, highly recommend that as well. Thank you, sir.
1958130	1962750	All righty. Well, in the interest of time and getting things moving, thanks again.
1962810	1967210	Hope you got something out of this other than seeing this cat like that.
1968110	1972370	And have fun. We got the challenge running now.
1973410	1976170	Feel free to ask any questions. Thank you very kindly.
1982590	1985570	Oh, yeah, I did forget one other thing.
1985990	1991130	The portable pack stuff. So sometimes your signal sources are going to be a problem.
1991150	1994430	A great way to isolate it is to put your SDR on a battery pack.
1994430	1997490	So it's not going to generate any noise source.
1997490	2005710	So that's essentially what this is, and it's rebroadcasting it over Wi-Fi in a radio frequency range that this RTL just doesn't work with.
2005730	2015630	And if anyone has an SDR with them that they want to play with, this little set of key finder stuff, Dragor and I were able to do a replay attack on.
2015630	2019110	So if you want to see an actual demonstration of a replay attack, come tomorrow.
2019110	2026710	We'll teach you and show you how to do it, because we can make these things sing without pressing the button whatsoever.
2026710	2029290	That was a demonstration that we gave in the class as well.
2029630	2031390	Sorry, ADHD.
2032590	2034150	Go forth and conquer.
2037250	2038950	I'm done. I'm tired.
