WEBVTT

00:01.640 --> 00:14.980
Hello everyone and welcome to our presentation on breaking the beam, a new type of attack that aims at exploiting VSAT satellite communication from the earth.

00:15.100 --> 00:17.380
But first let me introduce ourselves.

00:17.380 --> 00:23.500
I'm Vincent, I'm a cyber security researcher for more than 20 years.

00:23.500 --> 00:33.660
I've been focusing mostly on the security of wireless networks in my research and currently I'm acting as the director of the cyber defense campus in Switzerland.

00:33.840 --> 00:46.380
We have also with us today Johannes, he's a PhD student from the Ruhr University of Bochum in Germany and he's researching the software security of space and satellite systems.

00:46.480 --> 00:56.880
And also with us today is Robin, he's a graduate student from ETH Zurich and has been also working at the cyber defense campus in the context of his master thesis.

00:58.140 --> 01:02.680
So let me start with what VSAT communication is.

01:02.680 --> 01:06.760
VSAT stands for Very Small Aperture Terminal.

01:06.760 --> 01:17.320
This is a special type of um satellite communication um that uh communicates uh over uh geo stationary satellites.

01:17.320 --> 01:24.100
You you can see here um on the picture on the left a maritime VSAT communication system.

01:25.820 --> 01:32.660
Um a maritime VSAT can you please switch off the the music?

01:32.660 --> 01:33.380
Thanks.

01:33.380 --> 01:48.420
We have a maritime VSAT communication system that is equipped on a ship or on the right we have a terrestrial uh VSAT uh system that is typically uh used for um terrestrial uh applications.

01:48.420 --> 02:00.660
These VSAT communication systems they typically provide data uh video or voice communication services um and uh they are not so small as the name stands.

02:00.660 --> 02:05.980
Uh these antenna dishes can be typically the size of a one meter or two meters.

02:07.220 --> 02:17.740
Um okay the um if we look at uh a system a VSAT communication system it basically consists of uh three components.

02:17.740 --> 02:19.060
We have a central hub.

02:19.060 --> 02:22.860
The central hub is typically connected to the internet.

02:23.360 --> 02:39.420
And uh we have a satellite geo stationary geo stationary satellite that's a satellite that is in the orbit such that it um rotates at the same uh speed uh around the earth at the uh as the earth is rotating uh around its own axis.

02:39.420 --> 02:45.540
So the satellite stays always at the same uh location uh compared to the earth.

02:45.760 --> 02:54.980
And then we have a VSAT endpoint that's a dish with a modem where users can connect their mobile device or smart phone, laptops, whatever.

02:55.480 --> 03:06.200
If we look at the communication it's a bidirectional communication so we have a forward channel uh from the central hub that goes over the satellite to the VSAT endpoint.

03:06.340 --> 03:13.880
Um and we have a return channel that goes from the VSAT endpoint back over the satellite uh to the central hub.

03:13.880 --> 03:16.180
The satellite is really uh very dumb.

03:16.180 --> 03:23.500
It's typically a bent pipe so it just takes the signals from the uplink that it receives and forwards them uh to the downlink.

03:23.500 --> 03:29.300
That's the only thing that the satellite is typically uh doing is in terms of uh signal uh forwarding.

03:30.100 --> 03:38.380
Now if we look at the security of uh VSAT communication systems uh we can consider uh three thread models.

03:38.380 --> 03:44.480
And the first uh thread model is basically an attacker that tries to attack the system from the internet.

03:44.740 --> 03:50.500
Um so it will attack and try to uh infiltrate from the central hub.

03:50.500 --> 03:54.840
And basically this is also what happened and what everybody was talking for the last two years.

03:54.840 --> 03:58.340
This is what happened in February uh 2022.

03:58.920 --> 04:19.340
Um and where at the same time on the same day as the Russian invaded uh the Ukraine there was an attack uh basically uh through uh this uh ground system uh ground system network to deploy bogus malicious uh firmwares to uh thousands of uh VSAT endpoints.

04:19.340 --> 04:32.140
And this this attack uh basically uh was was uh was uh basically uh rendering thousands of uh modems uh unavailable and had to be replaced or updated.

04:32.820 --> 04:39.960
Now um this attack has been presented last year and the year before at DEFCON so many people have analyzed what happened there.

04:40.300 --> 04:48.360
So there is a second thread model which basically uh looks uh at uh attacks uh against the satellite itself.

04:48.500 --> 04:54.980
Um so uh the basically the idea would be to attack the satellite directly over their air interface.

04:55.480 --> 04:59.800
So we have been doing some research the previous years on these types of attacks.

04:59.800 --> 05:10.740
For example at IEEE S&P in 2020 we showed how it is possible to intercept uh VSAT uh communication um passively with an eavesdropper.

05:10.740 --> 05:18.920
We have been also doing some some research presenting this year at aerospace uh conference about uh reconnaissance.

05:18.920 --> 05:23.020
How to basically uh discover capabilities of satellites.

05:23.020 --> 05:34.480
Or last year at IEEE S&P Johannes was also presenting a paper that shows uh how you could find the vulnerabilities in satellites and try to exploit those.

05:35.420 --> 05:41.040
And then the the focus of uh today is to look at uh the threat model of an attacker.

05:41.040 --> 05:45.720
The third threat model which basically uh attacks directly the VSAT endpoint.

05:45.720 --> 05:48.900
And this is the new thing that we are considering in this work.

05:48.900 --> 06:01.340
Basically we we uh we uh we try to understand our our feasibilities to directly uh attack uh the endpoint without going through a central hub or the satellite.

06:01.600 --> 06:09.360
So our research contribution in this work uh we have been uh reverse engineering um a VSAT modem.

06:09.360 --> 06:10.640
It's from iDirect.

06:10.640 --> 06:14.500
It's the new tech MDM 2200.

06:14.500 --> 06:16.660
That's the model we have been analyzing.

06:16.860 --> 06:23.600
And uh we have been reverse engineering the entire software stack as well as the communication protocol stack.

06:23.620 --> 06:26.420
Up uh down to the physical layer.

06:26.480 --> 06:40.140
So um we found several vulnerabilities in the software and the communication stack of the modem which allows us to implement uh three over the air wireless attacks uh that use software uh defined radios.

06:40.140 --> 06:51.320
And these attacks allow us to um remotely reset the modem to update a malicious firmware to the modem and also to obtain a remote admin shell.

06:51.520 --> 06:59.060
And finally we demonstrate the feasibility uh of these uh attacks to launch these attacks by breaking the beam .

06:59.060 --> 07:01.540
And what do we mean by breaking the beam?

07:01.540 --> 07:16.220
Basically uh the idea is that we inject signals uh from not directly uh from from the satellite but from from uh a side beam from uh an attacker that is on earth that is close to the satellite.

07:16.340 --> 07:33.100
Typically what people have the conventional wisdom what people have assumed is that satellites communica- VSAT colla- satellite communication is quite robust against uh signal injection attacks from the side because you have typically a high directional beam towards the-

07:37.160 --> 07:38.780
sorry for that.

07:41.430 --> 07:42.210
Okay?

07:42.210 --> 07:42.890
Am I connected?

07:42.890 --> 07:43.590
Yeah.

07:43.970 --> 07:44.890
Okay.

07:44.950 --> 07:59.450
So the idea yeah the the idea the what people assume this is basically since the the the dish has a very high dire- directionality uh basically it would be difficult to inject uh signals uh from the side.

07:59.450 --> 08:09.450
And what we show basically in our research is actually it's possible from the from a side beam to inject these signals these attacks uh from from the earth.

08:10.230 --> 08:21.170
So with that uh I want to give the word to Johannes who will present uh his uh research or his work on reverse engineering the the modem we've been looking at.

08:22.950 --> 08:24.570
Alright thank you.

08:24.570 --> 08:30.010
So um so far we've basically heard what kind of setup we need to actually attack these modems.

08:30.010 --> 08:34.350
And as already introduced we are attacking the NewTek modem MDM2200.

08:34.350 --> 08:37.410
And we also looked at a different modem called from Viasat.

08:37.410 --> 08:38.930
Exactly the one attacked in Ukraine.

08:38.930 --> 08:42.210
Not in this talk but in the research paper this is all based on.

08:42.330 --> 08:50.330
Um but we picked this this iDirect modem or also new uh iDirect and uh it's it's kind of interchangeably since iDirect acquired NewTek some while ago.

08:50.330 --> 08:53.670
Um so iDirect owns all of these products at this point.

08:53.730 --> 09:10.030
And uh they're pretty good case studies since they themselves today are own uh according to their website rank themselves first maritime communications and uh aerospace communications or rather and they're basically commercial planes uh having Vsat systems and also in media and and network broadcasting.

09:10.030 --> 09:15.590
Um so while it's it's pretty clear that this specific system that we are looking at here is not deployed on all of these.

09:15.590 --> 09:23.610
This I want to be very clear these vulnerabilities these vulnerabilities are not quite um you can't go out and basically pawn every airplane with it.

09:23.610 --> 09:24.610
This definitely won't work.

09:24.610 --> 09:26.930
It's a different system from the same company.

09:27.930 --> 09:36.210
So um so far basically we have this Vsat endpoint and it's separated into the antenna which you basically place outdoor.

09:36.250 --> 09:38.430
Um that's why it's also called outdoor unit.

09:38.530 --> 09:44.450
Then we have this modem this this small uh little box that you place somewhere inside and that's why it's called indoor unit.

09:44.690 --> 09:51.330
Um and all of this is basically connecting your local area network where you have your PC, WiFi, etc.

09:51.370 --> 10:00.830
Um so the the really interesting part is really this modem in the middle because this one is basically receiving the traffic from the satellite antenna and it's doing signal processing on it.

10:00.830 --> 10:04.630
It's all kinds of doing it's doing all kinds of um control plane management etc.

10:04.990 --> 10:08.230
Um and there are basically 2 kinds of traffic flowing through there.

10:08.230 --> 10:14.690
Usually these attacks and these talks and these conferences focus on internet traffic going from the antenna to this local area network.

10:14.690 --> 10:19.170
But we are only and exclusively focusing on the control plane traffic.

10:19.250 --> 10:25.450
Um so this is often times separated either with a VPN or so it's in this in this specific case it's the same physical channel.

10:25.450 --> 10:29.510
Um but we are only considering the control plane basically operating these modems.

10:29.510 --> 10:32.070
It has nothing to do with the actual LAN network.

10:32.210 --> 10:47.290
And to keep uh everything that I'm going to talk about um like all nice and mapped up I did a little chart so basically on the left side we have the antenna um and the right side our local area network and a big and in the middle a big uh question mark that we are slowly trying to to resolve.

10:47.790 --> 10:52.190
So first order of business as usual because it's pretty fun to open anything up.

10:52.190 --> 10:53.850
I I guess most here agree.

10:53.950 --> 10:56.390
Um it's it's you get a nice little circuit board.

10:56.390 --> 10:57.690
Very unsurprising.

10:57.750 --> 11:04.890
And if you actually look up these uh individual components you see for example demodulator which is well unsurprisingly doing demodulation.

11:04.890 --> 11:07.230
You see some digital analog converter.

11:07.230 --> 11:14.170
You see an FPGA which is doing a lot of signal processing since this is way too much to be handled by these lower end ARM processors .

11:14.170 --> 11:19.430
And then finally the microcontroller that we are going to focus on is some ARMv5T microcontroller.

11:19.910 --> 11:21.730
Um so not much progress yet.

11:21.730 --> 11:31.650
We basically just knew that there is some uh RF decoding signal processing um stuff going on that that I'm personally not going to focus on since I'm doing more on the software side.

11:31.770 --> 11:33.430
And so what do we need for this?

11:33.430 --> 11:36.310
We actually need to dump the software off of this uh modem.

11:36.410 --> 11:39.850
Um and there are plenty number of ways to do this.

11:39.850 --> 11:42.950
You could use like a bus pirate, sold off the flash chips.

11:42.970 --> 11:49.550
Um it all seems pretty involved and I'm terrible with uh any kind of hardware so I definitely keep my hands off of that.

11:49.830 --> 11:55.650
Um so instead these modems often times have uh questionable web UI when it comes to security.

11:55.850 --> 12:00.410
Um so when we basically looked for blindly basically looked for some code injection we found something.

12:00.410 --> 12:02.630
Obviously the code we only had afterwards.

12:02.690 --> 12:09.490
Um but basically this entire website is uh written as like bash scripts and uh the server is basically just a bunch of bash scripts.

12:09.530 --> 12:15.810
And uh if you basically insert the right string at the right time then you just get a proper command injection and can just open a remote shell.

12:15.810 --> 12:17.330
It's it's really that simple.

12:17.690 --> 12:27.870
Um and if you do this then you have a nice mode and then you have a nice console access to the actual modem which is even more useful than using a bus pirate since now we can actually run commands on the modem.

12:27.970 --> 12:29.650
Alright let let's actually do this.

12:29.650 --> 12:31.750
Let's figure out how all of this is working.

12:31.950 --> 12:36.690
So in this specific case um we when we see the network interface we see some pretty regular stuff.

12:36.850 --> 12:38.490
ETH0 pretty clear what that is.

12:38.490 --> 12:41.750
We see some TUN network device which are usually for VPNs.

12:41.750 --> 12:45.090
And one device that is not very common called modem.

12:45.550 --> 12:47.110
So where is this coming from?

12:47.270 --> 12:55.810
Um so usually some these network devices come from a specific kernel and in this case there are in fact a few kernel objects that are shipped with this operating system.

12:55.810 --> 13:01.750
So we have something for DVB um which is basically the protocol or the underlying protocol of all of the satellite communication.

13:01.750 --> 13:02.970
So there's a pretty good hint.

13:02.970 --> 13:06.410
Something with new tech hardware abstraction layer also pretty good hint.

13:06.410 --> 13:11.970
So we search a little bit around in these kernel objects and uh yeah we found exactly the code we were looking for.

13:11.970 --> 13:15.610
It's allocating some net device called modem um perfect.

13:15.870 --> 13:19.050
We can also look in JITRA into what kind of functions it's exposing.

13:19.050 --> 13:20.530
Definitely some sending function.

13:20.530 --> 13:23.970
Not quite a receive function um but it's definitely working in some way.

13:24.430 --> 13:33.570
But interestingly when we kind of grab through the list of functions and search for common terms on um cryptography like encrypting, decrypting, key, exchange, etc.

13:33.570 --> 13:39.650
We didn't find anything um which is which doesn't mean that there is no encryption but it's at least some kind of a hint.

13:40.430 --> 13:45.850
Um so to update our system map we have these drivers exposing this modem which doesn't seem to have any crypto.

13:45.910 --> 13:53.390
Um also when we went through the code pass a little bit we couldn't find anything so we at this point we're just assuming that there's no basically data link layer protection here.

13:53.590 --> 13:57.570
Um and then the next question is basically what kind of applications are listening there.

13:57.570 --> 14:07.370
So this modem interface is basically exposing network traffic um easy to consume on a Linux device and you can just do accept, listen, receive, blah blah, the usual kind of setup.

14:07.430 --> 14:13.750
And then there is for example an application called TC Net Clients which is some third party software called from Teletech.

14:13.870 --> 14:17.230
Um so they basically um ensure that the internet traffic is actually running.

14:17.230 --> 14:22.610
But for the control plane that I'm talking about we are caring really only about this modem controller and SW download.

14:22.610 --> 14:26.930
So two software packets or two two software applications running on the modem.

14:26.930 --> 14:31.570
The first one we are going to focus on is modem controller and it kind of does exactly what the name says.

14:31.570 --> 14:34.130
It controls um configuration on the modem.

14:34.570 --> 14:40.870
Um and when you basically look into the um initialization routine um we've kind of found what we are looking for.

14:40.870 --> 14:44.930
There is at least some crypto so that that seems pretty good at a first glance.

14:44.930 --> 14:46.550
So we have some modem crypt in it.

14:46.550 --> 14:53.190
We can see that it's reading some modem database and we can also see that it's uh using some private key pushing it somewhere.

14:53.190 --> 14:57.910
Okay so there seems to be something going on with crypto but I I won't bore you with code all all the time.

14:57.910 --> 15:02.130
Um so basically it it's receiving a terminal private key.

15:02.130 --> 15:07.630
The terminal private key is exchanged when you first turn on this modem after you receive it from your satellite service provider.

15:07.630 --> 15:12.110
So it's exchanging this thing and then storing it kind of permanently on your device.

15:12.110 --> 15:17.790
And then whenever you boot it up um it's loading this key and it's using this key as a key encryption key.

15:17.790 --> 15:19.510
What does a key encryption key do?

15:19.510 --> 15:20.950
It encrypts keys.

15:20.950 --> 15:24.310
Um and basically when you start up the modem you receive two messages.

15:24.310 --> 15:27.490
One session key message and one network configuration message.

15:27.490 --> 15:34.630
Both of them control the key that is actually used to encrypt this specific traffic and the terminal private key is encoding both of these.

15:35.130 --> 15:40.030
And it works in a way that basically we have the hub and the hub is sending a packet to the actual modem controller.

15:40.070 --> 15:44.410
Um in some hub terminal envelope which is some Google protobuf protocol.

15:44.590 --> 15:52.470
Um and when we're looking at the code first line basically parses this protobuf into some predefined data structure um and then it's doing some interesting stuff.

15:52.470 --> 15:54.870
So first it's basically looking for some encryption flag.

15:54.870 --> 15:57.370
If it's not set it's basically discarding the packet.

15:57.370 --> 15:59.330
If it's set it's going on.

15:59.330 --> 16:04.030
Um it's checking it's a counter of the packet defined in this network packet zero.

16:04.250 --> 16:08.730
Then it's pretty interesting we define or we just assign the buffer to the message string.

16:08.730 --> 16:12.030
If it's not zero then we actually decrypt it.

16:12.050 --> 16:19.330
So at least from this function if we set it to zero we can just skip the decryption which is useful since we don't know the key.

16:20.050 --> 16:28.050
Um but there's definitely something more to it since if you just have counter zero it might just be some key exchange protocol in the very beginning.

16:28.190 --> 16:34.110
Um so there might be some receive counter matching going on and this is exactly what we found.

16:34.290 --> 16:44.270
So basically there's encryption manager and it has a receive counter match functionality and it takes the encryption manager and a packet counter and compares is it the actual expected uh counter.

16:44.270 --> 16:48.330
So if the previous one is 68 uh it expects the next one to be 69.

16:48.970 --> 16:50.170
That that sounds pretty nice.

16:50.170 --> 16:58.750
It sounds exactly like what we are looking for and if we have to if the match is false it's doing a second check which checks if the counter is unequal to zero.

16:59.050 --> 17:01.430
And only then it's discarding the message.

17:01.430 --> 17:06.210
But interesting part is if the counter is zero then it's not discarding the message .

17:06.210 --> 17:11.190
So basically this kind of exactly the thing that it's trying to prevent it's not preventing .

17:11.290 --> 17:12.710
Um I guess there's some coding error.

17:12.710 --> 17:14.890
They probably meant to use some other counter .

17:14.890 --> 17:17.910
Probably the reference counter from the modem and not the one from the packet.

17:18.070 --> 17:25.670
Um but yeah this basically allows us to kind of bypass the entire encryption of this um modem controller which is maybe not quite as it was intended.

17:25.670 --> 17:26.670
Or maybe it was.

17:27.850 --> 17:28.750
Alright.

17:28.750 --> 17:31.230
Second part is this SW download application.

17:31.230 --> 17:34.890
Software updates are always fun from a security perspective so let's take a look at that.

17:35.530 --> 17:37.030
So we have the hub.

17:37.030 --> 17:39.810
And the hub is basically sending out update signal packets.

17:39.810 --> 17:43.310
Uh around once a second or ten times a second depending on the configuration.

17:43.310 --> 17:52.830
And these update signal packets basically tell you hey there's currently this software version available for this hardware revision on this port so if you want to get it just listen to me.

17:52.890 --> 17:55.590
And then SW download decides this sounds interesting.

17:55.590 --> 17:56.990
I want to receive these packets.

17:56.990 --> 18:02.390
And it's just subscribing to the correct multicast on the correct port and gets the current software version.

18:03.190 --> 18:04.790
Interestingly there's no crypto on that.

18:04.790 --> 18:10.430
That's just UDP packets and anybody can just go to any modem and essentially just broadcast their own software update.

18:10.830 --> 18:21.550
Um but in just in case you're too lazy to kind of build your own uh Linux operating system and interface with the FPGA and everything it gets easier and worse from a security perspective.

18:22.090 --> 18:26.490
So this also is a vulnerability if uh missing encryption authentication is not enough.

18:26.490 --> 18:29.830
Um basically this is one of these update signaling packets.

18:29.930 --> 18:34.770
It's basically saying okay some new image ID then it says octet for whatever reason.

18:34.790 --> 18:41.450
Um and then it says okay there's a bulk size, there's a version that is associated with this specific update, there's a minimal version that you need, etc.

18:41.690 --> 18:45.310
And this octet part is pretty interesting since this is the function that is parsing this.

18:45.310 --> 18:46.950
I'm not making this up.

18:46.950 --> 18:55.870
Um so basically it has a static buffer of 80 bytes and then it's using SQNF with uh unlimited uh length string to parse this octet.

18:55.870 --> 18:57.630
Just this octet part.

18:57.630 --> 19:03.570
Um well pretty pretty easy from that part to to gain some kind of control over the PC.

19:03.570 --> 19:05.370
But it shouldn't be that simple right?

19:05.370 --> 19:08.850
There's still ASLR, something like that.

19:09.550 --> 19:12.310
Turns out they're using an ancient Linux version.

19:12.310 --> 19:15.890
Um version 2.6.35 of the kernel.

19:15.890 --> 19:23.730
And now some of you might be thinking but hey why is this guy talking about some ancient technology that nobody uh that that they found on some scrap yard.

19:23.730 --> 19:26.910
No this was freshly installed for us in 2022.

19:27.050 --> 19:28.970
So this is not something super old.

19:28.970 --> 19:31.270
This is something they newly shipped to customers.

19:31.290 --> 19:38.310
Um and also there are obviously no secondary's because if you have Linux 2.6.35 you probably don't bother about this part anyway.

19:39.270 --> 19:45.430
So to conclude first there's no data link protection in the in the in this modem kernel device.

19:45.510 --> 19:51.330
There is an encryption bypass on a modem controller which is the only part in the control plane actually implementing crypto.

19:51.410 --> 19:59.470
Um we can just broadcast updates as we want to this modem and if this is not enough we can also have a fully unmitigated remote code execution.

19:59.930 --> 20:03.370
Um and we kind of tested all of this on a little bit wacky way.

20:03.370 --> 20:13.790
Basically we are using the Ethernet port and reconfigured the firewall to send the packets to the to this modem network device um for for easier testing but obviously way more interesting approach is to actually do it wirelessly.

20:13.930 --> 20:19.750
And uh what does a PhD student do when he doesn't want to figure out all of the uh wireless parts?

20:19.750 --> 20:23.950
Find a perfect student to actually figure it out and this is uh Robin's turn now.

20:26.520 --> 20:30.940
Yeah so let's address this remaining question mark.

20:31.520 --> 20:44.800
And for this we started again by opening up this box looking at what components are built in and researching via their tech sheets and all resources we found how the hardware works.

20:44.800 --> 20:51.460
And from this we could already deduct that there are two separate signal processing pipelines.

20:51.460 --> 20:55.540
One for the transmission and one for reception.

20:56.620 --> 21:23.160
In addition we had a handy tool in the web interface, a diagnostic screen which provided us with the internal states of the modem including some states from the FPGA and this confirmed our protocol assumptions and it proved to be very helpful when implementing our attacker since we could see what packets have been parsed correctly and what isn't working yet.

21:23.840 --> 21:45.380
And finally we had the binaries thanks to Joanna's work which also proved very helpful since some of the parsing logic was implemented in the kernel modules so not on dedicated ICs and by studying that we could know what the modem expected us to transmit.

21:46.400 --> 21:55.340
With these uh three information sources it became pretty clear that the protocol used here is DVB-RCS.

21:55.360 --> 22:18.320
The DVB protocol suite comes from the TV broadcasting domain but what's more important here is the RCS which stands for Return Channel Over Satellite because we don't want to have these one way transmissions but we need a return channel for the interactive internet protocol behavior.

22:19.160 --> 22:29.420
What's best about this protocol is also that it's open and that's why there are lots of resources and specifications which are freely available.

22:30.280 --> 22:41.720
Also it's kind of a meta protocol because it leverages multiple sub protocols and defines how these sub protocols interact with each other.

22:42.480 --> 22:56.080
In this regard it's also important to mention S3P or SET3PLAY because NewTek never talks about DVB-RCS but S3PLAY which is their proprietary implementation of DVB-RCS.

22:56.580 --> 23:02.580
And since it's their own implementation and proprietary there are some uniquenesses to it.

23:02.580 --> 23:15.300
So in some instances we found that they deviated a little bit from the specification or they used some custom features to transmit some other compulsory data which is required.

23:18.200 --> 23:21.740
And now let's quickly go through these layers.

23:21.740 --> 23:28.400
At the lowest layer we have DVBS2 which is the protocol which handles all the wireless stuff.

23:28.400 --> 23:39.080
So if you're a bit familiar with these wireless protocols it has all these basic features such as pretending a preamble to synchronize transmitter and receiver.

23:39.080 --> 23:45.880
It defines what modulation schemes are supported and it also defines the error correction codes.

23:47.300 --> 23:59.500
One layer higher up we have MPEG transport streams and their task is to bundle multiple data streams into one bigger stream.

23:59.680 --> 24:10.300
And in this project we've only implemented the forward channel so I'm focusing on this forward channel from central hub to endpoints.

24:10.300 --> 24:25.460
And since we have this star topology where one central hub transmits to multiple endpoints, it's implemented as a broadcast channel that contains all these individual data streams and that's why these MPEG transport streams are so useful.

24:25.480 --> 24:30.880
They are constructed in a hierarchical way at the lowest layer or lowest level.

24:30.880 --> 24:38.280
There are elementary streams which could be audio streams or video streams or in our context data streams.

24:38.280 --> 24:49.380
These elementary streams are then bundled together to programs and transport stream can finally be made up of multiples of these programs.

24:49.940 --> 25:01.540
There's also some space for metadata or some configuration data which is used to transmit the structure of these streams but also to initialize the modem.

25:03.580 --> 25:11.620
Because when the modem starts up it starts in an empty state and awaits instruction from the central hub.

25:11.740 --> 25:21.120
It has some pre-configured values such as a frequency and a symbol rate for where to expect these initial values.

25:21.120 --> 25:23.560
And this is called the initial carrier.

25:23.580 --> 25:37.100
And with this information transmitted on this carrier it learns where to tune next to learn the configuration values for the final carrier where the data streams are finally transmitted.

25:37.360 --> 25:41.500
In our attacker implementation we simplified things quite a bit.

25:41.500 --> 26:02.600
So we didn't transmit on three separate frequencies but we used this flexibility of these transport streams to include all this information from the beginning and instruct the modem to retune over and over again but each time demultiplex a different stream from within this same transport stream.

26:03.280 --> 26:08.460
And this is like basically the high level overview of this protocol.

26:08.460 --> 26:20.420
There's only one thing left which is called multi-protocol encapsulation which is a thin wrapper around the IP packets such that they can be included in these MPEG transport streams.

26:20.420 --> 26:26.400
But from there on up it's really basic internet protocols, IP, UDP and TCP.

26:28.080 --> 26:36.100
So with this knowledge and the understanding of these protocols we attempted our attacker implementation.

26:36.560 --> 26:40.160
We chose a software-defined radio-based stack.

26:40.160 --> 26:48.040
We opted for a USRP SDR but really any other SDR could be chosen as well.

26:48.380 --> 27:01.160
And since SDRs are somewhat restricted in their output frequencies we also bought some off-the-shelf components for up-converting these frequencies into the satellite frequency bands.

27:01.160 --> 27:11.800
For this modem that's the KU and KA bands at roughly 10 to 10.7 gigahertz and up to 15 gigahertz.

27:12.380 --> 27:25.820
And this totaled in a cost of about 2,000 dollars but I'm pretty sure that it could be significantly reduced if you used a more do-it-yourself approach and didn't buy off-the-shelf components.

27:27.540 --> 27:42.660
For the software implementation we chose GNURadio, a popular framework for SDR applications and as already mentioned we only implemented the forward channel since this proved to be sufficient for our attacks.

27:43.020 --> 27:54.880
And GNURadio was also chosen since we could leverage some of the built-in components for DVB-S2 but everything on top of it we implemented ourselves in a custom module.

27:56.900 --> 28:18.060
And through this approach we started at a state where the modem wasn't connected but we iteratively improved our attacker to be able to finally transmit some initialization such that the modem picked up the signal and finally we were able to transmit some messages.

28:18.060 --> 28:25.880
Here you see a TCB dump on the modem itself and it successfully receives some Hello World packages we are transmitting.

28:33.350 --> 28:46.390
So if we briefly look again at this map, we are now capable of injecting arbitrary IP packets into the modem's protocol, into the modem's network stack.

28:48.010 --> 28:50.650
Now let's look at some attacks.

28:50.770 --> 29:01.550
The first most basic one we are talking about is a jamming attack but it is interesting in this case because it acts as a building block for more advanced attacks .

29:01.610 --> 29:11.850
Because when we jam a modem it no longer receives the required synchronization packets and configuration packets.

29:11.850 --> 29:19.190
And as a result it resets itself to the initial state and awaits new connection instructions.

29:19.530 --> 29:34.370
And this can be used by an attacker to break the connection of a running modem and then provide new initialization instructions to steer it away from the legitimate central hub to a malicious one.

29:35.230 --> 29:44.590
And once initialized we can mount a malicious firmware update attack as Johannes has explained before.

29:44.590 --> 30:02.130
This works by first transmitting a signalization packet to one of these internal binaries as W download to signal that an update is available, what version is available and on what port, on what UDP port to receive it.

30:02.270 --> 30:11.590
And if this version is higher than the currently installed version, the modem will start listening on that port and receive these messages.

30:11.590 --> 30:18.490
And once again to uh I want to emphasize that these messages are neither authenticated nor encrypted.

30:18.490 --> 30:21.250
So it's easy to exploit this.

30:21.330 --> 30:22.750
And that's what we did.

30:22.750 --> 30:33.930
We transmitted a malicious update and as you can see in the logs it correctly receives these packets it and it tries to install them.

30:34.090 --> 30:44.490
But we set in this case an invalid Jackson to prevent the modem from breaking since uh we we had we needed to use it afterwards as well.

30:44.490 --> 30:57.670
But this proves that a malicious firmware can be installed to basically do arbitrary damage also to just execute the denial of service attack.

30:59.910 --> 31:09.470
The second attack I want to talk about is a remote code execution attack where we leverage the buffer overflow vulnerability Joanne has explained.

31:09.650 --> 31:13.010
And we implemented this one with two payloads.

31:13.010 --> 31:18.790
One where we simply turn on an LED on the modem to have a visual indication.

31:18.790 --> 31:23.690
And the second one where we opened a reverse shell towards a host in the LAN.

31:24.290 --> 31:38.790
But, thank you, um but if the modem would be connected via a return channel to the central hub, such a reverse shell could also be opened to any connected host.

31:38.790 --> 31:43.350
We uh we chose a host in the LAN because we haven't initialized the return channel.

31:44.410 --> 31:47.410
Now next I want to quickly show a demo of this attack.

31:47.410 --> 31:58.670
It's this remote code execution and we uh implemented here the LED turn on uh so that the transmission LED on the modem lights lightens up.

31:58.670 --> 32:05.030
It wouldn't turn on in this case because as mentioned again, the return channel isn't initialized.

32:05.530 --> 32:14.890
So here you see our attacker uh the GNU radio implementation which starts transmitting and the op converter set up.

32:14.890 --> 32:21.570
And on the other side of the room, there's the transmitter with the web interface open.

32:21.950 --> 32:30.950
And it should pick up the signal any moment, initialize itself, and uh it should pick up the signal .

32:30.950 --> 32:37.630
And once receiving the data, the transmission LED, the second from the right lightens up.

32:37.630 --> 32:39.230
So this works.

32:49.270 --> 32:57.730
Finally, we wanted to explore the conditions under which such an attack can be successfully mounted.

32:57.730 --> 33:11.510
And for this, we transmitted from different angles, both in the horizontal plane and in the vertical plane to find out if such an attack is successful, not only from in front of the modem.

33:11.510 --> 33:23.290
Because the antenna is a directional antenna and must be directly targeted at the satellite, so it would be much more powerful if we can launch such an attack also from other angles.

33:23.310 --> 33:34.850
And we found that there is a range of angles from where such an attack can be successfully mounted, not only from directly in front of it, here shown in green.

33:35.290 --> 33:43.310
Also keep in mind that this data has been gathered in an anechoic chamber where reflections are minimized.

33:43.310 --> 33:53.430
So if this is performed in the real world, where there are roofs and walls, you have much more reflections and so the success ratio is only going up.

33:55.690 --> 34:03.830
We have also written a paper about this, where we go a bit more into the details, also about these conditions.

34:04.010 --> 34:06.750
If you're interested in that, please check it out.

34:06.750 --> 34:11.590
It's available online, or we're also next week at USENIX in Philly.

34:13.470 --> 34:16.330
And then there's one last thing.

34:16.330 --> 34:20.650
So far, we have talked about targeting one specific modem.

34:20.650 --> 34:27.470
But during our research, we found out that the modem also supports broadcast transmissions.

34:27.790 --> 34:37.730
And this allows us to target any modem of this type without any prior information about its MAC address or any other identifier.

34:38.350 --> 34:43.530
And this, as a result, allows us to target any modem that is in reach.

34:43.530 --> 35:02.570
And if you imagine an attacker that is not only capable of injecting signals directly by transmitting it to the modem, but also in the uplink by first transmitting to the satellite, it would be capable of not targeting only one modem, but all modems within an entire satellite beam,

35:02.570 --> 35:04.510
which is an entire region.

35:09.770 --> 35:13.730
All right, so what is the real world impact of all of this?

35:13.730 --> 35:24.910
Basically, the setup that we bought is around $2,000 of where the upconverter to converting from whatever 6 gigahertz SDR can do to KU band is the biggest part.

35:24.910 --> 35:31.010
So if you happen to have one of those around, it's probably a lot cheaper for you and usually, uh, you would also have an SDR.

35:31.170 --> 35:33.970
Um, so then it's probably pretty, uh, easy to pull off.

35:34.350 --> 35:39.870
Um, so these attacks should generally work on all the modems that use SAT3 play, not just MDM2200.

35:39.870 --> 35:44.870
But there are also plenty, long list of other of these protocols, not just SAT3 play.

35:45.670 --> 35:52.590
Um, ultimately, we assume that the market share of these modems is 10 to 20 percent out of a few million deployed.

35:52.590 --> 35:56.810
I know this is not a precise number, but it's pretty hard finding these kinds of numbers here.

35:57.350 --> 36:02.170
Um, one important part that, uh, we skipped so far is the responsible disclosure process.

36:02.230 --> 36:07.150
Um, so obviously NewTek doesn't exist anymore and, um, iDirect took over their product.

36:07.150 --> 36:08.590
So we messaged iDirect.

36:08.590 --> 36:15.570
Um, we first sent the first emails to kind of all public email addresses two years ago and then a few weeks afterwards again.

36:15.610 --> 36:23.710
Um, in November 2023, we sent out another wave of emails, including to high-ranking officials at the company that we found, for example, through LinkedIn, etc.

36:23.890 --> 36:30.990
Um, and ultimately we disclosed and escalated vulnerabilities to the Swiss National Cyber Security Center and CSC.

36:30.990 --> 36:35.510
Um, after that, and iDirect asked for a reproducer script for these vulnerabilities.

36:35.750 --> 36:40.050
Um, and we are now in the process of allocating CVEs for these vulnerabilities.

36:40.730 --> 36:43.530
So, what are kind of, some kind of mitigations?

36:43.530 --> 36:51.710
Obviously, that's a pretty broad question here since, um, the main problem is that we are lacking security from the foundation in a lot of parts.

36:51.770 --> 36:59.370
Um, so obviously something like physical layer or data link layer security, uh, for example, for Mac layer encryption, um, as we have seen on other modems would be an option.

36:59.430 --> 37:11.650
Um, source authentication through, for example, the protocols actually validating that not some, uh, random network DEF CON guy is actually just sending the software update, um, or on a network layer, maybe IPSec or some other VPN solutions.

37:11.870 --> 37:21.010
Also, um, maybe not using, uh, Linux kernel version 2.6.35 on something that is shipped, uh, these days is maybe also, uh, an option.

37:21.190 --> 37:28.590
Um, but yeah, it's, it's a pretty big, uh, pretty broad topic and obviously the, the, the solution to this specific, for example, remote code execution should also be pretty clear.

37:29.670 --> 37:36.210
And with that, essentially we showed, uh, the reverse engineering of one of, uh, of one probably broadly used VSAT system.

37:36.210 --> 37:38.950
We identified numerous attack vectors and vulnerabilities.

37:38.950 --> 37:45.690
We also built a full end-to-end wireless attack where we really can just take an SDR and pawn a, a working modem.

37:45.690 --> 37:49.130
Um, we successfully performed signal injection attack that way.

37:49.330 --> 37:54.150
Um, and we are as certain as we can be without actually testing it, which is obviously not quite feasible.

37:54.150 --> 37:57.970
Um, that this would work on a satellite , ultimately breaking the beam.

38:07.610 --> 38:09.190
And we do have some time left.

38:09.190 --> 38:13.790
So, um, if you have any questions , feel free to come to one of the microphones in the front.

38:14.090 --> 38:18.650
Otherwise, um, talk to us, uh , in the, in a few minutes or so in the back.

38:28.120 --> 38:30.460
So I actually do have several questions.

38:30.460 --> 38:36.060
Uh, one of the big things with satellite modems is that they have legendary latency.

38:36.060 --> 38:38.920
I think that would be the kindest way to put it.

38:38.920 --> 38:48.940
Um, a lot of the problems with security, um, applications in satellite environments is because you have very specific timeouts, right?

38:48.940 --> 38:54.860
But a lot of these things are going like 20,000 miles round trip in order to even finish a TCP connection.

38:55.020 --> 39:01.320
So why IP sec, which is pretty vulnerable to those latencies, would that be a suggested in your opinion?

39:02.000 --> 39:03.540
That's an excellent question.

39:03.820 --> 39:06.980
Um, maybe just don't use IP sec.

39:06.980 --> 39:09.460
I don't think that that is maybe the quite best option.

39:09.460 --> 39:12.740
Um, other vendors use, um, VPN solutions.

39:12.920 --> 39:16.480
Quite honestly, I don't know if they're based on IP sec, so maybe IP sec is not the best option.

39:16.480 --> 39:22.000
It's some, some protocol like IP sec that implements ultimately some VPN as some, some solution generally.

39:22.000 --> 39:24.400
I think it might be TLS that they might use.

39:24.560 --> 39:25.500
That's fair.

39:29.540 --> 39:30.260
Alright.

39:30.420 --> 39:34.580
Thank you and if you have any more questions, uh, let us know off, uh, off stage.

