start	end	text
0	4680	Today's presentation, Exploration of Cellular Based IoT Technology. In this particular
4680	11580	presentation, in this research that me and Carlotta did, we did not focus on the cellular
11580	17760	comms. We focused on figuring out how and what data is going out of cellular comms by
17760	24180	doing interchip communication analysis via USB and UART and also how to control the cellular
24180	29520	environment and cellular module to do cool things via direct interaction in the circuit
29520	39430	board level. There we go. So my name is Daryl Hyland. I'm a research lead at Rapid7 working
39430	46930	on IoT technology. And my name is Carlotta Bindner and I'm a lead security researcher at
46930	57150	Thermo Fisher Scientific. So I just want to do a quick shout out to a friend of mine, Damian
57150	62490	out of France. Some of the stuff that he did at this conference in Paris a number of years
62490	68990	ago dealing with circuit board overlay to track out circuit runs at interesting points to tap
68990	73690	into the circuit board was kind of cool and I've used it ever since. So let's go ahead and
73690	80530	start off with the presentation and turn this over to Carlotta. So while Daryl mentioned that
80530	85430	we are focused on the interchip communications, just to give you an idea about the type of
85430	91050	technology that's being in use by the cellular devices that we picked, we focused on NB-IoT and
91050	97510	LTE-M devices. These two protocols in particular have been developed specifically towards IoT
97510	106370	there and we're going to step quickly through these two. Oh, there we go. So NB-IoT is also
106370	113890	known as narrow band IoT. As you can see on the download and upload speeds, it's relatively low.
113890	121450	It also only supports half duplex communication. This is intended because instead of using the
121450	127590	high bandwidth that would cost a lot of money and also power, it's geared towards the IoT
127590	134230	devices that are going to be deployed remotely or battery powered. I got to point it in the
134230	140150	right direction. And then we have LTE-M which is machine type communication. Again, it has
140150	147230	slightly higher speeds available than NB-IoT and supports full duplex communication. So this
147230	152610	is best used in cases where like we're going to be transferring large amounts of data like
152610	158230	video, audio, as opposed to NB-IoT which is popular for like sensors where the small amounts
158230	166530	of data are being transferred. Now, the original NB-IoT and LTE-M were released in release 14
166530	171910	from the three GPP. And in consecutive releases, they've done things to improve the
171910	178870	efficiency to help extend battery life. The original release only supported 4G so they've
178870	187030	added 5G support. And then they've added small cell support which is these are small cellular
187030	191930	nodes that would be deployed in a sort of mesh type network that allows for high bandwidth
191930	201100	via like volume deployment. And now I'll hand it over to Daryl for interaction with hardware.
202360	209960	Okay, I'll take a clicker. So when we're getting ready to engage cellular based technology, the
209960	220400	actual hardware, Damian had demonstrated this at Hack in Paris. And what we want to do is we want
220400	226780	to figure out how to interact in circuit. And often tracing out the key components, key
226780	232940	locations, whether it's runs, circuit runs, various ways we can tap into the communications
232940	239460	on the device, we think about it actually doing overlay. So we take images of both sides,
239460	246260	reverse one of them and overlay it on the device. So that we can actually see all the
246260	251480	components at the same time. It's really helpful for understanding at least the external
251480	257640	layers of an actual circuit board. And then when we get into the cellular modules, the ability
257640	263740	to overlay the cellular module in the orientation of the land grid arrays and we can see the
263740	269540	land grid array structure. In this land grid array structure we can see the areas that are
269540	275040	yellow and kind of coral color are kind of the key areas we want to see. The serial comms,
275040	280960	the USB comms. And by doing that it gives us the ability to start thinking of where are the
280960	287500	most likely points of access for these devices. Versus just randomly checking everything
287500	292160	around the board, trying to figure out where it's at. By figuring the orientation on the
292160	298260	circuit board, we can be more logical in our efforts to identify where to hook to everything.
298850	307220	And also notice that as I mentioned the yellow and the actual coral color, the items of the
307220	315280	most interest are always out around the outer edge. And how does that play out? So here is a
315280	319800	circuit, a cellular module that's been pulled off. In this particular case we can see
319800	324680	everything running around the outer edge. All the stuff that's inside is typically ground
324680	333000	planes are not connected in almost every case. So what happens when we engage a device where
333000	337540	there's nothing on the surface of the board and they've managed to route all the most
337540	343940	critical communication underneath a sub layer in the circuit board? So I started playing
343940	349380	around with that idea. How would we look at this? So what we did is we noticed on a lot of
349380	355380	these cellular modules, if we turn it on the edge and magnify it, we kind of quickly see, we
355380	361260	can see up underneath the edge of it. We can see some of the land grid arrays. So what we did
361260	367580	was we went out and bought acupuncture needles. And using acupuncture needles, we
367580	375980	literally inserted them underneath the edge of the chip to engage the communications that we're
375980	383000	after. Making it possible for us to not need to actually chip off or cut through the layers of
383000	388140	the board or other things in that particular case. And it came to be very effective. Now it
388140	393260	doesn't necessarily work on all modules. This particular module, the critical connection
393260	398440	points are only about a quarter millimeter or half a millimeter from the edge of the actual
399000	404880	cellular module device. Some of the larger modules we found out it was three or four
404880	410640	millimeters up underneath the edge, which is really not that far. But the problem is the
410640	415720	larger the module, it has a tendency to have more of a cupping effect. So it closes down that
415720	420760	edge so you can't always get to it. So if you're going to look at a cellular module on a board and
420760	425500	you're thinking about needing to do this, just roll it up on edge. Is there a gap there? If
425500	432180	there's any gap between that cellular module's board and the circuit board you're looking at,
432180	438200	use acupuncture needles. Now also note acupuncture needles, you can't solder to them.
438200	444140	They're stainless. So, uh, I found out that you can get some good crimp, crimping units and,
444140	450080	and, and butt connectors and connect them up pretty good so they will be electrically sound.
450420	455800	So we're going to go ahead and move on to AT commands Carlotta's going to talk about.
456680	461040	So now that you have, if you have hardware access to the cellular module, how do you
461040	467900	communicate it with, with it? Uh, cellular modules you, much like many other modems use AT
467900	473080	commands. So AT commands were originally created for the HACE 300 modem back in the 1980s.
473080	478640	And as technology, you know, continued to advance dial up and cellular, they continue to use AT
478640	484360	commands. AT stands for attention and these commands are used for the debugging configuration
484360	490040	of the modem, you know, making it connect up to the cellular network. When looking at AT
490040	495140	commands, there are sort of four categories of how you can use AT commands. First there's the
495140	500020	test command. The test command is sort of like a help menu for an AT command. You issue an AT
500020	505040	test command to, with a equals and a question mark. And the cellular modem will respond with
505040	510600	the parameters and the values that you can then submit to the cellular module to run the
510600	515080	command. Then you have the read command. Uh, the read command will actually return the
515080	519240	current values and the configurations if you, for that particular command, if you were to
519240	524460	issue it to the cellular module. Uh, then you have write commands. These are how you
524460	529120	actually perform configurations after learning how to, you know, use the te- using the test
529120	534680	command on that AT command. And finally you have execute which would be to actually cause
534680	543460	the, uh, cellular module to perform some sort of action. Now, during our research, we
544140	548060	reviewed various different modules from different manufacturers and most manufacturers
548060	554240	actually release AT command manuals specific to the act- the version of cellular module that
554240	560280	you're using, uh, for development purposes and configuration. Um, in the ma- manuals, we, uh,
560280	564120	notice that a lot of the different manufacturers, they have the sort of standard AT
564120	568860	commands that are out there, but then they also have their custom syntax that usually used
568860	572240	for configuration of specific features that are available with the module that the
572240	580920	manufacturer has, you know, configured. So, what can we do with AT commands? Well, one of
580920	584340	the big things at the beginning was just being able to perform information gathering and
584340	589120	enumeration against the cellular modules that we had access to. Um, one of the most
589120	593700	interesting commands that we did find, and it's a generic one and available on all of the
593700	598200	cellular modules that we interacted with, was the AT clock command. And what this does is
598200	602760	literally ask the cellular module, what AT commands do you- I have access to? What do you
602760	609200	support? Um, although I- we will- I will, uh, circle back to that one in particular. Then, I
609200	613580	mean, the AT commands you can get the manufacturer information, the model, the firmware
613580	618920	version that the cellular module's running. And just to give you an idea, we have a quick
618920	631620	demo on AT commands. There we go. So, we booted up the device, it responded with a ready.
633160	638420	And here's that AT clock command. As you can see, it spit out a ton of AT commands that are
638420	642860	available with this particular module. So, then you could go start doing- running test
642860	651450	versions of those commands to get more information. Then we issued- this particular
651450	656470	command returns the IMEI, so just like in your cell phone, there's an IMEI associated with
656470	660990	every cellular device. And then the next one was the IMSI, which is used for like
660990	669370	authentication up to the APN, billing, location. Um, this command returns the information
669370	675750	about what band and channel the device is currently running on. So, it's running on LTE4.
676570	681030	And then here's a custom command from QuackTel. And it's used for actually configuring
681030	688470	this- the more advanced features available on the device. And one of the things about, like,
688470	692630	these more advanced commands, or even just basic commands, especially the custom ones from
692630	697790	the manufacturers, the manuals provide so much information about what each of them does and
697790	703430	what the responses will be. So, in this case, we're checking if the web services are on when
703430	709290	the device boots up and they are not indicated by the 0 at the end of the web services. And
709290	714630	then we checked the WLAN services. So, and the 1 indicates that it is on when the device
714630	722810	boots up. So, in addition to information gathering, we can also open sockets. Uh, cellular
722810	733590	modules support HTTP. They support FTP and various other TCP IP protocols. So, as part of our
733590	738270	research, we actually created some scripts to make it easier to get through all the AT
738270	743150	commands available. Um, one in particular is the ATquery.py script, which is available on
743150	749610	Daryl's GitHub. Um, this particular script allows us to either run a test or a read on a file
749610	754970	containing all, a whole list of AT commands. So, we scraped AT command manuals, AT clock
754970	759370	output, and combined that and then we're able to actually just iterate quickly through all
759370	764370	the various commands to determine, okay, what does the cellular module actually support? Um,
764370	769370	because we did find that in some cases, while the AT clock output was there and even the
769370	773950	cellular, uh, the manual associated with that module has, you know, AT list, AT commands
773950	782000	listed, some of them were not included in either of those resources. So, here's a quick demo
782000	795620	of the AT command query script. So, we're going to check and make sure that the device, that
795620	800840	we have a FTDID USB device connected, which is then connected to that, uh, it's a field
800840	807240	camera. And then in the AT query script, you can actually configure the, you know, the
807240	815280	FTDI USB device that's there and the baud rate associated with the, uh, the cellular modem. And
815280	820780	our script does, we did add a quick help menu. Uh, you can configure the version, the
820780	828300	manufacturer of the cellular module, whether you want to run a read or a test on it. And
828300	833340	here we're just confirming that the device is on and ready to go before running the script.
833340	839680	Otherwise, you're not going to get anything. And as you can see, it starts outputting the,
839680	844100	uh, you know, results to the screen. It also saves it to a file that you could then parse
844100	849840	through. In this case, we ran a test, so it's going through the whole list of AT, uh, commands
849840	856640	that are in the text file and checking to see which ones are valid. And if you get, you know,
856640	861180	an error that it's an invalid command, the, the module doesn't support it and doesn't know
861180	868830	what to do with it. So, what types of communications are actually supported by cellular
868830	874250	modules? During our research, uh, we found that with the, especially the field camera that
874250	879930	we've been using for the demos, uh, it actually primarily used US high, high speed
879930	886530	interchip USB to actually perform the AT commands issued. But it still had an active UART.
886530	891270	So, these are the two main communication methods that cellular modules are going to use to
891270	896230	try and, to be able to take in commands. Um, and in the case of UART, there's usually an
896230	901290	external UART used for debugging. Uh, during research we found that the output of that
901290	905770	would just indicate sort of the cellular modem booting up, but wouldn't actually take type,
905770	910830	any type of input. And then the interchip UART, which would be between the cellular module
910830	916510	and a CPU, would actually be the place that you would possibly see, uh, you know, it
916510	921330	would be a primary use case for receiving AT commands. But during our research we found
921330	926730	that all we saw was on boot up, we'd see a ready, and then during power down there would be
927350	931450	a message that it was being powered down. The AT commands were not actually being sent via
931450	941890	the UART. And now I'll hand it back to Daryl for USB capture and decoding. Thank you. So,
941890	947650	we're still on time, which is good. So, um, the field camera she was talking about is kind of
947650	953050	like one of these. Uh, one that you put out in a field to capture, uh, wildlife photos and
953050	957990	stuff like that that we were using. Uh, in this particular case. So, one of the things I
957990	964070	always wanted to do is, uh, capture, uh, USB. And there's a number of tools out there for
964070	968830	capturing USB, but most of those are in line. So I had to start hunting around and try to
968830	975050	find one, because what we want to do is sniff USB in circuit. And there's very few devices
975050	982650	that do that. So, um, on this particular device, this interchip device, we kind of map out the
982650	987970	USB from the actual cell module. We need to figure out where it's at. I've opened up a number
987970	993830	of devices that utilize USB and found that, uh, not all of them, but many of them, they
993830	999050	actually were bringing the USB to the surface and putting terminator resistors in there. And
999050	1003430	we got a, got a picture here showing those terminating resistors, impedance matching
1003430	1008050	resistors. Uh, at least that's what they appeared by. I eventually ended up measuring them,
1008050	1014030	found out they were really zero ohm resistors. So they were actually purely as a pass
1014030	1022370	through. So, uh, what we needed to do is to be able to attach into a USB bus, you can rarely
1022370	1027050	connect straight into it. You will actually load the circuit down and communications will
1027050	1033070	fail. With a particular manufacturer of device that we used to sniff this data, they
1033070	1038990	recommended using a 20 to 40 ohm resistor. So in this case, we actually soldered straight to
1038990	1045870	the, to the circuit board a 32, 33 ohm resistors so that we can tap into. And we were able to
1045870	1052650	tap into those devices. And, uh, the device we happened to use was a Beagle, a Beagle 480.
1052650	1058670	It's not a cheap device. It's about $1,200, $1,300. But if you're doing this work
1058670	1064230	professionally, this works really well. It's kind of amazing how well it works for capture
1064230	1070310	and interchip communications for USB. And we can show it here where we actually hook the
1070310	1076730	device up. In this particular case, um, and many, if you're tapping into the USB communication
1076730	1083490	lines, often the power lines associated with that, the 5 volts that tells the, it's fed with
1083490	1088650	the USB also, doesn't show up. It's not on the surface you can connect into. So the
1088650	1093710	black and, and red wires you see there are me just feeding a 5 volt power supply, external
1093710	1100350	power supply. So my Beagle thinks the entire USB is functioning. Uh, there's some software
1100350	1105890	changes you can make that the vendor has to actually turn that off. I have not done that yet.
1105890	1112130	I probably won't in case I ever need it. But let's go ahead and, uh, look at actually
1112130	1120010	capturing USB traffic in this particular case. So, uh, they have their application that comes
1120010	1124790	with it. I know this is small but we're going to kind of blow in or, or, or sink into some of
1124790	1131330	the more critical stuff. Jump over here real quick. So we can see we, we've hooked up, we
1131330	1137090	power up the device, we quickly see a lot of USB handshake data taking place. Uh, and now
1137090	1141930	it's connected out and what we want to do is we configure the device to only show data.
1141930	1146670	Because that's all we care about. I don't care about the USB stuff. So you quickly, you can
1146670	1151890	see in there that you're seeing a lot of those AT commands being transferred. Some of the
1151890	1156590	stuff that Carlotta run, you actually see there as it's setting up the communication channel,
1156590	1166290	uh, with the cellular's APN and all that type of stuff. So again, a lot of interesting serial
1166290	1170970	number data, configuration data, firmware version data that are running on the device. All
1170970	1175810	this kind of data is kind of set out there requested on the device. But we get into, we can
1175810	1181250	see it collected out. That was it's uh, APN that it connected to. It was a special one. It's
1181250	1185590	not a private but it's a special one. So then what we want to do is this device is connecting
1185590	1190750	out and actually communicating real data out. It's taking photos and sending them out. And
1190750	1197210	that's what I wanted to see. So we quickly, uh, search for this whole bucket thing and we
1197210	1205090	start finding things like uh, certificates, keys, passwords. We see this device clear, basically
1205090	1212130	clear text, passwords, keys, everything connecting out to an actual S3 bucket to communicate
1212130	1219290	all this data. With all, everything we ever would need to know as a, uh, a tester, how this
1219290	1225010	thing's connecting out to it's back end systems. Again, as you can see, versus trying to do
1225010	1232110	stuff over cellular, which is encrypted, interchip comms often contains no encrypted data.
1232110	1238550	And you can intercept that data and gain access, uh, a large amount of interesting stuff. I
1238550	1245910	think this screen showed it actually sending out, uh, uh, data actually associated with, uh,
1246510	1254990	the actual, um, configuration on the, on the device. So again, in this particular device,
1255670	1261110	and Carlotte had mentioned this, both of the circuits were in, in use. Both of them were
1261110	1267250	hooked up. Both the USB and the main UART were actually functioning on this or connected up.
1267250	1275450	That's not always the case. Often a device that'll support both USB and all main UART
1275450	1280650	communications often won't have both of them connected up. One of them will be dummied off
1280650	1285930	and the other one's the only one connected in circuit. In those particular cases, in this
1285930	1290330	case, which we'll show a little later, we're able to connect into the UART and control it. I
1290330	1295130	think some of the examples already showed that. Because they still connected it to the main
1295130	1300450	CPU on the device. Which is kind of cool. It made it easier for us. I didn't have to get into
1300450	1305950	weird stuff with, uh, uh, sticking pins up underneath the body of the thing. We're able to
1305950	1312110	just cut the actual circuits that do that type of stuff. So I'm going to turn this over to
1312110	1316770	Carlotta and she's going to talk to us about connecting up and understanding serial
1316770	1326440	communications through interchip and how we interact with that. Okay. So in the case of
1326440	1330860	interchip communications for our cellular module, as I previously mentioned, it's going to be
1330860	1335660	connecting over to a, to the CPU of the device. And in the case of this trail camera, it was
1335660	1341500	using an EG91, which we have here. The thing is, for the actual UART communications, there's
1341500	1347320	two separate lines going. So the, the, there's one line where the CPU is transmitting and
1347320	1352200	then the, uh, cellular module is receiving. And then the cellular module is receiving on a
1352200	1357740	separate line from the, the responses from that cellular module. So in order to actually get a
1357740	1361440	full picture of the communications that are going between these two devices, we need two
1361440	1368440	FTDI to USB devices. One receiving on one line and one on the other to get a full picture of
1368440	1372900	the communications. Now this is only to be able to listen in on those communications and
1372900	1377220	that's how we saw the, you know, when on power up that the cellular module was sending a
1377220	1384160	ready and then on power down it was sending a power down. Now in order to actually be able
1384160	1389120	to inject those AT commands like you saw in the AT query script, uh, demo that was run and
1389120	1393920	everything, uh, we actually have to sever those connections between the CPU and the, that
1393920	1400060	cellular module and put ourself pretty much in the place of the CPU. So we'd not, we'd only
1400060	1406220	need one FTDI to USB device in this case and just like regular UR, you'd hook up the transmit
1406220	1410320	to the receive on the cellular module and then the FTDI is received to the transmit on the
1410320	1418180	cellular module. So here is, you know, three images here. On the far left we've identified
1418180	1423900	that transmit and receive for the cellular module and the line that's going between it and
1423900	1430160	the CPU. In the center there we've actually soldered wires to two different sides because on
1430160	1436860	that far right image we've actually cut the traces between the two. Now in order to be able
1436860	1441020	to continue to be able to listen in possibly on the communications we built a breakout
1441020	1445980	board. So the side that's connected to the CPU is connected to the breakout board as is the
1445980	1451360	side that we have the cellular module. So they can continue to function as normal. As long
1451360	1456420	as, in the center there you can see that there are toggle switches. If they're in the on
1456420	1461460	position the communications can continue between those two parts fine. But we can then turn
1461460	1466600	them off and then connect to just one of the FTDI devices as you can see in the image and
1466600	1474000	then issue those AT commands to the cellular module. And I will hand it back over to Daryl to
1474000	1483380	talk about injected targeted attacks. Okay. To kind of mention a little bit on something else to
1483380	1490960	add to the serial communication. We also, I also a couple years ago released a paper on
1490960	1496980	interchip communication analysis and we released a proof of concept code called a Karen
1496980	1502160	proxy. Now it wouldn't work in this case because we haven't set it up to handle ASCII but
1502160	1508100	when we're dealing with devices where there's no ASCII data but just hex data going over, a
1508100	1514420	Karen proxy would give us the ability to cut the circuit, throw the switches and route both
1514420	1520420	sides back into a Python code script that would actually capture data going in both
1520420	1527240	directions, allow you to replay data, capture and replay data and also capture and replay
1527240	1534120	data and actually set filters to say when you see this hex string, replace it this one. Still a
1534120	1538920	proof of concept, we can probably use some more development but it, it takes this to a new level
1538920	1544340	and I was just talking to the guy this last week about let's add the ability to throw ASCII in
1544340	1548940	there, use standard carriage return structures which is often what we see when we're talking
1548940	1557220	about communication over the main AT or the main UART communication to cellular modules. So,
1557680	1564440	in this part here, AT commands, so we wanted to start thinking about what can we do here? So
1564440	1570720	we've, we've, we've looked at these devices, we can capture all the USB communications, which
1570720	1575400	is a wealth of information if you're doing any kind of assessment or testing on a device and
1575400	1581640	then we can actually send AT commands but what can we do? Again, we're still in the early stage
1581640	1587080	of this but I have an example in here of something I thought was kind of cool as proving the
1587080	1593440	potential capability but I want to start talking about this is how we've tapped into this
1593440	1601840	device. So we have the device here. It's a trail camera. USB is what it uses primarily for all
1601840	1607720	of its communication. The serial communication between the primary processor is in use so
1607720	1612960	who cares if it's connected to the CPU? So we cut it and we hook up to it that way so we can
1612960	1619220	pretty much send commands at will while the device is powered up. Again, I don't think if you
1619220	1625760	remember one of the videos earlier, you've seen power down. Like any of these devices, they're
1625760	1629800	not going to stay powered up. So they'll stay powered up for a certain period of time and
1629800	1634380	then they'll do a time cycle. And they'll actually shut down the conserved batteries. So
1634380	1638040	when you're testing them, you kind of have to deal with the fact that it's doing this. But
1638040	1642480	with AT commands, potentially you can shut all that functionality off, especially if you're
1642480	1648840	feeding an external power supply versus batteries into it. So that's how we tapped into it. So
1648840	1654960	one of the things we wanted to do is, this particular module, as Carlotta had mentioned, when
1654960	1660860	we pulled down all the AT commands that are available, looked AT command manuals, it didn't
1660860	1666480	really show anything about socket capability. But when we run our test script against it, we
1666480	1673020	found out socket capability was available. In this particular case, it's QI open and QI
1673020	1678600	closed, where we can actually set up real sockets. In the first one there, we show that we
1678600	1684340	connected out to a port over an IP and it actually failed and it came back with, what is that
1684340	1692060	number, I think it's 566, and basically says the socket's not open. I think this actually shows
1692060	1696500	that at the bottom it came back with a zero on that particular port. So we start thinking
1696500	1701860	about this, hey, what can we do with that? One, with these sockets you can do a lot of
1701860	1708640	things, but what if we wanted to do like a port scan? You know, can we use the device to port
1708640	1714340	scan some of the back end stuff? And here's all of the ATQI open error messages that come
1714340	1720040	back. So we get a wealth of information based on this information, whether the socket's
1720040	1728000	available, it's open, it's closed, or some other error. When I was initially working for
1728000	1731640	this, I got some of the command structure backwards, so I was throwing all kinds of weird
1731640	1736360	errors. I'm like, why ain't this thing working? Finally figured it out after I sat down with a
1736360	1740720	manual that talked about QI open, got the structure right, and we kind of moved on from
1740720	1746000	there. So here's the actual code that we're going to show here in a minute. It's a simple
1746000	1751540	Python script. This is actually on our GitHub also, so if you want to play around with it. The
1751540	1758280	yellow stuff is kind of the important stuff. So basically we can set up the USB port that we
1758280	1764160	want to connect through for the TLL. And then we can go into the IP addresses, port numbers,
1764160	1768740	and the bottom is open, close the circuit. So let's open and close the socket and see what
1768740	1775980	happens. So let's go ahead and run a quick demo. So again, this demo is not pointed to
1777000	1781600	anyone's back end system. We're doing it as a proof of concept. So I pointed at InMaps,
1781600	1786600	InMaps server, the one they allow you to run scans with, with InMap. So I wouldn't like to
1786600	1795120	make anyone mad. And let's go ahead and run this. So we turn the device on. First thing we
1795120	1804620	want to do, let's make sure that it's actually up and ready. Make sure I have all my
1804620	1817180	connections right. Turn the unit on. See my grubby little fingers there? We got it ready. So
1817180	1823260	now we can run the command. And initially this thing is going to go out and we can literally
1823260	1828220	point it at any IP address, any number of ports, any number of IP addresses, and
1828220	1835100	instantly it starts returning data. So we'll see a 00 come back. That port is open. We have 0
1835100	1840960	5 6 6 come back. That port is closed. So from here we're actually able to do port scans to
1840960	1846860	this device. I think there's a wealth of more things we could do where we can actually
1846860	1852500	control these cellular modules to do some of this stuff. And let's go ahead and let it finish
1852500	1862020	running. I think that's pretty straight forward what we got there. Ramp G, do port scans. I
1862860	1868780	think 1337 I think is open or something like that. So a couple of the, you know, the weird
1868780	1873700	ports, a couple of common ports. But now we've done a port scan. We've basically taken a trail
1873700	1879760	camera. And while this is taking place, we did not alter the trail camera's function. It
1879760	1885800	contended communicating out to the S3 bucket functioning normal. We just asked it to do a
1885800	1892000	port scan using its socket capability. And we were successful in doing that. So where's
1892000	1899380	this come into play? So if I'm doing, if I'm going to be assessing a target for a company that
1899380	1907360	uses cellular backhaul for its communications, and let's say they're using a private APN. That
1907360	1913540	private APN goes out. It goes through a VPN. It hits either some closed cloud service or it
1913540	1919860	hits their actual internal company network through this VPN. And no one on the Internet has
1919860	1926060	access to it. So no matter what data you get, you can't attack those back-end systems or test the
1926060	1933740	overall ecosystem of the technology. But if we engage the device itself with what we showed
1933740	1939020	here, it gives us the ability to actually go through that tunnel that's already been set up by
1939020	1945620	the device through the private APN to the back-end services. And initially we can do a port
1945620	1950460	scan on devices back there. Next we can actually, once we have those ports, we can set up
1950460	1957400	sockets and start communicating to those devices in the area that is supposed to be trusted or
1957400	1964060	secured, because we're looking at companies that are looking at security purely from a
1964060	1969420	machine-to-machine environment in a closed back-end, which they would think would be secure.
1969420	1974240	In this case, we can actually prove that's not the case. We can use the device, control the
1974240	1979080	device, and set up our own connections and own tunnels to the back-end. So the first image is
1979080	1984620	what we conceive of a private APN. The second one is more of a public APN. And that's kind of
1984620	1991600	where this device was. So it kind of allowed us to actually go out and port scan and map in
1991600	1997200	this case. But I have run into a number of devices that were on private APNs where we could
1997200	2002540	not get access. And it's kind of the driving force around this research. How do we build out a
2002540	2010560	knowledge base so pen testers, IOT testers, can go to that next level and look at the overall
2010560	2016000	ecosystem effectively? And interchip communication and control is the best way to get there in
2016000	2021000	my opinion. And I'm hopeful we got that over to you guys and you were able to get something out
2021000	2029600	of this. Here is the actual data. So that's the GitHub and stuff like that that you can actually
2029600	2036700	get to. A couple papers. We actually published a paper last week on this subject. So bring it
2036700	2043300	down and check it out. We talk about a lot more in that paper. At least from the subject of
2043300	2049780	engaging interactively on the hardware and how to trace things out effectively. We get
2049780	2056100	into dechipping, taking chips off and actually rerouting circuits on the board and then
2056100	2061740	putting the cellular modules back on, things like that. So we cover a lot of other cool
2061740	2066540	stuff. So check out that paper. So I don't know if we have time for questions. We're probably
2066540	2072840	out. But we're going to be around. So grab us when we get packed up off stage and I'd be glad to
2072840	2077300	talk about more things with you. Thank you.
