1 00:00:00,000 --> 00:00:06,760 Hi everyone, I'm Liu Yiguang from 360 Technology. I'm the researcher from Unicorn team. 2 00:00:07,340 --> 00:00:11,820 Today my topic is about the public warning system in IoT network. 3 00:00:12,460 --> 00:00:16,860 And my title is warning magnitude 10 earthquake is coming in one minute. 4 00:00:17,180 --> 00:00:27,160 Okay, here is the agenda. First I'm going to introduce you what is the public warning system in IoT network 5 00:00:27,160 --> 00:00:35,840 and what it is used for. Then I'm going to talk about the vulnerability in IoT protocol. 6 00:00:36,740 --> 00:00:40,460 Then I'm going to introduce you how to trigger the vulnerability. 7 00:00:41,280 --> 00:00:48,580 And first thing is to build up a fake base station and then we need to forge the fake warning message. 8 00:00:48,920 --> 00:00:56,780 And in the last part I will talk about the mitigation and the risk of the potential risk of the vulnerability. 9 00:00:58,880 --> 00:01:05,000 Okay, let's talk about what is the public warning system in the IoT network. 10 00:01:07,300 --> 00:01:16,900 The public warning system is used to alert the public to such disasters such as the earthquake, the tsunami, 11 00:01:17,280 --> 00:01:22,060 the nuclear war, and even the zombie outbreak. 12 00:01:23,480 --> 00:01:27,140 In other words, when you receive a warning message on your mobile phone, 13 00:01:27,160 --> 00:01:29,980 it usually means that you are in a big trouble. 14 00:01:30,160 --> 00:01:32,500 You should find a safer place as soon as possible. 15 00:01:34,780 --> 00:01:38,460 There are four kinds of public warning systems all over the world. 16 00:01:38,720 --> 00:01:45,000 And the ETWS, which is the earthquake and the tsunami warning system, is used for Japan. 17 00:01:45,400 --> 00:01:51,480 And the commercial mobile alert service, CMS, is used for the USA. 18 00:01:51,700 --> 00:01:54,240 And the KPS is for South Korea. 19 00:01:54,460 --> 00:01:57,140 And the E-Alert is used for Japan. 20 00:01:57,160 --> 00:01:58,380 And for European countries. 21 00:01:58,560 --> 00:02:01,500 Although there are four kinds of public warning systems, 22 00:02:01,740 --> 00:02:06,700 but they share the same architecture and the common signaling procedure. 23 00:02:11,780 --> 00:02:16,900 Okay, here is an example of the American CMS example. 24 00:02:17,180 --> 00:02:21,940 And this is an air missile alert in Hawaii last year. 25 00:02:22,400 --> 00:02:23,580 Okay, please play the demo. 26 00:02:25,460 --> 00:02:26,520 New reporting. 27 00:02:26,520 --> 00:02:27,440 How did it happen? 28 00:02:27,560 --> 00:02:31,400 That false alarm in Hawaii that led to 38 minutes of terror. 29 00:02:31,580 --> 00:02:34,700 More than a million people warned of an imminent missile attack, 30 00:02:34,820 --> 00:02:36,360 told this is not a drill. 31 00:02:36,660 --> 00:02:38,380 Families huddling in closets. 32 00:02:38,380 --> 00:02:40,320 Parents hiding children in manholes. 33 00:02:40,780 --> 00:02:42,560 ABC's Jim Avila from Honolulu. 34 00:02:42,840 --> 00:02:46,840 The worker blamed for causing 38 minutes of fear and panic 35 00:02:46,840 --> 00:02:49,700 is reassigned after a routine internal test 36 00:02:49,700 --> 00:02:54,000 turned into the nightmare scenario for more than a billion Hawaiians. 37 00:02:54,000 --> 00:02:56,920 A missile may impact on land or sea within minutes. 38 00:02:57,100 --> 00:02:58,400 This is not a drill. 39 00:02:58,700 --> 00:03:03,340 The dire message causing this father to hide his daughter in a manhole. 40 00:03:03,760 --> 00:03:06,720 Families to race into World War II era bunkers. 41 00:03:06,960 --> 00:03:09,380 Tourists to gather in hotel basements. 42 00:03:09,680 --> 00:03:11,320 I had my mom on speakerphone on the mainland. 43 00:03:11,560 --> 00:03:14,460 And I was calling and saying goodbye, you know, to my family. 44 00:03:14,740 --> 00:03:18,360 All starting during a shift change when officials tell ABC News 45 00:03:18,360 --> 00:03:23,360 an employee mistakenly clicked missile alert instead of the test option. 46 00:03:23,360 --> 00:03:25,300 8.07 Saturday morning. 47 00:03:25,480 --> 00:03:26,040 The warning. 48 00:03:26,280 --> 00:03:27,340 This is not a drill. 49 00:03:27,740 --> 00:03:31,700 In just three minutes at 8.10, the command center knows it's a false alarm. 50 00:03:32,000 --> 00:03:36,420 Official word taking an anguishing 38 minutes to come from this room. 51 00:03:38,080 --> 00:03:42,320 Okay, from the video we can learn that even this is a false alarm, 52 00:03:42,500 --> 00:03:45,980 but it can cause the population a huge panic and disruption. 53 00:03:47,340 --> 00:03:51,680 But luckily this is just a mistake of the operator in the network center. 54 00:03:51,940 --> 00:03:52,760 It is not. 55 00:03:53,360 --> 00:03:54,400 It was issued by an attacker. 56 00:03:56,340 --> 00:04:00,560 But we may wonder, is it possible that we can forge the fake warning message 57 00:04:00,560 --> 00:04:03,160 and issue it maliciously to the population? 58 00:04:03,520 --> 00:04:04,800 And the answer is yes. 59 00:04:06,080 --> 00:04:09,800 This is the basic architecture of the public warning system. 60 00:04:10,100 --> 00:04:15,980 And the CBC and the CBE are used for generating the warning message. 61 00:04:16,200 --> 00:04:22,280 And the MME and EMB are used for transmitting the warning message from the network 62 00:04:22,280 --> 00:04:24,460 to the mobile phone users. 63 00:04:24,960 --> 00:04:29,140 And there is a vulnerability in the error interface, 64 00:04:29,440 --> 00:04:34,960 which is the warning message are not encrypted or integrity protected. 65 00:04:35,420 --> 00:04:37,520 They are just transmitted in clear text. 66 00:04:38,620 --> 00:04:43,620 Another vulnerability is that when the mobile phone comes to a new cell, 67 00:04:43,920 --> 00:04:48,780 it doesn't authenticate the authenticity of the cell. 68 00:04:49,180 --> 00:04:52,080 So we can set up a fake base station. 69 00:04:53,540 --> 00:04:55,960 OK, let's see how to trigger the vulnerability. 70 00:04:57,040 --> 00:05:00,380 First we need to set up a fake base station. 71 00:05:02,860 --> 00:05:05,420 The hardware is not very complicated. 72 00:05:05,580 --> 00:05:08,220 We just need an SDR device, 73 00:05:08,520 --> 00:05:12,040 which is used to send the radio frequency signal 74 00:05:12,920 --> 00:05:17,900 and a laptop to run the LTE protocol stack. 75 00:05:18,820 --> 00:05:21,100 The SDR device we use is USRP. 76 00:05:21,880 --> 00:05:22,480 B210. 77 00:05:22,780 --> 00:05:24,920 And the laptop we use is the ThinkPad. 78 00:05:25,100 --> 00:05:29,600 I recommend that you better use the high performance laptop 79 00:05:29,600 --> 00:05:32,540 because the LTE bandwidth is very large. 80 00:05:33,820 --> 00:05:38,240 The LTE protocol we use is an open source LTE platform, 81 00:05:38,440 --> 00:05:40,160 which is the SSLTE. 82 00:05:43,600 --> 00:05:44,200 OK. 83 00:05:45,820 --> 00:05:49,760 At this time we are going to forge the fake warning message. 84 00:05:49,760 --> 00:05:56,600 The warning message is defined in LTE system information block. 85 00:05:56,880 --> 00:05:59,360 There are 13 types of information blocks. 86 00:05:59,520 --> 00:06:00,320 Here I list the 12. 87 00:06:01,500 --> 00:06:07,020 The SIP10 and SIP11 are used for transmitting the ETWS warning message. 88 00:06:07,240 --> 00:06:08,100 They are used for Japan. 89 00:06:08,420 --> 00:06:13,600 And the SIP12 are used to transmit the other three types of warning message. 90 00:06:16,340 --> 00:06:16,980 OK. 91 00:06:17,860 --> 00:06:18,840 Because the... 92 00:06:18,840 --> 00:06:21,600 Though there are four kinds of warning message, 93 00:06:21,820 --> 00:06:25,320 but they share the same architecture, 94 00:06:25,920 --> 00:06:28,880 and the ETWS, which is used for Japan, 95 00:06:29,040 --> 00:06:30,100 is the most complicated. 96 00:06:30,540 --> 00:06:32,980 It has two levels of alert information. 97 00:06:35,000 --> 00:06:38,160 The SIP10 is used for transmitting the first level, 98 00:06:38,300 --> 00:06:39,520 which is the primary notification, 99 00:06:40,040 --> 00:06:43,720 and the SIP11 is used for transmitting the secondary notification. 100 00:06:44,420 --> 00:06:46,520 The PID message is used for 101 00:06:47,540 --> 00:06:51,840 make the mobile phone to receive the warning message as soon as possible. 102 00:06:52,100 --> 00:06:56,480 And the SIP1 is used for scheduling the SIP10 and SIP11. 103 00:06:56,740 --> 00:06:58,620 It's just a control message. 104 00:06:58,740 --> 00:07:01,080 It doesn't contain the warning message. 105 00:07:03,080 --> 00:07:07,220 Here I'm going to talk about the detail about the primary notification. 106 00:07:09,250 --> 00:07:12,160 This is a structure of the SIP10, 107 00:07:12,300 --> 00:07:14,400 which defines the primary notification. 108 00:07:14,400 --> 00:07:20,340 It is a screenshot of the IoT standard specification. 109 00:07:22,460 --> 00:07:26,820 The picture below is the source code we added in the SSLT 110 00:07:26,820 --> 00:07:31,000 to transmit the warning message, 111 00:07:31,100 --> 00:07:33,580 and we perform an AS1 encoding. 112 00:07:35,040 --> 00:07:40,320 Because the SILT doesn't support sending the warning message, 113 00:07:40,480 --> 00:07:41,920 so we have to add the source code. 114 00:07:44,000 --> 00:07:44,520 Okay. 115 00:07:44,740 --> 00:07:47,060 Here is an example of the... 116 00:07:47,700 --> 00:07:48,720 Here is the demo. 117 00:07:49,240 --> 00:07:52,360 This demo is the warning message we forged. 118 00:07:52,620 --> 00:07:55,180 And this is the primary notification. 119 00:07:55,700 --> 00:07:56,640 Let's see the demo. 120 00:07:56,860 --> 00:07:57,920 Please play the demo. 121 00:08:22,040 --> 00:08:22,560 This is the warning message. 122 00:08:22,560 --> 00:08:22,660 Now let's see the demo. 123 00:08:22,680 --> 00:08:22,720 Okay. 124 00:08:24,460 --> 00:08:24,980 Let's see the demo. 125 00:08:24,980 --> 00:08:26,280 This is the primary notification. 126 00:08:26,640 --> 00:08:30,800 It just contains the fixed information. 127 00:08:31,300 --> 00:08:32,980 It cannot customize the content. 128 00:08:33,180 --> 00:08:35,000 The text is just the E-T-S-S. 129 00:08:35,400 --> 00:08:37,880 And it will make a very harsh alarm 130 00:08:37,880 --> 00:08:45,720 with the earthquake reminder well the secondary notification can customize the 131 00:08:45,720 --> 00:08:52,720 content and it is also supported segmentation when the warning message is 132 00:08:52,720 --> 00:09:00,600 too large and and it also supported multiple languages it supported Chinese 133 00:09:00,600 --> 00:09:09,420 and English we can use the GSM 7 for sending the English and use UCS 2 to 134 00:09:09,420 --> 00:09:18,020 send in the Chinese warning message this is the architecture of the SRB 11 which 135 00:09:18,020 --> 00:09:22,240 defines the secondary notification and this and the picture below is the source 136 00:09:22,240 --> 00:09:29,140 code we add in the SSLT to send the secondary notification what's more 137 00:09:29,140 --> 00:09:30,440 because the 138 00:09:30,440 --> 00:09:30,580 the 139 00:09:31,840 --> 00:09:36,580 because the secondary notification can be customized so we could add anything 140 00:09:36,580 --> 00:09:41,520 we want into it if we want send earthquake warning message we can add the 141 00:09:41,520 --> 00:09:46,380 earthquake epic center the magnitude the time and the location into the 142 00:09:46,380 --> 00:09:53,680 warning message to make it more like a real one and we found that when we set 143 00:09:53,680 --> 00:09:59,000 the message identifier to from 0x1102 to 144 00:10:00,680 --> 00:10:04,980 0x1104 the mobile phone would not making a harsh alarm 145 00:10:04,980 --> 00:10:12,160 it will just make very milda fuse we will see the laser in another demo and we 146 00:10:12,160 --> 00:10:19,360 even couldn't make the warning message to send the advertisement it's just 147 00:10:19,920 --> 00:10:24,380 irrelevant with the warning mate KH or a sweet warning message we could add 148 00:10:24,380 --> 00:10:28,980 anything the phishing website and the phishing phone module especially as an 149 00:10:28,980 --> 00:10:38,160 into it. Okay here here is the four fake warning message we have forged. The first 150 00:10:38,160 --> 00:10:44,180 two pictures are the earthquake warning message. We added the earthquake location 151 00:10:44,180 --> 00:10:50,120 time and the magnitude. It said there will be a earthquake in Beijing and 152 00:10:50,120 --> 00:10:55,800 Tianjin. The second picture is the same content which translated into Chinese 153 00:10:55,800 --> 00:11:02,280 with the UCS2 encoding standard. And the last two pictures are not the earthquake 154 00:11:02,280 --> 00:11:06,380 warning message. They are just an emergency warning because we set the 155 00:11:06,380 --> 00:11:14,600 identifier to 0x1104 and we added add the phishing website and the phishing 156 00:11:14,600 --> 00:11:25,700 phone number respectively. Okay here is a demo of the secondary notification. This 157 00:11:25,700 --> 00:11:33,320 is a fake warning message that we and please play the demo. 158 00:12:12,420 --> 00:12:18,600 Okay at this time we can see that the the mobile phone will not make a very harsh alarm with no 159 00:12:18,600 --> 00:12:21,040 earthquake a reminder just a very meadow bells. 160 00:12:24,220 --> 00:12:25,220 All the 161 00:12:25,220 --> 00:12:29,800 The only test we have done before is based on the Google Pixel, but also we have done 162 00:12:29,800 --> 00:12:34,220 many tests on other phones because China doesn't support the PWS. 163 00:12:34,640 --> 00:12:40,740 So our domestic version Android phones like Xiaomi and Huawei doesn't support the public 164 00:12:40,740 --> 00:12:41,320 warning system. 165 00:12:41,540 --> 00:12:45,360 They have removed the function in the operating system. 166 00:12:47,160 --> 00:12:56,940 But our domestic, our China version iPhones will respond to the warning message only under 167 00:12:56,940 --> 00:13:10,320 the test network, whose MCC is 001 and MCNC is 01, they will not respond to the warning 168 00:13:10,320 --> 00:13:15,100 message under the network of the China Mobile, China Unicom or China NET. 169 00:13:15,100 --> 00:13:20,400 So, our China doesn't need to worry about the warning message. 170 00:13:21,620 --> 00:13:28,240 This next I will show you the response of the China version iPhone. 171 00:13:29,500 --> 00:13:31,020 Okay, please play the demo. 172 00:13:43,460 --> 00:13:45,080 Okay, there was a little bit of a delay. 173 00:13:45,080 --> 00:13:49,960 So, it is a China version, but it speaks Japanese, I don't know why. 174 00:13:51,440 --> 00:13:53,360 Okay, here is the conclusion part. 175 00:13:53,880 --> 00:13:55,660 I will talk about the risk and mitigation. 176 00:13:58,800 --> 00:14:05,960 If there is a photo booth stadium, they are full of people and just like this picture. 177 00:14:06,240 --> 00:14:13,080 And at this time, we set up a fake base station and we send out the fake warning message like 178 00:14:13,080 --> 00:14:13,920 the warning. 179 00:14:14,520 --> 00:14:15,060 Magnetic warning. 180 00:14:15,080 --> 00:14:15,100 So, the phone call is not happening. 181 00:14:15,100 --> 00:14:15,260 And we send out the fake warning message to the Q10. 182 00:14:15,460 --> 00:14:15,920 So, here is the phone call. 183 00:14:15,920 --> 00:14:17,100 The Q10 earthquake is coming in one minute. 184 00:14:17,840 --> 00:14:18,820 What will happen? 185 00:14:20,120 --> 00:14:26,340 Because the warning message is a broadcast message, so it can be received by all the 186 00:14:26,340 --> 00:14:27,880 mobile phones users simultaneously. 187 00:14:28,500 --> 00:14:34,140 And all the mobile phones that support the PWS will make a harsh alarm with an earthquake 188 00:14:34,140 --> 00:14:34,540 reminder. 189 00:14:34,900 --> 00:14:41,860 And this may cause the population a huge panic and even a stampede when they try and escape 190 00:14:41,860 --> 00:14:43,180 from their seats. 191 00:14:44,620 --> 00:14:51,540 Uh, okay, let's see what we can do to prevent this, uh, uh, fake 192 00:14:51,540 --> 00:14:57,160 warning message. We could use the, uh, uh, SESMIC, uh, SESMIC, 193 00:14:57,220 --> 00:15:01,640 uh, uh, encryption to protect the warning message. Uh, the 194 00:15:01,640 --> 00:15:05,960 network can use the, uh, private key to append a digital 195 00:15:05,960 --> 00:15:10,120 signature into the, uh, warning message, and the mobile phone 196 00:15:10,120 --> 00:15:16,420 may use the, uh, public key to, uh, authenticate the, uh, to 197 00:15:16,420 --> 00:15:20,880 verify the authenticity of the network. And, and the warning 198 00:15:20,880 --> 00:15:26,400 message, uh, this may prevent the fake warning message, and I 199 00:15:26,400 --> 00:15:31,980 hope our, our public warning message will not, uh, use, use 200 00:15:31,980 --> 00:15:37,900 the clear text anymore. Uh, okay. Uh, here's my talk. Thank 201 00:15:37,900 --> 00:15:39,360 you, and any question? 202 00:15:44,280 --> 00:15:46,300 No? Okay. Thank you.