1 00:00:01,060 --> 00:00:08,200 Thank you. Thank you all for showing up. My name is Paza Meiri, and I'll speak about 2 00:00:08,200 --> 00:00:15,760 Trolling the Weather. First, allow me to introduce myself. I'm a system engineer. I get a master 3 00:00:15,760 --> 00:00:22,980 degree in Electro-Optical Engineering. I worked 14 years in the aerospace industry as a system 4 00:00:22,980 --> 00:00:28,500 engineer team leader. I have six years of experience with communication systems design. 5 00:00:28,500 --> 00:00:35,600 I launched two weather balloons with elementary school pupils, which will become relevant in a few 6 00:00:35,600 --> 00:00:44,620 slides. I'm a former DEFCON speaker, DEFCON 29, and I gave a talk at B-Sides TLV this year. It's 7 00:00:44,620 --> 00:00:51,860 been a very good year. Why Trolling the Weather? Where it all started? Well, it all started when I 8 00:00:51,860 --> 00:00:57,920 read an article about a country that's been trying to launch a satellite in space and is 9 00:00:57,920 --> 00:00:58,480 suffering from a problem. It's a problem that's been going on for a long time. It's been 10 00:00:58,500 --> 00:01:04,260 suffering from a string of failures. And it kind of amused me because I thought about all the 11 00:01:04,260 --> 00:01:08,900 engineers and all the generals, which are sure that someone is probably sabotaging their work, 12 00:01:09,040 --> 00:01:16,420 because if you remember the quote from the old James Bond book, once is happenstance, 13 00:01:16,420 --> 00:01:23,720 twice is coincidence, but three times is enemy action. And it kind of amused me for a couple 14 00:01:28,500 --> 00:01:31,160 of years. And I was like, oh, I'm going to be a James Bond character driving around in their 15 00:01:31,160 --> 00:01:38,520 country, sabotaging their work repeatedly. And he's doing it all alone. And he's a superhero, 16 00:01:38,740 --> 00:01:46,340 whatever James Bond resembles to you. And after being in my James Bond mood for a couple of 17 00:01:46,340 --> 00:01:54,200 hours, I started wondering, can I stop a satellite launch? And can I cause it to fail after lift-off? 18 00:01:54,460 --> 00:01:56,300 And can I do it on my own? 19 00:01:56,300 --> 00:02:03,140 And it quite amazed me when after a couple of hours, I realized that the answer is yes. And it's 20 00:02:03,140 --> 00:02:09,280 not that hard because all I need to do is just control the weather. And this is a very hard claim 21 00:02:09,280 --> 00:02:15,540 because nobody can control the weather. The weather is the weather. And we are who we are. 22 00:02:15,620 --> 00:02:20,920 And we cannot do anything to influence the weather, hardly can do anything to influence the 23 00:02:20,920 --> 00:02:26,000 weather. But we have a very good relationship with the weather. We are 24 00:02:26,300 --> 00:02:31,640 sampling the weather in numerous ways. We are gathering the data. We are analyzing the data. 25 00:02:31,820 --> 00:02:39,400 And we are building models of the weather. And we call it weather forecasts. And we are using the 26 00:02:39,400 --> 00:02:46,140 information to decide, should we operate this airfield? Should we launch this satellite? So if you 27 00:02:46,140 --> 00:02:53,080 have the ability to influence the data stream, which goes into the databases, you have a powerful 28 00:02:53,700 --> 00:02:56,140 tool to influence decisions. 29 00:02:58,920 --> 00:03:04,440 You have to understand why there is a strong relationship between air vehicles and the weather, 30 00:03:04,620 --> 00:03:13,520 because there is no all-weather air vehicle. All air vehicles are limited by a certain weather 31 00:03:13,520 --> 00:03:23,080 envelope that guided their design. Nothing can fly at any terms and at any time. And you've 32 00:03:23,080 --> 00:03:26,140 probably all seen that one time or the other, the 33 00:03:26,300 --> 00:03:34,340 headlines launch delayed due to weather conditions. And in the most simple way you can see it by 34 00:03:34,340 --> 00:03:41,100 thinking about, for example, lightning. It can cause electrical damage to an aircraft. It can 35 00:03:41,100 --> 00:03:46,960 cause structural damage to an aircraft. And the same with hail. Rain can freeze over control 36 00:03:46,960 --> 00:03:55,660 surfaces or the wings and cause the aircraft to stall and fall from the sky. And my work is built 37 00:03:56,300 --> 00:04:04,120 on an interesting fact that there are high winds, high turbulences in the air that you cannot see in 38 00:04:04,120 --> 00:04:13,400 any regular means. For example, it is not tied to a rainy day or thunderstorms. You can have a 39 00:04:13,400 --> 00:04:18,640 perfect sky, everything looks great, but you have a very dangerous turbulence out there and it can 40 00:04:18,640 --> 00:04:25,920 cause damage to aircraft that will try to pass through it. And the way to measure these high winds 41 00:04:25,920 --> 00:04:34,240 is with a weather balloon. So here you can see a weather balloon in the picture. On the upper side 42 00:04:34,240 --> 00:04:38,380 you can see the balloon itself. It's partially filled with helium and the higher it gets, 43 00:04:38,420 --> 00:04:45,140 the more it is getting filled with helium because the external pressure drops. On the lower side, 44 00:04:45,220 --> 00:04:50,240 the small box that you see is the instrumentation that does all the measurements, gather the 45 00:04:50,240 --> 00:04:55,140 information, process part of the information and transmit it to the ground. And in the middle you 46 00:04:55,140 --> 00:04:55,900 can see a parachute. And in the middle you can see a parachute. And in the middle you can see a 47 00:04:55,900 --> 00:05:02,960 parachute because when the balloon pops around 100,000 feet up in the air, everything starts to 48 00:05:02,960 --> 00:05:08,320 fall down and you don't want to get hit on your head with a radio sound, which is the name of the 49 00:05:08,320 --> 00:05:15,380 instrumentation. And therefore they are attaching a small parachute that will slow it down so when you 50 00:05:15,380 --> 00:05:23,660 get hit on your head, it won't kill you. I quoted here from an article that was written by Ian Dudley 51 00:05:23,660 --> 00:05:25,880 from the Vandenberg Space Telescope. And he said that the balloon is not a parachute, it is a parachute. 52 00:05:25,900 --> 00:05:27,940 I quoted here from an article that was written by Ian Dudley from the Vandenberg Space Telescope. And he 53 00:05:28,340 --> 00:05:33,860 wrote a very good article describing the relationship between the activity at Vandenberg 54 00:05:34,580 --> 00:05:41,460 and the weather balloon and the weather balloon's operations. And it was very good for me as an 55 00:05:41,460 --> 00:05:50,480 attacker to understand how it works and to design my attack. Here you can see a launching station. 56 00:05:50,680 --> 00:05:55,060 There are about a thousand like this scattered all over the world. And if you think about it, 57 00:05:55,060 --> 00:05:55,880 1,000 are scattered all over the world. And if you think about it, 1,000 are scattered all over the world. 58 00:05:55,900 --> 00:05:55,980 And if you think about it, 1,000 are scattered all over the world. And if you think about it, 59 00:05:55,980 --> 00:05:59,380 we can count them in a single order. This is 1,000 people. It is not that big number if you want to really 60 00:06:00,600 --> 00:06:05,100 influence. Then you can gather 1,000 people and do a lot of damage to the world. 61 00:06:06,040 --> 00:06:11,720 They each site is launching usually two balloons per day. Some of them are launching more. 62 00:06:12,180 --> 00:06:19,040 And as you can see, they're checking the radius on in the hangar, inflating the balloon inside the 63 00:06:19,040 --> 00:06:25,880 hangar, tying them both up together, doing final test, go out of the hangar, release the balloon and the balloons fly in extra power. 64 00:06:25,880 --> 00:06:31,100 off and the reception station is usually located there and starts receiving the 65 00:06:31,100 --> 00:06:39,180 data from the weather balloon. Here's some quotes from senior metrologist at 66 00:06:39,180 --> 00:06:43,600 Vandenberg. He's saying that the data goes directly into the databases and the 67 00:06:43,600 --> 00:06:47,580 national weather models which is great for me as an attacker if I know that it 68 00:06:47,580 --> 00:06:53,640 will go directly into the computers then big success if I can insert my data 69 00:06:53,640 --> 00:06:58,820 there. Another important thing to remember is that depending on the launch 70 00:06:58,820 --> 00:07:03,720 they are launching, depending on the satellite launch, they are launching 71 00:07:03,720 --> 00:07:09,860 releasing between 5 and 15 balloons to get a much more accurate and updated 72 00:07:09,860 --> 00:07:16,040 data of the high winds and he's saying that the upper balloon support is 73 00:07:16,040 --> 00:07:20,220 critical to Vandenberg's activity because you've all seen the movies 74 00:07:20,220 --> 00:07:23,440 eventually before a launch there are about 30 people sitting 75 00:07:23,440 --> 00:07:28,040 next to each other and every everyone has to say that the launch is a go for 76 00:07:28,040 --> 00:07:33,400 their system and the weather is one of the considerations and there's a weather 77 00:07:33,400 --> 00:07:38,300 officer there and he needs to raise his thumb and he's doing it according to the 78 00:07:38,300 --> 00:07:44,860 information that he's getting. So if you can insert data or falsify data within 79 00:07:44,860 --> 00:07:48,820 the system that will show him that the weather is great but the weather is not 80 00:07:48,820 --> 00:07:52,380 great then he will approve the launch and the launch might fail. 81 00:07:52,860 --> 00:07:53,340 Or 82 00:07:53,440 --> 00:07:57,700 if you can manipulate the data and cause him to believe that the weather is not 83 00:07:57,700 --> 00:08:01,800 okay even though it is okay then he will not approve the launch and the 84 00:08:01,800 --> 00:08:08,460 launch will be delayed millions of millions of dollars going to waste. And 85 00:08:08,460 --> 00:08:11,320 to make it more interesting you're probably thinking okay Vandenberg 86 00:08:11,960 --> 00:08:18,760 is a very, we hope, a very secured base and let's see you trying to attack it 87 00:08:18,760 --> 00:08:22,440 and not getting caught but NASA is giving 88 00:08:23,440 --> 00:08:30,240 more information and NASA is demanding that for manned launch, manned missions, 89 00:08:31,120 --> 00:08:36,280 you have not only to have good weather above the launch site but also in the 90 00:08:36,280 --> 00:08:43,180 downrange and it means a lot of stations around the downrange needs to raise their 91 00:08:43,180 --> 00:08:48,820 thumb and say listen the weather here is great, do the launch. So if you don't, 92 00:08:48,820 --> 00:08:52,820 if you are intimidated by attacking a Space Force base, 93 00:08:52,820 --> 00:08:59,560 then you might not be intimidated by attacking such a civil hangar with a 94 00:08:59,560 --> 00:09:08,080 simple reception station that nobody guards. Okay so I have malicious 95 00:09:08,080 --> 00:09:15,940 intentions and I want to inject data into the system so and I want to do it 96 00:09:15,940 --> 00:09:20,020 on the Radisson so I need to pick the Radisson that I'm going to emulate or 97 00:09:20,020 --> 00:09:22,760 attack. And here you can see a list of the 98 00:09:22,820 --> 00:09:28,900 most common Radissons and you can see that the Vaisela RS-41 holds 30% of the 99 00:09:28,900 --> 00:09:36,540 market. So I said to myself okay this is my target. The RS-41 transmission frame 100 00:09:36,540 --> 00:09:42,340 is the basics of the RS transmission frame are presented here. There are two 101 00:09:42,340 --> 00:09:51,000 several sub models of the RS-41. One the most commons are the RS-41 SG and the SGP. 102 00:09:52,820 --> 00:10:01,360 The basic frames has 320 bytes divided into blocks. I'll go over the blocks in the next 103 00:10:01,360 --> 00:10:07,320 slide. And they use data whitening to get the data noisier when it is being transmitted 104 00:10:07,320 --> 00:10:13,160 to the ground so the reception equipment will have an easier time to decipher the, 105 00:10:13,260 --> 00:10:22,000 to decode the data. And the NDNS, little NDNS, bitwise, bytewise, and two layers of detection 106 00:10:22,820 --> 00:10:29,020 for the error correction. Each block is protected with CR16 and the entire frame is protected 107 00:10:29,020 --> 00:10:37,340 with Reed-Solomon algorithm. Here you can see the bytes of the frame, inside the frame. 108 00:10:37,500 --> 00:10:43,740 The first byte is header bytes and then come the forward error correction bytes. And then 109 00:10:43,740 --> 00:10:50,640 one byte for frame type and then come the blocks. The first block is 79. It is the status 110 00:10:50,640 --> 00:10:52,800 block. It holds a lot of general information. And then the second block is 79. It is the status block. It holds a lot of general 111 00:10:52,820 --> 00:10:58,940 information such as serial numbers, bore temperature control data, and so on, and also subframes 112 00:10:58,940 --> 00:11:05,780 which I will mention in the next slide. The next block is 7A which holds the measurements 113 00:11:05,780 --> 00:11:15,860 that the radius is taking from the air. And then there are three GPS blocks. The first 114 00:11:15,860 --> 00:11:22,720 block is GPS information. It holds time and the number of space vehicles and the quality 115 00:11:22,720 --> 00:11:24,900 of reception of each space vehicle. 116 00:11:25,700 --> 00:11:30,040 Block 7D holds the raw data, the relative velocity 117 00:11:30,040 --> 00:11:33,880 and distance of the radiosomes from the space vehicles, 118 00:11:34,100 --> 00:11:34,960 GPS space vehicles. 119 00:11:35,900 --> 00:11:38,520 And the third block is the positioning. 120 00:11:39,180 --> 00:11:40,820 You have the position and velocity 121 00:11:40,820 --> 00:11:46,020 and the number of satellites that are being used 122 00:11:46,020 --> 00:11:49,820 for the position calculations and the accuracy 123 00:11:49,820 --> 00:11:52,440 of both velocity and position and so on. 124 00:11:52,800 --> 00:11:55,520 The most interesting block is the last block, 76. 125 00:11:55,740 --> 00:11:56,560 It's an empty block. 126 00:11:56,740 --> 00:11:59,960 All of the bytes are zero, except for the two CRC16. 127 00:12:00,320 --> 00:12:02,520 Why they have it, I don't know. 128 00:12:04,120 --> 00:12:09,920 As I mentioned, the status block holds also subframes. 129 00:12:10,140 --> 00:12:12,560 There are 51 subframes, 16 bytes each, 130 00:12:13,160 --> 00:12:15,420 and there's a lot of more general information, 131 00:12:15,740 --> 00:12:18,160 serial numbers, board type, 132 00:12:20,660 --> 00:12:22,500 calibration data, and so on. 133 00:12:24,620 --> 00:12:27,320 Here are the RS-41 RF properties. 134 00:12:27,620 --> 00:12:31,600 It transmits between 400 and 406 megahertz. 135 00:12:31,860 --> 00:12:33,780 The output power is 18 dBm. 136 00:12:34,220 --> 00:12:36,520 And the modulation is GFSK. 137 00:12:36,800 --> 00:12:39,720 And it's very easy to receive the transmissions. 138 00:12:39,880 --> 00:12:43,360 All you need to have is an RTL-SDR, an antenna, 139 00:12:43,640 --> 00:12:46,760 and you can pick up signals from very far, far away. 140 00:12:46,940 --> 00:12:48,820 And it's nice. 141 00:12:48,820 --> 00:12:49,000 You can take a really small device. 142 00:12:49,000 --> 00:12:51,820 There are thousands of people all around the world 143 00:12:51,820 --> 00:12:55,780 who built such stations in their home, 144 00:12:55,880 --> 00:12:58,480 and they are looking at the decoded data, 145 00:12:58,620 --> 00:13:02,080 and also transmitting the data to databases, 146 00:13:02,740 --> 00:13:07,000 public databases, where they are gathering the data and 147 00:13:07,000 --> 00:13:10,740 give the public access to that data. 148 00:13:10,980 --> 00:13:12,780 And it's a great community. 149 00:13:13,080 --> 00:13:15,520 They are tracking the radio sounds and what, 150 00:13:15,560 --> 00:13:17,440 mostly what they're doing, is, uh, 151 00:13:17,440 --> 00:13:20,040 tracking the radiosonde as it falls down, 152 00:13:20,120 --> 00:13:21,880 and go with their car and pick it up 153 00:13:21,880 --> 00:13:25,180 and get a free STM32 evaluation board 154 00:13:26,600 --> 00:13:28,020 falling out of the sky. 155 00:13:28,920 --> 00:13:30,840 So I have malicious intentions. 156 00:13:31,100 --> 00:13:32,840 I have my target. 157 00:13:33,020 --> 00:13:36,140 So the first thing that I can do is jamming attack. 158 00:13:36,420 --> 00:13:38,040 When you want to do a jamming attack, 159 00:13:38,140 --> 00:13:39,300 you take a powerful transmitter, 160 00:13:39,480 --> 00:13:40,920 and you transmit jamming signals. 161 00:13:41,480 --> 00:13:44,480 My weapon of choice was the Haltic Automation 162 00:13:45,420 --> 00:13:46,460 LoRaNode 151. 163 00:13:46,460 --> 00:13:49,640 I just searched for the transmitter, 164 00:13:49,900 --> 00:13:52,200 and then the name Haltic popped up and said, 165 00:13:52,280 --> 00:13:53,680 oh my God, this is a sign. 166 00:13:53,860 --> 00:13:55,240 I have to use this board. 167 00:13:55,620 --> 00:13:56,860 And so I used it. 168 00:13:57,260 --> 00:13:59,240 And it has a very good LoRa chip. 169 00:13:59,320 --> 00:14:01,080 It has a very good microcontroller. 170 00:14:01,260 --> 00:14:03,920 It transmits 20 dBm, which is great for my work. 171 00:14:04,080 --> 00:14:06,660 It carries its own battery, a lithium battery. 172 00:14:06,720 --> 00:14:10,700 It costs $20 on eBay, and it weighs 25 grams, 173 00:14:11,320 --> 00:14:12,380 which is also great, 174 00:14:12,460 --> 00:14:16,020 and I will talk about it in the next slide. 175 00:14:18,300 --> 00:14:20,360 Okay, so let's see how it looks like. 176 00:14:21,060 --> 00:14:22,820 Oops, this will work, yeah. 177 00:14:23,460 --> 00:14:26,940 On the right side, you can see the RS-41 emulation equipment. 178 00:14:27,740 --> 00:14:30,580 It is transmitting log files. 179 00:14:31,020 --> 00:14:33,180 This is the reception equipment on the left, 180 00:14:33,680 --> 00:14:35,340 the RTL-SDR and the computer. 181 00:14:35,880 --> 00:14:37,740 And in the middle, you can see the little board, 182 00:14:37,900 --> 00:14:39,340 which will be used for jamming. 183 00:14:42,340 --> 00:14:44,120 Now I start the Radiosonde emulation. 184 00:14:44,260 --> 00:14:46,400 It goes to an old log file that I have. 185 00:14:46,400 --> 00:14:49,260 It gets a message and transmits it and gets another message 186 00:14:49,260 --> 00:14:51,460 and transmits it in a cyclic manner. 187 00:14:56,960 --> 00:15:00,300 Here you can see the transmission on the RF level. 188 00:15:06,280 --> 00:15:08,260 And here you can see the decoding software. 189 00:15:09,000 --> 00:15:11,140 This is what the operator sees. 190 00:15:13,840 --> 00:15:16,260 In the middle, you can see the Radiosonde position. 191 00:15:16,260 --> 00:15:16,780 Here you can see the position and velocity. 192 00:15:18,740 --> 00:15:20,920 On the left, you can see some general information, 193 00:15:21,040 --> 00:15:22,740 like the Radiosonde ID. 194 00:15:24,700 --> 00:15:26,360 Here you can see the GPS time 195 00:15:26,360 --> 00:15:29,320 and the state of the space vehicle's reception. 196 00:15:29,720 --> 00:15:32,540 And this is the status of the subframe's reception. 197 00:15:34,420 --> 00:15:37,100 These are the measurements that the Radiosonde is taking. 198 00:15:39,680 --> 00:15:41,980 And this is the GPS navigation data. 199 00:15:46,260 --> 00:15:48,580 And the decoding software is getting the information 200 00:15:48,580 --> 00:15:51,800 over the computer audio from the RTL-SDR, 201 00:15:52,100 --> 00:15:56,140 so you can record the raw data, as you can see here. 202 00:15:59,300 --> 00:16:03,380 And if we'll zoom in, we'll see these are the preamble bits 203 00:16:04,420 --> 00:16:07,520 followed by the data bits inside the message. 204 00:16:16,260 --> 00:16:20,320 Okay, so now that we have a working RF path, 205 00:16:21,940 --> 00:16:23,220 let's add some jamming. 206 00:16:34,320 --> 00:16:36,120 Here you can see the RF level, 207 00:16:36,400 --> 00:16:39,480 the old transmission, the Radiosonde transmission 208 00:16:39,480 --> 00:16:43,140 versus the, and the jammer. 209 00:16:43,880 --> 00:16:46,180 And when you record it and look at the audio, 210 00:16:46,240 --> 00:16:47,040 it's a mess. 211 00:16:52,160 --> 00:16:53,880 You can see here the jamming signal. 212 00:16:54,040 --> 00:16:56,840 It's a very simple signal transmitted half of the time. 213 00:16:59,620 --> 00:17:03,220 And here you can see it being mixed with the Radiosonde 214 00:17:03,540 --> 00:17:05,840 and it's unrecoverable. 215 00:17:06,040 --> 00:17:08,020 And of course, we have no decoding. 216 00:17:16,720 --> 00:17:21,320 Remember that it weighs 25 grams, 217 00:17:21,480 --> 00:17:24,300 so you can tie it to a birthday balloon 218 00:17:24,300 --> 00:17:29,060 and get it up in the air to follow the Radiosonde, 219 00:17:29,240 --> 00:17:32,300 and they will both fly together and be so happy. 220 00:17:33,080 --> 00:17:35,960 And the poor people on the ground will be so sad 221 00:17:35,960 --> 00:17:38,420 because you are not only attacking 222 00:17:38,420 --> 00:17:40,560 the local reception station, 223 00:17:40,700 --> 00:17:43,780 but now you are attacking all of the reception stations 224 00:17:44,460 --> 00:17:45,300 across the way. 225 00:17:49,320 --> 00:17:54,520 The US National Weather Service is supporting 102 sites, 226 00:17:55,080 --> 00:17:59,960 each launching two balloons at precise time, twice a day. 227 00:18:00,320 --> 00:18:03,400 And what will happen if 50 people will decide 228 00:18:03,400 --> 00:18:04,820 to jam the signals? 229 00:18:05,080 --> 00:18:10,140 And it will be very bad because professionals say 230 00:18:10,140 --> 00:18:13,140 that it will really lead to errors 231 00:18:13,140 --> 00:18:14,940 in the weather models and forecasts. 232 00:18:18,440 --> 00:18:20,520 Okay, so this was one example 233 00:18:20,520 --> 00:18:23,220 of how you can harm or troll the weather. 234 00:18:25,600 --> 00:18:27,900 Speaking about the message decoding, 235 00:18:28,080 --> 00:18:30,160 and I mentioned earlier that there are 236 00:18:30,160 --> 00:18:31,600 1,000 people around the world, 237 00:18:31,740 --> 00:18:33,400 thousands of people around the world 238 00:18:34,180 --> 00:18:37,280 supporting the Radiosonde tracking community, 239 00:18:38,180 --> 00:18:40,060 and they developed a lot of tools, 240 00:18:40,300 --> 00:18:43,400 and they studied a lot, many models. 241 00:18:44,960 --> 00:18:46,060 Most of the... 242 00:18:46,060 --> 00:18:46,220 Most of the... Most of the... Most of the... Most of the... Most of the... Most of the... Most of the... 243 00:18:46,220 --> 00:18:46,480 Most of the... Most of the... Most of the... Most of the... Most of the... Most of the... Most of the... Most of the... 244 00:18:46,480 --> 00:18:47,560 Most of the... Most of the models that you've seen in the list 245 00:18:47,560 --> 00:18:51,180 are already, can be decoded by their software, 246 00:18:51,840 --> 00:18:54,100 and they lot... wrote a lot of tools 247 00:18:54,100 --> 00:18:55,500 to receive decode process, 248 00:18:55,760 --> 00:19:00,640 and when I wrote my work it was based on their work, 249 00:19:00,840 --> 00:19:03,820 and I'm standing here on the shoulders of giants, 250 00:19:04,460 --> 00:19:05,740 and these are the giants. 251 00:19:09,260 --> 00:19:11,460 What I've developed is a simulation framework. 252 00:19:12,960 --> 00:19:15,700 On the right side, you can see the transmission part, 253 00:19:15,700 --> 00:19:18,120 On the left side, you can see the reception part. 254 00:19:18,960 --> 00:19:23,160 In the middle of the transmission part, you can see a Python-coded simulation strip. 255 00:19:23,320 --> 00:19:27,560 This is the heart of the RS-41 emulation. 256 00:19:28,360 --> 00:19:35,920 It can update the GPS satellite's data from a file that it downloads from the internet. 257 00:19:35,920 --> 00:19:46,480 It can use RS-41 log files, and it can manipulate the data using the simulation framework I 258 00:19:46,480 --> 00:19:54,580 wrote that gives the script writer a lot of operations to manipulate the data, to create 259 00:19:54,580 --> 00:19:56,780 frames, create blocks, and so on. 260 00:19:57,360 --> 00:20:04,400 The script can either send the data directly to the decoding software if it is installed 261 00:20:04,400 --> 00:20:05,360 on the same computer. 262 00:20:05,360 --> 00:20:11,740 Or it can transmit the data with the radio transmitter to an RTL-SDR receiver, and from 263 00:20:11,740 --> 00:20:14,060 there to the decoding software. 264 00:20:17,040 --> 00:20:19,900 The framework has four libraries. 265 00:20:20,240 --> 00:20:24,380 One is for block level operations. 266 00:20:24,720 --> 00:20:27,160 One is for subframe operations. 267 00:20:27,540 --> 00:20:31,160 One is for manipulative functions. 268 00:20:31,380 --> 00:20:35,340 For example, if I want to falsify something, I can do that. 269 00:20:35,340 --> 00:20:39,120 If I want to falsify the position and velocity, then I can enter the position and velocity 270 00:20:39,120 --> 00:20:43,340 into a function that will create the three GPS blocks. 271 00:20:43,620 --> 00:20:48,740 And if I will transmit the three GPS blocks, the receiver will believe that the data is 272 00:20:48,740 --> 00:20:51,220 updated and is active right now. 273 00:20:52,320 --> 00:20:58,720 And the fourth library is general simulation functions such as manipulating, reading log 274 00:20:58,720 --> 00:21:00,420 files, using log files, and so on. 275 00:21:03,260 --> 00:21:05,320 When generating messages with the GPS, the data is updated. 276 00:21:05,340 --> 00:21:15,080 The framework, you can either synthesize complete frames and subframes, but it's very hard 277 00:21:15,080 --> 00:21:19,800 because it requires of you to have a behavior model for each measurement. 278 00:21:19,980 --> 00:21:22,800 You have to remember that most of the measurements are tied together. 279 00:21:23,220 --> 00:21:30,000 So it's very hard to build your own weather emulator inside your computer, but it's possible. 280 00:21:30,200 --> 00:21:32,400 The framework will not stop you from doing it. 281 00:21:33,000 --> 00:21:35,320 A more simple way is to take a data set. 282 00:21:35,320 --> 00:21:37,640 Take a log file from an old flight. 283 00:21:37,920 --> 00:21:44,620 It could be a year old, two years old, or last week, and retransmit the data, but manipulate 284 00:21:44,620 --> 00:21:45,260 the data. 285 00:21:45,400 --> 00:21:50,940 For example, replacing all of the serial numbers to a new serial number, or updating 286 00:21:50,940 --> 00:21:57,400 the GPS data that it will not be a year old, but it looks like that it's a present live 287 00:21:57,880 --> 00:21:59,220 GPS reception right now. 288 00:22:00,900 --> 00:22:04,300 And it's a much more easier path, and this is the one I used. 289 00:22:04,440 --> 00:22:04,900 Thank you. 290 00:22:06,160 --> 00:22:13,380 So, now that I have malicious intentions, and I have the means, I can do some spoofing. 291 00:22:14,080 --> 00:22:19,520 To do some spoofing, all you need is a powerful transmitter, and the technique is this one. 292 00:22:19,720 --> 00:22:23,640 You receive all of the subframes from the radio sun that is flying right now in the 293 00:22:23,640 --> 00:22:26,600 air, and then you prepare for spoofing. 294 00:22:26,600 --> 00:22:32,200 You set up your transmitter and everything, and then you jam the receiver, and this is 295 00:22:32,200 --> 00:22:33,240 done because... 296 00:22:34,840 --> 00:22:35,300 It's not a good thing. 297 00:22:35,320 --> 00:22:41,620 It is very hard to adapt all of the data at the same rates, at the same offsets, from 298 00:22:42,130 --> 00:22:46,900 one frame to the other, from the radio sun frame I just got to the frames that I already 299 00:22:46,900 --> 00:22:47,980 have from the log file. 300 00:22:48,520 --> 00:22:55,700 So to mitigate it, I'm jamming the receiver for a few seconds, raising the data uncertainty, 301 00:22:56,120 --> 00:22:57,860 and then I'm starting to spoof the data. 302 00:22:58,520 --> 00:23:03,420 And the operator will see that it lost the link for a few seconds, and then the link 303 00:23:03,420 --> 00:23:03,660 returns. 304 00:23:03,660 --> 00:23:05,520 And he has good data. 305 00:23:05,660 --> 00:23:06,620 Everything is great. 306 00:23:07,320 --> 00:23:12,500 And I transmit all of the spoofed data, and then I'm doing the same thing again. 307 00:23:12,560 --> 00:23:15,260 I'm jamming the signal, raising the data uncertainty. 308 00:23:15,640 --> 00:23:19,860 And you have to remember that this is much more difficult, because while I'm spoofing 309 00:23:19,860 --> 00:23:26,460 the messages with recorded messages, the radio sun is doing something, and I usually cannot 310 00:23:26,460 --> 00:23:28,480 anticipate what exactly it is doing. 311 00:23:28,540 --> 00:23:33,500 So again, I need to mitigate between my data, falsified data, and the radio sun data. 312 00:23:33,600 --> 00:23:33,640 So I'm going to do that. 313 00:23:33,660 --> 00:23:36,080 And the jamming does that very well. 314 00:23:36,180 --> 00:23:37,000 And then I stop. 315 00:23:37,220 --> 00:23:38,160 And that's it. 316 00:23:38,220 --> 00:23:40,320 My data inserted into the databases. 317 00:23:42,660 --> 00:23:46,580 It works because of the signal-to-noise ratio. 318 00:23:48,320 --> 00:23:55,860 You make the receiver believe that the strong, healthy signal that it is picking is the main 319 00:23:55,860 --> 00:23:59,580 signal while you are transmitting it with the spoofing transmitter. 320 00:23:59,880 --> 00:24:01,700 And you want the receiver to... 321 00:24:01,700 --> 00:24:02,580 Okay. 322 00:24:04,180 --> 00:24:09,760 ...experience the low signal from the radio sun as noise that is interfering 323 00:24:09,760 --> 00:24:11,480 with the main signal. 324 00:24:11,860 --> 00:24:16,820 And to do so, you have some signal-to-noise thumb rules numbers here. 325 00:24:17,320 --> 00:24:22,420 For example, if they are both transmitting at the same power, you get jamming and not 326 00:24:22,420 --> 00:24:22,900 spoofing. 327 00:24:23,020 --> 00:24:29,880 But if you get 25 dB margin between the two or more, then the receiver will accept the 328 00:24:29,880 --> 00:24:31,840 signal as a good, valid signal. 329 00:24:31,880 --> 00:24:32,560 And we'll... 330 00:24:32,560 --> 00:24:34,560 We'll be fooled by the spoofing transmitter. 331 00:24:36,160 --> 00:24:41,000 To get this margin, you need to be familiar with the free space loss... 332 00:24:41,000 --> 00:24:44,560 Free space path loss versus distance. 333 00:24:45,740 --> 00:24:51,240 When the radio sun leaves the station and drifts away, the power at the receiver drops 334 00:24:51,240 --> 00:24:52,020 very quickly. 335 00:24:52,300 --> 00:24:56,660 And if you are close to the receiver and the radio sun is far enough from the receiver, 336 00:24:56,800 --> 00:25:02,000 then you'll get the margin that you need regarding the signal-to-noise ratio. 337 00:25:02,140 --> 00:25:02,540 Okay. 338 00:25:05,120 --> 00:25:07,620 If you cannot get very close to the... 339 00:25:07,620 --> 00:25:12,860 Or close enough to the reception station, then you can do several things to get the 340 00:25:12,860 --> 00:25:14,800 power up at the reception station. 341 00:25:15,140 --> 00:25:20,000 One is to use directional antenna and concentrate all of the power on the reception antenna. 342 00:25:20,420 --> 00:25:24,980 Another way is to use a power amplifier, which is simple, but it works. 343 00:25:25,340 --> 00:25:30,320 And if there's something between you and the station, then you can elevate the transmitter, 344 00:25:30,580 --> 00:25:32,540 as I showed earlier. with a battery. 345 00:25:32,560 --> 00:25:35,340 A balloon, a kite, a drone, or whatever you have. 346 00:25:39,540 --> 00:25:40,180 Okay. 347 00:25:40,260 --> 00:25:43,020 So let's see how spoofing is being done. 348 00:25:44,680 --> 00:25:47,060 This is the RS-41 log file transmitter. 349 00:25:50,080 --> 00:25:51,760 This is a spoofing transmitter. 350 00:25:56,240 --> 00:25:58,640 And again, the reception equipment. 351 00:25:59,840 --> 00:26:00,160 Okay. 352 00:26:00,480 --> 00:26:00,960 Okay. 353 00:26:01,900 --> 00:26:02,540 Okay. 354 00:26:05,180 --> 00:26:05,480 Okay. 355 00:26:18,980 --> 00:26:19,000 Okay. 356 00:26:19,020 --> 00:26:19,040 Okay. 357 00:26:19,060 --> 00:26:19,080 Okay. 358 00:26:19,100 --> 00:26:19,120 Okay. 359 00:26:19,140 --> 00:26:19,260 Okay. 360 00:26:23,980 --> 00:26:24,280 Okay. 361 00:26:34,520 --> 00:26:45,260 Now, you can see the jamming, jamming, jamming, and now spoof data, and this data is based 362 00:26:45,260 --> 00:26:53,500 on an old log file, and I offset all of the required parameters, so it will look very 363 00:26:53,500 --> 00:26:53,760 smooth. 364 00:27:05,480 --> 00:27:14,140 Now you get jamming, jamming, jamming again, and the spoofing stops, and you can see here 365 00:27:14,140 --> 00:27:19,440 a small jump in position, and this is what I talk about, about raising the data uncertainty 366 00:27:19,440 --> 00:27:19,960 level. 367 00:27:20,160 --> 00:27:23,040 The operator looks at it, says, okay, I lost a few packets. 368 00:27:23,040 --> 00:27:24,200 It seems to be fine. 369 00:27:32,420 --> 00:27:38,040 This simulation, I added two things, one, I changed the temperature and the pressure 370 00:27:38,440 --> 00:27:44,240 while spoofing, and the second thing that the entire simulation and decoding is run 371 00:27:44,240 --> 00:27:45,260 on the same computer. 372 00:27:45,680 --> 00:27:51,560 I'm using the audio link as transmission media. 373 00:27:53,100 --> 00:27:56,740 You can see here that the temperature and the pressure are changing a bit. 374 00:27:58,040 --> 00:28:00,740 It's hard to see, but in a minute, you'll see the effect. 375 00:28:19,920 --> 00:28:23,040 And this is what the weather officer will get. 376 00:28:23,220 --> 00:28:29,100 He will get the graph of pressure versus temperature, and I created the circle inside 377 00:28:29,100 --> 00:28:29,520 the graph. 378 00:28:29,520 --> 00:28:35,160 And now he is looking at the circle, and his superior is asking, can we launch? 379 00:28:35,800 --> 00:28:37,560 And he don't know what to do. 380 00:28:40,840 --> 00:28:49,160 I wanted to give you a sense of how difficult it is to write such a script, so here are 381 00:28:49,160 --> 00:28:53,960 the main bullets to build such a script. 382 00:28:54,320 --> 00:28:59,500 This script, for example, takes data, all data from the computer. 383 00:28:59,520 --> 00:29:00,860 That was recorded on one site. 384 00:29:01,200 --> 00:29:07,460 And it will change all of the serial numbers and IDs in the transmission. 385 00:29:08,040 --> 00:29:11,180 And it will also offset the position of the radio sound. 386 00:29:11,420 --> 00:29:17,640 And it will make it look as if there is an active radio sound flying right now somewhere, 387 00:29:18,260 --> 00:29:19,360 even though it's not. 388 00:29:20,300 --> 00:29:25,600 And to build such a script, you need to define the new serial numbers, IDs, and so on, define 389 00:29:25,600 --> 00:29:26,800 the position offset. 390 00:29:28,060 --> 00:29:28,580 Read. 391 00:29:28,800 --> 00:29:29,500 Update it. 392 00:29:29,520 --> 00:29:34,800 Get the GPS satellite's data from the internet, because you want to emulate a flight that 393 00:29:34,800 --> 00:29:35,740 is flying right now. 394 00:29:37,040 --> 00:29:38,760 Read the log file. 395 00:29:38,880 --> 00:29:42,200 Read the data that you want to use for retransmission. 396 00:29:43,260 --> 00:29:49,440 Set up the RF transmitter and or the audio stream, and initiate the transmission thread 397 00:29:50,100 --> 00:29:53,100 that will transmit the data upon an event. 398 00:29:54,680 --> 00:29:58,960 And then the script will go through, it will initiate a transmission loop. 399 00:29:59,520 --> 00:30:04,260 And in the transmission loop, it loads a message from a log file. 400 00:30:04,420 --> 00:30:07,060 It recovers the data with the forwarded correction. 401 00:30:07,440 --> 00:30:10,700 It will update the IDs, serial numbers, and so on. 402 00:30:10,900 --> 00:30:15,780 And then it will calculate and update new CRC for the status block, because that's where 403 00:30:15,780 --> 00:30:17,180 this data is stored. 404 00:30:17,860 --> 00:30:21,700 After that, it will extract the GPS position block data. 405 00:30:21,840 --> 00:30:25,000 It will offset the balloon position. 406 00:30:25,660 --> 00:30:29,040 And it will recalculate the three GPS data. 407 00:30:29,040 --> 00:30:34,140 It will use the GPS blocks to make it look as if the flight is occurring right now. 408 00:30:34,600 --> 00:30:36,480 Then it will prepare the data for transmission. 409 00:30:36,840 --> 00:30:38,260 It will wait for a time event. 410 00:30:38,480 --> 00:30:40,120 And it will trigger the transmission thread. 411 00:30:40,320 --> 00:30:42,280 And the data will be transmitted. 412 00:30:46,200 --> 00:30:47,560 This is how it looks like. 413 00:30:47,820 --> 00:30:53,060 On the upper side, you can see the original flight done somewhere in the U.S. 414 00:30:53,520 --> 00:30:57,640 And on the lower side, you can see the spoofed flight. 415 00:30:57,980 --> 00:30:59,020 Emulating flight. 416 00:30:59,020 --> 00:31:01,640 The flight of a radiosonde above the Pentagon. 417 00:31:05,570 --> 00:31:07,400 I wonder how they look at it. 418 00:31:09,920 --> 00:31:10,540 Okay. 419 00:31:10,840 --> 00:31:11,820 Mentioning the Pentagon. 420 00:31:12,360 --> 00:31:17,300 The RS-41 has also a military model, which is called SGM. 421 00:31:17,780 --> 00:31:19,980 It is intended for military use. 422 00:31:20,220 --> 00:31:23,340 The word intended is right there. 423 00:31:24,020 --> 00:31:25,940 I will speak about it in a minute. 424 00:31:27,040 --> 00:31:28,460 It has two features. 425 00:31:28,460 --> 00:31:29,720 One is radio silence. 426 00:31:30,060 --> 00:31:34,860 It will remain silent until a certain time or a certain height. 427 00:31:35,240 --> 00:31:38,660 And the other feature is data encryption. 428 00:31:40,100 --> 00:31:45,380 And regarding the radio silence, it's because the manufacturer is claiming that if you use 429 00:31:45,380 --> 00:31:51,260 radio silence, you won't the enemy will have a hard time to understand where the balloon 430 00:31:51,260 --> 00:31:52,080 was launched from. 431 00:31:56,420 --> 00:32:01,580 It's not really military in the sense that most of the properties were not changed. 432 00:32:01,800 --> 00:32:05,560 They're still using the same civil frequency band. 433 00:32:06,340 --> 00:32:11,100 And they are still using the same properties, modulation, bit rate, and so on. 434 00:32:11,280 --> 00:32:17,480 And they're still using the same framing message, framing method, so each person who 435 00:32:17,480 --> 00:32:21,400 is receiving other RS-41 models. 436 00:32:21,520 --> 00:32:22,060 I don't know. 437 00:32:22,580 --> 00:32:23,060 Sorry. 438 00:32:23,260 --> 00:32:28,780 Will be able to receive the SGM and understand there's an SGM flying right now over my house. 439 00:32:29,040 --> 00:32:33,700 And this is not really military because usually the military is good in hiding things, not 440 00:32:33,700 --> 00:32:37,080 declaring up in the air, I'm here, I'm here, I'm operating. 441 00:32:37,540 --> 00:32:38,820 And this is very strange. 442 00:32:39,220 --> 00:32:44,400 And only the data, the measurement block, and the GPS blocks are encrypted. 443 00:32:45,280 --> 00:32:50,300 And as I said, you're still very aware that the military is operating here. 444 00:32:51,580 --> 00:32:52,060 I'm sorry. 445 00:32:52,980 --> 00:32:57,480 Another thing which is not so military is that the encryption is not always activated. 446 00:32:57,780 --> 00:33:02,120 When we are monitoring these flights of the SGM around the world, you can see that in 447 00:33:02,120 --> 00:33:05,600 many cases it is not active. 448 00:33:06,180 --> 00:33:07,220 I don't know why. 449 00:33:07,280 --> 00:33:11,180 It's very strange because the military usually believe in doing the same thing over and over 450 00:33:11,180 --> 00:33:11,460 and over. 451 00:33:11,580 --> 00:33:13,200 So the soldier would be prepared for war. 452 00:33:14,040 --> 00:33:21,080 And what's funny is that when it is not encrypted, it's the same frame as the RS-41SG, but it 453 00:33:21,080 --> 00:33:21,780 identifies. 454 00:33:21,780 --> 00:33:27,620 It identifies itself as the SGM, so you still know that the army is operating here right 455 00:33:27,620 --> 00:33:27,860 now. 456 00:33:28,960 --> 00:33:29,980 I don't know why. 457 00:33:30,960 --> 00:33:36,260 The claim that the radio sound transmission will not reveal the balloon launch location 458 00:33:36,260 --> 00:33:41,460 is very funny because, for me at least, because when I launched the two weather balloons with 459 00:33:41,460 --> 00:33:48,320 the elementary school pupils, we downloaded software from the internet that can analyze 460 00:33:48,320 --> 00:33:49,700 the position of the radian sound. 461 00:33:49,880 --> 00:33:51,760 And according to wind models, the radian sound will not reveal the balloon launch location. 462 00:33:51,760 --> 00:33:53,560 The wind models predict where it will fall to the ground. 463 00:33:54,220 --> 00:33:58,080 And it gave us very good results in both cases. 464 00:33:58,460 --> 00:34:01,540 And it's funny because you can do it the other way around. 465 00:34:01,720 --> 00:34:06,440 If you have the wind models and you know the position right now, so you can make a 466 00:34:06,440 --> 00:34:12,720 very good assessment where it was launched from and send your troops there. 467 00:34:16,760 --> 00:34:21,740 One last thing is that I mentioned it earlier, that at Vandenberg, they are launching the 468 00:34:21,740 --> 00:34:24,340 balloons before they are launching a satellite. 469 00:34:24,880 --> 00:34:33,380 And it means that if you are monitoring the air force base next to your house and you 470 00:34:33,380 --> 00:34:37,180 see that they are launching twice a day, as they should, and suddenly they are launching 471 00:34:37,460 --> 00:34:42,960 a string of radio sounds, then you know that they are up to something, even if the data 472 00:34:42,960 --> 00:34:43,340 is encrypted. 473 00:34:43,760 --> 00:34:47,460 You still know that the army is about to probably launch. 474 00:34:50,680 --> 00:34:51,200 Okay. 475 00:34:51,220 --> 00:34:51,360 Okay. 476 00:34:51,360 --> 00:34:51,720 Okay. 477 00:34:51,740 --> 00:34:57,840 So when you are looking at coping with spoofing, which is important, I don't think encryption 478 00:34:57,840 --> 00:35:01,480 is the way because key management is a headache. 479 00:35:01,700 --> 00:35:11,380 Most of the launching organizations are not military at all, and they are not prepared 480 00:35:11,550 --> 00:35:19,300 to start management keys and hiding information from each other and synchronizing reception 481 00:35:19,300 --> 00:35:21,420 sites and so on. 482 00:35:21,420 --> 00:35:28,880 And using encryption requires significant upgrades, and it most likely won't be welcomed 483 00:35:28,880 --> 00:35:33,080 by most of the customers, and it's bad for the radio sound community because they want 484 00:35:33,080 --> 00:35:33,960 to get the data. 485 00:35:34,020 --> 00:35:34,980 And the data is not secret. 486 00:35:35,480 --> 00:35:43,960 The radio sound launch is publicly funded, so why can't the public get their antennas 487 00:35:43,960 --> 00:35:45,960 out of the windows and receive the data? 488 00:35:46,080 --> 00:35:47,100 It's not secret. 489 00:35:47,480 --> 00:35:47,660 Okay. 490 00:35:49,900 --> 00:35:50,440 Okay. 491 00:35:50,720 --> 00:35:50,800 Okay. 492 00:35:51,420 --> 00:35:53,080 So the first one is to authenticate the messages. 493 00:35:53,380 --> 00:35:55,640 There are so many methods to authenticate messages. 494 00:35:56,860 --> 00:36:01,660 You can take the existing messages and add authentication tags. 495 00:36:01,860 --> 00:36:07,500 For example, in the case of the RS-41, perhaps find a good use for the empty block and add 496 00:36:07,500 --> 00:36:10,460 an authentication block instead of the empty block. 497 00:36:11,340 --> 00:36:15,540 And customers who are not interested in using authentication will not use the authentication, 498 00:36:16,040 --> 00:36:18,660 and the community can keep up doing what they're doing. 499 00:36:18,660 --> 00:36:23,660 and it is most important to understand that the authentication can be done 500 00:36:23,660 --> 00:36:29,040 offline you don't have to do it online and it's a potential business model and 501 00:36:29,040 --> 00:36:33,500 the manufacturer of the radio sound I offer a service if you are suspecting 502 00:36:33,500 --> 00:36:42,420 that the last flight was perhaps spoofed then send me the log file I will check 503 00:36:42,420 --> 00:36:47,720 it up and I will tell you if it was proof or not and I will charge so it's 504 00:36:47,720 --> 00:36:58,880 business model when I developed the framework and it was a lot of work I at 505 00:36:58,880 --> 00:37:03,920 first started to use it in investigating and understanding the decoding software 506 00:37:03,920 --> 00:37:09,040 different decoding software and different models different operating 507 00:37:09,040 --> 00:37:16,140 systems and so on and when I finished it I realized that it's a very good tool to 508 00:37:16,140 --> 00:37:17,020 examine 509 00:37:17,020 --> 00:37:23,220 these software develop these software test these softwares and so I decided to 510 00:37:23,220 --> 00:37:29,400 upload all of my code to this link it will be uploaded after the talk and 511 00:37:30,080 --> 00:37:32,280 that's it thank you very much 512 00:37:35,840 --> 00:37:41,400 there are some references here and if you have any questions I'll be here for 513 00:37:41,400 --> 00:37:44,480 the next couple of minutes thank you 514 00:37:47,020 --> 00:37:47,500 you