start	end	text
1640	8720	Hello everyone and welcome to our presentation on breaking the beam, a new type of attack
9700	16360	that aims at exploiting VSAT satellite communication from the earth. But first let me introduce
16360	24020	ourselves. I'm Vincent, I'm a cyber security researcher for more than 20 years. I've been
24020	29820	focusing mostly on the security of wireless networks in my research and currently I'm
29820	34580	acting as the director of the cyber defense campus in Switzerland. We have also with
34580	41240	us today Johannes, he's a PhD student from the Ruhr University of Bochum in Germany and
41240	47120	he's researching the software security of space and satellite systems. And also with
47120	52940	us today is Robin, he's a graduate student from ETH Zurich and has been also working
52940	59560	at the cyber defense campus in the context of his master thesis. So let me start with
59560	67460	what VSAT communication is. VSAT stands for Very Small Aperture Terminal. This is a special
67460	75540	type of um satellite communication um that uh communicates uh over uh geo stationary
75540	82840	satellites. You you can see here um on the picture on the left a maritime VSAT communication
82840	94880	system. Um a maritime VSAT can you please switch off the the music? Thanks. We have a
94880	100020	maritime VSAT communication system that is equipped on a ship or on the right we have a
100020	108420	terrestrial uh VSAT uh system that is typically uh used for um terrestrial uh applications.
108420	115120	These VSAT communication systems they typically provide data uh video or voice communication
115120	122500	services um and uh they are not so small as the name stands. Uh these antenna dishes can be
122500	133300	typically the size of a one meter or two meters. Um okay the um if we look at uh a system a
133300	138240	VSAT communication system it basically consists of uh three components. We have a
138240	144720	central hub. The central hub is typically connected to the internet. And uh we have a
144720	150460	satellite geo stationary geo stationary satellite that's a satellite that is in the orbit
150460	157420	such that it um rotates at the same uh speed uh around the earth at the uh as the earth is
157420	163740	rotating uh around its own axis. So the satellite stays always at the same uh location uh
163740	170180	compared to the earth. And then we have a VSAT endpoint that's a dish with a modem where
170180	176440	users can connect their mobile device or smart phone, laptops, whatever. If we look at the
176440	182280	communication it's a bidirectional communication so we have a forward channel uh from the
182280	188540	central hub that goes over the satellite to the VSAT endpoint. Um and we have a return
188540	194080	channel that goes from the VSAT endpoint back over the satellite uh to the central hub. The
194080	199180	satellite is really uh very dumb. It's typically a bent pipe so it just takes the signals from
199180	204240	the uplink that it receives and forwards them uh to the downlink. That's the only thing
204240	211140	that the satellite is typically uh doing is in terms of uh signal uh forwarding. Now if we
211140	217620	look at the security of uh VSAT communication systems uh we can consider uh three thread
217620	222900	models. And the first uh thread model is basically an attacker that tries to attack the
222900	230500	system from the internet. Um so it will attack and try to uh infiltrate from the central hub.
230500	234480	And basically this is also what happened and what everybody was talking for the last two
234480	241700	years. This is what happened in February uh 2022. Um and where at the same time on the same
241700	248900	day as the Russian invaded uh the Ukraine there was an attack uh basically uh through uh this
248900	256220	uh ground system uh ground system network to deploy bogus malicious uh firmwares to uh
256220	264540	thousands of uh VSAT endpoints. And this this attack uh basically uh was was uh was uh
264540	271160	basically uh rendering thousands of uh modems uh unavailable and had to be replaced or
271160	277560	updated. Now um this attack has been presented last year and the year before at DEFCON so
277560	282860	many people have analyzed what happened there. So there is a second thread model which
282860	290300	basically uh looks uh at uh attacks uh against the satellite itself. Um so uh the basically
290300	296140	the idea would be to attack the satellite directly over their air interface. So we have been
296140	301720	doing some research the previous years on these types of attacks. For example at IEEE S&P in
301720	309900	2020 we showed how it is possible to intercept uh VSAT uh communication um passively with an
309900	314420	eavesdropper. We have been also doing some some research presenting this year at aerospace
315200	322040	uh conference about uh reconnaissance. How to basically uh discover capabilities of
322040	329940	satellites. Or last year at IEEE S&P Johannes was also presenting a paper that shows uh how
329940	336940	you could find the vulnerabilities in satellites and try to exploit those. And then the the
336940	341920	focus of uh today is to look at uh the threat model of an attacker. The third threat model
341920	347180	which basically uh attacks directly the VSAT endpoint. And this is the new thing that we are
347180	353920	considering in this work. Basically we we uh we uh we try to understand our our
353920	360080	feasibilities to directly uh attack uh the endpoint without going through a central hub or
360080	366260	the satellite. So our research contribution in this work uh we have been uh reverse
366260	374960	engineering um a VSAT modem. It's from iDirect. It's the new tech MDM 2200. That's the
374960	380400	model we have been analyzing. And uh we have been reverse engineering the entire software
380400	387840	stack as well as the communication protocol stack. Up uh down to the physical layer. So um we
387840	392700	found several vulnerabilities in the software and the communication stack of the modem which
392700	398720	allows us to implement uh three over the air wireless attacks uh that use software uh
398720	405900	defined radios. And these attacks allow us to um remotely reset the modem to update a
405900	413720	malicious firmware to the modem and also to obtain a remote admin shell. And finally we
413720	418660	demonstrate the feasibility uh of these uh attacks to launch these attacks by breaking the
418660	424740	beam. And what do we mean by breaking the beam? Basically uh the idea is that we inject
424740	431660	signals uh from not directly uh from from the satellite but from from uh a side beam from
431660	437660	uh an attacker that is on earth that is close to the satellite. Typically what people have
437660	442060	the conventional wisdom what people have assumed is that satellites communica- VSAT
442060	447080	colla- satellite communication is quite robust against uh signal injection attacks from
447080	458780	the side because you have typically a high directional beam towards the- sorry for that.
461430	470130	Okay? Am I connected? Yeah. Okay. So the idea yeah the the idea the what people assume this
470130	475370	is basically since the the the dish has a very high dire- directionality uh basically it
475370	481330	would be difficult to inject uh signals uh from the side. And what we show basically in
481330	486730	our research is actually it's possible from the from a side beam to inject these signals
486730	493350	these attacks uh from from the earth. So with that uh I want to give the word to Johannes
493350	500010	who will present uh his uh research or his work on reverse engineering the the modem we've
500010	508250	been looking at. Alright thank you. So um so far we've basically heard what kind of setup
508250	512210	we need to actually attack these modems. And as already introduced we are attacking the
512210	517410	NewTek modem MDM2200. And we also looked at a different modem called from Viasat.
517410	521210	Exactly the one attacked in Ukraine. Not in this talk but in the research paper this is all
521210	526990	based on. Um but we picked this this iDirect modem or also new uh iDirect and uh it's it's
526990	531850	kind of interchangeably since iDirect acquired NewTek some while ago. Um so iDirect owns
531850	536510	all of these products at this point. And uh they're pretty good case studies since they
536510	540350	themselves today are own uh according to their website rank themselves first maritime
540350	544470	communications and uh aerospace communications or rather and they're basically
544470	550030	commercial planes uh having Vsat systems and also in media and and network broadcasting.
550030	554270	Um so while it's it's pretty clear that this specific system that we are looking at here is
554270	558750	not deployed on all of these. This I want to be very clear these vulnerabilities these
558750	563610	vulnerabilities are not quite um you can't go out and basically pawn every airplane with it.
563610	570330	This definitely won't work. It's a different system from the same company. So um so far
570350	574470	basically we have this Vsat endpoint and it's separated into the antenna which you
574470	579610	basically place outdoor. Um that's why it's also called outdoor unit. Then we have this
579610	583370	modem this this small uh little box that you place somewhere inside and that's why it's
583370	588750	called indoor unit. Um and all of this is basically connecting your local area network
588750	594390	where you have your PC, WiFi, etc. Um so the the really interesting part is really this
594390	598210	modem in the middle because this one is basically receiving the traffic from the satellite
598210	602150	antenna and it's doing signal processing on it. It's all kinds of doing it's doing all
602150	607370	kinds of um control plane management etc. Um and there are basically 2 kinds of traffic
607370	611270	flowing through there. Usually these attacks and these talks and these conferences focus
611270	615890	on internet traffic going from the antenna to this local area network. But we are only
615890	620270	and exclusively focusing on the control plane traffic. Um so this is often times
620270	624950	separated either with a VPN or so it's in this in this specific case it's the same physical
624950	629510	channel. Um but we are only considering the control plane basically operating these modems.
629510	634070	It has nothing to do with the actual LAN network. And to keep uh everything that I'm going
634070	638470	to talk about um like all nice and mapped up I did a little chart so basically on the left
638470	642870	side we have the antenna um and the right side our local area network and a big and in the
642870	649250	middle a big uh question mark that we are slowly trying to to resolve. So first order of
649250	654290	business as usual because it's pretty fun to open anything up. I I guess most here agree. Um
654290	658730	it's it's you get a nice little circuit board. Very unsurprising. And if you actually look up
658730	663250	these uh individual components you see for example demodulator which is well unsurprisingly
663250	669110	doing demodulation. You see some digital analog converter. You see an FPGA which is doing a
669110	673810	lot of signal processing since this is way too much to be handled by these lower end ARM
673810	678210	processors. And then finally the microcontroller that we are going to focus on is some
678210	683050	ARMv5T microcontroller. Um so not much progress yet. We basically just knew that there is
683050	688870	some uh RF decoding signal processing um stuff going on that that I'm personally not going to
688870	693470	focus on since I'm doing more on the software side. And so what do we need for this? We
693470	699170	actually need to dump the software off of this uh modem. Um and there are plenty number of
699170	704110	ways to do this. You could use like a bus pirate, sold off the flash chips. Um it all seems
704110	708610	pretty involved and I'm terrible with uh any kind of hardware so I definitely keep my hands
708610	714450	off of that. Um so instead these modems often times have uh questionable web UI when it
714450	718910	comes to security. Um so when we basically looked for blindly basically looked for some
718910	722950	code injection we found something. Obviously the code we only had afterwards. Um but
722950	727170	basically this entire website is uh written as like bash scripts and uh the server is
727170	731910	basically just a bunch of bash scripts. And uh if you basically insert the right string at
731910	735330	the right time then you just get a proper command injection and can just open a remote
735330	740470	shell. It's it's really that simple. Um and if you do this then you have a nice mode and
740470	743990	then you have a nice console access to the actual modem which is even more useful than
743990	748990	using a bus pirate since now we can actually run commands on the modem. Alright let let's
748990	753990	actually do this. Let's figure out how all of this is working. So in this specific case um we
753990	757890	when we see the network interface we see some pretty regular stuff. ETH0 pretty clear what
757890	762890	that is. We see some TUN network device which are usually for VPNs. And one device that is
762890	769390	not very common called modem. So where is this coming from? Um so usually some these network
769390	773890	devices come from a specific kernel and in this case there are in fact a few kernel objects
773890	777990	that are shipped with this operating system. So we have something for DVB um which is
777990	781850	basically the protocol or the underlying protocol of all of the satellite communication. So
781850	785630	there's a pretty good hint. Something with new tech hardware abstraction layer also pretty
785630	790450	good hint. So we search a little bit around in these kernel objects and uh yeah we found
790450	794790	exactly the code we were looking for. It's allocating some net device called modem um
794790	799230	perfect. We can also look in JITRA into what kind of functions it's exposing. Definitely
799230	803170	some sending function. Not quite a receive function um but it's definitely working in
803170	807830	some way. But interestingly when we kind of grab through the list of functions and search
807830	813790	for common terms on um cryptography like encrypting, decrypting, key, exchange, etc. We
813790	817950	didn't find anything um which is which doesn't mean that there is no encryption but it's at
817950	823570	least some kind of a hint. Um so to update our system map we have these drivers exposing this
823570	827410	modem which doesn't seem to have any crypto. Um also when we went through the code pass a
827410	831330	little bit we couldn't find anything so we at this point we're just assuming that there's no
831330	835850	basically data link layer protection here. Um and then the next question is basically what
835850	840090	kind of applications are listening there. So this modem interface is basically exposing
840090	844970	network traffic um easy to consume on a Linux device and you can just do accept, listen,
844970	849050	receive, blah blah, the usual kind of setup. And then there is for example an application
849050	854190	called TC Net Clients which is some third party software called from Teletech. Um so they
854190	858310	basically um ensure that the internet traffic is actually running. But for the control plane
858310	862010	that I'm talking about we are caring really only about this modem controller and SW
862010	867110	download. So two software packets or two two software applications running on the modem. The
867110	871010	first one we are going to focus on is modem controller and it kind of does exactly what the
871010	876230	name says. It controls um configuration on the modem. Um and when you basically look into
876230	881370	the um initialization routine um we've kind of found what we are looking for. There is at
881370	885810	least some crypto so that that seems pretty good at a first glance. So we have some modem
885810	890570	crypt in it. We can see that it's reading some modem database and we can also see that it's
890570	894610	uh using some private key pushing it somewhere. Okay so there seems to be something going
894610	900350	on with crypto but I I won't bore you with code all all the time. Um so basically it it's
900350	904470	receiving a terminal private key. The terminal private key is exchanged when you first turn
904470	908330	on this modem after you receive it from your satellite service provider. So it's exchanging
908330	912950	this thing and then storing it kind of permanently on your device. And then whenever you boot
912950	918390	it up um it's loading this key and it's using this key as a key encryption key. What does a key
918390	923130	encryption key do? It encrypts keys. Um and basically when you start up the modem you
923130	927730	receive two messages. One session key message and one network configuration message. Both
927730	931970	of them control the key that is actually used to encrypt this specific traffic and the
931970	936770	terminal private key is encoding both of these. And it works in a way that basically we have
936770	941050	the hub and the hub is sending a packet to the actual modem controller. Um in some hub
941050	945950	terminal envelope which is some Google protobuf protocol. Um and when we're looking at the
945950	950970	code first line basically parses this protobuf into some predefined data structure um and
950970	954070	then it's doing some interesting stuff. So first it's basically looking for some
954070	958710	encryption flag. If it's not set it's basically discarding the packet. If it's set it's going
958710	964490	on. Um it's checking it's a counter of the packet defined in this network packet zero. Then
964490	969130	it's pretty interesting we define or we just assign the buffer to the message string. If it's
969130	975230	not zero then we actually decrypt it. So at least from this function if we set it to zero we
975230	981270	can just skip the decryption which is useful since we don't know the key. Um but there's
981270	985950	definitely something more to it since if you just have counter zero it might just be some key
985950	990950	exchange protocol in the very beginning. Um so there might be some receive counter
990950	995510	matching going on and this is exactly what we found. So basically there's encryption
995510	999890	manager and it has a receive counter match functionality and it takes the encryption
999890	1004590	manager and a packet counter and compares is it the actual expected uh counter. So if the
1004590	1010290	previous one is 68 uh it expects the next one to be 69. That that sounds pretty nice. It
1010290	1015650	sounds exactly like what we are looking for and if we have to if the match is false it's doing a
1015650	1020850	second check which checks if the counter is unequal to zero. And only then it's discarding
1020850	1026050	the message. But interesting part is if the counter is zero then it's not discarding the
1026050	1030750	message. So basically this kind of exactly the thing that it's trying to prevent it's not
1030750	1034730	preventing. Um I guess there's some coding error. They probably meant to use some other
1034730	1038510	counter. Probably the reference counter from the modem and not the one from the packet. Um
1038510	1043190	but yeah this basically allows us to kind of bypass the entire encryption of this um modem
1043190	1048990	controller which is maybe not quite as it was intended. Or maybe it was. Alright. Second
1048990	1052970	part is this SW download application. Software updates are always fun from a security
1052970	1057790	perspective so let's take a look at that. So we have the hub. And the hub is basically
1057790	1062170	sending out update signal packets. Uh around once a second or ten times a second depending
1062170	1066110	on the configuration. And these update signal packets basically tell you hey there's
1066110	1070870	currently this software version available for this hardware revision on this port so if you
1070870	1075630	want to get it just listen to me. And then SW download decides this sounds interesting. I
1075630	1079810	want to receive these packets. And it's just subscribing to the correct multicast on the
1079810	1084490	correct port and gets the current software version. Interestingly there's no crypto on
1084490	1088510	that. That's just UDP packets and anybody can just go to any modem and essentially just
1088510	1093810	broadcast their own software update. Um but in just in case you're too lazy to kind of build
1093810	1098410	your own uh Linux operating system and interface with the FPGA and everything it gets easier
1098410	1104890	and worse from a security perspective. So this also is a vulnerability if uh missing
1104890	1108810	encryption authentication is not enough. Um basically this is one of these update signaling
1108810	1114770	packets. It's basically saying okay some new image ID then it says octet for whatever reason.
1114790	1118230	Um and then it says okay there's a bulk size, there's a version that is associated with this
1118230	1122850	specific update, there's a minimal version that you need, etc. And this octet part is pretty
1122850	1127130	interesting since this is the function that is parsing this. I'm not making this up. Um so
1127130	1133030	basically it has a static buffer of 80 bytes and then it's using SQNF with uh unlimited uh
1133030	1140090	length string to parse this octet. Just this octet part. Um well pretty pretty easy from
1140090	1144990	that part to to gain some kind of control over the PC. But it shouldn't be that simple
1144990	1151610	right? There's still ASLR, something like that. Turns out they're using an ancient Linux
1151610	1158350	version. Um version 2.6.35 of the kernel. And now some of you might be thinking but hey why
1158350	1163110	is this guy talking about some ancient technology that nobody uh that that they found on some
1163110	1168970	scrap yard. No this was freshly installed for us in 2022. So this is not something super old.
1168970	1173010	This is something they newly shipped to customers. Um and also there are obviously no
1173010	1177630	secondary's because if you have Linux 2.6.35 you probably don't bother about this part
1177630	1184090	anyway. So to conclude first there's no data link protection in the in the in this modem
1184090	1189070	kernel device. There is an encryption bypass on a modem controller which is the only part in
1189070	1194030	the control plane actually implementing crypto. Um we can just broadcast updates as we
1194030	1198330	want to this modem and if this is not enough we can also have a fully unmitigated remote
1198330	1203590	code execution. Um and we kind of tested all of this on a little bit wacky way. Basically
1203590	1207370	we are using the Ethernet port and reconfigured the firewall to send the packets to the to
1207370	1211710	this modem network device um for for easier testing but obviously way more interesting
1211710	1216870	approach is to actually do it wirelessly. And uh what does a PhD student do when he doesn't
1216870	1221870	want to figure out all of the uh wireless parts? Find a perfect student to actually figure it
1221870	1231920	out and this is uh Robin's turn now. Yeah so let's address this remaining question mark. And
1231920	1237920	for this we started again by opening up this box looking at what components are built in and
1237920	1245200	researching via their tech sheets and all resources we found how the hardware works. And
1245200	1251980	from this we could already deduct that there are two separate signal processing pipelines. One
1251980	1260440	for the transmission and one for reception. In addition we had a handy tool in the web
1260440	1267060	interface, a diagnostic screen which provided us with the internal states of the modem
1267060	1274120	including some states from the FPGA and this confirmed our protocol assumptions and it
1274120	1279740	proved to be very helpful when implementing our attacker since we could see what packets have
1279740	1287320	been parsed correctly and what isn't working yet. And finally we had the binaries thanks to
1287320	1295140	Joanna's work which also proved very helpful since some of the parsing logic was implemented
1295140	1302980	in the kernel modules so not on dedicated ICs and by studying that we could know what the modem
1302980	1311840	expected us to transmit. With these uh three information sources it became pretty clear that
1311840	1320180	the protocol used here is DVB-RCS. The DVB protocol suite comes from the TV broadcasting
1320840	1326360	domain but what's more important here is the RCS which stands for Return Channel Over
1326360	1332520	Satellite because we don't want to have these one way transmissions but we need a return
1332520	1341360	channel for the interactive internet protocol behavior. What's best about this protocol is
1341360	1347880	also that it's open and that's why there are lots of resources and specifications which are
1347880	1357460	freely available. Also it's kind of a meta protocol because it leverages multiple sub protocols
1357840	1364060	and defines how these sub protocols interact with each other. In this regard it's also
1364060	1371340	important to mention S3P or SET3PLAY because NewTek never talks about DVB-RCS but S3PLAY
1371360	1378640	which is their proprietary implementation of DVB-RCS. And since it's their own implementation
1378640	1384380	and proprietary there are some uniquenesses to it. So in some instances we found that they
1384380	1391160	deviated a little bit from the specification or they used some custom features to transmit
1391160	1401740	some other compulsory data which is required. And now let's quickly go through these layers.
1401740	1408400	At the lowest layer we have DVBS2 which is the protocol which handles all the wireless stuff.
1408400	1414040	So if you're a bit familiar with these wireless protocols it has all these basic features such
1414040	1420780	as pretending a preamble to synchronize transmitter and receiver. It defines what modulation
1420780	1429160	schemes are supported and it also defines the error correction codes. One layer higher up we
1429160	1437820	have MPEG transport streams and their task is to bundle multiple data streams into one bigger
1437820	1446460	stream. And in this project we've only implemented the forward channel so I'm focusing on this
1446460	1453000	forward channel from central hub to endpoints. And since we have this star topology where one
1453000	1458700	central hub transmits to multiple endpoints, it's implemented as a broadcast channel
1458700	1464320	that contains all these individual data streams and that's why these MPEG transport streams are so
1464320	1471120	useful. They are constructed in a hierarchical way at the lowest layer or lowest level. There are
1471120	1478280	elementary streams which could be audio streams or video streams or in our context data streams.
1478280	1485720	These elementary streams are then bundled together to programs and transport stream can finally be
1485720	1493820	made up of multiples of these programs. There's also some space for metadata or some
1493820	1499380	configuration data which is used to transmit the structure of these streams but also to
1499380	1509020	initialize the modem. Because when the modem starts up it starts in an empty state and awaits
1509020	1515400	instruction from the central hub. It has some pre-configured values such as a
1515400	1522060	frequency and a symbol rate for where to expect these initial values. And this is called the
1522060	1528160	initial carrier. And with this information transmitted on this carrier it learns where to tune
1528160	1535340	next to learn the configuration values for the final carrier where the data streams are
1535340	1542080	finally transmitted. In our attacker implementation we simplified things quite a bit. So we
1542080	1547440	didn't transmit on three separate frequencies but we used this flexibility of these transport
1547440	1554520	streams to include all this information from the beginning and instruct the modem to retune
1554520	1560860	over and over again but each time demultiplex a different stream from within this same
1560860	1568800	transport stream. And this is like basically the high level overview of this protocol. There's
1568800	1574660	only one thing left which is called multi-protocol encapsulation which is a thin wrapper
1574660	1581200	around the IP packets such that they can be included in these MPEG transport streams. But from
1581200	1591420	there on up it's really basic internet protocols, IP, UDP and TCP. So with this knowledge and
1591420	1598180	the understanding of these protocols we attempted our attacker implementation. We chose a
1598180	1606500	software-defined radio-based stack. We opted for a USRP SDR but really any other SDR could be
1606500	1614380	chosen as well. And since SDRs are somewhat restricted in their output frequencies we also bought
1614380	1620160	some off-the-shelf components for up-converting these frequencies into the satellite frequency
1620160	1628160	bands. For this modem that's the KU and KA bands at roughly 10 to 10.7 gigahertz and
1629060	1639080	up to 15 gigahertz. And this totaled in a cost of about 2,000 dollars but I'm pretty sure that it
1639080	1643980	could be significantly reduced if you used a more do-it-yourself approach and didn't buy
1643980	1652140	off-the-shelf components. For the software implementation we chose GNURadio, a popular
1652140	1658020	framework for SDR applications and as already mentioned we only implemented the forward
1658020	1664460	channel since this proved to be sufficient for our attacks. And GNURadio was also chosen
1664460	1671660	since we could leverage some of the built-in components for DVB-S2 but everything on top of it we
1671660	1681020	implemented ourselves in a custom module. And through this approach we started at a state where
1681020	1687940	the modem wasn't connected but we iteratively improved our attacker to be able to finally
1688600	1695480	transmit some initialization such that the modem picked up the signal and finally we were able to
1695480	1703040	transmit some messages. Here you see a TCB dump on the modem itself and it successfully receives
1703040	1717330	some Hello World packages we are transmitting. So if we briefly look again at this map, we are
1717330	1724450	now capable of injecting arbitrary IP packets into the modem's protocol, into the modem's
1724930	1734150	network stack. Now let's look at some attacks. The first most basic one we are talking about is a
1734150	1740870	jamming attack but it is interesting in this case because it acts as a building block for more
1740870	1748850	advanced attacks. Because when we jam a modem it no longer receives the required synchronization
1748850	1756290	packets and configuration packets. And as a result it resets itself to the initial state and
1756290	1763310	awaits new connection instructions. And this can be used by an attacker to break the
1763310	1769870	connection of a running modem and then provide new initialization instructions to steer it
1769870	1778610	away from the legitimate central hub to a malicious one. And once initialized we can mount
1778990	1785870	a malicious firmware update attack as Johannes has explained before. This works by first
1785870	1794450	transmitting a signalization packet to one of these internal binaries as W download to signal
1794450	1800810	that an update is available, what version is available and on what port, on what UDP port to
1800810	1807450	receive it. And if this version is higher than the currently installed version, the modem will
1807450	1814130	start listening on that port and receive these messages. And once again to uh I want to
1814130	1819770	emphasize that these messages are neither authenticated nor encrypted. So it's easy to
1819770	1826950	exploit this. And that's what we did. We transmitted a malicious update and as you can see in the
1826950	1836230	logs it correctly receives these packets it and it tries to install them. But we set in this
1836230	1843190	case an invalid Jackson to prevent the modem from breaking since uh we we had we needed to use
1843190	1850030	it afterwards as well. But this proves that a malicious firmware can be installed to
1850030	1861310	basically do arbitrary damage also to just execute the denial of service attack. The second
1861310	1865990	attack I want to talk about is a remote code execution attack where we leverage the buffer
1865990	1873010	overflow vulnerability Joanne has explained. And we implemented this one with two payloads.
1873010	1879370	One where we simply turn on an LED on the modem to have a visual indication. And the second
1879370	1889570	one where we opened a reverse shell towards a host in the LAN. But, thank you, um but if the
1889570	1895970	modem would be connected via a return channel to the central hub, such a reverse shell
1895990	1901410	could also be opened to any connected host. We uh we chose a host in the LAN because we
1901410	1906830	haven't initialized the return channel. Now next I want to quickly show a demo of this
1906830	1915490	attack. It's this remote code execution and we uh implemented here the LED turn on uh so
1915490	1920950	that the transmission LED on the modem lights lightens up. It wouldn't turn on in this case
1920950	1926770	because as mentioned again, the return channel isn't initialized. So here you see our
1926770	1934190	attacker uh the GNU radio implementation which starts transmitting and the op converter set
1934190	1941570	up. And on the other side of the room, there's the transmitter with the web interface open.
1941950	1950930	And it should pick up the signal any moment, initialize itself, and uh it should pick up the
1950950	1956310	signal. And once receiving the data, the transmission LED, the second from the right
1956310	1974130	lightens up. So this works. Finally, we wanted to explore the conditions under which such an
1974130	1982390	attack can be successfully mounted. And for this, we transmitted from different angles, both
1982390	1987790	in the horizontal plane and in the vertical plane to find out if such an attack is
1987790	1993490	successful, not only from in front of the modem. Because the antenna is a directional
1993490	2000090	antenna and must be directly targeted at the satellite, so it would be much more powerful if
2000090	2006030	we can launch such an attack also from other angles. And we found that there is a range of
2006030	2011810	angles from where such an attack can be successfully mounted, not only from directly in
2011810	2018730	front of it, here shown in green. Also keep in mind that this data has been gathered in an
2018730	2026670	anechoic chamber where reflections are minimized. So if this is performed in the real world,
2026670	2032030	where there are roofs and walls, you have much more reflections and so the success ratio is
2032030	2041110	only going up. We have also written a paper about this, where we go a bit more into the
2041110	2046910	details, also about these conditions. If you're interested in that, please check it out. It's
2046910	2055350	available online, or we're also next week at USENIX in Philly. And then there's one last
2055350	2062210	thing. So far, we have talked about targeting one specific modem. But during our research, we
2062210	2070170	found out that the modem also supports broadcast transmissions. And this allows us to target
2070170	2076390	any modem of this type without any prior information about its MAC address or any other
2076390	2084330	identifier. And this, as a result, allows us to target any modem that is in reach. And if you
2084870	2090330	imagine an attacker that is not only capable of injecting signals directly by transmitting it to
2090330	2095950	the modem, but also in the uplink by first transmitting to the satellite, it would be
2095950	2102690	capable of not targeting only one modem, but all modems within an entire satellite beam, which
2102690	2114410	is an entire region. All right, so what is the real world impact of all of this? Basically, the
2114410	2119970	setup that we bought is around $2,000 of where the upconverter to converting from whatever 6
2119970	2126770	gigahertz SDR can do to KU band is the biggest part. So if you happen to have one of those
2126770	2131370	around, it's probably a lot cheaper for you and usually, uh, you would also have an SDR. Um, so
2131370	2136310	then it's probably pretty, uh, easy to pull off. Um, so these attacks should generally work
2136310	2142150	on all the modems that use SAT3 play, not just MDM2200. But there are also plenty, long list
2142150	2148990	of other of these protocols, not just SAT3 play. Um, ultimately, we assume that the market
2148990	2153390	share of these modems is 10 to 20 percent out of a few million deployed. I know this is not a
2153390	2159030	precise number, but it's pretty hard finding these kinds of numbers here. Um, one important part
2159030	2163830	that, uh, we skipped so far is the responsible disclosure process. Um, so obviously NewTek
2163830	2169170	doesn't exist anymore and, um, iDirect took over their product. So we messaged iDirect. Um, we
2169170	2173890	first sent the first emails to kind of all public email addresses two years ago and then a few
2173890	2179430	weeks afterwards again. Um, in November 2023, we sent out another wave of emails, including
2179430	2184450	to high-ranking officials at the company that we found, for example, through LinkedIn, etc. Um, and
2184450	2189510	ultimately we disclosed and escalated vulnerabilities to the Swiss National Cyber Security
2189510	2194570	Center and CSC. Um, after that, and iDirect asked for a reproducer script for these
2194570	2199270	vulnerabilities. Um, and we are now in the process of allocating CVEs for these
2199270	2204410	vulnerabilities. So, what are kind of, some kind of mitigations? Obviously, that's a
2204410	2209090	pretty broad question here since, um, the main problem is that we are lacking security from
2209090	2213850	the foundation in a lot of parts. Um, so obviously something like physical layer or data link
2213850	2218570	layer security, uh, for example, for Mac layer encryption, um, as we have seen on other modems
2218570	2222370	would be an option. Um, source authentication through, for example, the protocols actually
2222370	2226850	validating that not some, uh, random network DEF CON guy is actually just sending the
2226850	2232610	software update, um, or on a network layer, maybe IPSec or some other VPN solutions. Also,
2232610	2238290	um, maybe not using, uh, Linux kernel version 2.6.35 on something that is shipped, uh, these
2238290	2243430	days is maybe also, uh, an option. Um, but yeah, it's, it's a pretty big, uh, pretty broad
2243430	2246750	topic and obviously the, the, the solution to this specific, for example, remote code
2246750	2252130	execution should also be pretty clear. And with that, essentially we showed, uh, the reverse
2252130	2256890	engineering of one of, uh, of one probably broadly used VSAT system. We identified
2256890	2260870	numerous attack vectors and vulnerabilities. We also built a full end-to-end wireless
2260870	2266210	attack where we really can just take an SDR and pawn a, a working modem. Um, we
2266210	2271250	successfully performed signal injection attack that way. Um, and we are as certain as we can be
2271250	2276030	without actually testing it, which is obviously not quite feasible. Um, that this would work on a
2276030	2290650	satellite, ultimately breaking the beam. And we do have some time left. So, um, if you have any
2290650	2296530	questions, feel free to come to one of the microphones in the front. Otherwise, um, talk to us,
2296530	2310860	uh, in the, in a few minutes or so in the back. So I actually do have several questions. Uh, one
2310860	2316540	of the big things with satellite modems is that they have legendary latency. I think that would be
2316540	2324120	the kindest way to put it. Um, a lot of the problems with security, um, applications in
2324120	2329740	satellite environments is because you have very specific timeouts, right? But a lot of these
2329740	2336960	things are going like 20,000 miles round trip in order to even finish a TCP connection. So why IP
2336960	2341320	sec, which is pretty vulnerable to those latencies, would that be a suggested in your opinion?
2342000	2348360	That's an excellent question. Um, maybe just don't use IP sec. I don't think that that is maybe the
2348360	2353960	quite best option. Um, other vendors use, um, VPN solutions. Quite honestly, I don't know if
2353960	2358260	they're based on IP sec, so maybe IP sec is not the best option. It's some, some protocol like IP
2358260	2363140	sec that implements ultimately some VPN as some, some solution generally. I think it might be TLS
2363140	2372340	that they might use. That's fair. Alright. Thank you and if you have any more questions, uh, let
2372340	2374580	us know off, uh, off stage.
