1 00:00:00,560 --> 00:00:02,200 Hi, I'm James Pavore. 2 00:00:02,200 --> 00:00:07,680 I'm a PhD student at Oxford University, where I research satellite cybersecurity. 3 00:00:08,400 --> 00:00:14,660 And today I'll be talking about some research that we've done looking at satellite broadband signals. 4 00:00:14,900 --> 00:00:21,160 And this is a bit of an update to a talk I gave earlier last year at DEF CON 28. 5 00:00:21,200 --> 00:00:28,060 So I'll talk a little bit about things that have changed since that presentation, new things we've been working on, but it doesn't assume that you've seen it. 6 00:00:28,060 --> 00:00:34,320 So even if you don't have any familiarity with the original presentation, this will give some background and the sort of vulnerabilities and the cool things we found. 7 00:00:34,540 --> 00:00:38,780 The basic premise of this research is pretty straightforward. 8 00:00:38,780 --> 00:00:51,800 Essentially, we conducted a series of experiments looking at maritime, aviation, and terrestrial customers of satellite internet services, in particular from 18 satellites in geostationary orbit. 9 00:00:51,800 --> 00:00:55,520 That means they're about 30,000 kilometers away from the Earth's surface. 10 00:00:55,520 --> 00:01:07,780 In total, these satellites provide the internet service to an area that looks something like this, about 100 million square kilometers of coverage area, reaching from parts of the United States all the way to parts of China. 11 00:01:07,780 --> 00:01:14,540 We essentially set up some satellite dishes, listened to these radio waves, and tried to see if we could find any sensitive information. 12 00:01:14,680 --> 00:01:17,700 And we ended up finding quite a lot of sensitive information. 13 00:01:17,700 --> 00:01:38,820 We saw sensitive data belonging to at least nine members of the Fortune Global 500, to six of the 10 largest airlines in the world by passenger count from their in-flight Wi-Fi services, information belonging to cargo vessels that are owned by companies who together share almost half of the world's global cargo capacity, 14 00:01:39,340 --> 00:02:00,420 a variety of governmental agencies ranging from a postal service belonging to an Eastern European nation all the way to an Air Force jet belonging to a North African country, and we even saw traffic from kind of regular people like you or me, people who might be browsing the internet while they're at a coffee shop or updating their social media while on a cruise. 15 00:02:01,520 --> 00:02:08,780 Before I delve too deep into how we got at this information, it's important to have a basic understanding of how satellite internet works. 16 00:02:08,800 --> 00:02:12,980 So we're going to run through a very simple kind of crash course scenario. 17 00:02:13,040 --> 00:02:19,740 We have our customer in the middle of the Atlantic Ocean and they want to use this satellite here in geostationary orbits. 18 00:02:19,740 --> 00:02:22,360 Like I said, it's 30,000 kilometers in the sky. 19 00:02:22,360 --> 00:02:28,360 So this customer wants to use that satellite to reach a website hosted in Ireland, we'll say Google. 20 00:02:28,500 --> 00:02:36,080 To do this, what they're going to do is try to communicate via this ground station run by their satellite internet service provider in Madrid. 21 00:02:36,540 --> 00:02:41,160 Now we also have someone who wants to intercept this communication down here in Ghana. 22 00:02:41,160 --> 00:02:45,820 They want to intercept the radio traffic that's coming off that satellite, even though they're quite far away. 23 00:02:45,960 --> 00:02:47,840 So how does this all play out? 24 00:02:48,000 --> 00:02:51,540 Well, first, the customer on the cargo vessel will send a request to the satellite. 25 00:02:51,540 --> 00:02:55,440 They'll point their dish to the right spot and say something like, get me google.com. 26 00:02:55,560 --> 00:02:58,160 The satellite is more or less just a bent pipe. 27 00:02:58,160 --> 00:03:00,660 It sends exactly what it got back down to earth. 28 00:03:01,180 --> 00:03:05,240 And they'll say, okay, get me google.com to that ground station in Madrid. 29 00:03:05,240 --> 00:03:08,360 And it does this on a really narrow kind of focused beam. 30 00:03:08,640 --> 00:03:16,560 The ground station in Madrid converts the weird satellite protocols to normal internet traffic and routes it to Ireland, just like if you were visiting a website somewhere. 31 00:03:16,700 --> 00:03:27,680 It gets the response, sends it back up to the satellite, which, when I say sends back up to the satellite, it's important to remember that this is very far away and the speed of light is not as fast as we would like. 32 00:03:27,820 --> 00:03:36,740 So we're talking about 700 milliseconds of round-trip time to finish this kind of communication, which is really slow compared to terrestrial internet. 33 00:03:36,980 --> 00:03:42,660 Once we finally make it to space, the last stage is to send that information back down to the customer. 34 00:03:42,900 --> 00:03:50,540 But this time, because we don't know exactly where the customer is, we're going to use a really broad beam to try to cover as much of the earth as possible. 35 00:03:50,840 --> 00:04:00,280 And so the radio waves carrying that response from Google will hit our customer's dish in the middle of the Atlantic Ocean at the same time as they hit our attacker's dish in Ghana. 36 00:04:00,400 --> 00:04:02,620 And this is the crux of satellite eavesdropping. 37 00:04:02,620 --> 00:04:09,080 You have the ability to intercept signals from people who may be thousands of miles away from the attacker. 38 00:04:09,340 --> 00:04:13,600 And so there's really high stakes for ensuring that this kind of traffic is encrypted. 39 00:04:14,260 --> 00:04:26,720 Now, in terms of actually getting at this data as an attacker, we need to think a little bit about our threat model, what kind of equipment we need, and how we convert those radio waves into meaningful information so we can understand what's happening in these signals. 40 00:04:27,040 --> 00:04:29,700 If you're a government, this is quite easy. 41 00:04:29,700 --> 00:04:36,760 There are companies that sell specialized modems that are designed for doing intelligence collection and listening to satellite radio signals. 42 00:04:36,760 --> 00:04:42,940 I think most major players in cyberspace probably operate installations like this one that cost millions of dollars. 43 00:04:43,160 --> 00:04:49,360 Unfortunately, as a PhD student or a random hacker, you don't necessarily have access to this kind of equipment. 44 00:04:49,580 --> 00:04:55,120 So what we wanted to do is see how far we could get using some very inexpensive home television equipment. 45 00:04:55,160 --> 00:04:59,680 We bought this nice little flat panel satellite dish here, which is very, very small. 46 00:04:59,860 --> 00:05:05,440 And then we also got a PCIe tuner card to allow us to interpret the signals coming off of it on our computer. 47 00:05:05,600 --> 00:05:11,820 These are widely available for customers to buy on the internet if they want to watch like satellite television on their home computer. 48 00:05:12,000 --> 00:05:14,760 But we're going to try to adapt it to listen to satellite internet. 49 00:05:15,580 --> 00:05:24,780 Now, in attempting to doing so, we ended up running into a pretty big problem, which is that our cheap equipment struggled to deal with the corrupted recordings that they were getting. 50 00:05:24,780 --> 00:05:27,340 We were dropping packets, we were losing information. 51 00:05:27,540 --> 00:05:35,240 So we built a custom tool called GSE Extract, which tries to kind of piece together these satellite recordings by looking for low-hanging fruit. 52 00:05:35,240 --> 00:05:46,860 It parses a protocol called GSE, or Generic Stream Encapsulation, with the goal of kind of finding the easiest packets to extract from that by looking for like the headers of IP packets or the starts of different frames. 53 00:05:46,860 --> 00:05:50,780 There's an academic paper that goes much more in-depth into how this tool works. 54 00:05:50,780 --> 00:05:53,520 It's also now available on GitHub. 55 00:05:53,580 --> 00:05:57,280 You can install it with pip if you want to play around with it. 56 00:05:57,440 --> 00:06:00,700 It's publicly available and it works fairly well. 57 00:06:00,820 --> 00:06:03,000 So this kind of is how we used it in the lab. 58 00:06:03,000 --> 00:06:05,400 I'll kind of run through the process to get it in your head. 59 00:06:05,540 --> 00:06:10,100 The first thing we do is scan the radio spectrum to try to look for satellite signals. 60 00:06:10,240 --> 00:06:14,680 And you can tell which signals are interesting by these kind of distinct radio humps in the spectrum. 61 00:06:15,080 --> 00:06:24,800 If we tell our card to tune to one of these signals, we can get some information about what frequency it's on and what kind of data is coming through with this like television tool that's designed to find TV services. 62 00:06:25,560 --> 00:06:31,500 Next, we try to kick off a recording with this tool here that comes with our PCIe card. 63 00:06:31,500 --> 00:06:39,140 So we can kind of look at the data that's inside that radio signal according to a specific protocol, DVBS, or digital video broadcasting for satellite. 64 00:06:39,200 --> 00:06:43,860 So we go ahead and lock to that satellite signal that we found by scanning the radio spectrum. 65 00:06:43,860 --> 00:06:48,120 And I'll kick off a very quick demo recording so we can walk through the process. 66 00:06:48,620 --> 00:06:56,740 Now the size of this file can vary wildly depending on the specifics of the modulation you're listening to or the specific service provider. 67 00:06:56,740 --> 00:06:59,660 You might get a terabyte in a week, you might get a gigabyte in a week. 68 00:06:59,660 --> 00:07:02,500 It really depends on the specifics of the network. 69 00:07:02,500 --> 00:07:08,540 I'm just going to capture a couple thousand kilobytes here so we can get a feel for what's happening and kind of look around. 70 00:07:08,900 --> 00:07:14,480 So once we have our data, the next thing to do is to use that tool that I built called GSE Extract. 71 00:07:14,920 --> 00:07:22,900 You can go ahead and just take that recording file that's been saved to the desktop here, and we'll go ahead and run GSE Extract and see if we get anything out of it. 72 00:07:22,900 --> 00:07:28,840 It converts these binary files into PCAPs, which can then be simply opened in Wireshark. 73 00:07:28,840 --> 00:07:43,180 Now I've hidden the source and destination IP addresses here for privacy reasons, but you can see that we've already caught several thousand different packets of other people's internet traffic, even though we're thousands of miles away and have no business listening to this information. 74 00:07:43,260 --> 00:07:45,540 So this is the crux of satellite eavesdropping. 75 00:07:45,540 --> 00:07:47,320 But what's inside here? 76 00:07:47,320 --> 00:07:53,080 Well, because we don't have perfect recordings, we're often dealing with kind of lossy chunks and bits. 77 00:07:53,080 --> 00:07:55,100 You don't necessarily get everything. 78 00:07:55,160 --> 00:08:02,800 So this is an example of an image that we intercepted from an engineer aboard a maritime vessel communicating with his colleagues about maintenance issues. 79 00:08:02,800 --> 00:08:10,980 And you can see that we were able to reconstruct with GSE Extract a good portion of that JPEG file, but we weren't able to get everything. 80 00:08:10,980 --> 00:08:19,740 But as a hacker, even a little bit can be quite a lot, because you don't necessarily need everything to find interesting and sensitive information. 81 00:08:19,920 --> 00:08:33,440 And so using cheap hardware and kind of taking shortcuts like we do with GSE Extract allows us to punch above our weight in terms of our ability to get access to interesting and important information without having expensive equipment or insider knowledge. 82 00:08:33,840 --> 00:08:41,320 What we ended up finding in a nutshell was that the satellite internet service providers we were listening to didn't employ encryption by default. 83 00:08:41,320 --> 00:08:53,760 That is to say that customers could encrypt their traffic by using TLS or a VPN, but the internet service provider simply sent the data that hit someone's Wi-Fi hotspot across a satellite feed in the same format that they received it. 84 00:08:54,140 --> 00:08:58,900 This means that as an attacker, we got to see what an internet service provider would be able to see. 85 00:08:58,920 --> 00:09:09,680 Every packet coming out of a customer's modem, every file that they download, we could piece this together based on their IP address and kind of get an internet-level vantage point on other people's traffic. 86 00:09:09,680 --> 00:09:22,940 But it gets even worse when we think about corporations and big companies who are using this data, because over the satellite network, they often operated what was essentially just a local area network, like a Windows LAN environment across these satellite hops. 87 00:09:22,940 --> 00:09:26,140 So, think about like a bunch of Windows desktops on different cruise ships. 88 00:09:26,140 --> 00:09:35,220 You could see the internal LDAP traffic from one Windows host to another, stuff that would normally be behind a lot of firewalls and quite hard to get at as a passive eavesdropper. 89 00:09:36,120 --> 00:09:46,900 When we think about terrestrial customers , so think like home internet users, people on land who use satellite services, especially in rural areas, you might think home customers are largely safe from this information, right? 90 00:09:46,900 --> 00:09:52,680 Because we know that you have that like lock light icon on your browser, you might be using TLS to encrypt your traffic. 91 00:09:52,680 --> 00:09:55,020 That means it should be secure against eavesdropping. 92 00:09:55,220 --> 00:09:59,200 What we ended up finding, though, is that, of course, TLS is not perfect security. 93 00:09:59,200 --> 00:10:11,700 The way TLS is often used today leaks quite a lot of information about what people are doing, whether that's from the DNS queries they send, which tell you which websites someone is visiting, or the actual certificates that they're using to encrypt their traffic. 94 00:10:11,700 --> 00:10:15,700 It allows us to kind of piece together the nature of someone's traffic. 95 00:10:15,700 --> 00:10:28,820 And since we have an internet service provider level perspective on this, we can get a lot more information than you might get as a man in the middle on any one connection, because we can actually see all of the websites someone visits and build a pretty robust fingerprint. 96 00:10:29,760 --> 00:10:36,460 Unfortunately, the reality is often worse than this, in that there are a lot of services that people use that are still unencrypted. 97 00:10:36,560 --> 00:10:43,780 A great example is this email that we intercepted to a lawyer in Spain from one of his clients discussing an upcoming court case. 98 00:10:43,780 --> 00:10:47,260 And obviously, this is deeply sensitive information. 99 00:10:47,260 --> 00:10:52,740 You shouldn't be able to have the conversations you're having with your lawyer broadcasting clear text across an entire continent. 100 00:10:52,740 --> 00:10:55,480 But it's unclear whose job it is to protect this. 101 00:10:55,480 --> 00:10:59,300 Should the lawyer know that he shouldn't be downloading his emails over POP? 102 00:10:59,300 --> 00:11:04,460 Or should the internet service provider have some duty of care to protect this information in transit? 103 00:11:05,480 --> 00:11:09,720 We also saw traffic from a lot of internet of things and infrastructure devices. 104 00:11:09,860 --> 00:11:14,600 This image on the left is from a Cisco router by a major electricity provider in Europe. 105 00:11:14,680 --> 00:11:19,940 And you can see here, not only is the password in clear text, it's just basic authentication. 106 00:11:19,940 --> 00:11:22,420 So, it's Base64 encoded, but nothing else. 107 00:11:22,420 --> 00:11:27,660 But also, the router itself is publicly accessible over the open internet, if you look at that host address. 108 00:11:27,660 --> 00:11:34,440 Which means that anyone with the rest of this information from this image could potentially start messing with this electricity provider's infrastructure. 109 00:11:34,840 --> 00:11:38,620 Likewise, we saw a lot of wind turbines that were accessible over the open internet. 110 00:11:38,740 --> 00:11:41,780 And the passwords for these turbines were sent in clear text. 111 00:11:41,780 --> 00:11:43,960 There could be another layer of protection behind this. 112 00:11:43,960 --> 00:11:46,900 We can actually try to log in and mess with any wind turbines. 113 00:11:46,900 --> 00:11:51,520 But it's at least intuitively concerning that this information is out there and so easy to get at. 114 00:11:52,580 --> 00:11:56,240 We also saw in the maritime domain, very similar. 115 00:11:56,240 --> 00:12:01,160 So, a lot of ships at sea will use satellite internet to remain connected to offices on land. 116 00:12:01,440 --> 00:12:05,040 And one challenge we had was we wanted to see if we could identify some vessels. 117 00:12:05,040 --> 00:12:12,280 So, we looked through our terabytes and terabytes of traffic, we picked a random sampling, and we were able to identify about 10% of the ships. 118 00:12:12,280 --> 00:12:20,140 Some of those were very big, like this container ship here, which is one of the larger ship types in the world, belonging to one of the larger fleets in the world. 119 00:12:20,160 --> 00:12:38,140 Whereas others were quite small, like this subsea repair ship, belonging to a petroleum company down here, that from its traffic, we were able to tell it was running a vulnerable version of Windows Server 2003 that had a bunch of CVEs against it that could be used in a targeted attack against this petroleum company or against this specific vessel. 120 00:12:38,140 --> 00:12:42,820 And if you kind of skim this chart, you'll see that there's a broad range of different use cases and industries. 121 00:12:42,820 --> 00:12:48,620 This is not one company's problem, this is the entire industry that's potentially exposed to this kind of stuff. 122 00:12:49,180 --> 00:12:58,740 One particularly interesting thing we encountered was the process for updating navigational charts that tell maritime operators where it's safe to go in the ocean and how they can get there legally. 123 00:12:58,900 --> 00:13:09,220 And we found that a lot were updated either via insecure FTP file shares, which we had the passwords for over the satellite link, or via simple emails to inbox that's on the vessel. 124 00:13:09,220 --> 00:13:16,040 And one of the crew members would copy everything that's in that inbox over onto a flash drive and plug it into the vessel to update the charts. 125 00:13:16,280 --> 00:13:30,800 Now, depending on how those charts are actually authenticated on the little navigation terminal on the ship, it might be possible to use this information to manipulate a nautical chart and say, conceal a sandbar from an oil tanker with potentially devastating environmental consequences. 126 00:13:31,060 --> 00:13:43,260 So it's important to recognize that when you use an insecure or unencrypted update mechanism in an environment where eavesdropping is so possible, someone could mess with the contents of your traffic, even if they aren't directly transmitting radio waves at you, 127 00:13:43,260 --> 00:13:46,620 just by using kind of the information you're leaking to them. 128 00:13:47,280 --> 00:13:51,440 Much like in the terrestrial domain, we also saw some interesting privacy things. 129 00:13:51,440 --> 00:13:57,380 One of the most fun things we found was a bunch of communications from this Greek billionaire's superyacht. 130 00:13:57,400 --> 00:14:06,560 In particular, one day his captain forgot to log in or forgot the password for his Microsoft account, and the password reset email was sent every clear text. 131 00:14:06,560 --> 00:14:15,460 From there, it would be a pretty simple step to hijack this account and potentially use it as a targeted social engineering operation against a very high net worth individual. 132 00:14:15,880 --> 00:14:19,200 Likewise, we saw a lot of personal information from crew members. 133 00:14:19,340 --> 00:14:29,480 When ships pull into ports, they often have to communicate immigration information like passport documents and visas, and these were often sent in clear text over insecure HTTP web forms. 134 00:14:29,860 --> 00:14:42,100 And so, for example, from this Indian cargo vessel, we were able to get a list of all of the crew members on board, their date of birth, their nationality, and their passport numbers, and we were thousands of miles away from the ship when we got this information. 135 00:14:43,280 --> 00:14:54,220 Finally, the aviation use case is really interesting because in-flight Wi-Fi services are really kind of changing the way that flights happen and the way passengers stay connected in the air. 136 00:14:54,240 --> 00:14:56,040 And it's not just passengers. 137 00:14:56,040 --> 00:15:08,720 It's also the crew members and the pilots who are increasingly using data services to make flights more efficient or more reliable or safer, and a lot of that information, if transmitted insecurely, could have serious consequences. 138 00:15:08,720 --> 00:15:17,720 This image here is an excerpt from some traffic we captured from a misconfigured electronic flight bag aboard a Chinese airline. 139 00:15:17,720 --> 00:15:30,280 For some reason, someone had gotten the password wrong, and so every time the flight bag tried to log in, it would reroute accidentally to this 302 page and leak information about the internal APIs of this airline. 140 00:15:30,400 --> 00:15:36,680 Now, an electronic flight bag is essentially a navigational terminal for aircraft pilots. 141 00:15:36,680 --> 00:15:42,680 It gives information about, say, weather updates or delays or other kind of general routing information. 142 00:15:42,680 --> 00:15:47,880 It's not necessarily flight critical, but it has information that can impact the decisions a pilot makes. 143 00:15:47,880 --> 00:16:02,320 For example, this particular product maintained a lot of maintenance information, whether there were maintenance issues with the aircraft that needed to be alerted and so forth, and an attacker could potentially mess with this information or use it to reveal information about aircraft that's otherwise sensitive. 144 00:16:03,200 --> 00:16:16,640 We likewise saw some interesting traffic from something that we call a femtocell, which is essentially a miniature cell tower that they put onto airplanes these days to allow you to communicate on the plane using your phone as if you were on the ground, 145 00:16:16,640 --> 00:16:19,460 so to send SMS text messages from the air. 146 00:16:19,580 --> 00:16:21,500 And the front end of this is secure. 147 00:16:21,500 --> 00:16:25,760 It's an encrypted GSM or LTE signal, just like you would expect anywhere. 148 00:16:25,900 --> 00:16:39,260 But the back end is routed over these insecure satellite feeds, and so the data that customers were sending, specifically the text messages that passengers are receiving, were being broadcast in clear text across the entire continent of Europe. 149 00:16:39,360 --> 00:16:49,140 A great example is this image here, which includes traffic that we intercepted from an individual on a transatlantic flight learning that his coronavirus test result was negative. 150 00:16:49,140 --> 00:16:58,880 That's a huge relief, of course, for anyone sitting next to him on the airplane, but for other people who are concerned about medical information privacy, this information really should not have been visible to us. 151 00:16:59,920 --> 00:17:02,780 We also talk a little bit about active attacks. 152 00:17:02,780 --> 00:17:13,760 We wanted to see if there was any way to mess with this information, and the DEF CON talk goes more in depth about this because it's a little bit longer, but I'll kind of summarize the two active attacks that we were able to demonstrate. 153 00:17:13,980 --> 00:17:15,980 The first is really straightforward. 154 00:17:16,160 --> 00:17:33,180 It's based off of this idea that if you're an attacker and you know the IP address of a satellite customer, and you know that they're using an insecure satellite signal, what you can do is exfiltrate data by sending that information to the customer and then eavesdropping on that signal. 155 00:17:33,180 --> 00:17:45,540 What this means is that you essentially have an untraceable link over that massive satellite signal footprint to send data from a compromised PC to your own command and control servers without revealing where those servers are. 156 00:17:45,540 --> 00:17:47,760 And this attack has actually been used in practice. 157 00:17:47,760 --> 00:17:58,320 In particular, a Russian advanced persistent threat group called Turla Group has been found to use this exact strategy to exfiltrate data from some sensitive customers without being caught. 158 00:17:58,980 --> 00:18:06,760 Another type of attack that's pretty interesting to execute in these eavesdropping environments is the classic TCP session hijacking attack. 159 00:18:06,760 --> 00:18:17,520 The basic idea here is that if you know TCP sequence numbers, you can use that information to impersonate an endpoint in a conversation and hijack information. 160 00:18:17,520 --> 00:18:31,260 So, you could pretend to be a ship at sea and send back to the home office information that's not true about where your vessel is going or whether or not its oil levels are good or what its maintenance state is and potentially wreak some real havoc. 161 00:18:31,260 --> 00:18:39,320 What's interesting about this is that it doesn't require any wireless communications equipment, which can be either expensive or easily traced. 162 00:18:39,320 --> 00:18:42,560 Everything happens just over normal internet communications. 163 00:18:42,600 --> 00:18:47,400 So, it's an active attack in these networks that is passive with respect to the radio signal. 164 00:18:47,400 --> 00:18:58,420 What makes that so powerful is that it allows an attacker with essentially no equipment or hobbyist equipment to actually mess with the data that someone thinks they're receiving from a satellite connection. 165 00:18:58,900 --> 00:19:00,760 Now, this doesn't work in all satellite networks. 166 00:19:00,760 --> 00:19:07,740 It actually requires some very specific design decisions in terms of how the IP addresses are set up and how TCP connections are handled. 167 00:19:07,740 --> 00:19:13,700 But we were able to demonstrate it in an actual satellite network, and we think that it could work in quite a few of them. 168 00:19:14,380 --> 00:19:18,100 So, obviously, this research has some ethical and legal implications. 169 00:19:18,720 --> 00:19:22,660 We were very careful to adhere to the laws in the country where we did the data collection. 170 00:19:23,200 --> 00:19:26,380 And we also... you notice I haven't named any companies. 171 00:19:26,380 --> 00:19:31,560 This is a very conscious choice, and one that I've received a little bit of flack about in the media on occasion. 172 00:19:31,580 --> 00:19:40,200 But it's very important, I think, to keep the focus on the big picture here, which is that this is a systemic issue that affects a lot of companies. 173 00:19:40,420 --> 00:19:49,700 And so, rather than make this about, I think it's important to say there's something wrong with the way satellite internet is being used today. 174 00:19:49,700 --> 00:19:55,080 We need to figure out why it's wrong and how we can help companies find a way to secure that data. 175 00:19:55,080 --> 00:19:57,120 Of course, we did talk to companies. 176 00:19:57,120 --> 00:20:06,960 We engaged in responsible disclosure as early as November of 2019, so it's been well over a year at this point, although the vulnerability still exists in many networks. 177 00:20:06,960 --> 00:20:16,440 We also talked to customers of satellite internet, individual companies, like those cruise companies or airline-type companies, in order to let them know about some of these issues. 178 00:20:17,200 --> 00:20:19,020 And most companies were very happy about it. 179 00:20:19,020 --> 00:20:27,000 We were somewhat surprised at how interested companies were to learn about the vulnerabilities and how happy they were to cooperate with security researchers. 180 00:20:27,100 --> 00:20:30,320 We only had one company threaten legal action if we publish. 181 00:20:30,320 --> 00:20:38,960 They haven't engaged in any legal action, to my knowledge, which is a really good sign, because we think we've been able to kind of make the case for them about why security research is important. 182 00:20:39,160 --> 00:20:48,000 And I think that as a security researcher, it's really important to reach out to companies in a productive way and try to make sure that they know that we're on the same side here. 183 00:20:48,000 --> 00:20:50,220 We're not trying to help hackers find information. 184 00:20:50,220 --> 00:20:52,160 We're trying to protect that information. 185 00:20:52,380 --> 00:21:07,820 And that's been a lot of what I've been working on since DefCon, most of what my research has been since then, because it turns out that these issues that we found aren't simply because companies are lazy or incompetent or don't know that encryption is important. 186 00:21:07,920 --> 00:21:11,220 It has a lot to do with the physical realities of space. 187 00:21:11,240 --> 00:21:16,400 Remember when I said that space is really far away and the speed of light is only so fast? 188 00:21:16,760 --> 00:21:28,460 Well, it turns out that to deal with that, satellite internet service providers have to optimize the TCP connection protocol, because you have this really slow three-way handshake whenever you start a TCP connection to a website. 189 00:21:28,460 --> 00:21:37,460 And if each of those hops is over that long-distance satellite link, your connections get incredibly, incredibly slow, and the internet feels sluggish or almost unusable. 190 00:21:37,580 --> 00:21:52,640 So what internet service providers do is they operate these things called performance-enhancing proxies, and essentially split your TCP handshake into two chunks, one locally at your home internet router, and one on a satellite ground station to the main internet. 191 00:21:52,640 --> 00:22:03,180 And this allows them to complete the TCP three-way handshake without sending all of those acknowledgment messages and so forth across the satellite link, making satellite connections feel really fast. 192 00:22:03,240 --> 00:22:19,140 The problem with this is that if you put your connections into a VPN or some other end-to-end encryption solution, your internet service provider can no longer do this, because they need to actually see the contents of your traffic in order to optimize how it's moved across their satellite networks. 193 00:22:19,940 --> 00:22:29,920 So what I've been working on since DEF CON is seeing if we can combine this and kind of come up with a hybrid mix of a traditional VPN and a traditional performance-enhancing proxy. 194 00:22:29,920 --> 00:22:44,820 The basic idea is that we build a tool that spoofs an upstream internet connection, so say pretends to be google.com, local to the customer, just like a performance -enhancing proxy, to make the acknowledgments really fast. 195 00:22:44,920 --> 00:23:01,040 And then over the satellite hop , we convert all of the TCP traffic we're getting to a protocol called QUIC, which is UDP-based and encrypted by default, and has some nice properties for congestion control and multiplexing that makes it really surprisingly fast and robust across the satellite link, 196 00:23:01,040 --> 00:23:03,940 while having encryption built in so that no one can eavesdrop. 197 00:23:04,300 --> 00:23:17,320 Once we get back to land on the other side, somewhere up the internet, on like a cloud server owned by the customer, we then can convert those QUIC packets back to the TCP packets that were originally sent, pretend to be the customer, and send it over the internet. 198 00:23:17,460 --> 00:23:31,120 So this means all of the TCP three-way handshakes happen over the local connections without any of the satellite latency, but the satellite hop is still encrypted using a widely trusted and kind of commonplace security standard. 199 00:23:31,120 --> 00:23:36,760 Instead of some weird bespoke or proprietary implementation, we simply use a QUIC protocol. 200 00:23:37,620 --> 00:23:41,460 Now there's some reasons this isn't trivial to implement in practice. 201 00:23:41,460 --> 00:23:44,900 There are a lot of challenges we ran into in trying to design the system. 202 00:23:44,920 --> 00:23:47,580 One thing is that starting a QUIC session isn't free. 203 00:23:47,580 --> 00:23:50,020 You have to actually exchange some key information. 204 00:23:50,180 --> 00:23:53,740 There's at least one or two round trips in setting up a handshake. 205 00:23:53,920 --> 00:24:04,620 And so what we do is we have these really long-lived sessions where you essentially connect to the upstream QUIC server, and you can stay connected for a long period of time and send multiple different TCP connections through it. 206 00:24:04,620 --> 00:24:09,700 And that bundling approach allows us to get a lot of efficiency over, say, a traditional VPN. 207 00:24:10,200 --> 00:24:12,120 Another challenge is dealing with errors. 208 00:24:12,120 --> 00:24:24,920 If you lose a packet in TCP, you have to be sure that you propagate that error back over the satellite link and back over the TCP link, or you end up in these weird unhandled states where one connection thinks it's active and the other two connections think they're dead. 209 00:24:25,880 --> 00:24:32,960 Finally, it's important to map the TCP traffic that you're extracting to the correct QUIC session and back again. 210 00:24:32,960 --> 00:24:45,480 So we have to keep track of state using basically an internal data structure, just a little dictionary mapping TCP connections to QUIC connections and back, and ensure that's the same on both the client side and the server side, so that if an error happens, 211 00:24:45,480 --> 00:24:47,340 we can correct it on each side. 212 00:24:47,520 --> 00:25:00,540 There's a lot more information in a paper that's going to be published pretty soon about this at NDSS, which is a system security conference in a month or so, which I'd encourage you to check out if you're kind of interested in under the hood stuff. 213 00:25:00,660 --> 00:25:05,640 But also QUIC, the proxy that we built is called QPEP, and you can actually play around with it. 214 00:25:05,640 --> 00:25:07,220 It's open source on GitHub. 215 00:25:07,220 --> 00:25:08,360 It's not a commercial product. 216 00:25:08,360 --> 00:25:12,080 It's just kind of a fun thing I built to kind of play around with these ideas. 217 00:25:12,340 --> 00:25:17,300 And what I'd really like people to do if you're curious about this stuff is to play around with it yourself. 218 00:25:17,700 --> 00:25:23,120 QPEP is written in Go, and it has a kind of Python Docker-based testbed, so you can play around with it. 219 00:25:23,120 --> 00:25:24,400 You can experiment with it. 220 00:25:24,400 --> 00:25:29,860 You can change different parameters or even design your own proxy in the same environment that we built QPEP. 221 00:25:29,860 --> 00:25:39,880 And the goal here is to try to think of solutions that allow us to encrypt satellite internet traffic without requiring any trust in the internet service provider. 222 00:25:39,880 --> 00:25:58,480 So QPEP's design is made so that an individual can install a client on their home computer and a server somewhere in the cloud and use it just like any other VPN to encrypt their traffic without waiting for their satellite internet service provider to invest the money or the time in providing that service offering. 223 00:25:59,780 --> 00:26:03,400 So this is kind of a quick summary of what it looks like in practice. 224 00:26:03,400 --> 00:26:08,940 On the right is our tool, QPEP, which is kind of that optimized proxy I've been describing. 225 00:26:09,240 --> 00:26:17,320 And on the left is a traditional VPN, OpenVPN, which is very secure and it's an excellent product, but it doesn't take into account the physical realities of space. 226 00:26:17,320 --> 00:26:22,800 And you can see the significant performance difference here and why that might matter to a satellite customer. 227 00:26:22,940 --> 00:26:26,540 And so when we think, why is this internet traffic unencrypted? 228 00:26:26,540 --> 00:26:29,200 Why aren't people taking security seriously? 229 00:26:29,260 --> 00:26:34,020 It's important to remember that security isn't the only thing that matters to people. 230 00:26:34,180 --> 00:26:47,160 And finding a way to get rid of choices between security and performance is perhaps one of the most productive things we can do in bringing encryption and best practices to domains that don't traditionally prioritize those issues. 231 00:26:47,160 --> 00:26:53,060 If you get rid of the trade-offs, you dramatically increase the incentives to add security to an insecure system. 232 00:26:53,460 --> 00:26:57,420 So to summarize, a couple of key lessons from this presentation. 233 00:26:57,740 --> 00:27:03,720 The first is that satellite broadband traffic today is vulnerable to long-range eavesdropping attacks. 234 00:27:03,760 --> 00:27:10,760 Someone in a different country or a different continent from you can be listening to your satellite internet traffic. 235 00:27:10,760 --> 00:27:13,620 And you might not even know that they're doing this. 236 00:27:13,620 --> 00:27:26,140 If you're someone who happens to forget to put your phone into airplane mode when you board a flight and it connects to a femtocell and then you get a text message, you may never know that a satellite is involved in sending your traffic. 237 00:27:26,140 --> 00:27:31,300 But someone else somewhere could and probably is listening to it. 238 00:27:32,880 --> 00:27:41,440 Additionally, we see that lots and lots of people don't know that satellite broadband traffic is vulnerable, or at least they don't act like it. 239 00:27:41,440 --> 00:27:49,680 Whether that's a fortune 500 company, a major airline, an infrastructure provider, or even just a random lawyer in Spain. 240 00:27:49,680 --> 00:27:57,680 People don't realize that when they send a packet across a satellite link or really across any internet connection, there's no guarantee who's listening. 241 00:27:57,680 --> 00:28:02,760 You might hope it's a government you trust or nobody at all, but there's no guarantees. 242 00:28:02,760 --> 00:28:08,720 Anyone could be listening to any data because the internet is kind of this complex web of trust and handoffs. 243 00:28:09,200 --> 00:28:25,380 In the satellite context specifically, we know that these security vulnerabilities have largely emerged from a false dichotomy, a belief that there is a trade-off between performance in satellite networks and privacy , specifically end-to-end encryption. 244 00:28:25,380 --> 00:28:41,000 And we find that if you take the time to actually engineer a system that considers the physical needs of space as kind of a unique aspect of the problem, it becomes very possible to provide encryption and protect against these attacks without harming performance. 245 00:28:41,000 --> 00:28:53,680 The real problem is when you're not willing to invest the time or the engineering efforts into considering the specifics of space, and you just want to slap a VPN on it or require everyone to use TLS, even though they'll often forget. 246 00:28:53,900 --> 00:29:00,420 And in those contexts, I think it's important for the security community to step up and try to make it easier to have security. 247 00:29:01,000 --> 00:29:15,460 However, if there's one lesson that I think is most important from this research, and one thing that I think extends way beyond satellite internet specifically, it's a very simple statement, which is that the next hop your traffic takes is unknown. 248 00:29:15,480 --> 00:29:23,720 When you send a packet, it could be handed off through dozens of countries, it could pass over a satellite feed, it could be sent via a radio antenna. 249 00:29:23,720 --> 00:29:29,980 The internet is this weird web of kind of trust relationships and half promises. 250 00:29:30,220 --> 00:29:39,480 And so having the right and the ability and the knowledge to encrypt your traffic is essential to protecting against these kinds of attacks in whatever domain they might happen. 251 00:29:39,700 --> 00:29:42,600 Thank you so much for listening to this presentation. 252 00:29:42,640 --> 00:29:44,280 Hopefully you enjoyed it. 253 00:29:44,300 --> 00:29:49,540 And of course, I'm happy to answer any questions during the Q&A session, or also via email anytime.