start	end	text
0	2800	Our first presenter today is Paz Miller.
2960	7960	Paz started his professional career by hacking games and developing tools for his teams.
7960	13320	He has led multidisciplinary systems development as a systems engineer for the aerospace industry.
13500	17620	Today, he will be speaking about what is a little radiotron, and how to operate it.
17620	20680	Let's start today off with a round of applause for Paz.
22420	23720	Thank you.
24560	25940	Thank you.
27560	33360	Hi everyone, my name is Paz Miller and I will talk about the problem of the weather.
35120	41360	There is no need for the initial introduction since I was just right now introduced.
42240	54100	The work I did was about attacking the channel between the weather balloons that are being sent every day and their reception stations.
54420	57180	And I will go over the work.
58620	62600	First thing that needs to be done is to introduce the weather balloon.
62600	71900	And you can see here on the right, on the upper side of the photo, you can see the partially filled balloon.
71900	74200	It's partially filled with helium.
74200	87260	On the lower side you can see the payload, which is an instrumentation box that samples the data from the air and transmits it to a ground station.
87260	104500	And in the middle you can see a small parachute because when the balloon pops, everything falls down and you don't want to get hit by your head by something that fell from 100,000 feet up high.
107260	113840	Oh, I forgot to mention in the last line of the slide, the payload is called Radiosonde.
113840	118980	And from here on, now I will speak only about the Radiosonde.
118980	129440	Here you can see several quotes from a senior meteorologist at Vandenberg Space Force Base, where they are doing satellite launches.
129680	139800	And he is saying that the data from the weather balloons go directly into the databases and to the national weather model.
139880	148400	Which is great for me as a hacker to know that if I succeed disrupting the data, it will go directly into the databases and into the models.
149140	159180	Next thing he is mentioning that they are doing a lot of launches while doing the launch count, doing a lot of releases of weather balloons during the launch count.
159180	165360	They really need updated information to take the decision if to do a satellite launch or not.
165600	181900	And the last thing he is emphasizing how critical it is for the launch mission, because as we have all seen in movies, eventually there is a bunch of guys who are sitting in a room and each one needs to raise his thumb and say, I'm okay, we are all good to go.
181900	190520	And there is an officer there, a weather officer, and he examines the data from the weather balloon, the last weather balloon that was released.
190640	194560	And he needs to decide if the weather is good, he is going to approve the launch.
194560	197220	If the weather is bad, he will delay the launch.
197580	212480	And for me as a hacker it is very important to understand that, because if I can falsify the data that he is looking at, then I can make him cancel launch in good weather, or in the worst case, approve a launch in bad weather.
215080	233680	I might be intimidated to attack an army base, but NASA is helping here and saying that they not only demand that the weather about the launch site will be great, but they also demand that the weather on the down range will be great.
233720	242680	And it means that there are a lot of civil stations, weather balloons, launching stations, that need to approve the launch.
242680	250460	And if I'm intimidated to attack an army base, I might not be intimidated to attack a simple civil station.
252060	255680	Okay, so I have my malicious intentions.
256040	259600	And now I need to choose my path to attack.
259600	264760	And you can see here the list of the most common radiosounds that are being launched.
265020	270720	And leading the market is the Vaisela RS-41, so I focused my work on that model.
272460	278100	Here you can see the major properties of the transmission frame.
278100	281940	There are two common models of the RS-41 submodels.
282000	285080	One is the SG and the other one is the SGP.
285080	289120	The SGP comprises a pressure sensor and the SG does not.
289120	291340	That's the only difference between the two.
291900	295460	The basic frame is 320 bytes divided into blocks.
295460	297320	We'll see the blocks in the next slide.
297900	300760	And there are two layers of error detection and correction.
301700	305740	One is CRC-16, which is applied on each block.
305740	311880	And RIG-Solomon, which is applied on the whole frame for forward error correction.
313020	317600	Here you can see the blocks in the frame.
317600	319640	The first bytes are header bytes.
319640	323000	The next are forward error correction bytes.
323000	326100	Then comes the frame type, which is a very simple byte.
326100	328240	And then comes the blocks.
328240	338200	Block 79 comprises all of the general purpose data, ID, serial numbers, calibration data, battery voltage, and so on.
338200	345220	It also has subframes, which I will go over in the next slide.
345860	348040	The next block is block 7A.
348040	353040	That comprises all of the data measurements, all of the error data measurements.
353040	359200	And then 7C, 7D, 7B are three GPS information blocks.
359660	362660	A lot of information is in there.
362660	366420	And the last block is an empty block, 76.
368760	374180	In the subframes, there are 51 subframes, 16 bytes each.
374180	383370	There's a lot of additional information, serial numbers, path numbers, diagnostic data, calibration data, and so on.
385010	388180	Here are the RS41 RF properties.
388180	394020	It works between 400 MHz and 406 MHz.
394020	396060	It outputs 18 dBm.
396060	406160	And the modulation GFSK is very, very easy to pick up the signals with a simple RTL-SDR receiver and a good antenna.
406280	415280	And you can set up your own station at home and start picking up the signals from the radio sound that goes over your house.
415360	420840	And there are thousands of people doing it all over the world right now.
420840	426700	All have stations like this installed in their houses, very simple, very cheap ones.
426700	432920	And they are all communicating with each other and passing the data that they are getting into public databases.
432920	439500	And they develop tools for decoding and to give people access to the data.
439500	446640	And there are several websites where you can go and view different flights right now, live in the air.
448480	453560	Okay, so I have malicious intentions and I have my RF link to attack.
453560	457600	So the most basic attack would be to do a jamming attack.
457600	458660	And how do you jam?
458660	463540	You take a strong, powerful transmitter and you transmit jamming signals.
464000	468720	My weapon of choice was the Heltech Automation Laurel Node 151.
468720	476760	I just searched for a certain type of transmitter on eBay and I saw the name Heltech and I said, Oh God, this is a sign.
476760	478880	So I immediately grabbed it.
478920	480980	It has a very good Laurel chip.
480980	483160	It has a very good microcontroller.
483400	485380	It transmits 20 dBm.
485380	488500	It carries its own lithium battery, which is great.
488500	489820	You will see it in a minute.
490240	494280	And it costs 20 bucks on eBay and it weighs close to nothing.
496660	499480	So, let's see a jamming attack.
500260	507560	On the right side, you can see the computer and a transmitter that is emulating the RS-41 transmissions.
507780	512440	On the left side, you can see a simple reception station, as I explained earlier.
512880	518660	And in the middle, you can see the small jamming equipment, which is a board and a battery.
520200	522700	Now I'll start the Radiosound emulation.
522700	524520	The emulation is very simple.
524520	529000	I have a log file of all transmissions for RS-41.
529000	534800	And the script takes a message, transmits it, takes another message, transmits it in a cyclic manner.
536120	542780	And here you can see the transmission being received by the RTL-SDR software.
545420	547360	And this is the decoding software.
547360	549140	This is what the operator sees.
552180	555420	In the middle, you can see the Radiosound position and velocity.
556980	561080	Here you can see some general information, such as sound ID.
562640	568460	Here is the GPS time and the quality of reception of the space vehicles.
568760	571380	And this is the subframe status.
572620	576540	Here you can see the measurements that are being taken by the Radiosound.
577820	582820	And this is the GPS navigation data that the Radiosound is sending down.
582820	590160	The link between the decoding software and the RTL software is over the computer's audio channel.
590160	596920	And here you can see that you can record this audio channel and look at the raw data.
597100	605920	If I zoom in, you can see here the preamble bits, followed by the data bits inside the message.
605920	606420	Okay
614130	622250	, so I have a working link, I'm doing decoding, everything is great, so let's add some jamming.
627750	630710	And you can see the immediate effect.
632790	641510	You can see on the left the original broadcast, and on the right interfering the jamming signal.
641510	644850	And if you look at the audio, you see it's a mess.
650440	655640	You see here the jamming signal, it's a very simple signal, broadcasted half of the time.
656180	661800	And when it is mixed with the message here, it totally ruins it.
663680	665440	And there's no decoding.
673700	677460	So remember that I talked about the weight of the transmitter?
677460	684540	Well, you can take a birthday balloon, tie the transmitter to the birthday balloon, and release it.
684540	690320	After the radio song, they will both fly together, so happy with each other.
690860	707440	And what it means is that in this case, you don't only attack the local reception station, but now you are attacking all of the stations along the path of the radio song, and it means that you are doing serious damage.
708520	710660	How serious?
711060	712280	Well, the U.S.
712280	720840	National Weather Service is supporting 102 sites nationwide, each launching at regular hours, twice a day.
721200	728120	And what will happen if 50 people will decide to jam the signal from 50 radio songs?
728120	738240	Well, it will cause serious errors in the weather models and the forecasts, which is good for me as a hacker, but bad for the nation.
741200	745540	I developed a simulation framework for my work.
746760	749240	This is the simulation development environment.
749240	751080	On the right, you can see the transmission part.
751080	753800	On the left, you can see the reception part.
754060	770860	The main block in the transmission part is the Python script, where the attacker can generate messages, generate frames, generate blocks, or change blocks or messages that he reads from log files.
771000	777140	This is connected to a GPS satellite file in case the attacker will choose to falsify GPS data.
777140	783940	For example, take a year-old file and transmit the data as if it was transmitted right now in the air.
784500	796420	He can manipulate messages from an R41 log file, and he has the simulation framework that enables him to have a very big library of functions to work with.
796940	814980	The data that the script is building can be either sent to the decoding software over the audio, if the decoding software is installed on the same computer, or it can be sent to a radio transmitter to transmit the messages over the air to an RTL-SDR receiver and from there to the decoding software.
816460	823760	When you are generating messages or frames, you can take one of two paths.
823760	829360	One is to synthesize frames and subframes all by yourself.
829360	840480	It's very hard because you need to build a behavioral model for each measurement, and you have to remember that many of the measurements have links to other measurements.
840480	848680	So, practically, if you want to create a very good simulation, you have to build a weather simulation on your own computer.
850540	852960	The other approach is much more easier.
852960	858300	This is the approach that I took, was to take all the log files that I have and retransmit it.
858500	874420	Change the serial numbers, change the ID, so no one will be able to detect that this is old data, and retransmit it with falsified GPS data that makes it look as if it was actual flight right now.
876220	881040	So, I have the malicious intentions and now I have the means.
881320	883800	So, let's talk about spoofing data.
884120	889120	Again, I need a powerful transmitter and I need a technique.
889120	891040	And the technique goes like this.
891040	907080	I choose the radio sound that I would like to spoof, and then I receive all the subframes because I need all of the general data from it, because I want to use the same ID, serial numbers, and so on.
907080	910980	And then I'm preparing myself for spoofing, and then I'm jamming the signal.
910980	924240	And this is important because I'm going to use a set of messages that are changing in a certain rate but the radio sound might have a set of messages that are changing in another rate.
924240	939760	And you don't want the operator to easily distinguish between the different types of messages, so if you jam the data, the operator will look and see that the data freezes, and then it returns and it will seem reasonable.
939760	942040	So, it will say, okay, I lost a few packets.
942040	943500	No harm was done.
943540	946600	But then I'm transmitting my spoofed messages.
946600	950400	And this is the data that I'm inserting into the system.
950700	967860	And after I'm finishing spoofing the radio sound, I'm again transmitting jamming signals, and this is a very important part because I have no control over what the radio sound is doing while I'm spoofing.
967860	976080	So it might drift with the wind to a different location from where I'm emulating the position of the radio sound right now.
976600	980360	So, with jamming, I'm creating the same effect.
980360	990800	The operator will look at the data, sees that it freezes for a few seconds, and then the original radio sound will return, and if it sees a small jump, it will say, okay, I lost a few packets.
990800	991500	It drifted.
991500	992380	It's fine.
994580	997260	It works on the signal-to-noise ratio.
997760	1011000	You want to make the receiver believe that the strong, healthy signal from the spoofing transmitter is the leading signal, while the weak radio sound signal is just noise.
1011100	1020060	And here you can see some thumb rules regarding signal-to-noise ratio, and if you can get 25 dB margin, then you're on the horse.
1021080	1030920	And how do you get 25 dB margin, or even better, it all depends on the distance of the transmitters from the receiver.
1031880	1057160	Once the radio sound drifted away with the wind and is getting further and further away from the receiver, its transmission is received with lower and lower power, while if I'm an attacker placed close to the reception station, I can keep my own power and get my 25 dB margin between me and the radio sound and take over the transmission.
1060080	1062360	So, let's see some spoofing examples.
1062380	1067500	This is the RS-41 emulating transmitter.
1069980	1072220	This is the spoofing transmitter.
1074820	1077660	And again, this is the reception station.
1083820	1085840	And let's start the emulation.
1085960	1092620	The script goes to the log file, get the messages out and transmit it over here.
1095540	1100100	After a long time, this is what you see in the decoding software.
1100100	1102200	This is after a couple of hours.
1102660	1108720	And the spoofing will start when the radio sound reaches 20 km height.
1115440	1118340	And here you can see jamming, jamming, jamming.
1120300	1123920	And while it is jamming, I'm adjusting the data.
1123920	1132400	I get the last packet from the radio sound, the active radio sound in the air, and I offset all of my data to the last known good data from the radio sound.
1132400	1136340	As you can see, now I'm spoofing and it's hard to detect.
1146420	1149420	And now, jamming, jamming, jamming all over again.
1149940	1151980	And everything freezes.
1153080	1158240	Here I see the original radio sound transmitting to the receiver.
1158620	1162280	And the operator looks at it and says, OK, I lost a few packets.
1162280	1163640	No harm was done.
1164820	1167320	But I got my data inside.
1172330	1176370	This is another example at which I'm changing two things.
1176370	1179210	One is the temperature and the pressure measurements.
1179370	1183110	And the other thing, if you notice, it's an audio simulation.
1183110	1189930	The entire simulation, the RS41 simulation, the spoofing simulation, and the decoding are all done on the same computer.
1189930	1193530	I'm using the audio path instead of the RF path.
1198410	1200530	So you see the numbers are changing.
1202050	1206030	Don't worry, you'll see the impact in a minute.
1208890	1211550	And now, jamming, jamming, jamming.
1215980	1218140	And the spoofing is done.
1220620	1224740	Here is a diagram, the pressure versus temperature diagram.
1224740	1227180	And you can see here, I draw a small circle.
1227180	1230880	And now the poor weather officer has to decide, what is it?
1230880	1232040	What does it mean?
1232040	1232840	Do I launch?
1232840	1233800	Do I not launch?
1234080	1235260	I don't know what to do with it.
1235260	1240640	And I could have done much more meaner things, but this is only an example.
1242600	1247580	You'll be happy to know that there's a model intended for military use.
1247800	1249560	It's called the SGN.
1249560	1252280	The manufacturer claims that it will do two things.
1252280	1263560	One, it will keep radio silence until a certain height or time, so it will not reveal the launching site of the balloon.
1264080	1275680	And the other one is that they encrypt the data and the measurements with 128-bit key, which is not so military, but OK, 128 is fine.
1276500	1279600	But it's not the only thing that is suspicious about it.
1279600	1283860	It's not really military, because they didn't change any other property.
1284280	1286160	It's the same frequency, same framing.
1286160	1291480	If you have your own home equipment, then you can see that the SGN is flying over your head.
1291480	1297180	You can be aware of it, see the frame ID, and several other data items.
1297180	1300440	What you won't be able to decode is the data.
1302200	1309760	But sometimes they don't even operate the encryption, and then you see the whole SGN data, and it looks like the SG model data.
1309760	1320640	Except for one thing, it identifies as SGN, so you are still able to understand that the army is operating right here.
1320640	1325280	It's shouting it right out in the sky, which is not so really military.
1325780	1341220	And it's very easy to position it once it starts transmitting, and the claim that you cannot detect the launch site is a bit funny, because there are a lot of software today that, using wind models, can estimate where the radio sound will fall.
1341220	1349500	And if you can estimate where it will fall, you can also estimate where it was launched from, so it's not really working.
1349500	1368640	And if you are placed near an army base, and you start seeing the SGNs go right one after the other, even if you cannot decode the data, the frequency will tell you that the army is about to launch something, which is very not military, as far as I understand.
1369900	1376180	So, if you want to cope with spoofing, what you shouldn't do, personally, this is what I believe, you shouldn't encrypt.
1376180	1382260	Most of the entities that are launching weather balloons are non-military.
1382740	1403200	Keys are a headache, synchronizing different stations is a headache, they probably won't want it, it's bad for the radio sound community, and you have to remember that the information is not secret, and it is being read with public money, so the public should have the opportunity to enjoy it.
1403800	1407280	What you should do is to authenticate the message.
1408220	1418920	Modify the messages to add an authentication tag, and whoever is using the data right now will be able to keep on using the same data, and the authentication may be done offline.
1419040	1431540	So, after a flight, if you suspect that the data was falsified, you can send it to the manufacturer, he will test the data, and give you a reply saying, okay, this is okay, or this was spoofed.
1434580	1451480	When I developed the framework, I used it a lot to investigate the decoding software on different platforms, and different decoding software, and it was great, and so I decided to release the code, it will be uploaded in the next few days, and that's it.
1451480	1452760	Thank you very much.
