WEBVTT

00:05.940 --> 00:07.780
Good afternoon, everybody.

00:08.040 --> 00:11.200
I get to kick off the presentations for this afternoon.

00:12.400 --> 00:20.460
If you've ever looked up in the sky, seen an airplane, and thought, I wonder if they're trying to find my wireless access point.

00:20.980 --> 00:24.180
I'm here to tell you, they might be.

00:24.920 --> 00:30.860
I'm Matt Thomason, and I'm here to present Warflying in a Cessna, Part 2, Upping Our Game.

00:32.160 --> 00:33.980
I work with computers.

00:33.980 --> 00:35.820
My day job is security architect.

00:35.820 --> 00:39.020
That has pretty much nothing to do with what I'm about to present.

00:39.420 --> 00:47.480
But I also have my commercial pilot certificate with multi-engine and instrument ratings, and airframe and power plant mechanic certificate.

00:47.900 --> 00:58.600
And I'm presenting on behalf of myself and my colleague, Sean McKeever, who is not able to be here today, who is a cybersecurity researcher, architect, hacker, race car driver.

00:58.600 --> 01:07.080
When I say we, I'm well aware that I'm one person standing up here, but I'm referring to the work that both of us did collectively.

01:07.200 --> 01:12.320
We introduced the Warflying project last year at DEFCON.

01:12.320 --> 01:15.980
There's a video on the DEFCON YouTube channel.

01:16.160 --> 01:18.340
Go check it out for more background.

01:18.340 --> 01:30.680
Essentially, war dialing, including Professor Falcon, became war driving, and then that has branched off into a number of different war transportation modes.

01:30.680 --> 01:32.320
So in our case, warflying.

01:32.720 --> 01:40.560
And we're going around collecting data about wireless access points from a small airplane.

01:40.560 --> 01:54.760
Typically, we've found it works best to stay around 1,500 feet above the ground, which I will note is a lot lower than airliners usually fly and a lot higher than cars usually drive.

01:54.760 --> 02:02.640
So that lets us get some obstacles out of the way because Wi-Fi is very line of sight.

02:03.480 --> 02:08.920
So we wanted to see if we take out the obstacles, what can we see?

02:08.920 --> 02:10.080
What can we find out?

02:13.380 --> 02:17.040
Also, I should say, we are still not expert war drivers.

02:17.820 --> 02:21.280
And some of this is showing our mistakes and the things that we've learned.

02:21.280 --> 02:26.660
Please don't consider this the definitive manual on warflying, that we have solved the warflying problem.

02:26.760 --> 02:35.120
This is a progress report, and this is updating what we've done and sharing some information about that.

02:36.260 --> 02:41.700
Last year in the presentation, I gave a pretty good safety disclaimer and discussion of airspace.

02:41.740 --> 02:49.580
If you are a pilot and are considering doing this, I highly recommend going back and reviewing that to understand those issues.

02:49.580 --> 02:52.160
So I won't go into a lot of that here, but I will say one thing.

02:52.160 --> 02:55.620
If you are a pilot, rule number one, fly the airplane.

02:55.620 --> 03:02.480
Don't get distracted with the shiny electronic gadgets, the laptops, the displays, whatever is going on in the airplane.

03:02.480 --> 03:13.140
Your job is to not run into anything, among other things, not run into towers, other airplanes, terrain, and it's low-level maneuvering.

03:13.140 --> 03:16.620
So you've got to be right on top of flying the airplane.

03:18.780 --> 03:27.680
And as a result of that, while it is possible to do solo warflying, we think it's best done as a team sport.

03:28.020 --> 03:30.660
Hence the obligatory cockpit selfie.

03:31.700 --> 03:38.560
Most of our data was collected in a Cessna 172, pretty standard small airplane.

03:38.560 --> 03:43.900
Goes about 120 miles an hour, which is about 176 feet per second.

03:43.900 --> 03:48.820
Has four seats, has a high wing, and it's constructed of aluminum.

03:49.280 --> 04:03.260
So the high wings let us not have wireless signals blocked as much by the wings, but the aluminum fuselage construction will definitely come into play later, so remember that.

04:03.800 --> 04:08.700
So last year we presented the project and were wondering, is this interesting to anybody?

04:08.700 --> 04:10.200
Is this cool?

04:10.200 --> 04:11.300
Is this good?

04:11.300 --> 04:13.600
And we got some good response from it.

04:13.640 --> 04:16.340
So we thought, okay, let's keep going.

04:16.440 --> 04:23.260
Last year what we had collected was essentially a bunch of data validating that we could see some things.

04:23.260 --> 04:27.060
But we didn't really know how much we were seeing.

04:27.060 --> 04:35.400
We didn't really have a way to measure our equipment and validate what's picking up things well, what can be better.

04:35.740 --> 04:39.740
So we wanted to answer some questions.

04:39.740 --> 04:44.000
A little background on how do we even see access points?

04:44.000 --> 04:46.260
Because Wi-Fi is magic, right?

04:46.260 --> 04:50.100
You just turn on your phone and there's the Wi-Fi and boom.

04:50.560 --> 04:52.380
No, of course not.

04:52.380 --> 05:10.860
Wireless access points generally, and there can be some nuances in configurations, but generally wireless access points are configured to broadcast a beacon packet every 102.4 milliseconds, which is about a tenth of a second, on a particular frequency or a particular channel.

05:11.260 --> 05:20.920
So to pick up a beacon packet, we need an antenna within radio range of the access point.

05:20.920 --> 05:32.380
We need a radio tuned to the frequency of the access point when the beacon packet is transmitted, and we need something to process the incoming packet.

05:32.440 --> 05:36.780
2.4 gigahertz Wi-Fi has 14 channels, basically 11 of them are in the U.S.

05:36.960 --> 05:58.180
So we need to either have one radio that is constantly and as quickly as possible cycling through all of the different frequencies to pick up those packets, but there's lag and there are some good white papers that have been written by the Kismet Project on this problem and trying to cycle through this.

05:58.180 --> 06:07.060
Or we get 14 radios with one radio dedicated to each channel that's tuned to that frequency that can just process whatever's coming in there.

06:08.460 --> 06:17.620
So after the presentation last year, we got much better connected with the RF Hacker Sanctuary Discord and the War Driver Channel.

06:17.620 --> 06:21.560
Thank you so much to many who contributed for that.

06:21.680 --> 06:25.760
And several people said, hey, you should get a Wi-Fi Coconut.

06:26.320 --> 06:34.220
As it turns out, there is a device with 14 2.4 gigahertz Wi-Fi radios built into it.

06:35.680 --> 06:48.760
Not only that, a very kind user named Busysignal, who goes by Busysignal, offered, hey, I've got a Coconut I can send you to support the project.

06:48.760 --> 06:50.100
Would you like it?

06:50.920 --> 06:52.200
Why, yes.

06:52.200 --> 06:53.460
Thank you very much.

06:53.460 --> 06:54.620
That's very generous of you.

06:54.620 --> 06:55.400
I certainly would.

06:55.400 --> 07:04.140
And not only a Wi-Fi Coconut, but one of the few in the world that has been modified with an external antenna port.

07:04.140 --> 07:10.620
So not only could we test the reception, we could test performance of different antennas.

07:11.220 --> 07:14.600
So this is what the Coconut setup ended up looking like.

07:14.720 --> 07:22.780
Gaff tape to the back of Sean's laptop, because this is a highly professional experiment.

07:22.780 --> 07:36.940
Coconut was connected to Kismet, Kismet running the war drive overlay, USB-C for power and data connection, and an external antenna.

07:37.360 --> 07:47.280
So looking at the setup in the airplane, put a GPS on the glare shield, so then it's got good visibility to the sky to pick up the GPS satellites.

07:48.520 --> 07:52.500
First antenna that we were able to test was a whip antenna.

07:52.500 --> 08:00.140
So this is mounted next to the windshield in the front right seat of the airplane.

08:00.880 --> 08:03.360
And remember that, because you'll need that later.

08:04.900 --> 08:09.680
It's longer than a quarter wave, so should have some gain to it.

08:09.680 --> 08:16.400
We oriented it vertically, hoping that most of the access points had vertical polarization.

08:16.400 --> 08:21.220
So the effective radiation pattern that we're expecting from it is basically a doughnut.

08:21.220 --> 08:28.680
So it's going to be omnidirectional, and we'll get whatever is coming that we can see from whatever direction that is in.

08:30.080 --> 08:38.360
Antenna number two is a panel antenna, and the radiation pattern of that is basically straight out the face of the antenna.

08:38.360 --> 08:42.040
This also was taped in the front right seat of the airplane.

08:42.040 --> 08:49.640
Sean actually put some quality gaff tape on the window, and then taped the antenna on over the gaff tape.

08:49.640 --> 08:58.020
Quick note, if you're doing this, be careful and use high quality gaff tape, because aircraft windows are absurdly expensive.

08:58.020 --> 09:04.780
They're plexiglass, but anything that gets attached to an airplane is like ten times the price that it should be.

09:04.780 --> 09:09.300
So you don't want to go damaging your windows for the sake of taping an antenna to them.

09:09.300 --> 09:11.960
So please be careful with that.

09:12.760 --> 09:18.140
I'll note there are some... I'm here reporting some mistakes that we've made.

09:18.140 --> 09:23.660
Looking at this picture, I realize we actually have this antenna mounted backwards.

09:24.020 --> 09:30.440
So the reception that was supposed to be going out the side of the airplane is actually coming into the airplane.

09:31.280 --> 09:37.920
So we do have some reception off the backside of the antenna, but not as much as there should be.

09:37.920 --> 09:43.220
But effectively, still, our reception is going straight out the side of the airplane.

09:44.040 --> 09:45.620
So keep that in mind.

09:46.160 --> 09:48.080
Question... oh, and one other thing.

09:48.080 --> 09:52.860
We said in the Discord we actually were given a Yagi antenna.

09:52.860 --> 09:59.420
We unfortunately have not been able to make that work with the Coconut yet, and so we really, really want to do that.

09:59.420 --> 10:03.220
And it didn't work, so bummed about that.

10:03.220 --> 10:05.420
Why haven't you put an antenna outside the airplane?

10:05.420 --> 10:07.180
I dearly, dearly want to.

10:07.180 --> 10:18.140
But when you start attaching things to an airplane, both the level of paperwork and the level of safety that has to be considered go up substantially.

10:18.580 --> 10:27.980
And the guidance on this is not that great, so I haven't figured out how to do it both legally and safely.

10:27.980 --> 10:42.100
Because I really don't want... for one thing, anything mounted to the outside of the airplane has to be able to withstand sustained 150 mile an hour winds.

10:42.440 --> 10:47.580
I don't want to lose an antenna off the airplane and have to call the control tower and say, Hey, we think we lost an antenna.

10:47.580 --> 10:50.580
Can you shut down the runway and go do a FOD inspection on it?

10:51.660 --> 10:54.620
I don't want it to fall off and hit somebody.

10:54.620 --> 11:00.920
I don't want it to fall off and go back into the flight controls and mess with the control surfaces.

11:01.140 --> 11:02.360
So I would love to do this.

11:02.360 --> 11:10.080
If you have any experience with this, if you're with the FAA and have any information about how to do this safely and legally, please let me know.

11:10.080 --> 11:12.320
Because I would love to do that.

11:13.440 --> 11:18.040
As a control for reference data, we also ran my phone running Wiggle.

11:18.080 --> 11:21.220
Left side of the airplane, there's a little grab handle by the window.

11:22.640 --> 11:26.640
And I'm expecting that the Wi-Fi antennas on the phone are near the top.

11:26.640 --> 11:33.100
So they can see through the plexiglass, hopefully, kind of, sort of, well, going down to the ground.

11:34.360 --> 11:36.840
Oops, that was too fast.

11:36.840 --> 11:37.740
Okay, let's go fly.

11:37.740 --> 11:39.760
So this is a view from Sean's seat.

11:39.760 --> 11:43.900
This is flying over Metro Detroit at 1500 feet.

11:44.720 --> 11:51.120
And then his side of the airplane, you can see the WIP antenna mounted there.

11:51.760 --> 12:01.040
So one of the things that, one of the big things we wanted to do this year was create some visualizations to see what the data was looking like.

12:01.040 --> 12:05.660
So I did, as the cool kids call it now, some vibe coding.

12:05.660 --> 12:14.980
And generated some Python scripts to take the data points that we were seeing because we're basically working with Wiggle CSV files.

12:14.980 --> 12:22.860
Because the Wiggle app exports those nicely and Kismet, whatever data it collects, can also be exported to a Wiggle CSV file.

12:23.500 --> 12:26.460
So, collected a few different metrics.

12:26.460 --> 12:30.400
This is a whole flight just from my phone.

12:30.400 --> 12:35.820
We've got total points, unique max, and I apologize in advance for the eye charts.

12:35.820 --> 12:38.380
Although these projectors are nice and big, so hopefully.

12:38.540 --> 12:43.120
Also, this will all be posted on GitHub and I'll post links in the RF Hacker Sanctuary Discord.

12:43.120 --> 12:46.080
So you can go back and look at these a little more closely if you want to.

12:46.080 --> 12:49.100
Total max, unique max, some time.

12:49.880 --> 12:52.780
Last year we introduced the max per minute metric.

12:52.780 --> 12:57.960
So this was 441 total max per minute and 106 unique max per minute.

12:57.960 --> 13:03.160
And then I did some experimenting with detection categories of how many times we saw a particular access point.

13:03.160 --> 13:13.520
Because one of the questions I've been wondering is, how much time do we have that we're able to see a particular access point and how fast?

13:13.520 --> 13:21.180
Because we're moving 176 feet per second past whatever we might be trying to detect.

13:21.180 --> 13:31.580
So it was interesting to see and it worked out pretty well to break it down into 1, 2, 3, 4, or 5 plus detections and then categorize the detection points that way.

13:31.580 --> 13:34.780
So you can see based on the colors how many times we saw it.

13:34.780 --> 13:37.140
And then some distance calculations.

13:37.280 --> 13:45.340
These are the max distance between any two particular detections of a particular MAC address.

13:45.340 --> 13:52.240
So this is not necessarily how far we were because we don't know where the access point is.

13:52.240 --> 13:55.820
We know where we were when we detected it.

13:55.980 --> 14:08.920
But even with my phone for this run, there were 34 access points that we were a maximum at least two miles away from in our detections of it.

14:08.920 --> 14:13.400
So we were at least one mile away from those access points.

14:13.400 --> 14:20.080
So then this is the beginning of collecting the data with the Coconut started with the WIP antenna.

14:20.080 --> 14:23.980
You can see some breaks in the data where the antenna was getting connected and disconnected.

14:23.980 --> 14:30.760
Got that going and then Sean tested the panel antenna and we collected this.

14:31.620 --> 14:33.700
And then went down.

14:33.700 --> 14:43.560
So this slide we're showing I'm flying from north down to the south and then I'm flying right handed turns.

14:43.860 --> 14:48.240
So most of the data that we've been collecting so far has just been in lines.

14:48.240 --> 14:53.780
So we can see alongside or along that line where we saw the access points.

14:53.780 --> 15:01.040
But we wanted to start to see can we try to fill in this map by detecting the same access points from different directions.

15:01.040 --> 15:08.290
So flying right turns you see that those loops started to fill in.

15:08.800 --> 15:17.540
And we start to get some two dimensionality to our map and probably some better location information about where these access points are.

15:17.540 --> 15:20.300
Also keep in mind these turns were to the right.

15:20.660 --> 15:27.520
So we're passing things on the right and the panel antenna is mounted on the right.

15:27.520 --> 15:33.320
Also we're banking the airplane to the right because when you turn an airplane you bank the wings.

15:33.320 --> 15:40.940
And so that points the lobe of the reception, if there is one, that points it down more towards the ground.

15:41.740 --> 15:47.900
As a comparison looking at my phone, not nearly as much data collected by my phone.

15:47.900 --> 15:54.200
Oh yeah, also 278 max per minute which I think is the top that we saw on any of these data collection runs.

15:54.420 --> 15:56.700
My phone, not nearly as fast.

15:56.700 --> 16:05.780
The other thing to note with this is we did start to see where we were passing things that we'd already seen on the left.

16:05.780 --> 16:08.640
We started to see those filling in.

16:09.360 --> 16:11.880
And then wanted to go fly some circles so I did.

16:11.880 --> 16:13.340
This was a solo war flight.

16:13.340 --> 16:28.820
I bothered the good citizens of Lake Oregon, Michigan on a Saturday morning and went to try to fly some circles to see where, where can we, at what point can we start to fill in that map of detections.

16:29.180 --> 16:32.420
So then we decided to do a test with a grid pattern.

16:32.820 --> 16:37.620
Comparing the coconut with the whip antenna, coconut with panel antenna.

16:37.620 --> 16:44.340
I kept writing coconut with whip in my notes and I'm like that kind of sounds like a good dessert but coconut with panel just doesn't have the same ring.

16:44.340 --> 16:46.740
Anyway, then comparing those to my phone.

16:48.020 --> 16:57.560
Flying over the northern suburbs of Metro Detroit, approximately 10 mile east-west legs and approximately one mile north-south distance between the legs.

16:57.560 --> 17:06.380
There's nothing magic to that that just happens to be about the distance that you get when you do a relatively benign turn flying in a 172.

17:06.380 --> 17:11.960
And so we tried to fly approximately the same pattern twice.

17:12.440 --> 17:17.340
So this is the first run with the panel antenna and you'll notice some burbles there.

17:17.340 --> 17:23.140
Some of that is not me flying perfectly straight because I'm just, don't have an autopilot, just hand flying all of this.

17:23.140 --> 17:26.000
A couple of those burbles are there's traffic going in and out.

17:26.000 --> 17:41.940
So we were talking to Detroit Approach Control to get, to make sure that we were, to get traffic advisories and watching ADS-B, which from a privacy and security perspective is terrible and from a safety perspective is awesome.

17:41.940 --> 17:50.220
Because I could see stuff on foreflight, already planning, Approach Control calls up traffic, okay, we can resolve that.

17:51.820 --> 18:00.640
Panel antenna, then this is the WIP antenna and you see again where we're passing things on the right that we've already passed, those start to fill in.

18:00.760 --> 18:04.780
And then I wanted to compare the two so I came up with this visualization.

18:05.780 --> 18:09.740
Blue dots are data set one, and this is comparing two Wiggle CSV files.

18:09.740 --> 18:17.300
Blue dots are data set one, yellow dots are data set two, and green dots are points that we saw in both data files.

18:17.300 --> 18:25.420
So for the panel antenna and the WIP antenna with the coconut, we saw a lot of green.

18:25.640 --> 18:35.000
For the panel antenna, or for really for both of the coconut runs compared to the phone, we saw almost zero overlap.

18:35.000 --> 18:42.620
So one of those things this really strongly tells us is the fuselage of the airplane is blocking reception from the opposite side.

18:42.620 --> 18:45.920
Which we expected, but this really tells us that.

18:45.920 --> 18:53.240
And then I also was comparing the performance and noticed that the phone was doing way better than I expected it to do.

18:53.620 --> 19:03.320
So when all else fails, go back to the source data and realized, oh wow, the channel numbers in the Wiggle CSV file are really high.

19:03.540 --> 19:08.100
Oops, I've been collecting 5 GHz data too, in addition to 2.4 GHz data.

19:08.100 --> 19:17.860
And so I went and checked and ran, separated out the 2.4 GHz, the 5 GHz, realized I was collecting about five times as many access points on 5 GHz.

19:17.860 --> 19:26.600
So wow, there's a lot of 5 GHz out there, because I was thinking 2.4 GHz should be enough for anybody, but apparently wasn't right about that.

19:27.220 --> 19:29.200
Can you warfly from an airliner?

19:29.220 --> 19:43.380
This came to me in the clarity of thought that only comes when you're half asleep on an airliner at midnight coming into DEFCON last year, and realized, I've got my phone, it's in airplane mode, but I can get GPS, and I can get Wi-Fi, and I'm sitting by a window seat.

19:43.540 --> 19:45.300
Hey, let's fire it up and see what I can pick up.

19:45.720 --> 19:55.360
And of course it lit up like a Christmas tree with all the access points on the airliner, but I was able to filter those out, and it turns out you can warfly from an airliner.

19:55.360 --> 19:57.200
At least I hope you can, because I have.

19:57.200 --> 20:07.640
You don't get a lot, but you get some data, and so this is something simple, accessible, if you happen to have a window seat.

20:07.640 --> 20:12.020
You know, let's make Wiggle a little bit more 3D.

20:12.560 --> 20:14.320
So did that a few times.

20:15.960 --> 20:22.880
000D97, last year when we were doing our data collection, looking at statistics for maximum ranges.

20:24.060 --> 20:30.460
Access points with the OID 000D97 kept popping up as some of the top distances.

20:30.460 --> 20:35.480
So I went back, and I still don't know what they are, but was curious how they would show up.

20:35.480 --> 20:42.220
So I took all of our data files and just gripped out that OID, and this is the map.

20:42.220 --> 20:43.620
So there are a lot of them out there.

20:43.620 --> 20:47.060
If you know what these are, I would be very interested to know.

20:47.900 --> 20:54.120
And then for a final test, we wanted to compare war driving versus war flying.

20:54.120 --> 20:57.220
And since we are from Metro Detroit, we love Woodward Avenue.

20:57.580 --> 21:06.320
So Sean fired up his Honda Civic with the same laptop running Kismet and the Coconut.

21:06.320 --> 21:10.340
And I had the panel antenna at that time, so he used the whip antenna.

21:11.480 --> 21:12.920
Wardrobe Woodward.

21:13.760 --> 21:24.740
And so we see this is the direct comparison of war flying the same route versus war driving the same route with the exact same setup.

21:24.740 --> 21:30.220
The whip antenna, the Coconut, and Kismet.

21:30.820 --> 21:42.140
And came to the same conclusion as last year, that war driving picks up more access points, but war flying picks them up faster.

21:42.140 --> 21:54.300
And there is a fair degree of overlap here of access points that were seen by both the war flight and the war drive.

21:55.360 --> 22:06.440
Comparing then, war flying with the panel antenna versus war driving with the whip antenna, the interesting thing is here there is almost no overlap between those.

22:06.440 --> 22:19.080
So we really think that the gain pattern of the panel antenna that is supposed to be shooting straight out the side of the window, is picking up access points that are a lot farther away.

22:19.520 --> 22:33.460
And so one of the things that we want to experiment with going forward is different angles of the panel antenna to try to get better reception closer toward the ground because we are 1500 feet up.

22:33.460 --> 22:44.280
And so it is a bit more distance horizontally before we would pick something up on even the lower lobes of that.

22:44.620 --> 22:50.740
And then finally, comparing the panel antenna versus the whip antenna.

22:50.740 --> 22:56.820
These are both war flights with the Coconut and we see more overlap here.

22:57.000 --> 23:02.400
We see definitely better performance with the whip antenna, which was surprising to me.

23:02.400 --> 23:10.720
But again, we think it is pretty clear that there needs to be consideration of the orientation of that antenna.

23:12.000 --> 23:13.840
So what did we find out?

23:13.840 --> 23:16.160
Phones are definitely usable for war flying.

23:16.160 --> 23:25.080
So if you are a pilot, if you have a friend that is a pilot and want to go do this, don't think that you have to go set up a big war driving rig.

23:25.080 --> 23:41.780
As much as I would love to get a good busy signal rig into the back of the airplane and go war fly with it, you can go collect data, have fun, but be safe and don't let the phone distract if you are trying to collect data while you are war flying.

23:42.340 --> 23:47.520
The fuselage of the airplane, I think we have got really good data that it is blocking a lot.

23:47.520 --> 23:51.480
So we have got to be very careful with how our antennas are placed.

23:51.480 --> 23:54.660
Again, I would love to get an antenna outside the airplane.

23:54.660 --> 23:56.280
I want to get the Yagi working.

23:57.140 --> 23:59.760
And the antenna orientation definitely matters.

24:00.120 --> 24:01.460
So thank you.

24:01.460 --> 24:02.720
Thank you for coming.

24:02.720 --> 24:03.480
Thank you for listening.

24:03.480 --> 24:09.780
Thank you to the RF Village for the opportunity to present to the RF Hacker Sanctuary.

24:10.380 --> 24:13.380
That is a super fun Discord server.

24:13.380 --> 24:18.060
Thank you to Busy Signal for providing us with the specially modified coconut.

24:18.060 --> 24:25.800
Thank you to Detroit Approach Control for letting us go fly some really weird patterns in your airspace.

24:26.000 --> 24:34.440
And thank you to the Wiggle and Kismet Projects for creating some great communities and some great tools to let us go collect this data.

24:34.920 --> 24:35.720
Thank you.

24:35.720 --> 24:36.640
Enjoy DEF CON.

