[00:00.000 --> 00:02.640] All right, welcome everyone to Popping Shells [00:02.640 --> 00:04.680] with $10 and a bit of Arduino Magic, [00:04.680 --> 00:09.060] or AKA, Let's Redefine Physical Access. [00:10.160 --> 00:11.840] First off, who am I? [00:11.840 --> 00:12.760] I'm Dan Beard. [00:12.760 --> 00:14.300] I'm a software engineer at MedCrypt, [00:14.300 --> 00:15.600] used to direct MedISO. [00:15.720 --> 00:18.060] Previously CTO of Promenade Software, [00:18.060 --> 00:20.980] where we worked on medical devices as a contractor, [00:20.980 --> 00:22.820] so worked with a lot of different companies. [00:23.040 --> 00:25.660] I personally coded on at least 10 different medical devices [00:25.660 --> 00:27.900] and collaborated on so many more, [00:27.900 --> 00:30.880] mostly in vitro diagnostic instruments, [00:30.880 --> 00:32.560] so that's like lab equipment, [00:32.560 --> 00:35.680] some implantables, some therapeutic devices, [00:35.680 --> 00:37.180] infusion pumps, you name it. [00:37.180 --> 00:38.880] The IVD and therapeutic are bolded [00:38.880 --> 00:41.620] because that's mainly what this attack is gonna be against, [00:41.620 --> 00:43.600] not so much implantables. [00:44.020 --> 00:45.720] All views expressed are my own. [00:45.720 --> 00:47.780] My company is making me say this. [00:47.780 --> 00:49.400] It does not reflect the opinions of current [00:49.400 --> 00:50.180] or past employers. [00:50.180 --> 00:51.400] I did this all on my own time. [00:51.400 --> 00:52.600] It's all open source. [00:52.600 --> 00:53.780] Don't get mad at them. [00:53.880 --> 00:54.420] Okay. [00:55.840 --> 00:58.060] So medical device design 101, [00:58.060 --> 00:59.880] especially on those bolded ones, [00:59.880 --> 01:02.120] IVD or therapeutic devices in a hospital setting [01:02.120 --> 01:03.360] or lab environment. [01:03.700 --> 01:08.120] Typically, you're gonna have the embedded board [01:08.120 --> 01:10.780] that is gonna be doing the medical thing, [01:10.780 --> 01:12.640] whatever it is with the actual medicine. [01:12.820 --> 01:14.700] That's gonna be running on something very important, [01:14.700 --> 01:17.060] like an RTOS, it's gonna be bare metal. [01:17.060 --> 01:18.340] You're gonna have a custom FPGA [01:18.340 --> 01:20.060] because it needs to be time critical. [01:20.060 --> 01:22.240] You're not gonna be running an operating system on that. [01:22.240 --> 01:24.680] However, for anything that has a user interface [01:24.680 --> 01:26.880] more complicated than maybe a couple buttons, [01:26.880 --> 01:29.480] you're gonna have a main board or user interface board [01:29.480 --> 01:32.420] that's typically running Windows or Linux. [01:32.420 --> 01:33.860] Good old-fashioned Windows, [01:33.860 --> 01:35.840] or unless you're doing something with Yocto, [01:35.840 --> 01:37.320] even good old-fashioned Linux, right? [01:37.320 --> 01:41.100] These are PCs that are connected via Canvas, [01:41.100 --> 01:42.880] Cat6, RS232 to the thing [01:42.880 --> 01:44.720] that's actually doing the medical thing. [01:44.880 --> 01:47.320] If you can own them, you can pretty much own the device. [01:47.880 --> 01:50.860] That's what we're gonna be attacking through this vector. [01:51.380 --> 01:52.620] Some more definitions, [01:52.620 --> 01:54.380] just to make sure we're all on the same page. [01:54.540 --> 01:55.720] What is bad USB? [01:55.740 --> 01:57.000] A lot of you probably know what that is, [01:57.000 --> 01:58.360] but let's catch some people up. [01:58.380 --> 02:00.560] It's, what, two decades old at this point? [02:01.220 --> 02:03.440] It's when a USB dongle announces itself [02:03.440 --> 02:04.980] as a human interface device. [02:04.980 --> 02:07.860] It says, I'm a mouse, I'm a keyboard, [02:07.860 --> 02:11.060] I'm a USB ethernet controller, I'm a USB COM port, right? [02:11.140 --> 02:13.320] Operating system, there's no signature checks on that. [02:13.320 --> 02:16.180] There's no validation that you are what you say you are. [02:16.520 --> 02:17.680] It just believes you and goes, [02:17.680 --> 02:20.020] okay, cool, you're a keyboard, give me some keys. [02:20.020 --> 02:22.240] Oh, you're a mouse, all right, give me some mouse events. [02:22.380 --> 02:23.400] COM port, sure, why not? [02:23.400 --> 02:25.240] Here's input and output, right? [02:26.660 --> 02:28.660] Some examples of this are from our friends [02:28.660 --> 02:31.060] at Hack5 and OMG, you got the rubber ducky, [02:31.060 --> 02:32.960] you got the OMG elite cable. [02:33.720 --> 02:35.540] These are things you can buy right now. [02:37.220 --> 02:41.600] So bad USB in my med device, it's not that bad. [02:43.040 --> 02:45.220] To exploit it, you'd need physical access [02:45.220 --> 02:47.660] for an extended period of time. [02:47.720 --> 02:49.500] You'd probably need an internet connection [02:49.500 --> 02:51.460] for persistence and we're air gapped [02:51.460 --> 02:53.180] or we have a network connection, [02:53.180 --> 02:54.320] but it can't reach out to the internet, [02:54.320 --> 02:56.020] you can't download payloads. [02:56.080 --> 02:57.840] And you'd have to do it to a logged in session [02:57.840 --> 02:59.720] and we make people log in and out all the time. [02:59.720 --> 03:02.360] So it's really not that big a deal. [03:02.780 --> 03:04.700] And you may be looking at this and rolling your eyes, [03:04.700 --> 03:06.800] but having been in the industry for 10 years, [03:06.800 --> 03:08.620] I saw this on threat models. [03:08.700 --> 03:10.320] I heard it at the biohacking village [03:10.320 --> 03:11.700] when I was able to like pop a shell [03:11.700 --> 03:13.460] by hooking up a keyboard and typing on it. [03:13.480 --> 03:14.720] These are things that people say [03:14.720 --> 03:17.160] and it's kind of been industry standard for a while now. [03:18.460 --> 03:21.040] So last year, after I got told it again, [03:21.040 --> 03:22.320] and I got tired of hearing it, [03:22.320 --> 03:24.140] I'm like, no, I'm gonna prove you guys wrong. [03:24.180 --> 03:26.280] These assumptions, they don't hold. [03:26.560 --> 03:28.580] To exploit it does not require physical access [03:28.580 --> 03:30.000] for an extended period of time, [03:30.000 --> 03:31.780] only for a very short amount of time. [03:31.940 --> 03:34.640] It does not require an internet connection for persistence, [03:34.640 --> 03:36.240] but we can bring our own internet connection [03:36.920 --> 03:39.360] and we can wait and deploy payloads whenever we want. [03:39.360 --> 03:41.500] We don't have to do it right when we plug it in, right? [03:41.500 --> 03:42.780] We can wait until it's nighttime [03:42.780 --> 03:44.560] and we can wait till we see someone log in [03:44.560 --> 03:46.760] or using the device. [03:48.100 --> 03:49.520] So to prove that wrong, [03:49.520 --> 03:50.700] to build a device that would do that, [03:50.700 --> 03:51.800] we kind of want three things. [03:51.800 --> 03:53.440] We want something that's wireless, [03:53.440 --> 03:55.580] so it has a wifi radio. [03:55.640 --> 03:57.560] We want something that's cheap, [03:57.560 --> 03:59.480] so we can leave it in there and walk away [03:59.480 --> 04:01.300] and don't care that we never get it back. [04:01.360 --> 04:03.200] And we need something that can actually [04:03.200 --> 04:05.380] emulate a USB hit device. [04:05.380 --> 04:07.300] So these are kind of the three requirements. [04:08.340 --> 04:10.560] Our friends at LilyGo have us covered [04:10.560 --> 04:11.820] on all three of those fronts. [04:11.820 --> 04:14.020] This is the T-Dongle S3. [04:14.020 --> 04:18.280] It's $10.50, thanks inflation, out of China. [04:18.520 --> 04:20.340] $15 out of their U.S. warehouse, [04:20.340 --> 04:22.200] so if you want to get it just that little bit faster, [04:22.200 --> 04:23.700] it's only $5 more. [04:23.780 --> 04:25.480] It looks like a USB device. [04:25.480 --> 04:27.700] It's got a fancy color screen. [04:27.740 --> 04:30.420] It has wifi and Bluetooth, if you want to use Bluetooth. [04:30.460 --> 04:32.620] And you can program it in insert language here, [04:32.620 --> 04:35.800] C++, MicroPython, or anything the ESP32 can do [04:35.800 --> 04:37.680] that you can program it with. [04:39.600 --> 04:41.540] So introducing, drum roll please, [04:41.540 --> 04:43.860] the software to do it, RadioJack. [04:43.860 --> 04:45.820] The red shirt, yeah? [04:45.820 --> 04:46.600] All right. [04:48.960 --> 04:54.540] So on the T-Dongle S3, I have a whole bag here, flashed, [04:54.540 --> 04:56.080] with this open source software. [04:56.080 --> 04:58.540] It's open source at RadioJack.io. [04:58.660 --> 05:00.560] It emulates a keyboard and mouse. [05:00.560 --> 05:02.340] It hosts its own wifi server. [05:02.340 --> 05:03.680] You can telnet to it. [05:03.680 --> 05:04.700] You can drop payloads. [05:04.700 --> 05:06.640] Right now there's pre-programmed a Windows payload [05:06.640 --> 05:08.820] for having a PowerShell, a prompt, [05:08.820 --> 05:10.840] and I'll go over exactly how that works. [05:10.840 --> 05:12.620] But nothing says it couldn't work on Linux. [05:12.620 --> 05:14.160] I was just too lazy to put it together. [05:14.160 --> 05:15.300] Okay, I didn't have enough time. [05:15.300 --> 05:15.980] You can do it too. [05:15.980 --> 05:17.200] I await your pull request. [05:17.200 --> 05:18.880] Please issue pull requests. [05:20.020 --> 05:21.940] It's reflashable, so you can change it over and over. [05:21.940 --> 05:23.840] And of course it has a laughing skull animation. [05:23.840 --> 05:25.360] What hacker tool would be complete [05:25.360 --> 05:27.520] without a laughing skull animation? [05:30.140 --> 05:31.400] Anyone want this one? [05:32.780 --> 05:33.500] Whee! [05:36.740 --> 05:37.460] Hey! [05:42.530 --> 05:45.350] All right, so it's programmed in Arduino. [05:45.350 --> 05:46.170] Why Arduino? [05:46.170 --> 05:48.590] First and foremost, most importantly, [05:48.590 --> 05:49.910] the drivers just kind of worked [05:49.910 --> 05:52.450] and I didn't have to mess around with them the first try. [05:52.610 --> 05:55.250] And again, I'm lazy, so I just went with it. [05:55.250 --> 05:57.790] Both the HID and wifi libraries worked out of the box. [05:57.790 --> 05:58.850] There was no mucking around. [05:58.850 --> 05:59.790] It's real easy. [05:59.890 --> 06:02.130] But secondarily, to prove how easy, [06:02.130 --> 06:04.070] I'm not doing some complicated thing up here. [06:04.070 --> 06:06.450] I'm not releasing an O-Day that took a PhD six months [06:06.450 --> 06:08.310] of like intense genius work. [06:08.310 --> 06:08.810] High schoolers, they're like, [06:08.810 --> 06:11.110] Right? I am dumb. [06:11.110 --> 06:13.830] If I can do this, anyone can do this. [06:13.910 --> 06:18.610] This is not some out there like government level attack. [06:19.990 --> 06:22.370] So how to use that one that you just got. [06:22.430 --> 06:23.890] You plug it into the target. [06:23.890 --> 06:27.090] You connect to the SSID that's displayed on the screen. [06:27.090 --> 06:30.090] Each one is using the serial number of the device. [06:30.090 --> 06:31.610] So it has a different SSID. [06:31.650 --> 06:33.950] So if you want to go over to the biohacking village right now [06:33.950 --> 06:35.750] and connect it up to a medical device, [06:35.750 --> 06:37.750] each user should have a different SSID [06:37.750 --> 06:39.890] so that you're not, you know, connecting to the wrong one. [06:39.890 --> 06:41.230] You don't know which one you're connecting to. [06:41.370 --> 06:43.870] The passwords are all the same in the base firmware. [06:43.870 --> 06:45.630] The password is the password. [06:46.230 --> 06:48.110] All lowercase, real easy to remember. [06:48.610 --> 06:50.410] You telnet to the IP that's shown on the screen [06:50.410 --> 06:53.430] and you follow the good command line interface. [06:53.970 --> 06:55.490] Some of the features that it has out of the box [06:55.490 --> 06:59.110] are drop the payload, open a remote PowerShell prompt, [06:59.110 --> 07:00.750] type as a keyboard, you can type whatever you want. [07:00.750 --> 07:02.230] It'll emulate the keyboard and just type it out. [07:02.230 --> 07:03.950] So if you need to do like a password prompt or something [07:03.950 --> 07:06.270] before you drop the payload and you know the password, [07:06.270 --> 07:07.350] you can do it that way. [07:07.350 --> 07:10.450] And as a comport, that's how the payload communicates with you [07:10.450 --> 07:13.570] when you get a shell is through a virtual comport. [07:15.690 --> 07:18.770] Here's, you know, kind of to visualize what's going on here. [07:18.770 --> 07:21.750] Step zero, not shown, is actually plug it into the device. [07:21.750 --> 07:23.830] So walk by and just knock it in. [07:24.030 --> 07:28.430] Step one is connect to the Wi-Fi, drop the payload. [07:28.430 --> 07:31.490] The payload opens up a PowerShell prompt very quickly, [07:31.490 --> 07:34.690] types up a whole bunch of PowerShell code, minimizes itself. [07:34.690 --> 07:36.550] And what that PowerShell code does [07:36.550 --> 07:38.570] is it waits for a connection on the comport, [07:38.570 --> 07:43.150] the virtual USB comport, and just pipes text back and forth. [07:43.150 --> 07:44.490] So anything you type goes to PowerShell, [07:44.490 --> 07:46.850] anything it types goes back to you over telnet. [07:47.550 --> 07:48.710] Remember, this is Wi-Fi. [07:48.710 --> 07:50.850] So you can be the one room over, right? [07:50.850 --> 07:52.490] You don't have to be at the device. [07:52.490 --> 07:54.670] You can look like you're really innocent over there [07:54.670 --> 07:57.530] with your phone on your SSH you're just texting, [07:57.530 --> 08:00.210] but really you're typing on a shell. [08:01.830 --> 08:05.110] Let's see if my internet access is gonna break this. [08:09.360 --> 08:12.260] So proof of concept, I know everyone POC or GTFO, [08:12.260 --> 08:13.480] let's see if this launches. [08:22.280 --> 08:23.740] There we go, so here's an example [08:23.740 --> 08:26.040] plugged into my Windows gaming PC. [08:26.820 --> 08:30.100] Say drop the payload, it just dropped it. [08:34.420 --> 08:43.160] I enter into serial mode and now a PowerShell prompt. [08:43.160 --> 08:44.380] I can do whatever I want on that computer [08:44.380 --> 08:45.720] as the current user. [08:51.210 --> 08:53.630] And if anyone's thinking Windows on my medical device, [08:53.630 --> 08:55.290] yes, Windows is everywhere in medical. [08:55.290 --> 08:57.310] Trust me. [08:58.330 --> 08:59.010] Nope. [09:06.820 --> 09:09.140] So I did this about October. [09:09.140 --> 09:10.580] I was high off DEF CON. [09:10.580 --> 09:11.800] I was like, I'm gonna code this thing [09:11.800 --> 09:12.940] and approve these people wrong. [09:12.940 --> 09:13.480] I'm gonna be so cool. [09:13.480 --> 09:15.680] Maybe I'll get a talk out of it at Biohacking Village. [09:15.680 --> 09:17.800] Like, yeah, all right, I'm stoked. [09:18.040 --> 09:20.860] And not even a week after my first GitHub commit [09:20.860 --> 09:27.340] for the POC, OMG Cable released this into their firmware. [09:28.260 --> 09:28.860] Wasted. [09:28.860 --> 09:30.640] Oh, they did it better than me. [09:30.640 --> 09:31.600] Oh no. [09:32.480 --> 09:35.220] The StealthLink cable over HITX. [09:35.600 --> 09:36.400] HITX StealthLink. [09:36.400 --> 09:37.900] So it looks like a USB cable. [09:37.900 --> 09:38.820] It's the OMG Cable. [09:38.820 --> 09:39.920] It looks amazing. [09:39.920 --> 09:42.540] It uses the same kind of backdoor thing [09:42.540 --> 09:44.740] where it drops a payload and you can do a backdoor. [09:45.220 --> 09:48.580] It does it over HIT packets instead of a COM port, [09:48.580 --> 09:50.540] which is more elegant, honestly. [09:50.540 --> 09:52.080] It's a great way of doing it. [09:52.080 --> 09:53.240] It's got sexy marketing. [09:53.240 --> 09:54.640] It's ready to buy today. [09:54.680 --> 09:57.200] And it's just kind of way better than my hobby project. [09:57.200 --> 10:00.160] I still stand by though that RadioJack is a better name [10:00.160 --> 10:01.400] than HITX StealthLink. [10:01.620 --> 10:04.400] So Hack5, if you want to like buy the URL off me, [10:04.400 --> 10:05.380] call me, you know? [10:07.420 --> 10:08.940] So I'm like, I'm going to one-up them. [10:08.940 --> 10:10.600] What can I do on my hobby project [10:10.600 --> 10:12.400] that's going to be better than this like sexy, [10:12.400 --> 10:13.760] polished thing that costs a lot of money [10:13.760 --> 10:15.260] and they put a lot of work into, right? [10:15.780 --> 10:16.760] Enter LoRa. [10:16.760 --> 10:20.540] So LilyGo, same company, makes an almost as cheap, right? [10:20.540 --> 10:23.360] 15 to $20, depending on which warehouse you buy it from. [10:23.520 --> 10:24.680] The LoRa S3. [10:24.680 --> 10:26.460] So it's still cheap. [10:26.460 --> 10:28.380] It kind of has its screen, it's not color, [10:28.380 --> 10:29.400] but it's still a cool screen. [10:29.780 --> 10:32.980] Still has Wi-Fi and Bluetooth, still a program in Arduino, [10:32.980 --> 10:34.580] but it's got LoRa, [10:34.580 --> 10:37.060] which means we can do things a lot longer range. [10:37.760 --> 10:41.520] If you don't know what LoRa is, it's a long distance radio. [10:41.520 --> 10:42.620] You don't need a hand license. [10:42.620 --> 10:43.620] You can go and use it right now. [10:43.620 --> 10:44.920] It's on the consumer bands. [10:45.400 --> 10:47.240] Theoretical range of three plus miles. [10:47.440 --> 10:49.820] Realistically, I could only test it to a mile and a half [10:49.820 --> 10:52.880] before I run into line of sight issues, so I don't know. [10:53.140 --> 10:55.860] But theoretically, more than three plus miles. [10:55.860 --> 10:58.960] And it does kind of sort of require line of sight. [10:58.960 --> 11:02.640] Like, if it's on a device and you have close to a window, [11:02.640 --> 11:04.200] you can still kind of get in. [11:04.200 --> 11:06.080] It'll reflect off the walls, and it works. [11:06.080 --> 11:07.580] You don't need to be in the window. [11:07.600 --> 11:11.860] But if you were in, let's say, an MRI lab or radiology lab [11:11.860 --> 11:13.140] without any windows in the basement, [11:13.140 --> 11:14.440] you're not going to get out. [11:16.380 --> 11:20.060] So how to use it on literally this device? [11:20.460 --> 11:21.520] Exactly the same. [11:21.580 --> 11:24.520] Same SSID, same password, follow the same prompts. [11:24.920 --> 11:26.560] You drop it, you drop the payload, [11:26.560 --> 11:28.580] and it's just over a LoRa instead of Wi-Fi. [11:28.780 --> 11:32.340] So got the same visualization here. [11:32.340 --> 11:35.240] Only difference is that if you look, [11:35.240 --> 11:39.500] you have to have a LoRa board on the other side talking miles away, [11:39.500 --> 11:41.800] and then it's the same interface. [11:43.720 --> 11:45.260] I live in Chicago. [11:45.260 --> 11:47.200] I'm lucky enough to live in the Loop right here. [11:47.200 --> 11:49.660] I'm not going to tell you which building, but one of those. [11:49.940 --> 11:51.680] And with a directional antenna, [11:51.680 --> 11:55.800] I was able to use a shell from 1.2 miles away. [11:55.880 --> 11:57.760] Yeah, how's that for physical access? [11:59.800 --> 12:01.680] So I kind of open it up to you. [12:01.680 --> 12:04.180] Again, open source, welcome all pull requests. [12:04.180 --> 12:05.320] Can we take it further? [12:05.400 --> 12:08.320] Can we do a multi-hop Meshtastic network, right? [12:08.320 --> 12:10.960] Like in SoCal, they have a Meshtastic network [12:10.960 --> 12:13.740] that goes from LA all the way down to Tijuana. [12:13.800 --> 12:15.140] Like, could you be in another country [12:15.140 --> 12:18.680] and execute shell commands over just this, [12:18.680 --> 12:21.180] like, hopping over a Meshtastic network, right? [12:21.180 --> 12:23.960] Can we do a Wi-Fi bridge where it hops on, you know, [12:24.060 --> 12:26.100] a Starbucks Wi-Fi and now you could be anywhere in the world? [12:26.100 --> 12:27.580] You just got to know the IP address. [12:27.720 --> 12:30.980] What ideas do you have to make this attack better? [12:31.960 --> 12:34.220] The takeaway for anyone who's building a device [12:34.220 --> 12:36.560] that's running on, like, a consumer Linux or Windows [12:36.560 --> 12:39.220] is you only need a few minutes and a few dollars [12:39.220 --> 12:41.180] and you can exploit bad USB. [12:41.240 --> 12:42.440] You don't need an internet connection. [12:42.440 --> 12:44.880] You don't need extended physical access. [12:47.240 --> 12:49.620] Mitigations for anyone building a device. [12:49.620 --> 12:52.120] One, cover your USB ports. [12:52.320 --> 12:53.940] Like, if you're not using them, cover them. [12:53.940 --> 12:56.360] If I need to take a Dremel to your device, [12:56.360 --> 12:59.200] then maybe I'll buy, you'd need extended physical access. [12:59.200 --> 13:01.520] Someone's going to notice that you were there, right? [13:02.280 --> 13:04.100] Okay, someone might notice that. [13:04.700 --> 13:07.800] If you do need them for maybe service or something like that, [13:07.800 --> 13:09.620] then disable the USB stack [13:09.620 --> 13:12.760] until the user does something explicit, [13:12.760 --> 13:15.120] until they want to export a report, [13:15.120 --> 13:17.880] until they say, hey, I need to flash new firmware on the device [13:17.880 --> 13:19.100] or, hey, I'm a service tech [13:19.100 --> 13:22.100] and I've logged in with my special service tech password, right? [13:22.200 --> 13:24.180] Don't just have it open all the time. [13:24.180 --> 13:26.740] Only have it open when you need it. [13:26.800 --> 13:29.400] And that's a much smaller attack surface [13:29.400 --> 13:31.940] than just someone able to plug it in whenever they want. [13:33.880 --> 13:35.320] So that's it. Thank you. [13:35.320 --> 13:36.580] Anyone have any questions? [13:36.740 --> 13:38.580] And to encourage questions, [13:38.580 --> 13:40.860] I will be throwing out more of these to anyone who asks one. [13:46.440 --> 13:50.040] And I talked really fast, so I'm a little bit soon. [13:50.040 --> 13:51.920] So I have lots of time for questions. [14:00.140 --> 14:00.680] What have... [14:01.700 --> 14:03.940] The question was, what have I tested it on so far? [14:03.940 --> 14:09.300] So, so far, a couple of different Windows devices, mostly PCs. [14:09.440 --> 14:12.060] There is one currently plugged into a medical device [14:12.060 --> 14:13.280] in the biohacking village [14:13.280 --> 14:15.440] that happens to be running a Windows front end. [14:15.440 --> 14:17.000] So go ahead and check it out. [14:17.000 --> 14:18.160] It's already there. [14:19.300 --> 14:20.900] See if I can hit you with it. [14:23.820 --> 14:24.220] Ready... [14:24.940 --> 14:26.300] Hey, listen up. [14:33.110 --> 14:35.510] So the question was, can I access the machine [14:35.510 --> 14:36.970] or the boards to do something? [14:37.030 --> 14:39.350] Like, do I need to access the machine? [14:45.260 --> 14:47.400] Ah, yeah. So here, let me throw you one. [14:48.400 --> 14:49.020] Woo! [14:51.160 --> 14:54.320] So typically, and this is typically, there are exceptions. [14:54.320 --> 14:55.940] On most medical devices, [14:55.940 --> 14:58.480] they kind of assume that the physical connection [14:58.480 --> 14:59.940] is secure by itself. [14:59.940 --> 15:03.000] So if you have, like, control [15:03.000 --> 15:05.520] of that main user interface board running Windows, [15:05.520 --> 15:09.280] you can issue whatever commands it could issue to the RTOS. [15:09.280 --> 15:12.860] So there may be safety bounds. [15:12.860 --> 15:15.540] Like, if you try and do something that's obviously not safe, [15:15.540 --> 15:16.580] it'll say no. [15:16.580 --> 15:18.860] But you got a lot of control that you really shouldn't have. [15:18.860 --> 15:21.840] You could dispense more medication than you should. [15:21.840 --> 15:24.080] You could raise temperatures higher than you should. [15:28.770 --> 15:31.250] Yeah, they assume that we're physically controlled. [15:31.250 --> 15:33.810] The only thing that can talk to us is our Windows front end, [15:33.810 --> 15:36.070] and let's just secure that. [15:46.430 --> 15:48.970] So I didn't measure latency specifically. [15:48.970 --> 15:51.230] The Wi-Fi one is near imperceptible. [15:51.310 --> 15:54.990] The LoRa one, the latency wasn't bad, [15:54.990 --> 15:58.410] but the throughput was, like, a 28.8k modem. [15:58.410 --> 16:00.710] So, like, you're going back to the 80s. [16:00.710 --> 16:02.650] But, hey, for a shell, that's kind of all you need, right? [16:02.650 --> 16:03.790] You can still issue commands. [16:17.550 --> 16:18.990] Oh, so, like, kind of, so the question was, [16:18.990 --> 16:22.550] have I set up the ESP32 to, like, be a repeater almost [16:22.550 --> 16:26.410] and repeat the messages, or...? [16:29.120 --> 16:31.460] So that was one of the things I wanted to do, [16:31.460 --> 16:33.340] like, that said, hey, what else can we do with this? [16:33.340 --> 16:35.080] Right now, it's just point-to-point, [16:35.080 --> 16:37.420] but there's no reason you couldn't do that, right? [16:39.100 --> 16:40.340] All right, let's see if I can hit you. [16:40.340 --> 16:41.580] Whoop! [16:42.240 --> 16:43.960] Did I get you there? Sorry. [16:44.060 --> 16:44.980] Okay. [16:49.100 --> 16:50.820] Sorry, could you ask a little louder? [16:58.500 --> 16:59.420] Can I...? [16:59.890 --> 17:01.400] Oh, can LoRa go through Windows? [17:01.400 --> 17:02.340] Absolutely it can. [17:02.340 --> 17:06.460] It does affect the signal strength, [17:06.460 --> 17:07.980] but it absolutely can go through Windows. [17:07.980 --> 17:10.540] And when I was testing it on my PC, [17:10.540 --> 17:13.500] I was just within visual range of a window, [17:13.500 --> 17:15.680] and I was still able to access it. [17:18.260 --> 17:19.140] Whoop! [17:26.000 --> 17:27.400] Have I tried doing it with a Mac? [17:27.400 --> 17:30.240] I haven't, but it would absolutely work. [17:30.600 --> 17:33.760] The USB stack would be... it's a HID device. [17:33.760 --> 17:36.380] You would just need to change the payload, [17:36.380 --> 17:37.840] so instead of dropping into a PowerShell, [17:37.840 --> 17:40.040] you're dropping into whatever Mac is using, [17:40.120 --> 17:41.460] a Z-shell or whatever. [17:41.460 --> 17:42.000] Yeah. [17:47.780 --> 17:49.340] Any questions? Let's go to this side. [17:49.340 --> 17:49.920] How about this side? [17:49.980 --> 17:52.660] Have you tried this on a desktop computer? [17:53.140 --> 17:55.360] I haven't, just because I have a medical background, [17:55.360 --> 17:57.880] but, I mean, if they're running Windows, Linux, or Mac, [17:57.880 --> 17:59.600] it's some sort of consumer operating system, [17:59.600 --> 18:00.900] it's going to work. [18:04.980 --> 18:06.300] Oh, it's on a list. [18:22.090 --> 18:26.970] So the question is, if the Windows machine requires authentication, [18:26.970 --> 18:28.090] is there a bypass? [18:29.170 --> 18:32.790] So, no, there's no bypass, but because you can wait, [18:32.790 --> 18:35.190] you can wait until someone logs in to drop the payload. [18:35.190 --> 18:36.790] It's not just plug it in and then, like, [18:36.790 --> 18:38.150] it starts doing the payload automatically. [18:38.150 --> 18:40.350] You can wait until you, from across the room, [18:40.350 --> 18:41.390] see them log in and then go, [18:41.390 --> 18:42.650] ah, I'm going to, I dropped it. [18:46.610 --> 18:49.630] Okay, let's see, let's get someone real far away. [18:50.370 --> 18:52.830] Let's, that's where they're with the blue blinky badge. [18:52.990 --> 18:53.350] Yeah. [18:56.460 --> 18:58.880] What's the oldest OS I found in the wild? [18:58.880 --> 18:59.800] Windows XP. [19:02.240 --> 19:03.820] Okay, I'm going to, I'm going to check this. [19:03.820 --> 19:05.700] No guarantees it gets to you. [19:08.200 --> 19:08.920] Nice. [19:10.540 --> 19:11.620] All right. [19:12.340 --> 19:13.440] You there in the white shirt. [19:22.220 --> 19:28.000] So right now it's, it's manual, but once you're connected, [19:28.000 --> 19:29.380] you could script, I mean, it's over telnet. [19:29.380 --> 19:32.120] So, like, you could make a Python script to wait until something happens. [19:38.120 --> 19:39.480] All right. [20:16.340 --> 20:19.660] So the question was, once, once you're connected to it, [20:19.660 --> 20:23.120] you can use it as a point to get into the rest, excuse me, [20:23.120 --> 20:24.820] of the network, because you're right, [20:24.820 --> 20:28.020] you do have access as whoever the current user is. [20:28.020 --> 20:32.080] I haven't done that, but that's, that's the, [20:32.080 --> 20:34.180] beyond just hacking into a medical device, [20:34.180 --> 20:37.140] that's one of the reasons you want to protect against this, [20:37.140 --> 20:39.180] is that now you have a point where you're, [20:39.180 --> 20:42.000] you're in the air gapped network, right. [20:42.280 --> 20:44.680] And you are somewhat trusted probably. [20:44.680 --> 20:46.600] So yeah, you have, you could use that absolutely [20:46.600 --> 20:47.780] as a jumping off point. [20:52.720 --> 20:53.700] All right. [20:54.100 --> 20:55.820] In the orange shirt. [21:02.340 --> 21:04.480] I can't hear you from this far away, sorry. [21:13.580 --> 21:15.180] So the question was, [21:15.180 --> 21:17.340] wouldn't someone notice you going up to a medical device [21:17.340 --> 21:18.980] and sticking the USB stick in? [21:25.620 --> 21:27.680] You have a lot of confidence, sorry, [21:27.680 --> 21:29.300] so the question was, wouldn't someone notice the, [21:29.720 --> 21:32.140] the USB stick sticking out of the medical device? [21:32.640 --> 21:35.080] I mean, from my opinion, no, [21:35.080 --> 21:36.620] you'd, you'd have to have a lot of confidence [21:36.620 --> 21:39.660] in, in, you know, nurses and doctors noticing things [21:39.660 --> 21:42.400] to, to notice this little teeny thing sticking out. [21:42.400 --> 21:44.420] There's a lot of things that do plug in, [21:44.420 --> 21:45.640] you know, in and out of devices. [21:45.640 --> 21:47.540] I don't think they're going to notice something small. [21:47.780 --> 21:49.940] That being said, this specific device [21:49.940 --> 21:51.220] with the firmware that's flashed on it, [21:51.220 --> 21:53.200] has a big skull on it. [21:53.200 --> 21:55.260] And the reason is, you know, [21:55.700 --> 21:57.640] I don't want people using this for evil, right? [21:57.640 --> 21:59.980] Like use this where you know, when you have permission [22:00.420 --> 22:03.060] and if anyone sees it and has a skull on it, [22:03.060 --> 22:04.780] yeah, then they might ask some questions. [22:04.780 --> 22:06.740] But you know, you could change that in the firmware [22:06.740 --> 22:09.400] to not display a literal skull on a screen. [22:14.880 --> 22:16.960] Right, let's see what someone over here. [22:16.960 --> 22:17.320] You. [22:21.060 --> 22:23.620] I think this is USB 3.0. [22:24.900 --> 22:26.120] Oh, USB-C version? [22:26.120 --> 22:27.840] They don't have a USB-C version, no. [22:27.840 --> 22:30.240] But honestly, email Lily go and say, [22:30.240 --> 22:31.500] hey, I want a USB-C version. [22:31.500 --> 22:32.600] They might make it. [22:37.420 --> 22:38.840] Oh, that was a bad one, sorry. [22:38.840 --> 22:40.340] All right, all the way over here. [22:41.780 --> 22:43.140] What got me interested? [22:46.940 --> 22:48.200] So the question was, what got me interested [22:48.200 --> 22:48.940] in developing this? [22:48.940 --> 22:52.180] It was one that I heard that quote that I was saying, [22:52.180 --> 22:53.860] right, well, it's not that big a deal. [22:53.940 --> 22:56.040] Someone would notice and we're air-gapped, [22:56.040 --> 22:57.220] so it doesn't really matter. [22:57.220 --> 22:59.220] Or we are connected to a network, [22:59.220 --> 23:01.100] but you know, the network's protected. [23:01.100 --> 23:03.340] You don't actually have internet access, right? [23:03.840 --> 23:05.840] Hearing that over and over and over again [23:05.840 --> 23:07.280] and kind of scratching my head and going, [23:07.280 --> 23:09.240] that doesn't seem right. [23:09.240 --> 23:11.180] It seems like someone could bring their own Wi-Fi network, [23:11.180 --> 23:13.000] right, and then searching around. [23:13.000 --> 23:18.120] And before the OMG cable released HIDAC stealth link, [23:18.120 --> 23:20.980] there was nothing that I could find that had that. [23:20.980 --> 23:22.280] So, okay, I'll build it. [23:22.280 --> 23:24.700] And now you can't say that to me anymore, right? [23:30.960 --> 23:32.860] All right, how are we doing on time? [23:33.040 --> 23:34.040] Okay, I got one more minute, [23:34.040 --> 23:35.920] so I can answer one more question. [23:36.100 --> 23:36.800] You there. [23:42.820 --> 23:45.820] Are there any limitations on the device? [23:49.320 --> 23:51.680] Sorry, I can't hear you over the person talking behind me. [23:54.080 --> 23:58.800] Ah, the only limitation is the memory on the device itself? [23:59.500 --> 24:01.720] Oh, 128 meg? [24:03.760 --> 24:05.580] So yeah, you can have a pretty big payload. [24:09.150 --> 24:11.050] All right, thanks everyone. [24:11.050 --> 24:13.610] I'll be dropping these off to other people later. [24:13.610 --> 24:15.870] So I still have about like 10 and then I can give out.