Hey everyone, I'm Steve Colenso with the Air Force Research Lab, and I, along with other members of the Air Force, the U.S. Space Force, and many other partners, make up the HECASAT team. In this video, we're going to give you an overview of HECASAT, some of our qualification challenges from our HECASAT-3 qual event, we're going to talk about the HECASAT-3 final event, and we're going to be able to view the digital twin demo that we gave at DEFCON 30 in the Aerospace Village. We're also going to show you the Moonlighter satellite that we'll be launching early in 2023. With me here is Eli Williams from the Space Systems Command. Eli. Can you give us a little bit about what the mission is of HECASAT? All right. Thanks, Steve. Our mission is to inspire the world's top cybersecurity talent to develop the skills and awareness necessary to help build more secure space systems and reduce vulnerabilities. Consider it a global alliance of hackers, researchers, and enthusiasts working together to secure the future of space that we all depend on for daily life. We strive to host the world's best space capture the flag competition that involves solving complex problems that are relevant to the space we live in. We are committed to the future of space that we all depend on for into space vehicles, the ground stations, and the links in between. When we are in competition mode, we continue to help our followers learn space faster with hopes of bridging the gap between space and cyber. Over the past two years, HECASAT has garnered over 10,000 international competitors and millions of spectators from industry, academia, government, and the practice. The HECASAT CTF has been held on everything from specialized space hardware on air bearing tables to CubeSat form factor systems, creating space-relevant environments that gave access to a unique and novel experience for competitors. HECASAT has changed the way the globe looks at cybersecurity in space and how satellite designers and developers go about building security into their systems. Eli, what's the future hold for HECASAT? Okay, this October we have our final event for HECASAT 3 where the top eight teams from this year's qualifications will take their shot at winning over a hundred thousand dollars in cash prizes. Looking into next year, our biggest yet, we are going to be launching our space vehicle, called Moonlighter. It's going to be on orbit, the first CTF in space. Moonlighter is set to launch in March 2023, and we will host the HECASAT 4 final event on this platform as the first on orbit competition. Thanks, Steve. So for the HECASAT 3 qualification event, which was a Jeopardy style event held on May 21st and 22nd that was approximately 32 hours long, there were 27 challenges over seven categories ranging from space math to cryptology. We had over 800 teams and about 2,500 individuals participating. The top 10 winning teams received $10,000 each, and the top 40 teams received prize packs that have t-shirts, stickers, and coins. As you can see here, there were a number of challenges that were very difficult just by looking at the number of solves. The larger piece of the pie shows the easier challenges, and as we moved throughout the competition, we had some very difficult ones that only got a few solves. We had some very difficult ones that only got a few solves. The larger piece of the pie shows the easier challenges, and as we moved throughout the competition, we had some very difficult ones that only got a few solves. Mike Walker from our development team is going to walk through two of our more difficult challenges called Welcome to the Spider-Verse and Don't Fly Me to the Moon. All yours, Mike. Hey, this is Mike Walker. I'm a principal software engineer at Chromulence, and my handle during HECASAT is Cydonia. Today, I'll be going over the Don't Fly Me to the Moon challenge that we ran during this year's HECASAT 3 qualification round. Let's get started. This challenge was inspired by real life events. In January of this year, Bill Gray and several other astronomers who were tracking objects in Earth's orbit realized that there was an unknown object that would hit the Moon in early March. There was initially some confusion over what exactly this object was. Initially, the astronomers thought this object was the upper stage of a SpaceX booster that was from several years ago, inserting a satellite satellite into geosynchronous orbit later they updated their findings to you know suggest that maybe this was a Chinese launch rocket booster uh regardless of the origin it's really standard procedure and extremely common for people and launch vehicles to be abandoned for in upper orbit uh there's not a lot of fuel to bring them back and it's something that's pretty regularly done um so it's not it's not it's not unusual or or even strange that uh that somebody might have lost track of this uh booster in March of this year as predicted this object smashed into the back side of the moon the impact crater was even confirmed several months later by NASA's lunar reconnaissance orbiter and when this story hit the news we thought this would make a great uh advanced level uh space map challenge here's how we presented the problem the challenge prompt introduces the problem and there's a really big hint in the prompt it tells you you're working for the galactic mining mining and tunneling Corporation and specifically says that its acronym is GMAT it's good to be inquisitive during these CTF events so you know if you were to just Google GMAT and space you'd find that this references a free tool that does orbit planning provided by NASA and that this tool is easy to install and comes with several tutorials on mission planning it's highly advised that you use a tool like this solving this problem otherwise you have a lot of issues when you log into the challenge itself you can see it gives you the orbital parameters that Bill Gray and his team released in January and then simply asks you for a timed list of maneuvers with a limit an upper limit of two kilometers a second of Delta V which is quite a bit before we jump into the solution let's talk just about the the statistics overview for this challenge uh only four solves occurred on this it was a very hard task even at the Graduate level uh you know engineering graduate students would try to solve this for a homework problem and you can see the the fastest team solved it in four hours and we even had teams that took over over 12 hours to solve it so congratulations to all the teams that solved this you really solved an advanced uh very hard orbital mechanics problem you know one that one that would easily be given as a homework assignment at the graduate level all right so need to acknowledge and and account for in order to properly solve this problem the first is that we're dealing in what's called the n body problem there's multiple gravitational bodies in the solar system hundreds of them actually but the primary ones we're concerned about in this problem are the earth the moon and the sun in past hackasats you know you could get away with using keplerian orbital mechanics or just using the two nasa two line elements uh but in this one you needed to account for the sun the earth and the moon at a minimum to solve the problem and you could actually verify this if you set up the problem in gmat or whatever tool you were using the object in question the booster won't hit the moon unless you turn on gravity for all of these for all of these bodies and if you're not replicating what we said would happen you know the booster doesn't hit the moon you're not going to have a chance to really solve this problem um without first replicating uh you know the problem itself uh a couple things to note there's no closed form solutions to the n-body problem so like we said capillary and orbital mechanics won't work here also the moon's orbit is elliptical so even generalizations like the circularly restricted three-body problem won't suffice but it turns out space agencies and companies solve this type of problem all the time you can solve this problem using a method called a two-point boundary value problem solver we know what the dynamics are the solution is in closed form but it's a numerical method to solve you know the trajectory because we know two points so we're going to be using a two-point boundary value problem solver and gmat actually comes with several tutorials that teach you how to use this tool so let's take a look at the initial orbit uh you can see in green we have the booster the moon is gray and the l4 point which is where we're trying to bring the booster to is in purple so what we're going to see is we go through this trajectory is that the the booster will complete two orbits it'll go through apolapsis twice um and after right after the second appellate assist is going to snap smash into the back of the moon so we can see here it's gone through the first apple axis which is the highest point in the orbit it's going to swing back by the earth and you'll see that the orbit has changed it's no longer capillary and because it it it came too close to the moon the moon is newly formed so now you're able to exceed the gravity changed the orbit uh so the orbits change you're in a different orbit now we're going to hit the second epilepsy the second time it hits its highest point in the orbit and then in just a few seconds here we're going to smash into the moon just as belgrade predicted there's the lunar impact so here we have a basic cartoon of the earth and the moon and we're going to talk about our problem in three simple steps in this cartoon to sort of plan out what we want to do before we go implement it in gmax step one is we're going to drift to the second epilepsy which is the highest point in our orbit step two is once we get there we're going to use the two-point boundary value problem solver to to solve a burn that will take us to earth moon l4 once we get to l4 we're going to solve a burn that makes our velocity zero with respect to l4 uh lagrange points are like l4 are equilibrium points in the earth moon circular restricted three body problem and if you're exactly on that point you'll stay there l4 and l5 specifically are marginally stable points which means if you get close to them you'll stay close to them at least in the circular restricted free body problem now we said we aren't in that problem you know we have more than just the earth and the moon but we'll see that this approximation will hold up at least for a basic solve to this this problem all right so let's talk about using the earth and the moon using gmat um step for step one we're going to set up the initial conditions in gmat we're going to turn on gravity for all bodies you only need to do it for the earth moon and sun to solve this um but we just turned it on in our solver for everything like even paluto which has almost no effect you know we just turned everything on um we're then going to propagate to the second app lapses you can see the first two steps of the mission sequence are to go to app lapses one and two then we set up a targeting maneuver which is the two-point boundary value problem solver and we see that the set up coordinates are divided into two variables the first parameter is the set up situational스가 value and the situation is based on the set up value value and the radiation value for the té operation and there are major changes to so as a result we take into account enough time togehen so again everything you're doing is visible as it goes to prose with this scenario we input the following here uh hyperbolic ị four point we're going to use the same targeting two point boundary value problem solver to vary delta v and all we're trying to achieve here is that our velocity with respect to l4 is zero so it takes much longer to learn how to use this and solve all this i just blew through the answer but it really is you know once you know what to do it's that straightforward so let's take a look at our our solve in gmat you can see our this is the same sort of video we saw before our booster is going through the first epilepsy it's going to go to the second one and then you'll see the trajectory will turn orange as we as we approach as we do our burn and go to l4 and then you'll see when we get to l4 that we do another burn and we stay there so let's just wait for that to happen all right so you can see we're getting close to l4 we just hit it and now you can see that our booster is actually tracking with l4 but as we go around the full lunar orbit you'll see it slowly starting to drift away right now you might be asking i thought you said l4 is stable right like if i if i go there won't i stay there and the answer is if there was only the earth and the moon and that moon's orbit was a circle yes you would uh but the moon's orbit isn't a circle it's an ellipse um and there are other bodies bodies specifically perturbing that orbit so you can see we stay close to l4 but we don't stay exactly there um so that's it for the solution uh that was sufficient to you know stay close enough to l4 to solve this problem and get the flag uh so yeah congratulations to the teams that solved this challenge uh you know single event upset pslv belt delays and nsl uh you all did a great job and uh you know you did great at spaceman congratulations the next challenge we're going to look at is welcome to the spider-verse this was one of the advanced uh cryptography problems so just like don't fly me to the moon this problem uh had some inspiration in real life um several years ago um some researchers discovered an unpatchable vulnerability in the xilinx 7 series fpga and that fpga just happens to be extremely common um in spacecraft but but also everywhere um you can even see nasa's uh state-of-the-art uh spacecraft avionics board uses fpga um and is susceptible to this vulnerability we called the problem welcome to the spider-verse because in uh the paper and the video and several news article articles about this vulnerability uh it was referred to as a spider-man versus spider-man sort of problem you use an fpga to break its own encryption algorithm uh so they called it that so if you did a little web search uh you would you would sort of get the joke uh that is a spider-man versus spider-man problem you're in the spider-verse so here's the challenge itself as we presented it um the challenge came with a markdown file that described a fake or a toy fpga we didn't want to give you a real xilinx 7 because solving this problem is hard enough without having to read through pages and pages of xilinx documentation so we sort of dumbed it down to just the information you needed to solve it and then we gave you an encrypted bit file for you to crack if you were to feed this bit file into the challenge uh what you'd see is that it prints the first four bytes of the flag and then exits um so you you can kind of see the whatever is encrypted in there is used to print the flag but it's only printing four bytes um so in general your your task was to decrypt this file um change whatever is printing four bytes printing the whole flag and then to re-encrypt the file and have it be sent out um and you know just as a joke we said that the the encryption algorithm in the fpga is definitely implemented in a very secure way so we're going to give you a little bit more detail about that here way i'm not sure i believe that i don't think anybody else did either uh so before we get into the solution let's just talk about the problem statistics uh only three teams solved this problem uh so congratulations to you know poland can into space perfect blue and 1064 sea bread uh you know pretty hard uh problem and you all solved it i know there was another team that had a solution but solved it after the after quals ended uh so congratulations to you guys as well even though you didn't score uh any points on it you know great job sticking with it and solving it you know this is a real vulnerability in school that you were able to exploit it all right so based on the challenge description and a web search we can we can basically determine very easily that this is uh an fpga vulnerable to a star bleed style attack as described in in the paper those researchers wrote and that paper describes the attack in detail and we'll we'll do an overview of it well um fpga is vulnerable to star bleed have two uh two critical components that are vulnerable and together they allow this star bleed style attack the first is that their configuration engine has at least one register uh used for multi-boot logic and unlike all the other configuration engine registers this register is not cleared on fpga reset or fallback which means that if a security reset occurs whatever is in that register will will still be there after the reset the second is that the fpga improperly has implemented uh hmac authentication and it uses unencrypted data before it's authenticated what that means is that we can conduct the following sort of attack which is a star bleed attack the first thing you do is you can manipulate an encrypted bitstream given some some known plain text and cdc malleability uh when you do this you you do it so that you cause a right to occur to one of these multi-boot registers the fpga will then reset and then after the fpga resets the whatever unencrypted word you have in that register will be sitting there waiting for you unencrypted and then you can use the same technique to cause a read to occur from that same multi-boot register and one word at a time you can repeat this attack for the entire encrypted section of your file and use the fpga as a decryption oracle so let's take a look at the format of the bitstream that we gave you the fake bitstream there's some unencrypted sections but mainly it's just a header and a footer and an encryption command this fake fpga doesn't allow any decrypted commands because we actually wanted you to to decrypt and encrypt this file so at first you might think we don't know very much but if you read through that markdown carefully what you'll see is while data is encrypted we actually know an awful lot about it the stuff in yellow is the data that's encrypted and the data that's unencrypted is the data that's unencrypted and the data that's unencrypted is encrypted data where we don't know what the plain text is but we know what it you know what function it serves so we know that there's an aes-256 initialization variable we know there's an hmac key um we know that there's an hmac tag and the green actually in this diagram shows that not only do we know what it's supposed to be a right configuration command we know both the plain text and the ciphertext so this this green highlighted word that's the plain text is the plain text and the ciphertext is the plain text this right configuration register that's the crux of our attack so if we look at the ciphertext again in terms of aes blocks we know this sort of green word as we said before and we're going to conduct an ae or cdc malleability attack against this word uh to change the right to config to write to one of our multi-boot registers so what are we going to do we're going to modify the same word in the previous block that's how a cdc malleability attack works so we're going to modify the ciphertext um so that we can change the plain text in the next block from 0x0101004 to 0x010700 and then i'm going to say xx or the final two x's are the number of bytes we want to write we're going to vary that xx from 48 to 64 and what this will do is it'll write four bytes at a time to our multi-boot register um with the last four bytes being the the last word the last four bytes being the bytes that remain uh after reset uh we're going to use 48 to 64 bytes so it'll be four rights and what that will do is conduct an attack where we're decrypting the words in block six and writing them out to the multi-boot register so if we do that attack uh against block six we'll and we do it four times you know once for each word in the block then we'll have a block six uh so once we do that we'll have decrypted one block of of all of those encrypted blocks we need um but we can conduct the same attack against block six to decrypt the rest of the the blocks as well simply by copying the block we want to decrypt and the block before it into block six and block five respectively so if we want to decrypt block two we'd copy block two into block six block one into block five and then we'd carry out the same attack and we do that for every single ciphertext block and that'll allow us to decrypt the entire file without ever knowing the aes key all right once the file is decrypted we can see every everything that we've decrypted and so let's take a look at the decrypted section of the file uh you can see we have the hmat key in there and it's a bit of a joke it's a very secure key um if you looked at this you'd know for sure you decrypted it right because it's like you can see there's the right config command we expect uh in just in the spot the markdown file says it'll be and then the first command after that which we didn't know anything about is a write command to register three and it's saying to write 18 bytes of data and then it's followed by the data that is going to be written and what you can see uh if you look at the decoded text is it's just a simple json string um so you can see it says print flag and then it tells you a four and if you remember at the beginning of this challenge your file printed out four bytes of the flag so it's pretty obvious that what you need to do is change that four to a nine nine nine um however once you do that you'll have invalidated your hmat tag so you also need to change the hmat tag which is highlighted in green at the bottom and change that as well um to the new value and if you wanted you could even change the hmat key to any arbitrary wanted since the the hmat key is encrypted and in the encrypted section that means we have the authority to change it to whatever we want all right so once we've changed those values we then need to re-encrypt um the file um and we're not going to go over how to do that in detail just for the sake of time but both the paper that describes starblade and this other paper we referenced by by rizzo describe how to do that using cdc malleability and the decryption oracle so since you already know how to decrypt a but a block of ciphertext you can use the method described in these papers with cdc malleability uh to then re-encrypt uh the changes you made and get a an encrypted um bit file with your changes you can then send that to the challenge server and it'll print out the whole flag for you so just to recap what did we do we used cdc malleability and starblade to create a decryption oracle we used that decryption oracle to decrypt a bitstream file we then forged a new bitstream with valid hmac tags but changed data while we just changed data in you know this toy example to to print out more of the flag somebody could use this to implement hardware trojans in an fpga and then we could then convert that to a text file and then we could then convert that to a and then make that bitstream file have valid HMX tags. After that, we re-encrypted the forged bitstream with the decryption oracle, and we had a fully encrypted new file with forged data in it that is valid. And we did all of this without ever having the keys. We just did it with the FPGA itself. And just as a reminder, all Xilinx Series 7 FPGAs are vulnerable to this attack, both the paper that we learned about this attack from and Xilinx have talked about countermeasures to this if you're using one of these. So if you are, I highly recommend you look into what they recommend. There are things you can do in hardware to stomp this attack out. And aside from that, feel free to come back to this challenge and use it to practice your skills. And if you have a Xilinx 7 Series FPGA, maybe even try it out yourself. All right, thank you. Thanks, Mike. That was a great amount of detail. Now, anyone can watch this video and further research on types of challenges. Next, we have our resident CTF expert, Jordan Wines, who's going to go in-depth about our Hack-A-Sat 3 final event. Hack-A-Sat 3 has all eyes looking upward as we continue on the path for a CTF in space. If you've been following along our journey, you might remember that in Hack-A-Sat 1, all teams were racing through challenges independently. In year two, we first introduced competitive aspects where teams could attack and defend their platform against their foes. And now, in year two, we're racing through challenges In year three, we're continuing that trend and moving to a pure virtual platform so that we can focus our hardware efforts on the satellite that's being launched in preparation for year four. We'll talk in more detail shortly about this new virtual platform, but it uses Basilisk to more closely model actual constraints team will face next year in the real world. For example, one of those constraints is that you have limited communication windows with a real satellite. They're not always overhead, and you have to coordinate your communications between ground stations to minimize periods where they're unavailable. We're also joined in the finals this year, year three, by both new and returning teams. Poland came into space, who scored second place in the finals last year and first place in qualifying last year, is back again with a first place qualifying finish, looking strong as usual. Perfect Blue came in second in the qualifiers this year, and that's not a surprise. They were actually the highest scoring CTF team worldwide last year on CTF time. Our third place qualifying team is the German Veltalis, who is also a returning team from last year's final. Of course, our fourth place qualifier, the French team, Solar Wine, is still the one to beat, having not only been the top scorer in year one, but also the first place winner in the finals in year two. Unlike the other teams described beforehand, many of the CTF regulars that we've seen in other events, Solar Wine came together just for Hackesat. And that's also true from our fifth place qualifying team, Single Event Upset, also back from last year. One of the other new teams to Hackesat this year is team organizers. And yes, that is going to make describing when they score and what happens in the game a little complicated, but it's worth the joke. It's not a surprise, of course, though, because currently on CTF time, they're actually second this year in the global rankings. New this year, but not new to the event, is team Samurai, a longstanding CTF team that played in year one, didn't make it last year, but they're back in year three. Finally, SpaceBitsRUs was our eighth place qualifying team and another first timer. They placed 28th in quals last year, but with a great improvement, made it at the top eight this year and made it into the money. And speaking of money, as a reminder, all those qualifying teams, plus two other alternates, mHackeroni and PPP, all won $10,000 and a great prize pack for their performance beforehand. And even better, they're now competing for $50,000, $30,000, and $20,000 prizes in our final event, which will be broadcasting starting October 20th. Make sure you join us on Hackesat.com and keep an eye on our Twitter, at HackUsSat, as we're looking forward to seeing you then as we watch these teams learn space. Jordan, thanks for that. Hackesat 3 is shaping up to be quite the competition, and we are excited to watch it all play out. Now, Mike Wehrmeyer from our development team is going to take a look under the hood at the digital twin we've developed for Hackesat. Take it away, Mark. Hey, everyone. This is Mark Wehrmeyer, also handles Spacey McSpaceSpace from quals earlier this year. I'm one of the engineers at Cromulence working on the digital twin for this year's finals. And today, I'm going to give you a quick walkthrough of what we've put together so far as we approach finals. This is basically the system that we're putting together for teams to be able to compete with later this year. So just a quick overview of the architecture of the different pieces and tools that we've brought together in the system. So one of the important things we brought in this year is a spacecraft simulation framework called BASALIS. This is from CU Boulder's, APS Laboratory. And this allows us to do a lot of, manage a lot of the physics simulation. So manage the spacecraft orbits. We can put in things like star trackers and create telemetry from those devices. And we can send that telemetry onto flight software. So like we're using NASA's CFS and OpenSat kits to actually process that telemetry and make the spacecraft think it's in an actual orbit. So kind of it's broken into two halves. So on the left-hand side is more of the infrastructure simulation side. This is more like what the admins would be looking at. So it has the BASALIS piece in there that's handling all the simulation elements. And then that SIM data, while part of it's being passed to the spacecraft flight software, also parts of it are being passed to Grafana and CesiumJS where we have some introspection into what the simulation is doing. And then CesiumJS allows us, to get a 3D visualization, actually see the spacecraft in its orbit over the earth, see where the attitude is pointing, see if the solar panels are pointed at the sun, get all that kind of information in a nice 3D visualization. On the right-hand side, so we've got our sensor data that's being passed into CoreFlight's system. So this year we are running this on a RISC-V processor that we're emulating in QMU. And that sensor data, so like our GPS receiver, telemetry positions, velocities, our star tracker attitude quaternions, how much power subsystems are consuming, how much power the solar panels are generating and what's stored in the batteries. All that information is passed from BASALIS over to CFS and OpenSAC kit and our RISC-V processor. So those pieces, that constitutes what we're calling the spacecraft in the game. And then from there, the spacecraft can be commanded and controlled from, so like a ground system sort of software, like a satellite operator would use. This year we've migrated to Ball Aerospace's Cosmos 5. So this allows us to send commands up to that spacecraft. So we can point the, point it where we want. We can turn on and off subsystems. We can also view the telemetry coming back down. And so one difference between, so like when we're looking at SIM data, we might be able to see all the attitude data and other physics data being generated. But then on the Cosmos side, we would only be able to see telemetry and send up commands when we have a connection established with the spacecraft. So, or if we turned off, for example, the star tracker, we'd no longer be able to see that star tracker telemetry in Cosmos, even though it's still being generated and handled over on the BASALIS side. A quick shout out to all the tools that we brought in. So like I said, BASALIS, from CFS, CU Boulders, ABS Laboratory, also CesiumJS, CoreFlight System from NASA, Ball Aerospace's Cosmos, Grafana, Linux on Litex, and OpenSatKit. So when I start up the digital twin, you're gonna see these four screens. So just a quick explanation of what's happening. In the top left is our flight software. So this is where we have RISC-V emulated in QMU. And on top of that, we're running our NASA CoreFlight software apps and OpenSatKit. As well as our custom flight software that we've added in. And then on the right hand side, the Cesium visualization. So this is where we can see where the spacecraft is in its orbit. We can actually move this visualization backwards and forwards in time. We can see if we're over ground station, we can see what the spacecraft attitude is if we're pointed at the sun. And the bottom left is the Grafana introspection into the simulation data that's being generated by BASALIS. We can see the battery charge levels, what the solar panels are doing, what the devices are doing, how much power they're consuming. We have any tumble rates on the spacecraft and we can see all of that stuff there. And then in the bottom right is the Cosmos 5. This is sort of the satellite operator view. So this is where we can send up commands like a team would in finals and also view telemetry. So now starting up the demo. So we've got all our four windows here. The first thing I'm gonna do is start the flight software. So this is basically, this is starting up core flight system. We've already got the RISC-V processor running. You can see all of the CFS apps starting in that top left window. So basically we've got our spacecraft started up and now we should be able to send commands to it and receive telemetry from it. We've added in a grid. We've added in a gremlin for demonstration purposes here. That's actually sending all of those actuator commands that you see in the flight software. So this is basically sending a bunch of rogue reaction wheel commands to cause the spacecraft to do a little tumble for us. So over on the cesium visualization, here's our space trap. It's doing that commanded tumble. Also we're over our tribute Vegas ground station for DEFCON. And I'm just kind of showing here, you can just rotate around in this, in the cesium visualization. You can get a really good idea of what's happening. So for example, it's really hard to understand what your spacecraft is doing by just looking at, for example, quaternion values or Cartesian XYZ positions and velocity values. It's kind of hard to make sense of that. So putting it here in the visualization is a really good way to actually understand and sanity check what's happening. So down in the bottom left, we're looking at some of the simulation data that Grafana is graphing for us. So we can see because we have this tumble, we have a slowly declining battery charge rate. And as well, we have this oscillating sort of behavior happening with the charge rate and also on the solar panels themselves. So as a spacecraft is tumbling, sometimes it's the solar panels are pointed at the sun and sometimes they're not. So that's why that's going up and down and why our battery charges are declining. Also here we have, this is a stack up of all of the subsystems what they're consuming in terms of power. So we've also added another gremlin in here, which is randomly turning on and off different subsystems to demonstrate on the graph here. You can see that it's kind of shifting what subsystems are consuming power or how much power they're consuming. Moving further down. So here's our, this is our actual simulation position and velocity data and our attitude data. So we're tracking angular velocity, what the spacecraft's quaternion is. And up here we can see other things like our three reaction wheels, what speeds are they operating at? So like I said, the gremlin is sending these rogue reaction wheel commands, which is causing the reaction wheel to spin up. And then a couple other sensors here, you can see magnetometers, sun sensors, so moving over to the Cosmos side, we can see that we have a connection. Our Cosmos interface is connected with the spacecraft. We haven't sent or received any commands yet. So the first thing I'm going to do is I'm going to turn on telemetry from the spacecraft. So I'm commanding the spacecraft to start down linking telemetry packets for me to view, sending that command. And we should see it pop up in the top left. So there it says, telemetry output has been enabled. So our core flight software has recognized that our command is now sending us telemetry. So here we see our receive bytes count is increasing. So we're receiving those telemetry packets. And we can look here at a couple of different ones that we're receiving. So we're receiving core sun sensor, GPS, IMU packets. We open up the GPS packet. We can see in here that these values are updating as packets are coming in. So we have our CCSDS header to start with, and then lower down, we have the actual GPS payload telemetry. So our Cartesian X values and velocity values. Another way to look at the telemetry, we built just a couple basic telemetry viewer screens. So this one shows what devices we're commanding to be on and off. So, like I said, the Gremlin that we're running is randomly turning on and off different ones. So like right now, the GPS just turned off, and then you should see that turn back on in a minute and something else will turn on. And then on the right, we have the GPS and Star Tracker telemetry. So those packets are actually being downlinked and Cosmos is parsing them. You can see that little gap in GPS telemetry while the GPS receiver was off, and then it turned back on and continued collecting telemetry. And now the Star Tracker just went off. So the Star Tracker telemetry is no longer updating. And then it should turn on back in a second here. There it goes. So now we're receiving those Star Tracker telemetry packets again. And just monitoring, you know, the Gremlin sending those, the road reaction wheel commands. So that's causing those Star Tracker telemetry quaternions to do those variations and rotations. So right now what I'm doing today, is to demonstrate what the flight software is doing. So I'm actually going to kill the core CPU on process. So I've actually stopped the flight software. And now looking back in Cosmos, we can see we're no longer receiving any Star Tracker telemetry. Those graphs have just stopped at their last recorded values. So this would be like a satellite operator when you've gone out of, for example, you've gone out of contact with your spacecraft, you would no longer see these. You would just see whatever the last recorded values are for that telemetry. And further illustrating this, so our received bytes is no longer incrementing. So even though we've turned off the flight software, Basilisk is still simulating the spacecraft. It's still handling all the physics. So our spacecraft, it's still tumbling. Our orbit, it's still propagating. We can see that happening in Cesium and we can see it in the Grafana windows as well. So these Grafana simulation values are still updating and still generating values for us, even though the flight software is not running and we're not collecting telemetry as a spacecraft operator. So power consumption, we've turned off the flight software, which also killed our Gremlin that was turning on and off random subsystems. So the subsystems are just remaining in their previous state. They're no longer changing, turning on and off. on and off. All right, and that's it for the digital twin demo. So yeah, I hope you guys enjoyed this and looking forward to getting teams to have a chance to actually use this in finals later this year. All right, thanks. Thanks, Mark. That was a great explanation on our digital twin. Keep in mind, digital twin never leaves the terrestrial world and wouldn't last a millisecond in space. Now we're going to take a look at how all the components of the digital twin manifest themselves into a space-hardened satellite. Hecasat-4 will be the first CTF in space using the Moonlighter satellite as the competition platform. Aaron Myrick is going to take us through on what design considerations are being made in the development of a CubeSat such as Moonlighter. Hi, everybody. I'm Aaron Myrick from the Aerospace Corporation, and I'm here to talk to you about Moonlighter. So first, before we start diving into what Moonlighter actually is, let's start a little bit with some CubeSat concept development. So when you want to put things into space, you need to figure out first what do you want your satellite to do. So do you want it to take pictures of things? Do you want it to take pictures of the Earth, take pictures of space? Good examples of both of those are Planet and the James Webb Space Telescope, which recently launched. Do you want to provide sat com to users on the ground? So, I root iam star Link one web on all examples of companies that do such a thing. There are also vehicles that provide relay links, and these can be for tracking planes. The ADS-B system does that, or tracking ships. So AIAS, the automatic identification system does that, or there's actually amateur radio operators that have launched vehicles to bounce ham signals off of off vehicles there's synthetic aperture radar which the farmers and geological services mining companies use use that use that data and then there's could be another instance where you may want to launch a vehicle that no one's really thought of maybe you want to create a cyber test bed in space to to test out different capabilities for defending space systems from cyber attacks part of the key pieces of this that you're trying to understand is why you would do this in space versus on the ground so for taking pictures of things it provides a nice vantage point you can have a good revisit rate you don't have to put planes up in the sky over certain areas all the time satcom there's a nice benefit because you have an overhead view uh you don't have problems that you have with communication on the ground um where you have an antenna that has to be fairly tall and unsightly to provide those types of signals so the the first part of this concept development is really understanding what your concept of operations is or con ops for for your vehicle so trying to understand what it is you actually want to do from there you go into uh sort of sizing up all the other parts uh uh around your your mission so the the first key uh component that that you're really trying to understand is is the payload since that's what's providing the the mission so to speak to the rest of your system um so really what you're driving here is uh how how big it is how much power does it use what's created what are the your physical constraints of that of that system do you need to have high computing or onboard processing or can you just get it all to the ground and let ground take care of it so you're trying to understand how how big the payload can be how how small can it be and then you want to figure out okay so for this specific capability that i'm trying to provide what's a good orbit that that this would fit at is is ideally suited for something that's cheaper to get to it has a high revisit rate you don't have to deal with radiation as much and then when you go up in your orbits to mid-earth or geosynchronous you have a longer overhead time but you start dealing with things like radiation that you have to account for and also you have to use different sensors because the magnetic field isn't as strong so there's some trade-offs there and then another big factor in determining how big your vehicle is ultimately going to be is the the pointing requirements or if you need to do orbit transfers because those are big components that that need to be accounted for and so you put all that together and you end up with a certain ideal size for your vehicle it could be one you could be three you could be six you and a u is 10 by 10 by 10 centimeters so with me here i have a 3u metal chassis um so 1u is just one of these cubes here a 3u is about this size so length of my arm um the next part about about all this is we want to sort of fit it all into this little box here and so you you get all your notional components and you start laying them out in in your your your structure to see does does this actually make sense does this fit um if it's a big change of things that just absolutely don't fit then you'll probably have to go up a size if it's close um that's when you start making trade-offs about what what it is you really need to do so what are your defining requirements there and then after you did all that then you go into thermal modeling um so this is a it can get very complex here um and you're looking at your your model orbit so we determined that in the previous phase of this your power draw of all your components and how you're intending to operate the vehicle um now the reason why you want to do thermal modeling very early on is because heat is hard to dissipate um in orbit and and once you'll launch you're stuck with what you got you cannot change anything so this is the phase where we need to understand do we need to add heat pipes do we need to put down a different thermal paste to increase the contact of subsystems how big are those contact patches with the the different subsystems what materials are we using that plays a huge role in being able to dissipate heat what kind of screws are using how thick they are what do your mounting posts look like how where are those located well this all plays a role here and remember when I talked about the the processing power so process if you have more processing you're going to end up generating more heat and this has a secondary effect in that if you have more processing then you need more batteries if your mission needs to survive eclipse cycles more batteries also mean more heat so there's a lot of things that generate heat here and the the goal is usually to just get the heat to the outer panels and then the surface area of those outer panels um is really what drives the heat dissipation so they're conductive panels and they get heat out into the surrounding area and then to close it all out as far as CubeSat design you have your link segment and your ground segment these are both largely driven by what your adaptive operations and so your link segment consists of two parts you have your uplink and your downlink the uplink is usually uh very slow uh part of that is uh there's usually not a need or a desire to have a large antenna on board your vehicle so to have higher uplink speed you'll need a bigger antenna or an antenna that draws more power and it's usually not a requirement that that people have to have to deal with so um bottom line is more uplink generally means more money both from your ground power and also uh being have being able to have a structure that can support it on onboard your vehicle uh then your there's your downlink requirements so um we're looking at where are you down linking um how many sites you have how often do you need to do it um how how big are the things you're trying to downlink um these are all factors that play into that um and then there's your your ground segment and this is where you do the command and control of the vehicle if there's any off-board processing that needs to be done that's where you would end up doing it this is where you task your vehicle to do things um and you disseminate your data from from there all right so now as a as a thought experiment let's do work through this concept development so um let's create a satellite here let's call it Moonlighter why not um so Moonlighter I think we should have a a vehicle that um is used to test and experiment with different cyber capabilities and now this vehicle I think should have a day job that way we're getting a little realistic here um we don't necessarily care about the day job now but we'll figure that out later um so as part of this that vehicle will need to be reprogramable because that's how you would do exercises and do experiments you need to be able to recover from any different uh Cyber activities that are going on so this vehicle absolutely needs to be 100 fully reprogrammable and probably have a bit of a of a beefy processor and involved in it um so uh taking all that um you know a payload that's pretty ambiguous a beefy processor but we can have a zeigen option to do so if you have no necessary remodel sites like the publicly available marketst revocable audit dock Methodes etc. etc. etc. etc. etc. etc. etc etc. etc. etc. etc. etc. etc. etc. etc. etc. etc. etc. etc. etc. etc. etc. etc. etc. etc. etc. etc. etc. etc. etc. etc. etc. etc. etc. etc. etc. etc. etc. etc. etc. etc. etc. etc. etc. etc. etc. etc. Opg.それでは piel sul chuampel idea of fitting this in a 3u vehicle like this one um so we'll fill it out with representative components uh we're absolutely gonna need some batteries in here some power distribution uh some guidance navigation and control both sensors and actuators are good to have absolutely going to need a uplink and downlink radio and and probably some fault management to to check our uh cyber activities that we're doing to make sure we're not harming the rest of the vehicle um and then we'll we're let's let's work through some of the mechanical and thermal side of it um some of the analysis early analysis have shown us that some of the mission operations are going to have to be traded off with some of the recharging that's going to need to be involved and that's not necessarily a bad thing but that is um you know acceptable for for this mission so with that that's the early stages of moonlighter and i'll kick it back to steve aaron thanks for all that information there's a lot to unpack there we can definitely see the tremendous amount of work that goes into the design and development of a satellite that needs to exist in such a harsh environment such as space to close things out rachel and i'm going to show you how you can get involved in hackesat what we brought to defcon 30 in august and how you can follow along during our hexa 3 finals over to you guys now that you have all the ins and outs of hacksat it's time for you to get involved first let's cover the good stuff you may have missed at defcon we had a super cool setup in the aerospace village folks were able to check out our flat set museum we had flat sets that we used in hexat 1 and hexat 2 and our developers that brought it all to life were on hand to talk about them people had the chance to get on our final ctf platform and we're excited to see how that goes and we'll see you at the next one and play with a digital twin, see if they could spot vulnerabilities, and learn how to command a satellite. We had a mock satellite CTF demo, where you could try your hand at space cybersecurity challenges, get a feel for how our challenges look, how to tackle them, and an opportunity to ask questions. All that, and lots of stickers. We had a great time at DEF CON, and we missed anybody that wasn't able to join us there. Lucky for you, there's still ways to interact with our team. We're happy to talk all things Hackstab. Hackstab.com has ways to get in touch with us, and so much more. Kevin, why don't you tell them all the good stuff there? Definitely. Yeah, check out our website at Hackstab.com. There you can find a host of resources, including the opportunity to try your hand at previous Hackstab challenges, or check out Explain Your Videos on various space cybersecurity topics. You can also read up on the latest Hackstab news, and listen to a variety of podcasts that we've been a part of. You'll also be able to relive the action from Hackstab 1 and Hackstab 2, by watching a collection of overviews and recaps from those competitions. Also, see if you can complete any or all of the missions that White Rabbit has picked up for you. Remember to sign up for our emailing list, and check us out on Twitter for the latest updates on all things Hackstab. And of course, don't forget to check out Hackstab 3 Finals, taking place this year on October 22nd through October 23rd, streaming live on our website, Hackstab.com. On the website, we'll display a live scoreboard so you can see who's on top, as eight of the world's best CTF teams vie for a $100,000 prize pool. We'll also have an interactive visualization tool, where you can check out what's happening on board each team's satellites. Are they coming out of control? Are they running low on power? Or are they having trouble communicating with their ground station? Our customized interactive visualization lets you observe which challenges these teams are currently facing throughout the competition. Also, to help guide you through what's going on, we're going to have expert commentary from our resident CTF veteran, Jordan Wines, so that you can get the inside scoop on what's going on inside the game. We'll also post the team's bios, so that you can learn about the finalists, where they come from, and what motivates them to tackle the Hackestat Challenge. And last but not least, keep an eye out for... Hackestat 4 Registration, coming up in 2023. This last event in the Hackestat series promises to be the best yet, with teams battling it out in the world's first CTF in space. This last event in the Hackestat series promises to be the best yet, With teams battling it out in the world's first CTF in space. With teams battling it out in the world's first CTF in space.