start	end	text
0	4460	Hello, I'm Randy Tinney. I represent the Aerospace Corporation.
4460	9000	And today I'm going to be talking about SPARTA techniques and how easy they are.
9640	12680	If I can get my slide deck working.
16480	19140	There we go. So a little bit about me.
19140	22460	I first got into this industry back in 2018.
22620	27560	I was hired on as a contractor at NASA's Independent Verification and Validation Center.
27560	31240	In 2022, I was hired on at the Aerospace Corporation,
31240	34260	kind of as a jack-of-all-trades, let's say.
34260	35600	I do a little bit of everything.
35600	40400	Exploit developer, vulnerability researcher, website developer,
40400	45940	because I am the main developer for the Space Attack Research and Tactic Analysis Framework,
45940	47410	also known as SPARTA.
48340	53560	And then finally, my last kind of name to fame is last year,
53560	59110	I was part of the team that won the Red Alert ICS CTF, where we got a black badge.
59110	61710	So that's pretty exciting.
62290	65270	So let's kind of back up and talk about SPARTA.
65270	66990	In case anybody didn't know about SPARTA,
66990	72650	SPARTA is a cybersecurity framework that we launched back in October of 2022.
72650	75550	We're actually coming up on our second year anniversary.
75550	84170	And it is a cybersecurity matrix that mainly focuses on spacecraft and space-related systems.
84170	87530	It's very similar to the MITRE ATT&CK framework,
87530	94650	where it looks at all of the threats, tactics, techniques, and procedures.
94650	97590	Only this one focuses on the space systems,
97590	101170	while MITRE ATT&CK focuses on more on the ground side of things.
101170	105670	And really, we built this tool for both the commercial and the government users
105670	112090	to mainly stay up to date for the various attacks that may threaten their field.
112090	118010	And it's really gotten a lot of attention from the industry itself.
118010	119450	We've had a lot of good feedback,
119450	123770	and it's really grown thanks to the contributions that everybody's done.
124230	127450	Unfortunately, because everything is kind of unclassified,
127590	134990	a lot of the, let's say, attacks that we've talked about are more from a tabletop perspective.
135130	139370	We can't really give any kind of actual attacks that have occurred.
139370	141310	Nobody wants to reveal that information.
141310	143510	And so a lot of people that are just getting into this industry
143510	145770	don't know what they look like.
145770	148370	They don't know where they can be detected.
148370	151150	They don't know how to really block them.
151370	155430	And so that's another reason why I did the research that I did
155430	160150	in order to actually do these attacks in a simulated environment
160150	164370	to help people see where things are going to be detected
164370	166470	and how they actually look like.
166670	169270	To do this, though, I need to kind of take a step back
169270	176710	and really look at how a spacecraft, how we can communicate with it.
176710	179470	And so I'm a very simple person.
179470	183650	So I designed this very simple image.
183790	186770	And really the idea is, you know, you have a person behind a computer.
186770	188610	We call that command and control server.
188610	191850	And they're pressing buttons, sending commands up to the spacecraft.
192210	195830	That command will then flow over to the front-end processor,
195830	197670	which then travels to a modem.
197670	205330	Now, sometimes, not always, a mission or a operation will have a encryptor or authenticator.
205330	206990	We call that the bulk crypto unit.
206990	210250	Usually it's placed between the front-end processor and your modem.
210250	214310	So right before those packets are transferred to the RF signal.
214310	215670	This is not always the case.
215670	220490	We are encouraging that more often, but still, it's a slow thing to be included.
220950	225110	But anyways, after it either goes through the bulk crypto unit or it doesn't exist,
225110	228050	it goes to the modem, gets transferred to the RF signal,
228050	232270	to the ground satellite, up to the spacecraft, and there we go.
232270	234570	Same with telemetry.
234570	237710	It just comes back in the reverse direction.
238490	242650	And then, of course, I added this little feature where you can see where it goes from human
242650	247320	readable to spacecraft communication to the RF signal.
248090	253170	So knowing this and seeing this very simplified manner,
253170	258870	I immediately thought about where could the best method of attack be for this system.
259070	263470	Because a lot of the people in the space industry think that their systems are untouchable just
263470	264430	because they're in space.
264430	270530	They're, you know, high above Earth, hard to talk to, radio frequency is hard to decode.
270670	278230	So in my mind, the most logical attack vector was to the left of that bulk crypto unit or the
278230	279490	modem if it doesn't exist.
279490	285550	And really focusing on either the person itself, the command and control server, or the front end
285550	288390	processor, or any combination of the between.
288530	293890	So the idea is you're going to be actually compromising that ground station in some way
293890	296010	and attacking at that point.
296650	300930	Now, unfortunately, because I've been on a lot of missions as a cyber assessor,
300930	304210	I've heard a lot of excuses of why this won't work.
304210	308330	Actually, people do not like it whenever you say that their mission operation center could
308330	309070	be compromised.
309070	316850	They think because they have a lot of, you know, guards with guns, you know, different fences
316850	319250	with barbed wires, that they're untouchable.
319550	326170	In fact, they really don't even like acknowledging that there could be a breach in their system.
326170	329050	And they come up with a ton of different excuses.
329290	332930	Some of my favorites are, you know, we got a lot of firewalls.
332930	335490	They're not going to get past that, obviously.
335570	337250	Everybody knows that's the case.
337250	338710	We're air-gapped.
338710	342250	Our systems don't even touch the network at all.
342670	343230	Okay.
343850	347650	And then they also say that we just accept that risk of insider threat.
347650	351430	You know, the guy behind the command and control server, he may send a bad command,
351430	352810	but we've got mitigations.
353110	354350	Not always the case.
354350	356170	And we show them that.
356550	363230	Unfortunately, just it's a lot easier to assume that at any point in time, you're going to get,
363230	364170	you're going to have a breach.
364170	365730	You're going to be attacked in some manner.
365730	366710	It doesn't matter how.
366710	368870	There's always going to be a vulnerability available.
368870	372390	So if you assume that that is a possibility, you'll be more likely to patch it.
372390	373930	We definitely promote defense in depth.
373930	375710	And that's where this comes from.
375730	380530	So whenever I say that we are assuming that our initial access vector is the compromised
380530	386330	ground system, I am referring to the actual Sparta TTP that we've created of the compromised
386330	387390	ground system.
387390	391270	And this is one of the ones that has the highest notional risk score as well.
391270	393790	So we definitely take this very seriously.
393790	396910	And we're saying like, this is going to happen.
396990	399650	So just assume it, accept it, and be done.
400290	403630	And like I said earlier, I'm a very simple person.
403630	406170	So my attack that I did was very simple.
406370	410850	In fact, it's so simple that I just did a man in the middle to prove that all these
410850	412190	attacks can be done.
412330	416590	Specifically, I do an ARP spoof between the command and control server and the front end
416590	417410	processor.
417990	421690	Now, once again, I kind of feel what you all are saying.
422330	426130	No, nobody's going to do an ARP spoof on a very complex system.
426130	427370	This is too hard.
427370	429170	That's script kitty stuff.
429590	435930	Well, a couple of weeks back, we were actually at a training event where we were testing
435930	441750	some things and we did these attacks and they couldn't detect us because they also thought
441750	442830	they were too simple.
443410	448150	So even in these complex systems, please don't overlook the simple stuff.
448710	452130	Script kitties exist and they will try to attack you at all times.
452190	453350	So that's what I'm saying.
453350	456790	And that's what I've done for this entire presentation.
456790	460130	So I created a tool that was just a very simple man in the middle.
460270	465030	I called it the Sparta Cyber Exploiter just because I liked acronyms.
465030	469770	I'm not here to promote the tool because I will tell you the tool itself is a Python
469770	473490	Flask server running Scapi and the Netfilter queue.
473490	476570	So you too can create your own Space Invader if you wish.
476570	477170	Very simple.
477170	481330	You just have to know what those three things are and some CCSDS decoding.
482410	485630	So let's talk about the actual environment because these are the attacks.
485630	487470	You can read what the attacks are going to do later.
487470	492250	But the actual environment we're going to be attacking is NASA's open source NOS cube.
492250	493230	You can go to GitHub.
493230	494310	I've included the link here.
494310	499590	It's a very, very awesome tool if you want to play with a realistic spacecraft system.
499590	502490	And you're going to see how realistic it is in these demos.
503790	507150	All right, so let's go actually start talking about some TTPs.
508030	511950	The very first one is just exfiltrating telemetry and command.
512470	516730	This one really is kind of overlooked because, once again, it's just packets.
516730	517830	Nobody knows what to do with them.
517830	519570	Actually, this is kind of pretty serious.
519570	521270	You're going to see why in a little bit.
521790	525310	Everything that you see here will actually be used in future attacks.
525610	529130	I will not force you to decode CCSDS.
529170	531610	Just know that if it starts with a zero, it's a telemetry.
531610	533310	If it starts with a one, it's a command.
533630	535090	Okay, very simple.
535090	537490	And this is all done just because we're man-in-the-middle,
537490	540810	not doing anything special, just printing out those packets to the screen.
542210	547550	So the second attack that we're going to do is actually falsifying the telemetry that's downlinked.
547590	552290	In a mission operations center, the telemetry is probably the most important information that
552530	557610	a person can get because that tells them the health and status of their spacecraft.
557630	560750	So what we're going to do is we're going to degrade that confidence.
560930	564590	And we're going to do that by manipulating packets.
565170	568830	So I have a video here where we've captured a telemetry packet,
568830	573910	and we're actually going to change every telemetry that has a specific AP ID or application ID,
573910	578330	so that the ground station is going to see what we want them to see,
578330	580110	and they're just going to start communicating.
580110	583130	So here I'm sending a bunch of no-op commands to a camera.
583130	584790	No-op stands for no operation.
584790	587330	And really, that's just going to send the command counter up.
587330	592110	But since we're falsifying telemetry, they don't see that information at all.
592110	597070	So they are probably thinking, oh, we've lost complete control of our spacecraft,
597070	599370	or our flight application isn't working.
599590	605750	However, after we stop the command, you will see that command counter go up by, like,
605750	608730	you know, a lot since I sent a bunch of commands.
608950	613490	So yeah, that's an immediate degrade of confidence level in your ground system,
613490	616650	which is, I don't know, kind of terrifying in my mind.
617450	619150	The next one is very similar.
619150	621410	We're modifying the packets on the fly.
621410	625390	So in this example, we're taking a very specific,
625390	630230	or we're watching for a very specific command, and we're changing it to something else.
630330	634170	In this example, we're going to be modifying the camera no-op
634170	639570	just to the executive services no-op, just to show and demonstrate what this does.
639590	641930	But this can actually be pretty dangerous.
642150	646630	You know, let's say you captured a command that was changing a registry key on the system,
646630	651390	and you sent that off, and you wanted to block the ground station from,
651390	652370	you know, changing it back.
652910	655350	This is a specific way in which to do that,
655350	661570	where it's going to block every attempt to change it with very little effort on your part.
664530	668710	Yeah, so we just send in those commands just to show that they've sent, and then we come back.
669090	670810	The next one is super easy.
670810	671510	It's jamming.
671510	673810	Your man in the middle just blocked the packets.
673930	679450	Once again, this stops, this degrades the confidence in your downlinked telemetry,
679450	682230	and it can also stop any commands from going up.
682230	684550	So once again, if you've attacked the spacecraft in any way,
684550	688090	you can just stop them from communicating entirely.
688490	694410	In this case, all you need to know is the whatever port and IP you wanted to block.
694410	698830	In this case, we're blocking the command and control server and the telemetry downlink.
699150	701990	And yeah, telemetry is not going.
701990	705430	And then whenever we stop it, it's going back.
705430	713370	Once again, it's a very simplistic attack, but it's detrimental to the mission operation center.
714830	719230	And the other way on the other spectrum of that is flooding attack.
719230	724830	Flooding, you're just sending a bunch of information to whatever port you want.
724830	727370	In this case, and just for a visual effect,
727370	732230	I send it to the telemetry just so you can see what information's there.
732230	735810	There's actually two different flooding attacks that we follow in Sparta.
735810	738570	One is the valid commands and the other one's just random data.
738570	740550	I'm going to be showing the random data one just to show
740550	744790	how you can degrade confidence in that ground station again.
745250	749130	And as you can see, it's just complete chaos on the ground station itself.
749950	755090	The idea of this, though, is that you want to basically block all communications.
755510	759570	You could also send a bunch of random data up to the satellite.
759570	763270	The only reason I didn't do that here is because due to the simulation,
763270	767770	it has to be pretty beefy, thanks to the 42 simulator,
767770	769390	which we're going to talk about in a little bit.
769670	773370	So really, it didn't show any kind of good visual effects.
773770	775310	But yeah, you could totally do that.
775310	776370	And if you send it up to the bird,
776370	780610	you could do everything from locking it up or crashing it, really.
783090	785030	Oh, skipped too far ahead.
785870	789530	All right, so this is probably one of my favorite ones that we're going to do.
789530	790710	It's the rogue ground station.
790710	792670	You do not have to be man-in-the-middle for this.
792670	794530	In fact, this one's probably even more dangerous.
794530	799610	It's another initial access vector with a very high notional risk score.
799650	805270	The only thing you really need to know is what IP and port the front-end processor is talking on.
805290	807770	A lot of front-end processors that I've looked at
807770	812110	does not have any kind of authentication enabled to talk to that port.
812130	815890	So you can send whatever data you want.
815910	819490	I'm just doing it in this tool just because I like everything.
819490	823550	Simple, together, and a nice GUI for visual effect.
823550	825110	That's the only reason it's here.
825130	826410	Now, for the rogue ground station,
826410	830750	you actually need to have the command-and-control server or command-and-control database,
830750	834850	or you need to be having captured packets like in the man-in-the-middle.
834850	838750	In this case, as a good hacker, I have had the command-and-control database,
838750	841070	and I'm going to upload that to my system.
841970	846630	Command-and-control database is probably crown jewels of your operation.
846630	852430	For some reason, it gets leaked or it's captured.
852970	856730	Yeah, your system's done if they can figure out how to decode it.
856950	859570	In this case, I upload it. I know how to do everything.
859710	861790	I send it to that front-end processor,
861790	865010	and I just send it a bunch of commands just to make sure that it works.
865010	870550	In this case, just no ops, not really caring, just to show that I have access to it.
870550	874090	But I thought it would be really cool if we combine some attacks.
874110	876090	So I'm going to work with the reaction wheel.
876090	882330	Now, the reaction wheel on a spacecraft is how it turns in space to point to where it needs to go.
882350	885770	So I thought it'd be fun if we activated one.
885770	889090	But I'm actually going to combine this with an attack previously,
889090	891970	where we were changing the telemetry down.
891970	898610	So I captured a telemetry packet that we had, and I go back to my changing packet attack.
898610	900750	I'm just going to change it to whatever that is,
900750	905190	so the ground operations doesn't know that I'm doing anything.
905190	909010	Launch the attack, go back to my road ground station.
909390	912670	I really don't care, you know, what wheel I use.
912670	914790	Oh, so this is the 42 server, by the way.
914790	916410	This is what makes it so beefy.
916410	920770	This CubeSat will actually rotate around Earth and spin, which is really nice.
920770	924150	And that's another reason why this NOSCube simulator is pretty awesome.
925010	927870	It'll spin with every tick, so you'll actually see it.
928070	929670	So yeah, with the reaction wheel, I don't care.
929670	932830	I'm just going to set the torque to 10 and let it fly.
933790	939110	So every tick in the 42 server, it actually, you know, flops along.
939110	946470	So eventually, you'll start seeing that CubeSat rotate on that wheel as it's been activated.
946470	949090	And of course, the ground operators, they're not aware.
949090	950650	I'm completely blocking them.
950650	951950	They have no clue.
952710	955750	And yeah, so they think everything's fine and dandy.
956150	957470	Pretty awesome.
957470	960870	Now, they would see it if I went back into my, you know,
960870	967050	my ground station and I stopped that attack, which I'll go ahead and do just to show you what that would look like.
967590	974690	And if you look over on the Cosmos packet, you'll actually see that wheel zero start to change.
974690	977610	And that's how you're going to see that the reaction wheel is changing.
977650	980310	But once again, they had not a single clue.
980630	981970	Man in the middle.
982230	984090	Who would have known it's that powerful?
984090	985130	All right.
985130	991190	So for my last attack, and this is the one that, you know, I had a lot of help with this.
991190	993330	I did not write this rogue flight application.
993330	998510	It was actually written by some of my friends at the IV&T facility, specifically the JSTAR team.
998570	1004970	And they wrote this rogue flight application that they called Havoc, which is a backdoor into CFS.
1004970	1007330	I just kind of modified a little bit to fit our needs.
1007330	1010090	But this is pretty dangerous.
1010090	1013470	This assumes that the initial access vector was the supply chain risk.
1014090	1019990	And in this idea, because supply chain risk, our flight application is uploaded.
1020070	1021810	The ground operation is not aware.
1021810	1027030	And because we can talk to the front end processor, we can then talk to our flight app.
1027390	1029410	Specifically, this flight app does three things.
1029410	1035150	It can upload a file, download a file, and basically give us full command access to the satellite.
1035150	1039410	Because a lot of satellites right now are running on a Linux system.
1039410	1041770	So we have full Linux terminal with this.
1042610	1044330	So yeah, let me show you.
1044730	1049910	So once again, all I have to do is just point it at the front end processor IP and port.
1050750	1053030	And just select which command I want.
1053030	1055770	I set a quick no op just to make sure it's working.
1055990	1058870	But really, I'm more interested in uploading a file.
1059450	1065990	As a good hacker, I was trying to think of a way to take over the satellite and make sure it was mine and nobody else can touch it.
1065990	1068450	So I created a ransomware script.
1068990	1070510	You know, because why not?
1070510	1071750	I thought that'd be fun.
1071770	1073290	So we send that up.
1073290	1076370	I wanted it to be low and slow so that nobody could really detect me.
1076370	1078410	So it takes a good couple minutes.
1079290	1084650	But it's a pretty fun idea to think that you're going to ransomware a satellite, right?
1084670	1087810	Because then you're the only ones that are going to attack it.
1087810	1093070	I'm going to get Buku money and, you know, whatever mission is just, you know, SOL.
1093650	1095550	So yeah, I uploaded the satellite.
1095550	1098850	And now I'm going to run my command literally like I was on a Linux terminal.
1098850	1102930	So make sure it can execute and encrypt the system.
1105110	1109410	Now, the fun thing with CFS and the reason why this works is all of their flight applications
1109410	1112630	are actually in their own individual startup scripts.
1112630	1119470	So I can encrypt everything except for the command ingestion, the base CFS, the, you know, the bus.
1119470	1122890	And of course, my own application, because I want to be able to talk to myself.
1123190	1127190	And once that's encrypted, I just do a hardware reboot,
1127190	1129510	because I have the command and telemetry database,
1129510	1131490	because who doesn't need a good reboot after a while?
1131830	1134370	And then we just wait for it to come back up.
1134370	1137050	Now, I will tell you that this takes a long time to come up.
1137050	1139630	So I'm just going to talk about Havoc and how awesome it is.
1139770	1144050	Because with this tool, and I'm really excited to continue researching on this,
1144050	1145650	we can do so much more.
1145650	1149690	I can actually start doing way more Sparta TTPs with this one tool
1149690	1152830	than I could with the actual man-in-the-middle-road ground station.
1152830	1155370	Because I'm going to have access to the actual bus.
1155370	1157410	So we can do bus replay attacks.
1157410	1161550	We'll be able to do GPS spoofing, attack the hardware.
1161710	1163950	There's all kinds of things we can do.
1164730	1167810	So while it's getting ready, I was just opening up some command centers
1167810	1170010	so you can see that they have no access.
1170010	1174110	Because I really want to prove that point of how in the dark they are.
1174110	1176830	Because there is no, especially in this system,
1176830	1180150	there's no way to run a script like I just did.
1180150	1183250	So literally, I am the only one that's able to do anything.
1183250	1184730	They can't even upload a file.
1184730	1189110	So they're really not doing good.
1189110	1190430	So telemetry is down.
1190430	1191990	They're not even getting telemetry back.
1191990	1194290	They're not sending any commands.
1194670	1195510	Nothing's happening.
1195510	1197070	I've already sent my ransom.
1197230	1200570	I want to get paid a lot of money for whatever system this is.
1200570	1203950	And if I was a good hacker, of course, I'm going to go decrypt it.
1203950	1205590	Make sure they get their stuff back.
1205590	1207230	I don't want to keep that running.
1208270	1209710	And that's what I'm just doing here.
1209710	1211210	I'm just going to send a quick decrypt command
1211210	1213230	because I'm not going to encrypt my own script.
1213890	1215510	And make sure it's decrypted.
1215510	1219930	Do another reboot of the system and then wait for it to come back up.
1219930	1221690	And then they'll have full access again.
1222010	1227750	So if you ever wanted to know how to ransomware a satellite, there you go.
1229050	1229630	All right.
1229630	1233070	So while this is running, that was the end of my attacks.
1233070	1238090	And if any of these kind of gave you like heartburn, made you worry, you know, like,
1238090	1239870	oh, my God, what's happening?
1239870	1240870	Why are this so simple?
1240870	1243570	Are she able to do this with nothing but an ARP spoof?
1243710	1248130	Luckily, every single attack I did is described in Sparta.
1248310	1252290	And with those descriptions, we've actually included countermeasures.
1252350	1256770	So these countermeasures will tell you exactly how to, you know, how to block it.
1256770	1261270	It'll tell you all of the different NIST controls that you can add.
1261270	1265970	If you're an ISO 27001 person, those are in there, too.
1265970	1268730	We've tried to map it to every single thing
1268730	1271510	that people that we know in the industry use.
1271730	1275770	So, yeah, I would definitely recommend going and looking and reading on that
1275770	1281550	and just making sure that you are, you know, you have those controls enabled.
1282610	1283290	All right.
1283290	1286470	So in summary, defense in depth is very important.
1286470	1289330	There are a lot of different ways that these attacks could be blocked.
1289330	1294330	But, you know, really, we wouldn't have realized that until I did this research.
1294330	1297350	For example, the best way that these attacks could have been blocked,
1297350	1303430	which I mentioned here, is either including in the bulk crypto unit way earlier on in the system,
1303430	1307030	which, you know, I would not have been able to communicate with my rogue app.
1307030	1312610	The rogue ground station wouldn't have worked without the encryption keys.
1312610	1318020	So that would have definitely blocked a vast majority of this information or these attacks.
1318690	1322270	And I also include the space data link security.
1322270	1325130	If you do use CCSCS, it's another protocol that they've released
1325690	1329470	to include both authentication and encryption to their packets.
1329570	1335770	So once again, it's very simple things that you can add just to block these kind of attacks.
1337390	1339930	I've also included in this PowerPoint some reading material,
1339930	1342910	because I know you guys like to read and you want more things to read.
1342910	1347690	So a lot of these briefs are on Sparta, like how we thought of the idea.
1347730	1351290	We've also included a lot of links to Sparta, like how to get started with it,
1351290	1354230	where to get started with it, because it's a huge application.
1354230	1357850	And there's a lot of different media examples of other talks
1357850	1360730	that have been done on this kind of sort of same topic.
1361090	1367370	I've also included these more DEF CON talks that my colleague Brandon Bailey have done,
1367370	1369650	also including some of the SISAT work he's done,
1369650	1373650	and a lot of different papers and articles that also talk about
1373650	1377330	different attack vectors and countermeasures that you can include.
1378690	1380610	And that's it.
1381470	1385310	So, thank you very much.
1390130	1392410	I can't see anything.
1393250	1397530	All right, I can't see, that light is blocked.
1397530	1398730	Are there any questions?
1399250	1402310	I can't see if they have any questions, though.
1403250	1404950	Anybody have any questions?
1422870	1427290	So, this is just assuming CFS, which CFS, if you're not aware,
1427290	1431110	is NASA's open source satellite kind of information.
1431110	1434550	So, you can actually go to their GitHub, download CFS, and build your own spacecraft.
1434870	1438870	So, CFS has this methodology in which, like I said, it uploads,
1438870	1444230	or it starts all of its flight applications through those .so files.
1444350	1447910	So, if, you know, say I wanted to do a supply chain attack,
1447910	1452950	I would just find that development server and just put my .so file in there.
1452950	1456930	Or if they had, like, upload file protocol, like CFTP,
1457350	1461670	then I would be able to upload my own startup script and just do another reboot.
1461950	1464350	So, there's a lot of different methods in which
1464350	1467330	I could get that flight application onto the actual system.
1471580	1474160	Yeah. Yes.
1474940	1479100	Any other questions?
1480280	1484180	All right. Thanks, guys.
