start	end	text
0	5480	Um, alright, welcome to Wireless Village. Um, I'm going to be giving you guys a brief
5480	12180	rundown in a second on the various IOT communication forms that exist now and what you can do
12180	20980	with them. So, come join me on a journey. About me, my name is Wasabi, Spicy Wasabi. The
20980	24980	reason I'm speaking here today is because there is another Wasabi in the room and it's
24980	29660	frustrated Wasabi. So, uh, if you're around now, make sure to see me at the end. If
29660	33620	not, uh, that's the reason why I'm speaking here today, but also to give you guys some
33620	39360	interesting information about embedded devices and wireless communications. And if you're
39360	44520	not interested in wireless communications here, please, uh, you've come to the wrong place.
44520	49680	Uh, but anyway, I've focused on embedded things, internet of things, and all sorts of things
49680	56220	for the last four years. I have participated in a bunch of competitions related to embedded
56220	60120	devices and security and all sorts of things like that. And that's led me down a path of
60120	66580	looking at what can you do with embedded devices that exist nowadays and how can you get them
66580	72540	to do what you want. So, what we'll be looking at today is the existing technologies that are
72540	78340	out there, the possible uses and challenges of those technologies, and what types of
78340	83680	protocols are in use today. Uh, we'll also be looking at some of the radios and micro
83680	88000	controllers you can pick from to do what you want to do, but it's up to you on what you pick
88000	94460	on, uh, for all this obviously. So, let's get started. Way back when, if you wanted to send
94460	99560	data out of a network, you're, you're doing a penetration test or you're doing something along
99560	105240	those lines, uh, you will have the need to get out of the network. And in the old days that
105240	110860	was, and is still heavily used, you're doing some sort of exfiltration using the network. You're
110860	115520	on the network as it is. And that's great. It works pretty well because most, you know,
115520	122560	corporations, most businesses and, and places don't really secure their network very well. Some
122560	127520	newer ones are also using 4G to allow you to communicate out. That's pretty good. It's, you
127520	132520	know, a relatively large area of support you can use from. The problem is that it's not very
132520	138960	stealthy. If someone's actively looking for you, they will find you. Even, um, if they're, you
138960	144860	know, if they're using DNS, if they're monitoring web traffic, you will not be undetected. Some
144860	149740	of them do support passive tap capabilities but for the most part they don't. So not very
149740	154900	useful. True and proven is Wi-Fi. If you want to send data out of a network, you use Wi-Fi. If
154900	159820	you want to use a network, use Wi-Fi. It has pretty good pivot capabilities because you can
159820	166260	just use any device you buy at the store on eBay and just let it connect in. Pretty great. It
166260	170260	is sometimes capable of tapping a network because you're using basically a Linux computer to run
170260	176660	your routing. So you have the capabilities on there but again, it's not very long range and
176660	181420	it's not necessarily very stealthy. If you're running, you know, HackerNet and you're running a
181420	187340	test, that, that doesn't really make it stealthy. But that comes into where we're using
187340	191700	wireless communications. So if you're familiar with wireless, you have half duplex and full
191700	198360	duplex. And that's pretty good. Uh, so for half duplex, you send data and then you receive the
198360	202220	data. For full duplex, you're sending and receiving more or less at the same time. Which is
202220	206960	great for us because if you want two lines of communication, you now have them both working
206960	224430	actively. And uh, hold on one second. Uh, I, where's the presenter view? Okay, hold on one
224430	242890	second. The monitors are misconfigured. Alright, did the monitors just go away? Great. Alright,
242890	289340	cool. Technical difficulties are wonderful. Uh, the monitors have gone out. Okay.
291340	299900	Yeah. Uh, the, oh, wrong view entirely. Yeah, it, Windows is my problem. There we go. Sorry
299900	307260	about the delay. Alright. So, okay, we're talking about duplex and half duplex. So, what
307260	311260	happens if we need just slow communication? We don't care about receiving and sending at the
311260	316900	same time. We have the ability to just send data or receive it. A lot of IoT protocols use the
316900	320620	method of half duplex because it's very efficient. Well, they don't even use just half
320620	325680	duplex. They just have receive windows where the device is allowed to receive data. All other
325680	332180	times it's send only. So, that, there's a lot of opportunities here for sending data. But the
332180	337980	problem is, well, even Wi-Fi is half duplex. And so, you may not necessarily notice a
337980	343740	problem. But the general rule is, regardless of the protocol, the more power you use, the more
343740	347500	data you can send, the more data you send, the more power you need. If you're running on a
347500	352140	battery, the problem is you're going to run out of power a lot quicker if you're sending a lot of
352140	357100	data versus something that's, you know, smaller, more embedded. When you're using Wi-Fi, it's
357100	361720	more, it uses more power than something that's designed specifically for low power use, such
361720	370260	as IoT protocols. So, if, and you have to think about compression. It may not think, it might, you
370260	375520	may not imagine it's a lot, but when you go from 128 bytes down to 64 bytes, that's a huge
375520	379820	difference in the amount of data that you're sending and the duration that you can operate for
379820	386720	these devices. So, very, very quick, high-level overview of what wireless will look like. This
386720	391840	is very simplified. There's a lot of different ways you can format data over a wireless signal.
391900	397760	But the general idea is that you have high and low sending data and receiving data, and you can
397760	402180	have different ways to send it. You have a carrier and then you can do different encodings, such
402180	409800	as ASK, FSK, PSK, ODFM, all sorts of different formats. So, that's good, but how would you
409800	415780	implement some of these protocols? Well, you have the, the, the SDRs. Now, these are great for
415780	421460	general use. SDRs are very, very powerful, but they're big. They're getting smaller, but for the
421460	424300	most part, if you're going to be using this, this is something very obvious. If you're going to
424300	428900	have a box that has an SDR and it has the enough processing power to use an SDR, you're not
428900	434440	looking at being very stealthy again. It is getting better, though. This is the Lime SDR Mini.
434820	439020	This is a pretty good device. I've actually been seeing some people use it over there. The
439020	443700	problem is, with this device, is that it does not support a lot of things that are just point
443700	447720	and click. So, if you're trying to do something quick, not necessarily true. And what I mean by
447720	452120	point and click here is that you can program the FPGA and other components on there, but now
452120	456480	you're developing for the hardware, and it requires a little more knowledge versus just running
456480	462240	the, the devices. And versus the full-blown SDRs, which are usually about $400, this one runs
462240	468820	about $150. So, it's very cheap and it's much smaller, so we're going on the right track. But
468820	473040	of course, there are other methods of communication. Um, this one is probably one of my
473040	478360	favorite that I've, I've seen. This is, we're going into ham radio here. And ham radio has
478360	482900	been doing this sort of work for a very long time. In fact, I'd say they're probably the
482900	488260	experts in implementing, if you're a ham radio operator, you're basically the expert in
488260	494280	implementing communication over very small amounts of wireless bandwidth. And this computer
494280	500500	over here is basically a TNC machine, which is sending serial data over the radio. And it
500500	506000	allows, so this technology is not new, but it is extremely useful and relevant. And why, you
506000	509740	may be wondering? Well, what happens if you're trying to get into like that power plant in
509740	513700	the middle of nowhere? Well, you can't use wifi then because you're not going to be just
513700	517380	sitting in your car next to the wire, the power plant and being like, hey, cool, I'm just
517380	521800	here, you know, it's a nice place to sit down. You're going to be far away where you're not
521800	527380	getting detected. So, that's good. But what happens if you're in a regular business? You
527380	531540	know, can you hear me here? So, this is a little, this is an easier form, but why not make
531540	537140	something that can be used for both? So, now we gotta get creative. And there's a lot of
537140	543560	choices with these devices. Because of IoT is so popular, you can go from any preferred
543560	549000	embedded device that you can work with. You can work with Zigbee, in the top, that's Zigbee.
549000	557580	You can work with the Silicon Technologies modules that do 4G, they do all sorts of different
557580	563760	communication ones. There's also the ESP modules. ESP modules are by far the cheapest modules
563760	572500	that you can get. If you need to throw them on anything, there's, um, the ESP, uh, uh, 8691,
572500	579680	or, I'm blaming on the name. But it is, 8285, 8285, that came to me. Um, it is designed
579680	584200	specifically for being very lightweight. It has embedded storage on it, so you can actually
584200	588820	program it, have it running stuff, and do a little bit of data storage while you buffer to
588820	593520	send out if you need to. So, that one's very good. But the things you have to think about are
593520	598260	what IO do you need? If you're connecting to an actual computer, do you have what you need to
598260	602480	connect to that computer? Do you need to be stealthy? Do you need to be battery powered? If
602480	608400	it's battery powered, you need to be able to relay the data, if you have a lot of data being
608400	614100	sent and you're using all your battery, you're gonna lose power very quickly. So, here's one
614100	620760	that I saw online, this is the WiFi Ducky. It's an open source project, it looks very open
620760	627260	source, um, but it's very powerful. And this is the type of stuff that is very exciting to me,
627260	630780	because this is someone taking multiple components, putting them together and building
630780	636620	something that is actually very useful for work. But the only problem with this device, and
636620	641120	obviously it's easy to fix if you build an enclosure, is it looks somewhat sketchy. If you
641120	646600	were to plug this into someone's computer to drop a payload, they're probably going to notice.
646600	650740	And that, that's problematic. And the other problem with this is it doesn't have full
650740	655000	communications. You can't receive data out, you can, you can launch scripts, you can make it
655000	659300	pivot over the network, but once you've executed the commands, uh, and you've triggered it from
659300	665040	wireless, it's not sending data back to you. And again, the problem is you don't want, you
665040	669960	don't want the party, this dance crew coming out to see you when you're doing a pen test. So,
669960	673660	we need something a little more subtle. That's where you get into the microcontrollers. The
673660	679040	microcontrollers nowadays are very, very good. Um, you, obviously again, ESP modules, they're
679040	683160	super cheap, that's why you're going to see them again and again for every device, uh, and
683160	689340	release thing that you're going to see. Um, the other thing you may see is, um, uh, I think
689340	693940	that's how you pronounce it, these devices are absolutely stunning. They're very, very low
693940	699920	power, they have a Hope RF module built in, they have an Arduino built in, you just basically
699920	705600	start flashing them and you have a device that can run over battery relay information and do
705600	709940	anything you need it to off of a very small package. Uh, in my test, this thing actually
709940	718140	lasted for over, I think, two weeks in, uh, doing timed communication with just running off of a
718140	723260	small little battery. That's pretty good. But there's others. If, if you need something a
723260	727080	little more powerful and you, you want to, instead of using a full computer, you want to just
727080	731900	embed and you want to have one device that you can just drop in. That's where the system on a
731900	737000	chip's come in. Linux has been getting on smaller and smaller devices for a long time now and
737000	744520	the hobbyist community has been growing. So, the top device is the Vocore. How many people
744640	749000	have heard of a Vocore before? Okay, more than I actually expected. For those of you who are
749000	753480	not aware of what a Vocore is, it's a very cheap embed, uh, system on a chip device that's
753480	758900	running Openwork. And they've exposed all the IO lines, um, they've exposed all the IO lines
758900	763840	out. So, basically what you can do is you can add radios, you can add other communication, um,
763840	771560	mediums. It also has WiFi built in. So that's good. And it's pretty powerful. It, it, again, it
771560	778280	runs Linux. So you can embed things on it and make it do things. And it's about $10. Uh, the
778280	783400	other one is the OrangePi. OrangePis are very interesting. The, the interesting thing
783400	788820	is on, about OrangePis is they, they basically run a stock kernel now. And they're a fairly
788820	793760	powerful processor. They're running about, uh, one gigahertz. So it's basically running a
793760	799180	Raspberry Pi in a little tiny dongle that has Ethernet, WiFi, and IO that you can access. So,
799180	802700	if you're needing something that you need to just embed into something small, these things are
802700	811340	the size are smaller than the Raspberry Pi. So, you know, we, we can do a lot of stuff. Uh,
811340	817400	communication is important. And we're going to get into how and what technologies work for
817400	821800	different situations. I went through and started going on eBay a while ago. And went
821800	826240	through and bought, bought every single wireless module I could find. Some of them work better
826240	831020	than others, as you will see. And it turns into a very interesting experience when you're
831020	835680	trying to deal with some of these devices. There's some quirks that exist. If anybody's done
835680	840340	any hobbyist or IoT development, you'll start seeing things where the radios don't work as
840340	847480	expected in every situation. So, how were these radios tested? Um, this was done, uh, last
847480	851760	year. I started getting all these modules. What I did was I started going farther and farther
851760	858300	with about a thousand packets as a test. They were sent over a short period of time. Uh, the
858300	862780	packets were a normal format that was used across every single radio. So, if one works better
862780	866380	than the other, it's not a difference in the packet that was being sent. There's no time
866380	872020	different, there's no different data for each packet. It's all the same. The same, and I was
872020	878920	testing range and the signal quality being sent and received by each of the devices. So, we're
878920	884860	back to ESP modules again. They are very powerful. They use about 70 milliamps of power. If
884860	890080	you're plugged into a real device, that doesn't matter. But if you're running off of mobile,
890080	894760	you're trying to relay information, this gets a little, uh, problematic. They use about
895800	901560	16 milliamp spike in addition. So, it goes up to about 80 milliamps, 85 milliamps when you're
901560	905880	powering up. So, if you're running on an extremely low power battery, you could reset the
905880	911520	device and then you will lose the capability you have. It also uses that amount of power for
911520	917660	3 to 5 seconds as it's doing DHCP. So, every time you need to connect and as it refreshes the
917660	924740	least, it will be using more power. It has a fairly high transmit draw instead of receive. So,
924760	929960	it's good. They're reliable in the sense that they are everywhere. They're cheap. And if you
929960	934320	buy one and you buy another one from another vendor, they're still going to work the same.
934320	938980	They speak Wi-Fi. And that's something that's good about them is that they are so
938980	947700	standardized. The ESP32 is another interesting technology from Espressif. It's a dual-core
947700	953820	version. It's pretty common now. The problem that I've found with the ESP32 is that it has a
953820	958760	low-power core. It's one of its selling points. And so far, I have not seen anyone
958760	963640	successfully implement the low-power core except for one person who was writing raw assembly in
963800	969840	a C-struct and then writing that directly to the microcontroller. It's very complicated in
969840	975180	that case and that's not ideal for something that we're trying to just deploy quickly. And
975180	982680	again, they're very low-power. The ESP32s are actually slower by a couple of seconds to
982680	988620	connect via DHCP every time. You can set them statically, but it's not necessarily ideal. And
988620	994200	then again, they also have the high transmit draw when they're working. But then we get to
994200	999480	LoRa. If you've done anything in the embedded protocol range, LoRa is a very powerful
999480	1006120	protocol. It's sub-gigahertz in most cases. There's a couple of different ranges that it
1006120	1013240	works. But it by default has a one to two mile range. It's licensed. It's designed off of
1014080	1019300	technology called chirp spread spectrum. That's how it does what it does with the range. It's
1019300	1025100	used in not only raw radios, but it's also used in some cases, people have been experimenting
1025100	1030020	with satellite communication using LoRa, which opens up a lot of possibilities. If you
1030020	1036100	design a device that's going to use LoRa for communication and you add in satellite
1036100	1040140	implementations, you don't have to rewrite everything that you're implementing in the first
1040140	1048800	place. So it is just the lower level. The actual protocol implementations, there's a couple of
1048800	1057100	them. LoRaWAN and Haystack. These are both implemented by licensing and they have a couple of
1057100	1064560	different specific changes that they do for how you transmit to them or receive from them.
1066420	1072700	Again, LoRa is the PHY implementation and it uses about 30 milliamps to receive and about 100
1072700	1076000	milliamps to transmit. So we're looking at something that's very, very low powered. If you're
1076000	1083860	running on battery, this thing can go for a very long time. So LoRaWAN, it's self-configuration
1083860	1088340	and join. You build a device, you build it, it's going to join to the LoRa network. Now where
1088340	1094880	is the LoRa network? Well, interestingly, it's all around us if your city supports it. They're
1094880	1099200	slowly rolling out to different cities. It's much like a cellular network in the sense that you
1099200	1104080	have to have coverage where you're going to be deploying. In the middle of nowhere, you're not
1104080	1111740	going to have coverage. LoRa will still work, but LoRaWAN will not. It's encrypted with AES 128
1111740	1118700	bit, but it's not necessarily the most effective encryption. If you've looked online, there's
1118700	1125180	problems with their encryption, uh, implementation. Um, it supports OTA configuration,
1125180	1129580	uploading and downloading. There's several different, um, implementation classes if you want
1129580	1136900	to use LoRaWAN. If you're trying to send only, uh, that's class A. It has two timed windows
1136900	1141860	every so often. I forget if it's a day or a week, but there's two windows where it will pull
1141860	1148220	updates to reconfigure itself. Otherwise, it's just going to sit there and send all the data.
1148220	1153200	You have no idea if you're going to ever get it back. Uh, class B has higher downlink speeds,
1153760	1159140	but otherwise is unchanged. Class C is always listening, except when it's transmitting. So
1159140	1163500	that's where you go into the half duplex. Class C seems like the best option to do, but
1163500	1168320	there's also, uh, problems with having availability in the windows that you're transmitting
1168320	1175360	for the, the LoRaWAN implementation. Oh, okay, just changing your own. Um, there is a small
1175360	1181000	licensing cost for anything that you use with LoRa. It's not, not very big, but it is
1181000	1189300	something that exists. So Wi-Fi is free, LoRa is not completely free. So you also have SIGFOX.
1189300	1195680	It's both a protocol and a company. SIGFOX, SIGFOX is very interesting because there's a
1195680	1200620	module cost, there's a licensing fee to have the module modem, there's also a service fee for
1200620	1206740	the modem. So you're constantly paying money to use this. And it is primarily transmission
1206740	1212240	only, and only in areas that SIGFOX is covered. So if you're trying to use this in areas
1212240	1217280	that are long range, even though it has a longer range than LoRa, you may not be able to get
1217820	1224300	reception. And it halves the transmission usage of LoRa. It only uses about 40 milliamps,
1224300	1234840	um, during transmit. And, um, it can send a whopping, um, 14 bytes at 600 bits per second. So,
1234840	1239140	you know, you're talking a lot of data here. Um, unfortunately for us, that probably isn't
1239140	1243420	good enough. But if you need something that's just to ping back and say, hey, I'm still here,
1243420	1249180	that, that does work. Um, it has a continuous TX mode, which is good if you're just trying to,
1249180	1256480	you know, do location. And, um, but again, it's the licensing fees really kill it. Dash 7 is
1256480	1262660	supposed to be the solution to both LoRa and SIGFOX. It's an open alliance, open platform.
1262660	1270100	Also uses sub-gigahertz, uh, communication. It only uses about 10 milliamps to receive. And
1270100	1275280	the, you can run your own nodes to receive data from. So you can implement something that
1275280	1280700	goes over any radio protocol from this if you need to use it. That's really good. Uh, the
1280700	1284860	only problem is that the documentation is a bit sparse on it. If you're trying to implement
1284860	1290440	something using it, you have to go to someone who already implements it, a vendor. And that's
1290560	1294960	a little expensive because we're usually, if we're doing some kind of pen test, it's one-offs,
1294960	1300880	not thousands. So what else can we look at? Well, here's probably one of my favorite
1300880	1305380	modules. If you're doing some kind of communication pen test or, or you need to communicate
1305380	1309500	during a pen test where you can't use Wi-Fi or any other communications, the HC12 is this
1309500	1314580	amazing little module that you can buy off eBay. It's cheap. It works very well if you
1314580	1319540	get, they come in pairs. And as long as you're using the pairs, they can, uh, work up to
1319540	1329300	about 3,000 feet distance in range. They're very, very powerful. Um, they have a built-in,
1329740	1334040	um, they communicate over raw serial. So basically you can plug them into anything and they will
1334040	1337980	just work. They will send and receive data. And you'll be sending and receiving serial data,
1337980	1342200	which is great because now you're not using super slow bandwidth, but you're using serial. So
1342200	1346900	if you need data information out or something else that you're getting, it's slow, but it's
1346900	1352720	manageable. Um, the cool thing about these radios is that they're very small. The bad thing
1352720	1357600	about these radios is that no two pair are alike. If you're going to buy a lot of them, be
1357600	1365520	prepared to buy, um, double. When I was doing the test on these, um, I would buy one, I would
1365520	1368700	receive it, and I could not get them to communicate. I couldn't figure out why they were
1368700	1374400	not communicating. And I would go through, I'd try to see why it wasn't working. They'd both
1374400	1378180	turn on, they both said they were configuring and sending data, receiving data, nothing would
1378180	1383720	come out. And it occurred to me finally, let me turn on my HackRF and just take a look. What
1383720	1390740	it turned out to be was the crystals on these chips are not quite up to par. None two are
1390740	1394520	alike, so what happens is you get offsets that are just enough that you will not be able to
1394520	1400060	communicate over these devices. So, they work great in pairs because the same crystals are
1400060	1405000	used, but you have to keep an eye on what crystals, they have markings on them. So these are
1405000	1411200	very good, but be prepared to buy a lot of them. And on a similar note, the NRF24 modules are
1411200	1415840	very good, but they also have the same crystal problem. No two crystals are alike. Luckily
1415840	1421640	these are a little easier to remove the crystal from, but they also, if you buy them in pairs,
1421640	1425220	which they normally come with, they'll work great, but if you try to get them working in a
1425220	1430420	mesh mode, which is something they actually support, you will have a problem because none of
1430420	1436980	them are genuine usually. They fake the markings fairly well, but if you look at them through
1437120	1440580	either a microscope or something like that, you'll see trace differences. So you never
1440580	1444920	necessarily get a genuine one, so they're using parts sometimes different. The really cheap
1444920	1449540	ones are very obvious when you get a fake one because they'll be missing resistors or other
1449540	1454380	components that are actually fairly important on a radio, but they don't have them. But if you
1454380	1458560	get one of the fairly good ones, they may still be fake, but the crystals may not be up to par
1458560	1462940	again. So these are very good, but be prepared to buy a couple of them until you get pairs that
1462940	1470520	work. The one nice thing about the NRF modules is they also support both Linux and Arduino
1470520	1475140	natively, well I guess Linux and Arduino support them natively, but not the other way around,
1475140	1479780	but they're very good and if you can get enough pairs that work, they support a very good
1479780	1489020	mesh protocol and they work for about 500 to 600 feet in my tests, but again the crystals were
1489020	1493760	what really killed it. But if you're looking for something that just works and you don't have
1493760	1499400	to pay licensing fees necessarily, the Hope RF modules, they support LoRa, which again, you're
1499400	1504400	gonna have that licensing fee, but they also support just regular RF transmission over a
1504400	1507840	couple of different bands, I'm blanking on which ones they are right now, but they're very
1507840	1513600	well documented, they support both Linux and Arduino again, both support them. It's $10 a
1513600	1517480	module, but these things are appearing everywhere in the security community. If you have
1517480	1525720	any of the DC Darknet badges, they use these, they've used them for the last couple of years,
1525720	1530320	so they're definitely showing up in the community. They're very good modules, they're very
1530320	1534400	good quality and that's the difference between some of the other communication modules, is
1534400	1538660	that these are actually very well built and you can use them pretty much anywhere and
1538660	1542280	guaranteed that if you're gonna get a mesh, they're gonna work, if you're gonna communicate
1542740	1548120	point to point, they're going to work. They're spy based, which isn't a big deal, if you're
1548120	1551260	gonna use them on a regular computer, that makes it a little more complicated, but you can
1551260	1556000	also get cheap modules to communicate over spy to a regular computer or using a Raspberry Pi
1556000	1562220	or anything else, but that's about it. And they use about 50 milliamps, so they're fairly low
1562220	1567320	powered. And then, let's go to simple. If you want something that's literally just a throwable
1567320	1571740	device, you just want a radio. You don't want something that does any of the, you know,
1571740	1576260	protocol or anything else, you just want something that transmits. And ASK radios are very good
1576260	1581560	at that, they just transmit. They are, the more power you provide them, they can go up to
1581560	1586340	about 12 volts, the more range you're gonna get on them. They, uh, are supported by virtual
1586340	1592520	wire and radio head in Arduino, you can also just write to them using Linux, um, if you have
1592520	1598860	any spare IO lines. They have a max range of about 200-250 feet, they're not spectacular, but
1598860	1605260	they're cheap. You can buy a 10-pack of them for less than $5. And they do work. Unlike the
1605260	1609240	other ones, they don't really have a crystal problem, but they're just very cheap and not very
1609240	1615780	good. I have 3 different versions of, uh, just cheap ASK radios. The ones on the bottoms are
1615780	1621420	the ones you're gonna see most common. The one on the top left is the LR43B, if you're curious
1621420	1627100	about it. It is designed a little smaller, it's a very small package, but it's, it has a little
1627100	1630900	bit better range, it's a little bit better quality, it doesn't have so much noise
1630900	1637320	interference. And then the other side is the H34C, and that one also has good, uh, better noise
1637320	1642200	quality than the bottom one. But, um, they're not very good. They, they work at about 433
1642200	1646240	megahertz, which is about the same frequency that you get when you get those cheap
1646240	1651300	thermometers. So they're not very fancy, but they're not gonna be detected. Because people in
1651300	1655980	their offices or anywhere have those devices already, so you can just transmit freely on
1655980	1663940	those. And then there's ZigBee. ZigBee's pretty much showing up everywhere in IoT devices.
1664360	1668080	It's, there's a couple of implementations based off of this. ZigBee's one of the
1668080	1673720	implementations of 802.15.4. There's also 6LowPan. Uh, they're all very low power and very
1673720	1677800	low range. Usually you have a hub and other communication methods. And the reason I'm
1677800	1681700	putting on, this on here, even though it's such low, low range, is the fact that you can use
1681700	1687060	these to relay. So if you got control of an IoT device and it had ZigBee, you can transmit
1687060	1692160	out to another device and another device. And if you have control along that path where
1692160	1696500	they're all meshed together, you can send data out even if you don't necessarily have control
1696500	1700860	of the direct connection to the device that you're starting with. So that makes it very good
1700860	1705360	for that. But again, they're very low range. There's um, there's Thread Protocol, which is
1705360	1711960	made by Google. It is encrypted. I don't know of much that you, uh, you can use with it, um,
1711960	1718200	that's open. But it is something that also exists on the same frequency range. And you may
1718200	1721640	be thinking, why not just use satellites? Satellites are really good. You know, you always
1721640	1725760	have connection to a satellite. It's all, they're up in the air. The problem is that they're
1725760	1733680	expensive. Very, very, very expensive. For $28, you can get 10 kilobytes of data. So it's very
1733680	1738840	good on the budget. Unfortunately for us, that's not very good. But the upside is that they are
1738840	1745400	universally accessible. The, the other interesting about the, uh, satellite transmitters is
1745400	1751660	they're fairly large. This is the smallest module I could find. In the corner is the, uh, is a
1751660	1755740	normal size module. It's about, it's basically the size of a small laptop that you transmit. And
1755740	1761660	those are small. The smallest ones I've found, they're, they use a specific one, um, uh,
1761660	1767220	satellite, uh, chain. Uh, they're called rockbox, uh, rockblocks. They use the Iridium network
1767780	1771660	and that's where you get that high cost. There's other ones that you can use, um, that are
1771660	1776280	actually continuous uplink and downlink versus just sending data for a small fee. Um, those
1776280	1785000	work, but they are not very affordable. It is, uh, $90 for 30 megabytes of data. So you can use
1785000	1790620	it, but if you're using them, you're probably, you probably have quite a bit of money. So what's
1790620	1796500	the next best thing to cellular? Well, I, I don't know what that guy's wearing, but it's
1796500	1803860	cellular. So cellular is fairly good with this stuff. The only problem is again, you, you run
1803860	1807860	into the problem where you're not in range of a cell tower or you're in a building where you
1807860	1812060	don't have range. If you're at Defcon, you know, you, you've probably been noticing where the
1812060	1816640	signal's going out. It's in many cases, not someone actually trying to hack you. What's
1816640	1821080	happening is there's just so much communication going on here. You're, we're not getting any
1821080	1826800	signal out and that's problematic. And that's one of the problems that you can run into with
1826800	1832840	these devices. But there's a couple of protocols that exist. You can communicate on different,
1833400	1838740	I'm going to say protocols now, but so you have 3G, 4G, 2G. Those are all the standard ones
1838740	1844860	that most people have heard of. But what's coming out now is Cat 0, Cat 1, Cat M1 and NB-IoT.
1844860	1850560	These are all over cellular networks. They're getting deployed worldwide and they're really,
1850560	1857980	really useful. For example, Cat 0 and Cat 1, they have limited messaging support, but they have a
1858820	1863140	dedicated basically serial downlink and uplink. So you can send data continuously using a
1863140	1868600	cellular network. In the screenshot of the picture of the person holding it, that's a Cat 1
1869420	1876200	radio. So they're very small. And then NB-IoT, that's the bottom corner. Those are about 50
1876200	1882520	kilobits a second, so very small, but they're also, it has higher latency, but it's a lot bigger
1882520	1887640	coverage. I don't know why NB-IoT is getting so much popularity, but it is. So if you can use
1887640	1895700	it, it's fairly deployed all over the world now. And then if we go back to what most people use,
1895700	1901640	that's 4G and eventually 5G. It's very flexible, but you're going to have to have a baseband.
1901640	1905160	You're going to have to have all sorts of things. If you get lucky, you can actually use add
1905160	1910640	commands on the modem, but that's going to be very complicated and not necessarily very useful
1910640	1916220	because you're going to have to write a lot of driver support. Then you have 2G and 3G. They're
1916220	1922580	really good because the protocol implementations of 2G and 3G actually support web requests
1922580	1927160	directly over the modem. You don't have to implement anything else. You just use an
1927160	1932160	Ackman to say, hey, get this page. If that page has request parameters in it, you're now sending
1932160	1938280	data out. So it's a very good way of using it. Their end of life, they should be all, you
1938280	1946260	know, removed by around 2022 if I hear correctly, but it just depends. So don't rely on it, but
1946260	1950920	those are very useful now. You can get the modules for very cheap. They're about $30 and you
1950920	1957800	can just deploy them and go. They're fairly low power. What else is there? Okay, so here's a
1957800	1961900	breakdown. I'm looking for the monitor over there. Here's a breakdown of the different
1961900	1968240	protocols that are supported on cellular and the different data rates. As you can see, CATM
1968240	1975260	supports more data, uh, millibits per second versus kilobits, but you don't necessarily need
1975260	1980800	that. And then this comes back to the half duplex and full duplex. You can, you can see where
1980800	1985860	they come in, where you can send more data or less, but who provides it? Well, I'm only
1985860	1989980	listing two. These are the only two companies that got back to me. Verizon, T-Mobile, and all
1989980	1995640	the others also say they support these, uh, you know, NBIT, CAT1, and they will sell you
1995640	2001340	dev kits, but it turns out they'll only sell them to you if you make thousands of units and
2001340	2007000	you're a corporation that can, you can afford to do that. So it's, it's a little
2007000	2011640	problematic. These two on the other hand, they replied to me very quickly. They were able to
2011640	2016160	give me information on how to use the protocols, how to use the radios that were going over
2016160	2022940	cellular. So that was very nice. Uh, for, for particle, it's a little expensive. Um, they give
2022940	2030100	you a free card, but it's three megabytes included only. Uh, 21 megabytes is, um, a total of
2030100	2035120	40 cents. So if you wanted to use 200 megabytes a month, it's about a hundred dollars, or you
2035120	2040540	can just buy the one gig plan, which is about 400. Uh, again, it gets, the prices are steep for,
2040540	2049260	um, uh, the IOT communication protocols that are long range, but they do work. All right. So
2049260	2054440	here's the dev kit. The dev kits are fairly cheap. You can get them for about a hundred bucks
2054440	2062780	actually from AT&T, but they, uh, again, unless you're planning on using, you know, only a little
2062780	2066920	bit of data, you have to be considerate of how much the, the actual plan costs versus
2066920	2072560	implementing them. But what is the goal? Why, why, you know, do this talk right here? Well, the
2072560	2077760	goal is to implement something that does not get detected. How good would it be if you could go
2077760	2083520	into your pen test and roll in a coffee maker that has wireless, you know, 4G, 3G, or, you know,
2083520	2088380	it's using LoRa, any of these communication protocols I've listed today, and you just roll it
2088380	2093040	in, someone's like, oh, look, a new coffee maker. They won't suspect anything. And then you
2093040	2096700	have, you know, either wireless or some other thing that it's plugged in, it's monitoring and
2096700	2101480	sending the data out via the IOT communications. Nobody's going to suspect a thing. It's
2101480	2105600	going to sit there for a while. Probably you will never get it back, but at least you have
2105600	2112740	something now that's easily rolled in. And so the goal here, uh, again, is that we want
2112740	2118880	something that works, that's small, not easily detected, send, you know, the data out very
2118880	2124280	easily. We don't want to do a lot of implementation, but we want it to go remote and maybe
2124280	2131140	send it multiple paths. If we can do mesh, it's also good. And that's about it. Um, I hope this
2131140	2137380	was a good summary of the IOT communication protocols that exist today. There's quite a few
2137380	2144020	of them. I know this has been mostly high level, um, for what was actually supported. There's
2144020	2149200	more stuff online that I've worked on, um, that you can see, but this hopefully will just give
2149200	2155200	you an idea of what technologies you can use now and where you can use them. Uh, it's up to
2155200	2160920	you in the end, but again, hopefully this covers most of them that exist. And if you have any
2160920	2164820	questions, uh, feel free to find me at the end, but thank you guys for being here today.
