[00:02.270 --> 00:04.930] Alright, looks like that last group of people I saw coming in came in. [00:04.970 --> 00:07.570] So, we'll go ahead and get the talk started. [00:07.630 --> 00:08.850] My name is Mikey Aubrey. [00:08.850 --> 00:12.730] I'm giving a talk on tracking real-time locations with rogue Wi-Fi packets. [00:13.030 --> 00:14.910] So, this is a pretty bold claim. [00:15.030 --> 00:16.970] It's a pretty cool project. [00:17.130 --> 00:19.050] So, we'll go ahead and dive right in. [00:19.530 --> 00:21.750] A little bit more information on introductions here, though. [00:21.850 --> 00:22.950] My name is Mikey Aubrey. [00:22.950 --> 00:27.670] I am known as Huey Huey on the RF Village Discord, if any of you are on there. [00:27.670 --> 00:32.090] I am 10 years, a little over 10 years now, a professional hacker. [00:32.090 --> 00:35.030] I do commercial work, government work, other work. [00:35.370 --> 00:43.570] I spent two years in radar technologies, which I'm only really bringing up because it's quite relevant to this talk and some of the technologies that are being used here. [00:43.750 --> 00:45.370] And I would like to introduce the device itself. [00:45.370 --> 00:47.210] I'm actually wearing two of them right now. [00:47.210 --> 00:49.510] That's the little blinky things that are right above my badge. [00:49.510 --> 00:52.310] You've probably seen several people walking around with these. [00:52.310 --> 00:54.610] We are actively using them for a couple of things. [00:54.610 --> 00:56.890] You'll see why and what here in a minute. [00:56.890 --> 00:59.970] The device itself, it tracks 2.4 gigahertz. [01:00.150 --> 01:02.230] And it is a working POC. [01:02.250 --> 01:04.090] So it's part of a larger project. [01:04.130 --> 01:06.890] The device itself is just a proof of concept. [01:06.890 --> 01:09.230] But the proof of concept is fully functional. [01:09.230 --> 01:12.410] It actually does some work that we have found to be useful. [01:14.150 --> 01:16.370] So, we'll start with the technical problem statement. [01:16.370 --> 01:20.630] This is what we were trying to solve, why this project came into fruition. [01:20.730 --> 01:29.350] And that is that tracking down Wi-Fi devices is something that you have to do occasionally if you're in the admin world or if you're in secret spaces or anything like that. [01:29.350 --> 01:35.470] You find yourself a rogue AP or a rogue device connects to you, you need to be able to find, track down those devices. [01:35.610 --> 01:44.710] Well, the devices, if you've ever had to use them to try and track these things down, are either expensive, hard to use, and most likely both. [01:44.950 --> 01:48.230] They are not the greatest of things to try and track down devices with. [01:48.230 --> 01:51.190] And sometimes you can spend a very long time looking for stuff. [01:51.270 --> 01:53.550] Most of the time, though, you don't have any of that. [01:53.550 --> 01:58.450] You simply are told, hey, somebody created a Wi-Fi access point in our area. [01:58.450 --> 02:00.530] I need you to go find it and shut it down. [02:00.530 --> 02:02.210] And off you go. [02:02.210 --> 02:04.210] I see a couple people nodding out in the audience. [02:04.550 --> 02:05.190] Off you go. [02:05.190 --> 02:05.990] Good luck. [02:06.310 --> 02:08.130] I actually had somebody on the bus on the way here. [02:08.130 --> 02:09.090] I was talking about this project. [02:09.090 --> 02:12.530] And they mentioned that they were reprovisioning all the access points for their company. [02:13.090 --> 02:17.610] And they did all of them, but there was one access point they could not find. [02:18.130 --> 02:19.490] And it was their own access point. [02:19.490 --> 02:20.810] They just had no idea where it was. [02:20.810 --> 02:23.470] They just knew that they couldn't find it, couldn't reprovision it. [02:23.750 --> 02:25.290] This is the kind of thing to do it. [02:25.290 --> 02:33.530] The idea of this project was to create a low-cost solution with a low barrier of entry to give you guys something that you can use to do this. [02:33.530 --> 02:35.110] Is it the best tool in the world? [02:35.110 --> 02:35.730] No. [02:35.730 --> 02:39.410] But it's also meant to be something that is cheap and accessible. [02:41.570 --> 02:46.550] Now, we are going to have to go on a couple of tangents in this talk to make sure that everything comes around full circle. [02:46.550 --> 02:48.890] But trust me, everything is coming around full circle. [02:48.890 --> 02:51.390] So we are going to start with 802.11 basics. [02:51.430 --> 02:53.570] Don't worry, we are not going to go too deep into the protocol. [02:53.570 --> 02:56.570] We are not going to go too deep into that whole framework and what it is. [02:56.930 --> 03:01.250] But just know that 802.11 is the standard that Wi-Fi devices use to communicate. [03:01.250 --> 03:06.290] It's what creates a wireless local area network rather than a wired local area network. [03:06.570 --> 03:08.310] They communicate using frames. [03:08.310 --> 03:13.190] The concept of frames is the important thing to know to understand how all of this stuff is working. [03:14.410 --> 03:22.170] Frames perform all of the functions from the management functions, from your access point controlling the devices, to your devices sending data to and from everywhere. [03:22.170 --> 03:23.990] It's all done within frames. [03:25.050 --> 03:28.310] So, going back, this is an example frame. [03:28.310 --> 03:29.830] This is what the frames look like. [03:29.830 --> 03:32.270] You can see they've got a header, they've got the body. [03:32.450 --> 03:33.970] Different frames will have different structures. [03:33.970 --> 03:37.050] The one you are looking at here is an empty data frame. [03:37.190 --> 03:41.350] So, it's got your destination MAC, your source MAC, your BSS ID. [03:42.570 --> 03:48.370] Things like sequence control and the CRC are usually handled by your stack automatically, so you don't need to worry too much about it. [03:48.370 --> 03:54.790] The important things to take away from this slide are the destination MAC, the source MAC, and the BSS ID. [03:55.050 --> 04:00.950] So, those are the three different things that kind of tell the data where it's going and who it's going to. [04:02.330 --> 04:07.050] In this particular example, in the thing you see below there, the destination is like our target device. [04:07.210 --> 04:10.510] The source would be set to the device that is sending the data out. [04:10.510 --> 04:14.310] And then the BSS ID would be like an access point that's moving stuff around. [04:14.670 --> 04:23.110] So , just a general understanding of what the frames are, because I'm going to be using terms like source MAC, destination MAC, and null data frames. [04:23.110 --> 04:24.850] Those are terms that you're going to hear a lot in this talk. [04:24.850 --> 04:26.950] So, I wanted to make sure we had that set up up front. [04:26.950 --> 04:29.470] That way, we're all on the same page moving forward. [04:30.490 --> 04:32.430] So, now I'm going to talk about polite Wi-Fi. [04:32.430 --> 04:37.190] So, polite Wi-Fi is a... hesitate to use the term exploit. [04:37.190 --> 04:39.870] It's not really an exploit of the 802.11 framework. [04:39.870 --> 04:43.930] It is an interesting behavior of the 802.11 framework. [04:44.070 --> 04:56.370] The basis of the polite Wi-Fi finding, which came out a number of years ago, there's a bunch of white papers on it, is that every device must send an ACK frame if they receive a valid frame. [04:56.510 --> 05:00.550] So, this is to make sure that devices know, hey, I sent you data, and it comes back. [05:00.550 --> 05:07.350] Similar to in TCP, where you have a handshake, where you give data, and then the device acknowledges that it received the data. [05:07.370 --> 05:08.790] This is a very similar process. [05:08.790 --> 05:10.450] You send a frame to a device. [05:10.450 --> 05:12.570] The device says, hey, I got your frame. [05:13.510 --> 05:23.990] Interestingly, and what makes this so critical, is that this data, like this valid frame, can come from outside of the network that your station, your device you're targeting, is on. [05:23.990 --> 05:31.870] So, typically, devices will only communicate with each other within the same wireless area network, but these frames don't need to come from the network that you're on. [05:31.870 --> 05:33.910] It will just respond with an ACK. [05:33.910 --> 05:46.510] So, this means that any device can send to a target device a valid frame, and as long as the frame passes the CRC, which is what it defines as a valid frame, then the device must respond with an ACK. [05:46.510 --> 05:51.590] It even defines the time period that it has to respond in as 12 microseconds, but most devices don't play nice. [05:52.890 --> 05:56.890] So, this is a really kind of cool behavior, and it absolutely is real. [05:56.890 --> 05:59.030] It's what you have it on. [05:59.370 --> 06:01.590] But there are a couple of limitations. [06:01.590 --> 06:03.510] One of them is power-saving mode. [06:03.870 --> 06:12.110] So, devices will only respond if they are on, and most devices will have a period where they turn off to save battery. [06:12.110 --> 06:15.830] If devices were on all the time, you would drain your batteries very quickly. [06:15.990 --> 06:31.690] There's actually research done with polite Wi-Fi where they took security cameras that were made to have like 16 to 20 day batteries, and they were hitting them with these polite Wi-Fi frames to force them to stay on, and they drained the entire battery in just a matter of a few hours. [06:32.050 --> 06:34.810] So, power-saving mode is a big issue with this. [06:35.430 --> 06:38.510] We're already doing a little bit of work on how to overcome the power-saving mode. [06:38.510 --> 06:42.450] You have to be able to send out a beacon frame with what is called a traffic indication map. [06:42.830 --> 06:46.310] That is how devices know that the access point is trying to send them data. [06:46.450 --> 06:48.670] So, there are ways to kind of overcome this limitation. [06:48.670 --> 06:57.070] You can send it a traffic indication map saying, hey, I need you to turn on, and then you can send it the polite Wi-Fi frame to which it will then have to respond with an ACK. [06:57.870 --> 07:07.710] All of this isn't implemented in these devices yet, because this requires you to know the access point as well as the target device, and we're trying to minimize any layers of what you need to know in advance. [07:09.390 --> 07:13.410] So, this is why polite Wi-Fi is just considered an interesting anomaly. [07:13.410 --> 07:25.890] So, if you look at the community as a whole, like the RF Wi-Fi community as a whole, they don't really view polite Wi-Fi as an exploit, because it's just a behavior that is part of the 802.11 framework. [07:25.890 --> 07:27.850] It's not really anything. [07:27.850 --> 07:32.010] You have to already have a valid frame that is going to a known MAC. [07:32.010 --> 07:35.870] The device has to be on, so there's some limitations in it to even work. [07:35.870 --> 07:40.770] And then, even if it does work, you don't gain any extra information from the target. [07:40.830 --> 07:42.970] An ACK frame is extremely simple. [07:42.970 --> 07:49.150] I'll give an example of one later, but it only has a single MAC address on it, and that MAC address would be my own device. [07:49.150 --> 07:59.750] So, if my device sends out a frame to do the polite Wi-Fi attack, the ACK that comes back has my MAC address on it and nothing else. [07:59.750 --> 08:02.390] So, the target device doesn't really give anything away. [08:02.530 --> 08:04.450] So, again, this is just an interesting anomaly. [08:04.450 --> 08:06.390] Nobody really thought much of it. [08:07.710 --> 08:10.210] So, here's where we're going to go on yet another one of those tangents. [08:10.250 --> 08:11.290] Don't worry. [08:11.570 --> 08:13.690] It all comes full circle, I promise. [08:13.850 --> 08:17.370] So, we're going to talk a little bit about a technique called trilateration. [08:18.490 --> 08:24.150] Trilateration is, and this is one of the only times I'm actually going to read directly off the slide, because this is a very important definition. [08:24.150 --> 08:29.410] It is the process of using these distance measurements to estimate position. [08:29.610 --> 08:36.390] So, if you have distance measurements, this is the process of using those measurements to estimate the position of something. [08:36.930 --> 08:38.310] Really important. [08:38.370 --> 08:46.550] So, the way that you get these distance measurements is by using your known factors, which is time, speed, and distance, and the relationship between those three objects. [08:46.550 --> 08:49.790] This is where I mentioned my radar background comes into play. [08:49.970 --> 08:53.550] This isn't anything too complicated, but distance is equal to speed times time. [08:53.550 --> 08:57.290] That's the main formula that we're interested in and going to be looking at that. [08:57.430 --> 09:05.350] So , when you're doing this, you are beholden to your clock speed of your device measuring it, and that is really important when you are measuring the speed of light. [09:05.350 --> 09:07.770] The speed of light is very, very, very fast. [09:07.850 --> 09:12.790] Your clock, in comparison to the speed of light, is extremely slow. [09:12.810 --> 09:15.670] So, that is kind of your biggest limitation, is time. [09:15.670 --> 09:17.230] You can't control the speed of light. [09:17.270 --> 09:20.150] Your time is limited by the clock speed of your device. [09:20.150 --> 09:24.410] So, your distance measurement is going to be based on those kind of issues. [09:24.530 --> 09:30.010] So, the longer you can increase that distance traveled, the less problem you're going to have with your distance. [09:30.270 --> 09:38.030] We'll go into a little bit more math on that in just a minute, just kind of let that sink in, while we talk about a picture version of trilateration. [09:38.030 --> 09:42.750] You can see we're going to talk about the one on the left here, trilateration without Wi-Fi polite, how that works. [09:43.130 --> 09:46.710] You can see that there are three receivers here and a signal source. [09:46.710 --> 09:53.570] Those three receivers, you have to assume that they know the location of each other, so they know how far apart they are from each other. [09:54.270 --> 09:56.370] And their clocks are synchronized to each other. [09:56.370 --> 09:59.930] So, whenever they get a signal, they can synchronize that data and understand it. [10:00.690 --> 10:06.050] When the signal source sends out data, you can get a measurement of when that data gets received. [10:06.190 --> 10:09.830] So, you can calculate T1, T2, T3, the time from there. [10:09.830 --> 10:13.030] You can then use the time to calculate distance and use that to trilaterate. [10:13.030 --> 10:15.250] It's a big simplification of the trilateration process. [10:15.250 --> 10:22.710] It's a lot more complicated than this, but this is all you really need to know to understand how polite Wi-Fi can enhance this process. [10:23.750 --> 10:34.250] There are a lot of limitations to doing it this way, and a lot of the things, if you research Wi-Fi tracking, like using Wi-Fi to locate devices, this is the process that most of them use. [10:34.390 --> 10:38.330] You'll a lot of times see these devices that have multiple antennas sticking out in the same location. [10:38.450 --> 10:40.910] They're using this kind of a technique to trilaterate. [10:41.490 --> 10:46.830] If you're using polite Wi-Fi to do your trilateration, though, you have a couple of main advantages. [10:46.850 --> 10:51.790] The biggest one being, if you look, now your source and receiver are in the same location. [10:51.790 --> 10:55.110] They're now one device, which means you actually control the source. [10:55.230 --> 11:03.430] You know exactly when that source signal came out, which is a huge advantage over just having a random device that you're just getting a signal from. [11:03.430 --> 11:05.750] You have no idea when that device sent that data. [11:05.750 --> 11:07.170] You just know when you received it. [11:07.170 --> 11:11.050] In this situation, you know exactly when that signal came out. [11:11.070 --> 11:22.310] And you know the distance between your receivers, just like in the other one, which means you can now calculate from the receivers, you can actually back-calculate the clock time that the original signal came out. [11:22.810 --> 11:25.270] So this means you no longer have to synchronize your clocks. [11:25.270 --> 11:32.610] You can actually use the origin of your controlled source as a way to synchronize the clocks on the attack time. [11:32.930 --> 11:44.170] And then, you also have now increased that distance, because the signal has to go from the signal source to the target, the target has to process data, and then the target has to send data back out. [11:44.170 --> 11:50.030] So this is where it diverges from your traditional radar technologies, where it's just a straight bounced signal. [11:50.030 --> 11:52.530] Much easier to kind of get a distance measurement for. [11:52.530 --> 11:58.430] In this case, the signal goes to the device, and the device has to process something, and then send back out. [11:58.430 --> 12:04.190] This introduces what is called jitter, which is the amount of time it takes the device to process and send back out. [12:04.190 --> 12:08.530] In the 802.11 standard, it says that that is meant to be exactly 12 microseconds. [12:08.530 --> 12:11.070] That is absolutely not true in the real world. [12:11.070 --> 12:16.250] But don't worry, there are ways to solve for it, and we're going to talk about that here in a minute. [12:17.110 --> 12:24.570] This is just a dotted version of this, mostly for people who are watching the pre-recorded version of this talk, or who just see the slides. [12:24.570 --> 12:37.950] The important things that are here, that I didn't talk about at detail, is that in trilateration without Wi-Fi, or polite Wi-Fi, you have to take the data you've received, and you have to line it up. [12:37.950 --> 12:51.510] Because if you have a target that's sending out 100 frames a second, you need to know exactly which frame and which timing you're lining up with each different receiver, which involves a lot more processing and time. [12:51.510 --> 12:57.150] However, if you're using polite Wi-Fi, it is obvious exactly which frame belongs to which thing. [12:57.150 --> 12:59.410] You can back-calculate all of that time. [12:59.410 --> 13:11.190] So there's a lot of advantages when it comes to trilateration by adding that extra bounce in between, even though you do introduce jitter, which you don't have with the more traditional form of trilateration. [13:11.850 --> 13:18.990] And again, I just want to emphasize that increasing distance traveled for the signal increases accuracy. [13:19.630 --> 13:22.430] And that's where we're going to talk a little bit about the clock issue. [13:22.470 --> 13:27.870] This is your biggest limitation when it comes to accuracy, and this is true no matter what form of trilateration you're using. [13:28.490 --> 13:33.470] The best clock speed on an ESP32, at least the ones that I'm using, is a 240 MHz clock. [13:33.850 --> 13:42.650] If you calculate that with the speed of light, that means that a singular clock cycle, that's one operation, is 1.25 meters. [13:43.050 --> 13:53.410] So if your device, your target, is 1.25 meters away, and I get that data, if I miss a single clock cycle, I am now 100% inaccurate. [13:53.870 --> 14:01.910] If my device is 100 meters away, and I miss a single clock cycle, now I'm only 1% inaccurate. [14:01.910 --> 14:07.390] So you can see, this is why distance, and making that distance bigger, matters. [14:07.490 --> 14:12.890] And polite Wi-Fi gives you some agency over what that distance is. [14:12.950 --> 14:21.450] When you're doing the trilateration without Wi-Fi polite, your distance is just whatever the shortest path is from your receiver to the signal. [14:21.450 --> 14:24.150] But with this, you have control over it. [14:24.650 --> 14:32.130] You really can't get better clock cycles without external stuff, and I don't know if you've ever tried to put external clocks on an ESP32. [14:32.210 --> 14:33.710] They don't play nice. [14:33.850 --> 14:36.810] They're very difficult to get really good readings on those. [14:37.690 --> 14:40.850] So for this reason, you really need to worry about missed clock cycles. [14:40.850 --> 14:50.530] You need to make your program, you need to make your system absolutely focused on minimizing any missed clock cycles that you might have. [14:50.530 --> 14:54.750] Because again, one missed clock cycle is 1.25 meters of inaccuracy. [14:55.730 --> 14:58.770] Now, there's got to be a way to kind of account for this, right? [14:58.850 --> 15:02.710] You've got to account for jitter, which is going to be that unknown time it takes the device to process. [15:02.710 --> 15:10.990] You've got to account for the actual device itself missing clock cycles because you had to process that incoming frame to see if it was the right one you're interested in. [15:11.190 --> 15:14.150] And it turns out, somebody's actually solved all this. [15:14.550 --> 15:17.170] In fact, somebody's kind of done this entire project. [15:17.550 --> 15:18.230] YPeep. [15:18.230 --> 15:19.470] Has anybody here heard of YPeep? [15:19.470 --> 15:20.190] I'm just curious. [15:20.190 --> 15:22.490] Has anybody here actually read up on that research? [15:22.490 --> 15:25.510] Wow, actually, nobody seems to have known about it. [15:25.510 --> 15:26.750] So , YPeep's really cool. [15:26.750 --> 15:27.610] You should go look it up. [15:27.610 --> 15:29.630] A really great white paper on YPeep. [15:29.630 --> 15:36.530] They actually made a product, which attaches onto a drone, some ESP32s and an ESP8266. [15:36.550 --> 15:39.010] They send out these polite Wi-Fi frames. [15:39.010 --> 15:40.610] They get back the acts. [15:40.610 --> 15:43.030] They then put that with the GPS on the drone. [15:43.030 --> 15:50.610] They fly the thing around, and they claim, within a couple dozen centimeters of accuracy, they can locate devices, which is phenomenal. [15:50.670 --> 15:51.670] Absolutely amazing. [15:51.670 --> 15:54.190] They show the data on how they can account for jitter. [15:54.270 --> 15:55.990] They talk about all of this. [15:55.990 --> 16:00.410] And they're literally doing exactly what this whole project is about, which is awesome. [16:00.410 --> 16:04.070] And, again, according to their paper, they were incredibly successful with this. [16:04.070 --> 16:05.710] But there was a huge problem. [16:06.990 --> 16:12.730] Number one, they put it on a drone, which is really cool, but I want a cheap solution. [16:12.730 --> 16:14.750] And drones are not cheap, usually. [16:14.750 --> 16:16.850] They're a little cheaper now than they used to be. [16:16.970 --> 16:19.150] Number two, they did not release their code. [16:19.150 --> 16:25.130] In fact, I reached out to them to ask them about this, and I said, hey, your research is exactly something I want to do. [16:25.130 --> 16:27.810] I'd love to talk to you guys and get to know more about this. [16:27.870 --> 16:33.410] And they sent back a vaguely threatening email that essentially said, no, we filed a patent. [16:33.410 --> 16:34.690] We're commercializing this. [16:34.690 --> 16:35.650] Back off. [16:36.450 --> 16:44.390] And number three, their algorithms and charts that I was talking about that showed they accounted for jitter, they're super informative in the fact that they don't tell you a darn thing. [16:45.030 --> 16:46.910] They basically were just like, yeah, we solved jitter. [16:47.690 --> 16:49.090] We made a chart. [16:51.490 --> 16:56.150] So, the approach of using Ypeep is absolutely not viable, right? [16:56.150 --> 17:02.210] I have no access to their product, I have no access to their code, and I got a vaguely threatening response because I was curious about it. [17:03.410 --> 17:05.970] So, you know, we really can't do it. [17:05.970 --> 17:09.590] But, Ypeep did teach me a couple of really important things. [17:09.590 --> 17:20.770] Number one, most important thing Ypeep taught me is that this idea of using polite Wi-Fi to elicit extra information from the devices via signal analysis is possible. [17:20.910 --> 17:33.790] They show that you can use polite Wi-Fi and the ACK coming back from the signal to do kind of round-trip time calculations, start getting info from it, and have something that works as a result. [17:34.150 --> 17:42.870] The number two thing they taught me is that I absolutely, by any means, need to not do anything they did because they filed a patent and sent a vaguely threatening email. [17:42.890 --> 17:52.710] So, everything that I do, every solution I need to do needs to be completely developed on my own, and I need to make sure that compared to the limited information they do provide, I'm not touching any of their stuff. [17:52.710 --> 17:55.010] They've got their baby, I can't touch their baby. [17:55.010 --> 17:57.250] But, again, it was possible. [17:57.270 --> 17:58.790] This is something that works. [17:58.990 --> 18:03.950] And somebody out there has proven it, even if they haven't shared how they did. [18:04.970 --> 18:07.010] So, now I had to break down this problem, right? [18:07.010 --> 18:08.430] We have a couple of problems to solve. [18:08.430 --> 18:11.170] For one, we need a cheap, polite Wi-Fi implementation. [18:11.950 --> 18:17.450] We need to gather, send, and receive data from multiple locations in order to do this analysis, right? [18:17.610 --> 18:20.010] Trilateration requires multiple points. [18:20.410 --> 18:25.810] I need to actually do the analysis, like whatever that looks like, to do the trilateration to account for jitter. [18:26.010 --> 18:28.630] And I need some sort of user-friendly interface, right? [18:28.790 --> 18:32.630] All this stuff is great, but if nobody can use it, nobody's going to use it. [18:34.410 --> 18:40.610] So, from those problems, we are going to break down the gaps that need to be filled, and the things that are already solved. [18:40.670 --> 18:45.750] So, for one, trilateration and other signal analysis techniques, they're already known. [18:45.750 --> 18:48.290] Like, I don't need to reinvent trilateration. [18:48.290 --> 18:50.190] This is a technique that exists. [18:50.370 --> 18:51.930] I need to implement it. [18:52.070 --> 18:56.070] I need to find a way to make it work, but I don't have to create it. [18:56.070 --> 18:58.470] So, this is a gap that I do not need to fill. [18:59.050 --> 19:00.750] The next one is a user-friendly interface. [19:00.750 --> 19:02.090] I mean, come on, that's entirely doable. [19:02.090 --> 19:03.390] Form follows function, though. [19:03.390 --> 19:04.930] So, I just put that to the back of my mind. [19:04.930 --> 19:06.770] We'll figure that out when we get there. [19:06.770 --> 19:09.530] We have to have something for the user to interface with. [19:09.890 --> 19:11.870] And then, finally, gathering send and receive data. [19:11.870 --> 19:14.250] Well, this is all using the 802.11 framework. [19:14.250 --> 19:17.230] That's kind of what the 802.11 framework is made for. [19:17.230 --> 19:21.090] So, there's got to be some way for that to already be a solved problem as well. [19:21.250 --> 19:26.890] Which means that the problem that needs to be filled, the gap that I need to fill, is a hardware solution. [19:26.890 --> 19:34.230] Like, I need to find some hardware that can do polite Wi-Fi and is capable of sending and receiving the data that I need it to send and receive. [19:34.430 --> 19:36.270] That is actually a gap to fill. [19:36.270 --> 19:37.830] Everything else isn't a gap. [19:37.830 --> 19:38.390] It's solved. [19:38.390 --> 19:39.890] I just need to figure it out. [19:40.750 --> 19:43.090] So, now we're on to the hardware selection. [19:43.110 --> 19:44.950] I'm personally a fan of Espressif. [19:44.950 --> 19:46.190] I love their stuff. [19:46.190 --> 19:46.710] It's cheap. [19:46.710 --> 19:47.410] It's accessible. [19:47.410 --> 19:48.190] It's awesome. [19:48.190 --> 19:50.030] Their documentation is amazing. [19:51.070 --> 19:52.830] And, yeah, they're cheap. [19:52.830 --> 19:58.010] They also have ESP-Now, which is a mesh capability for sending and receiving data between ESPs. [19:58.010 --> 19:59.050] It's awesome. [19:59.330 --> 20:02.870] And , the ESP-IDF allows for low-level control. [20:02.870 --> 20:06.350] Meaning, I can send and receive 802.11 frames directly. [20:06.350 --> 20:19.010] I don't have to do any weird thing where I'm, like, trying to change my device's Mac and I can literally just write an array of bytes and say, send this as an 802.11 frame and it will say, yes, sir. [20:19.010 --> 20:20.570] And send that frame off. [20:20.830 --> 20:28.510] So, in the end, the actual kit that I chose with the ESP 32 S2 Solo 2, it is on the DevKit C and it is $8. [20:28.530 --> 20:29.390] I love it. [20:29.430 --> 20:31.370] It's what's in these guys right here. [20:31.370 --> 20:32.090] It's great. [20:32.150 --> 20:33.730] Bought a bunch of them, set them all up. [20:34.890 --> 20:36.490] So, now we have to break down the problem further. [20:36.490 --> 20:37.670] So, we have our solution. [20:37.750 --> 20:38.810] What do we need to do with it? [20:38.870 --> 20:41.270] Problem number one, we need to implement polite Wi-Fi. [20:41.270 --> 20:43.750] Problem number two, we need to implement ESP Now. [20:44.250 --> 20:47.330] Well, ESP Now, again, looking at gaps that need to fill. [20:47.330 --> 20:50.470] So, we're focusing our problem solving on gaps that need to fill. [20:50.470 --> 20:51.850] So, we're not going to reinvent the wheel. [20:51.850 --> 20:53.950] We're not going to start with something that's already solved. [20:53.950 --> 20:57.650] We're going to start with the thing that we need to prove that this technology can work. [20:58.690 --> 21:01.430] And, ESP Now has great documentation. [21:01.690 --> 21:02.790] It's implemented. [21:02.790 --> 21:04.430] It already exists. [21:04.430 --> 21:06.650] I don't really need to, again, reinvent that. [21:06.650 --> 21:07.730] I don't need to work with that. [21:07.730 --> 21:13.170] I just need to figure out how my solution fits into the already existing solutions that are out there. [21:13.410 --> 21:16.990] So, that means problem number one is to implement polite Wi-Fi. [21:16.990 --> 21:21.190] There's nothing out there right now that shows you how to do polite Wi-Fi on this stuff. [21:21.430 --> 21:30.170] The papers talk about the technical side of how to do it, but they don't provide any direct examples of here's what you do, here's when you do it, here's how you do it, here's what it looks like. [21:30.350 --> 21:32.550] So, that is our problem to solve. [21:33.690 --> 21:38.210] So, now, to implement polite Wi-Fi on an ESP32, we need a couple of things. [21:38.350 --> 21:39.890] Number one, we need a valid frame. [21:40.590 --> 21:42.270] Number two, we need the target. [21:42.730 --> 21:45.610] Number three, we need to set our source ourselves. [21:45.610 --> 21:46.910] We need to set our source MAC. [21:47.030 --> 21:51.690] We need the ability to send those 802.11 frames, and we need the ability to receive ACKs. [21:52.530 --> 21:54.290] You can see here, these are the frames I chose. [21:54.290 --> 21:57.070] I chose a null data frame because they're small, they're quick, they're easy. [21:58.350 --> 22:05.230] And you actually can throw some data on them if you want, but they are generally just a blank frame that's used to kind of keep a live signal. [22:06.130 --> 22:09.950] And then the ACK coming back, you can see that is an extremely simple frame. [22:09.950 --> 22:12.530] It's just got the frame control, which tells you that it's an ACK. [22:12.530 --> 22:19.310] It's got how long that frame is going to be there, the MAC receiver, and the end. [22:19.450 --> 22:21.570] There's almost no information in an ACK. [22:21.570 --> 22:26.070] But we need the ability to do all of this within the ESP32. [22:26.290 --> 22:30.810] So the first thing that we need to do in there is implement our first user interface. [22:30.810 --> 22:32.910] The user needs to be able to set the target. [22:32.910 --> 22:34.870] The user needs to be able to set their source. [22:35.150 --> 22:44.090] So we did that using the non-volatile storage, the NVS, on the ESP32, and a serial interface, just a basic serial interface, to put the data in. [22:44.090 --> 22:50.150] So again, this is our first instance of a user interface implementation, form follows function . [22:50.150 --> 22:52.770] So the function is, they need to set the target and the source. [22:52.770 --> 22:56.070] The form easiest was to just have a serial interface to do so. [22:57.190 --> 23:08.330] Also, by using the non-volatile storage, you can reboot your device, so you plug it into your computer, use your serial to set the data, then you can unplug it, and plug it into a battery power source, and you don't lose your target, right? [23:08.330 --> 23:11.610] It's not stored in memory, it's actually stored on the device. [23:13.110 --> 23:16.190] So the next thing we needed to do was implement a frame. [23:16.450 --> 23:19.990] Again, I chose a null data frame for this, because they are small and easy. [23:20.510 --> 23:21.970] They're very quick. [23:22.290 --> 23:27.490] They contain all of the details that you need, your destination, your source, and your BSSID. [23:27.970 --> 23:34.310] In this particular case, we actually set the BSSID and the source to the same thing, because we don't know the access point of the target. [23:34.310 --> 23:35.390] We don't really care. [23:35.810 --> 23:37.590] The target doesn't even really care. [23:37.590 --> 23:39.590] We just need to send something valid. [23:40.010 --> 23:41.850] And this is a very easy frame to get valid. [23:41.850 --> 23:43.910] They're quick to calculate, quick to put out there. [23:45.970 --> 23:49.590] The next thing is, we need to put the ESP32 into promiscuous mode. [23:49.950 --> 23:53.410] And with promiscuous mode, there are a bunch of filters that you can set. [23:53.430 --> 23:57.250] So we set the filters in promiscuous mode to read ACK frames. [23:57.570 --> 24:02.330] There's a lot of them out there, so you've got to have really quick processing for this, so you don't fill your buffer. [24:02.810 --> 24:04.830] But easy to do. [24:04.830 --> 24:05.550] And you know what? [24:05.550 --> 24:13.110] While we were looking at putting in promiscuous mode for ACK frames, well, you can set some filters for other types of frames too, so why the heck not? [24:13.110 --> 24:15.310] Let's also look at management frames and data frames. [24:15.310 --> 24:17.690] Those will tell you if your target's in the area passively. [24:17.690 --> 24:23.050] So we now have put the passive scanning feature into this device that has that active scan. [24:23.050 --> 24:24.070] So we have both. [24:24.070 --> 24:29.870] If your device sends out a beacon, we'll pick that up, and it'll also pick it up if we send out the polite WiFi. [24:29.870 --> 24:32.450] It can do both at the same time, so why not? [24:32.710 --> 24:34.330] And don't forget to channel hop. [24:34.850 --> 24:37.210] That was a mistake I made early on. [24:37.210 --> 24:39.010] Don't forget to hop through channels. [24:41.090 --> 24:44.870] So the next step is to do the next level of user interface, right? [24:44.870 --> 24:54.630] The user needs to be able to do something with this data, and I don't want people to have to be walking around with their laptop out all the time, reading the serial interface. [24:55.050 --> 25:00.950] So I decided the easiest, again, form follows function, is to just throw two LEDs on the darn thing. [25:01.190 --> 25:06.710] One of them blinks faster if the signal is stronger, and the other one is brighter if the signal is stronger. [25:07.570 --> 25:09.050] I have them right here. [25:09.050 --> 25:10.350] You can see they're blinking right now. [25:10.350 --> 25:14.670] These are actually currently hunting the foxes that are set by the CTF. [25:15.790 --> 25:17.910] And you can see I actually have a blink. [25:17.910 --> 25:20.070] This blink is just to let me know that it's working. [25:20.070 --> 25:22.050] So you've got the power LED on these things. [25:22.050 --> 25:25.410] Then you've got this, which is kind of like my software is functional LED. [25:25.470 --> 25:28.950] And then once I get a signal, this LED will turn on. [25:29.070 --> 25:31.650] It'll actually get brighter if the device is closer. [25:31.650 --> 25:35.870] However, in my experience, it is really hard to tell if something is brighter or not. [25:35.870 --> 25:38.850] If you've ever actually used LEDs that do that, it's pretty much impossible. [25:38.850 --> 25:42.870] That's why I added the second one, which is the faster blink, because that is very clear. [25:43.170 --> 25:47.290] You can actually move these closer to devices and it will just go nuts. [25:48.110 --> 25:51.250] Very, very easy and clear to see when it is functional. [25:52.790 --> 25:54.550] And yeah, it started off as just the one LED. [25:54.550 --> 26:03.070] I ended up adding the second one, and now we have a user interface that is very clear indication of the RSSI, of the signal strength of their target you're looking for. [26:04.790 --> 26:07.970] So, I'm going to do a little demonstration of the device. [26:07.970 --> 26:10.650] Like I said, I've had them running right here the whole time. [26:11.290 --> 26:16.270] I actually think it might be easiest if I do the demonstration by grabbing the video that I have of it. [26:16.990 --> 26:18.230] We'll do that here. [26:18.370 --> 26:21.870] Go ahead and finish the talk, and then I'll pull up the video for you guys to do that. [26:22.030 --> 26:27.570] The main reason being, I don't have foxes nearby for myself to target. [26:27.650 --> 26:34.270] If anybody wants to volunteer a fox, I just need a 2.4 gigahertz device, and we can actually see these things in action. [26:34.270 --> 26:36.370] But, it's really simple, like I said. [26:36.370 --> 26:38.590] Light turns on when you get a signal. [26:38.590 --> 26:40.310] Light blinks faster when you get closer. [26:40.350 --> 26:43.830] It is not rocket science on that, and it's super easy. [26:43.830 --> 26:46.010] The whole point I made it, again, was accessibility. [26:46.170 --> 26:50.950] I want this to be something that you have somebody on your team who can say, provision these devices, right? [26:50.950 --> 26:59.890] They build the repo, they flash it onto a device , you set the target, and you can hand it off to anybody and just say, hey, play hot or colder. [26:59.890 --> 27:01.550] You got a 2 .4 gigahertz? [27:01.590 --> 27:02.250] Awesome. [27:03.010 --> 27:05.950] The next thing I actually need is a USB micro cable. [27:06.230 --> 27:08.570] Anybody here could run to the table that I have? [27:08.850 --> 27:11.350] I've got a couple people out here who have been working with me. [27:11.350 --> 27:14.510] Somebody could run to the table and grab a USB micro cable off my laptop. [27:14.510 --> 27:16.330] I'd appreciate that, or off my desk. [27:18.830 --> 27:25.490] So, you know, I want it to be something that you can just hand it off to somebody, and they don't know anything about how this works. [27:25.490 --> 27:26.250] They don't need to. [27:26.250 --> 27:29.890] They just need to know, hey, if it's blinking, you're closer. [27:30.450 --> 27:32.250] And honestly, this has been really successful. [27:32.250 --> 27:36.790] We've had a number of people that have come up and been interested in these devices, and I've illustrated it to them. [27:36.790 --> 27:43.770] I've handed it off to a few people that I work with who have no idea about any of this code that's in the background and how it's running, and it's super easy. [27:43.950 --> 27:46.070] They can go out and see it. [27:47.610 --> 27:49.670] So again, I'm going to go ahead and do the conclusion. [27:49.670 --> 27:52.090] Like I said, we'll do a little bit of a demo here in just a minute. [27:53.070 --> 27:59.490] And the conclusion is that the goal was to create a real-time tracking widget for Wi-Fi devices. [28:00.010 --> 28:02.570] And that is not finished, but that is well underway. [28:02.570 --> 28:07.590] And on the way, we have this proof-of-concept device that actually does it. [28:07.810 --> 28:12.110] The technology there is available, accessible, and cheap, which was all the goals. [28:12.110 --> 28:12.690] And it's proven. [28:12.690 --> 28:13.590] Do you have the cable? [28:13.610 --> 28:14.310] Awesome. [28:14.390 --> 28:15.650] And it's proven. [28:15.690 --> 28:21.670] So because of that, this is a pretty successful little device, and it's on the way. [28:21.730 --> 28:33.410] All the problems that are left are items that, again, when we were doing our problem solving breakdown, and we were looking at it, all of those problems that are left are ones that have been solved in one way or another. [28:34.070 --> 28:35.950] So all we have left to do is implement them, right? [28:35.950 --> 28:36.930] That's the easy part. [28:37.410 --> 28:38.430] Just do it. [28:40.210 --> 28:41.870] So if you would like to... [28:44.340 --> 28:46.820] I want to set down the microphone, but I don't want to move that thing too much. [28:46.820 --> 28:48.460] So you said you had a 2 .4 gigahertz device? [28:48.460 --> 28:49.960] You got the MAC address for it and stuff? [28:53.330 --> 28:57.210] So I'm going to go ahead and unplug this here real quick while I set up a serial reader. [29:32.790 --> 29:33.990] Don't you love demos? [29:34.010 --> 29:35.350] Aren't they always the best, you know? [29:35.570 --> 29:36.950] Always work first time. [29:49.880 --> 30:04.200] So I know one thing I can do, it's a little bit of a cheap trick, but I can just look for the DC32 Wi-Fi and start beaconing off of that, but that's not as cool because they're kind of up and around, so I can't show you that it blinks faster when you get closer because you can only get so close to those. [30:24.740 --> 30:26.460] All right, we've got serial interface up here. [30:26.460 --> 30:27.460] Let me plug it back in. [30:32.060 --> 30:34.460] All right, so yeah, here we have the serial output from this device. [30:34.520 --> 30:36.020] It's just kind of giving me some data right now. [30:36.020 --> 30:39.000] It's essentially just telling me that, hey, I don't see the target. [30:39.200 --> 30:45.540] So I just need the MAC of a useful device and I don't even have my phone on me, so I can't grab that. [30:52.690 --> 30:54.330] We're connected to DC32 right here. [30:54.330 --> 30:57.810] I wonder if I can just grab the MAC address of my access point here. [31:03.010 --> 31:04.070] There we go. [31:07.780 --> 31:08.700] So 3CE9. [31:08.700 --> 31:12.020] So we're going to type it in here, target MAC [31:16.650 --> 31:22.150] 3C E9 [31:26.220 --> 31:33.140] F7 So one thing that this might not work is this might be the 5 GHz band, so we will see. [31:38.310 --> 31:38.750] 0483 [31:44.820 --> 31:46.680] And I misspelled target MAC. [31:47.800 --> 31:49.020] Isn't that great? [32:17.160 --> 32:24.280] All right, we're going to fall on pan B here, which is the video demo, because demo gods are not on my side today. [32:36.290 --> 32:44.510] So the video, what you're going to see is I actually, when I was testing these devices, I was picking random MAC addresses in my house that I had no idea what these devices were. [32:44.510 --> 32:46.250] I didn't even know if they were in my house. [32:46.750 --> 32:51.990] I was just going for it. [32:52.010 --> 33:00.990] And as a result, I decided to use that as my first, like, fox hunt, was to figure out what these devices were that I was using. [33:03.450 --> 33:04.630] So let's see. [33:04.630 --> 33:06.430] Make sure this is the right video real quick. [33:17.970 --> 33:21.090] All right, you guys are going to see the lovely inside of my house as well here. [33:21.090 --> 33:22.130] This is going to be great. [33:26.720 --> 33:27.700] Real quick question. [33:27.700 --> 33:30.080] Is there sound coming from the HDMI? [33:31.340 --> 33:32.100] There is not. [33:32.100 --> 33:33.800] All right, so I will talk through it then. [33:34.980 --> 33:38.380] So, see my lovely face here talking to it. [33:38.380 --> 33:40.260] So this is in the pre-recorded version. [33:40.260 --> 33:41.660] If you're seeing, there's actually two videos. [33:41.660 --> 33:48.920] This is one where I actually show the device itself because you guys can actually come up here after we're done with the talk if you want to come up, ask questions, see the device. [33:49.120 --> 33:50.380] We can talk a little bit more about it. [33:50.380 --> 33:51.240] I'd be happy to. [33:51.480 --> 33:52.380] So you can see that's there. [33:52.380 --> 33:53.420] It's on the breadboard. [33:53.420 --> 33:54.980] It's one of the earliest versions of the device. [33:54.980 --> 33:56.660] Just barely getting it functional. [33:56.980 --> 34:02.300] And I'm talking through the fact that I'm getting ready to go and fox hunt stuff in my own house. [34:07.430 --> 34:08.770] It's unfortunate there's no sound. [34:08.770 --> 34:11.290] I swear, I'm giving you the greatest speech of your life. [34:11.290 --> 34:14.890] Like, if you could hear me talking on that video right now, you would be just wowed. [34:16.530 --> 34:17.970] So I started in my basement. [34:17.970 --> 34:22.330] I could tell that it wasn't in there because you can see that it is blinking, but it's not blinking that great. [34:22.330 --> 34:25.390] But as I go up the stairs of my house, I'm blinking faster and faster. [34:25.430 --> 34:27.430] I actually have no idea where this device is. [34:27.430 --> 34:28.970] This is not a directional antenna. [34:28.970 --> 34:30.750] This is an omnidirectional antenna. [34:30.810 --> 34:34.450] The only data I have to identify this stuff is the signal strength. [34:35.310 --> 34:43.330] So, you know, tracking stuff down is understandably a little bit more difficult because of that, but you can see that it is entirely possible. [34:43.330 --> 34:46.310] As I'm moving through the house, I'm checking different Wi-Fi devices that I see. [34:46.470 --> 34:50.250] You can see it's blinking slower, so that obviously wasn't the device. [34:50.390 --> 34:52.550] You can see my children absolutely love to color. [34:52.670 --> 34:53.610] I got a little doggie there. [34:53.610 --> 34:54.550] Her name's Blueberry. [34:55.510 --> 34:57.010] Kids love to color or play. [34:57.010 --> 34:58.050] Kids kind of take over the house. [34:58.050 --> 34:58.950] You know how that can be. [34:59.510 --> 35:02.110] As you can see, I'm getting faster, so I'm thinking it might be my oven. [35:02.110 --> 35:05.850] I know my oven has a Wi-Fi device in it, but it doesn't seem to be the oven. [35:05.970 --> 35:09.470] I don't think that I have any Wi-Fi devices on the counter, but you might as well check. [35:09.510 --> 35:12.690] Again, you can use that blinking light really easy to see where that is. [35:13.390 --> 35:27.570] As I move into this room, it's going faster and faster, so the first thing I go to is my Switch, and I also have a device hiding behind the TV, a little Google Chromecast thing, and a sound bar, all of which might be the device, but we're not sure. [35:27.570 --> 35:30.610] I actually didn't even know how fast the fastest blink was at this point either. [35:30.610 --> 35:32.610] I just kind of programmed it, and off I went. [35:33.250 --> 35:37.570] And then, as you can see, I got really close, and that little blinking light is just going insane. [35:37.570 --> 35:41.530] So you can see I've located that it is that little smart speaker right there. [35:41.530 --> 35:46.490] So you can kind of see that's how the device operates when it is functioning. [35:48.550 --> 35:50.290] So let's get back to the presentation. [35:53.700 --> 35:57.720] And yeah, now's the time for questions if anybody has any questions you want to ask. [35:58.040 --> 35:59.220] I'll answer as many as I can. [35:59.220 --> 36:00.900] It's a little bit loud, so please do speak up. [36:00.900 --> 36:01.500] Yes, sir? [36:07.320 --> 36:08.640] I'm sorry, I can't quite hear you. [36:08.640 --> 36:10.520] Let me come forward a little bit. [36:10.520 --> 36:12.220] I heard the first part of the question. [36:19.350 --> 36:23.790] Alright, so the question was, if you wanted to evade this, could you use traffic control to increase the jitter? [36:24.010 --> 36:34.090] So, if you do that, your device is not responding to acts correctly anymore, which will cause all sorts of other issues, because your device must act any valid frame it receives. [36:34.090 --> 36:35.950] That is an 802.11 standard. [36:36.230 --> 36:40.250] You would probably end up with connectivity issues in general if you did something like that. [36:41.130 --> 36:52.510] I've thought about a number of different ways to try and evade this kind of technique, and an important thing to note about these devices is, for one, that they also do passive scanning, which you can't really evade a passive scan, but for the active side, [36:52.510 --> 36:57.190] again, your device has to respond to a valid frame. [36:57.550 --> 37:00.750] So, if the valid frame comes to you, you need to do that. [37:00.750 --> 37:09.590] If you wanted to try and implement something that didn't respond with an act, you would likely end up with issues with 802.11 control, right? [37:09.630 --> 37:21.770] Devices would send a packet to you, not receive the act, and go, oh, I better send it again, and send it again, until they actually receive that proper act at the end. [37:23.770 --> 37:24.930] Yes, sir? [37:27.110 --> 37:29.010] Am I going to release the code? [37:29.090 --> 37:31.390] The answer is, after DEF CON. [37:33.830 --> 37:41.690] So, when we are able to do any sort of code release or code reviews, it's currently under review right now, before release. [37:42.150 --> 37:53.430] I was talking, I think the best place for that to be communicated out will be either on the Discord, or in the video description, when the actual recorded version of this talk goes live. [37:53.530 --> 38:00.630] So, if you're not on it, the Radio Frequency Sanctuary Discord, I forgot the exact name of it off the top of my head, but that Discord is a great place. [38:00.630 --> 38:01.530] All these guys are on it. [38:01.530 --> 38:02.430] They're super responsive. [38:02.430 --> 38:04.310] I've got to say a big thank you to the admin team. [38:04.870 --> 38:06.850] So , if you're not on that Discord, get on the Discord. [38:06.850 --> 38:08.850] Lots of great stuff being shared there. [38:10.450 --> 38:11.090] Yes, sir? [38:18.610 --> 38:22.430] Yes, so the question was, I mentioned trial iteration, but I was only doing one device on the video. [38:22.430 --> 38:25.850] So, that is where I'm specifying, this is the proof of concept device. [38:26.110 --> 38:38.370] So, the full problem statement gets broken down into a number of different steps, and one of them is the fact that there need to be multiple devices communicating to each other, and the data needs to be able to be correlated between the devices. [38:39.310 --> 38:43.410] However, in that, I broke down which problems I needed to solve first. [38:43.410 --> 38:45.790] Which problems don't have a solution. [38:45.790 --> 38:47.670] Trial iteration is something that exists. [38:47.670 --> 38:48.570] It's solved. [38:48.570 --> 38:51.230] Well, it's not solved, but there are algorithms for it. [38:51.230 --> 38:52.790] There's research on it. [38:52.790 --> 39:00.290] But doing polite Wi-Fi on an ESP32 and collecting that data on the same device is not solved. [39:00.290 --> 39:04.490] So, this is a proof of concept of that part of the chain. [39:04.490 --> 39:09.190] So, the full trial iteration and that scale is not implemented on these singular devices. [39:09.190 --> 39:13.450] Again, that's a big weakness that you saw when I was doing the hunt with the device. [39:13.510 --> 39:17.690] I only had the signal strength on an omnidirectional antenna. [39:17.910 --> 39:30.350] It doesn't do the full scale trial iteration yet, but the point of the presentation was to break down which of those problems are solved, how they're solved, and how this device fits into all of that with a solution for the one missing piece. [39:51.970 --> 39:57.330] So, the question was about private MAC addresses from an iPhone and an iPad. [39:57.330 --> 40:02.430] So, I unfortunately am not familiar with how exactly that protocol works or how that would work. [40:02.430 --> 40:07.950] I know that if it uses 802.11 to send and receive frames, that's what this is. [40:07.950 --> 40:11.970] These are 802.11 frames that these are looking at and using and manipulating. [40:11.970 --> 40:17.370] So, if the device is using 802.11 to communicate, this would affect it. [40:17.970 --> 40:21.210] Do iPads and iPhones have something proprietary that is outside of that? [40:21.210 --> 40:22.750] I honestly don't know. [40:24.090 --> 40:25.470] Somebody's shaking their head. [40:25.470 --> 40:28.370] So, you would end up seeing if it's private MAC. [40:28.370 --> 40:29.410] Do you know what that means? [40:29.630 --> 40:31.030] I'm not familiar with that. [40:35.060 --> 40:37.960] So, apparently with that, they pick a new MAC address. [40:38.060 --> 40:47.220] So, that actually would affect this quite a bit because you set the target MAC and unless you had something to update that target MAC with the new MAC address, it wouldn't work. [40:47.760 --> 40:51.680] I don't know if maybe you could put it into a filter that says all MAC addresses or something like that. [40:51.740 --> 40:59.200] There's ways that you could attempt to do that, but the way that this device works is once you set that target MAC, that's what it's hunting. [40:59.200 --> 41:04.480] So, if your device is rotating MACs, then by all means that would evade this device. [41:05.140 --> 41:05.760] Yes. [41:24.010 --> 41:25.450] Yeah, and I apologize. [41:25.450 --> 41:27.850] I'm a big part of the 2.4 traffic right now. [41:28.270 --> 41:33.790] So, he was just saying that was the gentleman who volunteered to use his phone as a 2.4 GHz target. [41:33.790 --> 41:37.090] He was just saying that's exactly what's happening with his phone. [41:37.090 --> 41:41.070] It was kind of rotating MACs and he couldn't even get his own devices to connect to it. [41:41.070 --> 41:51.430] So, yeah, if we're talking about evasion techniques, rotating your MAC address would be an effective evasion technique as it would for any Wi-Fi scanner that's looking for a target MAC. [41:51.430 --> 41:54.910] If you change your MAC, then it's no longer able to see who you are. [41:57.440 --> 42:01.940] Any other questions or anybody have anything else that they'd like to add? [42:02.120 --> 42:03.880] So, I do have one more quick little bonus slide. [42:03.880 --> 42:07.260] It's nothing too crazy, but I did want to talk about this donkey. [42:07.520 --> 42:10.780] So, this is a donkey named Maggie and she is wearing a blanket. [42:10.780 --> 42:13.520] So, it is a blanketed donkey. [42:15.140 --> 42:16.500] Hopefully, you get the reference. [42:17.100 --> 42:20.440] So, I wanted to take a moment to talk about how else this is different than Ypeep. [42:20.440 --> 42:24.700] Again, Ypeep is a solution that supposedly exists, so I do want to kind of cover this real quick. [42:24.960 --> 42:28.040] For one, Ypeep actually uses two devices that are co-located. [42:28.040 --> 42:39.460] This is a very, very, very common solution for this because it is really hard to send a transmit and then immediately receive that ACK back because it happens so, so, so quickly. [42:40.140 --> 42:49.540] This does not rely on co-located devices and it does not, it can use an arbitrary number of devices even. [42:49.540 --> 42:51.980] The idea is to have this be a mesh at the end of the day. [42:52.020 --> 42:54.320] So, the number of devices don't really matter. [42:54.320 --> 42:59.900] They can work together and it is totally different than their co-located one sender, one receiver. [43:00.700 --> 43:09.980] And I have tested, you can in fact on at least the way I have programmed these, at least the way this works, it will receive the ACK from its own send, its own transmit. [43:09.980 --> 43:13.140] It is fast enough to transmit and then receive that ACK. [43:14.360 --> 43:20.840] The other thing is, they used an 8266 and an ESP32 of unknown type. [43:21.760 --> 43:26.640] Ours just uses an ESP32S2 so we are using a totally different hardware base. [43:26.640 --> 43:31.600] Those don't mention which one is the receiver, which one is the sender or how they are doing any of that. [43:31.600 --> 43:32.780] So, different hardware. [43:32.880 --> 43:37.560] And the final thing is that their trilateration techniques relied on drone GPS. [43:38.360 --> 43:47.860] The trilateration that we are talking about doing will use round trip time between the devices in the mesh so that they can locate each other in an arbitrary location. [43:48.100 --> 43:54.380] The idea is that the user would then pin one of them using a GPS or even just on an arbitrary map. [43:54.380 --> 43:56.400] You could just draw a map on your screen. [43:56.840 --> 44:06.600] Say this device is here and then the devices will get the distance to each other and locate devices within that area net that they have cast. [44:07.260 --> 44:10.580] Totally different techniques when it comes to how the trilateration is working. [44:10.580 --> 44:12.040] Totally different set of hardware. [44:12.580 --> 44:16.600] And a totally different send and receive methodology. [44:16.980 --> 44:19.380] Again, that is my donkey being covered. [44:22.900 --> 44:25.640] If anybody wants to come up here and see the devices, chat with me. [44:25.640 --> 44:28.640] I am more than happy to hang around for a little bit. [44:28.640 --> 44:30.860] Talk to you guys, let you guys interact with the devices. [44:32.280 --> 44:34.480] And yeah, we will call the talk here. [44:34.480 --> 44:37.520] Thank you all for coming and hopefully you have a great rest of your day.