1 00:00:00,000 --> 00:00:06,940 I would like to introduce our next speaker, who is an assistant professor in the Department of Engineering at Aarhus University. 2 00:00:10,540 --> 00:00:16,680 Diego Arana is a professor in applied cryptography and computer security, 3 00:00:16,960 --> 00:00:23,680 with a special interest in efficient implementation of cryptographic algorithms and security analysis of real-world systems. 4 00:00:23,680 --> 00:00:32,000 His research has included coordinating two teams of independent researchers capable of detecting and exploring vulnerabilities 5 00:00:32,000 --> 00:00:38,720 in the software of the Brazilian voting machine, used during controlled tests organized by the National Electoral Authority. 6 00:00:48,780 --> 00:00:53,660 So, hi. So I'm here to talk about the horribly insecure Brazilian voting machines. 7 00:00:53,680 --> 00:01:06,700 An alternate title of this talk is the Return of the Insecure Brazilian Toasters because the president of the electoral authority recently claimed that the voting machines are secure because they are not connected to the internet, just like toasters. 8 00:01:07,040 --> 00:01:09,100 So my arguments apply to both cases. 9 00:01:10,200 --> 00:01:15,580 So first, a little bit of context. Yeah, I should say that this is joint work with many people. 10 00:01:15,780 --> 00:01:21,920 So I coordinated a team last year where we were able to full compromise the security of this machine. 11 00:01:22,080 --> 00:01:23,660 This is joint work with Pedro Barbosa. 12 00:01:23,680 --> 00:01:25,120 Caio Lourdes, who is here. 13 00:01:25,280 --> 00:01:26,900 Thiago Cardoso and Paulo Matias. 14 00:01:27,120 --> 00:01:28,320 All of them live in Brazil. 15 00:01:29,420 --> 00:01:30,440 A little bit of context. 16 00:01:30,800 --> 00:01:32,700 Brazilian elections are massive. 17 00:01:32,960 --> 00:01:36,700 We have 140 million voters and a high turnout because voting is mandatory. 18 00:01:37,540 --> 00:01:39,280 They are held every two years. 19 00:01:39,440 --> 00:01:42,600 We alternate between city-wise or municipal and federal elections. 20 00:01:43,440 --> 00:01:47,640 Elections became electronic in 1996 when the first machines were introduced. 21 00:01:48,440 --> 00:01:50,700 But only became fully electronic in 2000. 22 00:01:50,980 --> 00:01:53,660 So now, or for the last 18 years, 23 00:01:53,680 --> 00:01:55,920 all the polling places use voting machines. 24 00:01:56,400 --> 00:02:01,060 A remarkable aspect of our elections is the same authority responsible for everything. 25 00:02:01,360 --> 00:02:03,640 So they decide what technology is being used. 26 00:02:03,800 --> 00:02:04,800 They write the software. 27 00:02:04,980 --> 00:02:05,800 They deploy the software. 28 00:02:06,000 --> 00:02:07,940 They do the logistics on the election day. 29 00:02:08,300 --> 00:02:09,460 They collect the results. 30 00:02:09,560 --> 00:02:10,320 They publish the results. 31 00:02:10,520 --> 00:02:12,840 And since they are a branch of the judicial system, 32 00:02:13,040 --> 00:02:16,760 they also decide any output, any dispute in the outcome. 33 00:02:17,000 --> 00:02:19,540 So they are overlords of our elections. 34 00:02:19,740 --> 00:02:22,440 Which, of course, is a massive problem for insider attacks. 35 00:02:22,700 --> 00:02:22,920 Right? 36 00:02:22,920 --> 00:02:25,700 Because everything is centralized on the same place. 37 00:02:25,880 --> 00:02:28,600 So the name of this authority is the Superior Electoral Court. 38 00:02:28,780 --> 00:02:30,900 They are a branch of the Supreme Court. 39 00:02:31,060 --> 00:02:33,060 I'll just call them by SEC to save time. 40 00:02:33,320 --> 00:02:34,960 So this is the Brazilian voting machine. 41 00:02:35,080 --> 00:02:38,020 On the left, you can find the poll officer terminal 42 00:02:38,020 --> 00:02:42,280 where the officer types in the voter registration number 43 00:02:42,280 --> 00:02:44,660 or collects his or her fingerprint. 44 00:02:44,980 --> 00:02:48,240 The right-hand side, you can find the voter terminal. 45 00:02:48,720 --> 00:02:51,580 So voters type in candidate numbers on the keypad. 46 00:02:51,580 --> 00:02:53,400 This is not a touchscreen machine, 47 00:02:53,540 --> 00:02:55,020 so you vote using candidate numbers. 48 00:02:55,660 --> 00:02:58,420 And you can see a first design flaw in this picture. 49 00:02:58,620 --> 00:03:00,380 There is a cable connecting the two. 50 00:03:00,600 --> 00:03:02,820 So it looks, or it's apparent, 51 00:03:03,420 --> 00:03:06,400 that the same device collects the voter identity and the vote. 52 00:03:06,620 --> 00:03:09,500 So this is a threat, of course, for ballot secrecy. 53 00:03:09,540 --> 00:03:12,440 If the software running the machine is malicious, 54 00:03:12,580 --> 00:03:15,140 it can collect all the voters and their choices. 55 00:03:16,500 --> 00:03:20,580 So the machines were claimed to be 100% secure since 1996, 56 00:03:20,580 --> 00:03:23,260 but only tested for the first time in 2012. 57 00:03:23,640 --> 00:03:25,540 The hardware is manufactured by Diebold, 58 00:03:25,700 --> 00:03:27,200 which is not great, right? 59 00:03:27,340 --> 00:03:29,800 We have more than half a million voting machines in operation. 60 00:03:30,560 --> 00:03:33,140 The software was initially written by Diebold. 61 00:03:33,280 --> 00:03:36,420 Now it's written by the electoral authority since 2006. 62 00:03:36,860 --> 00:03:41,100 And the recent version has more than 24 million lines of code, 63 00:03:41,240 --> 00:03:42,140 which is huge. 64 00:03:42,440 --> 00:03:45,520 This includes the Linux kernel, user and libraries, 65 00:03:46,480 --> 00:03:48,180 user and applications, everything. 66 00:03:48,420 --> 00:03:50,100 But this is just for the voting machines. 67 00:03:50,580 --> 00:03:54,000 There are other software components that add up to this number. 68 00:03:54,320 --> 00:03:56,620 So they adopted GNU Linux in 2008 69 00:03:56,620 --> 00:04:01,080 and experimented with paper records only once in 2002. 70 00:04:01,420 --> 00:04:02,980 And the story is really complicated. 71 00:04:03,180 --> 00:04:06,480 I'll just say that they deployed this in a fraction of the machines 72 00:04:06,480 --> 00:04:09,700 and decided to not do this in the following elections 73 00:04:09,700 --> 00:04:12,700 because they concluded that it was too expensive, too cumbersome, 74 00:04:12,820 --> 00:04:16,800 the paper jams, printers in the middle of the Amazon forest 75 00:04:16,800 --> 00:04:17,960 and all sorts of lame excuses. 76 00:04:18,260 --> 00:04:20,180 So they discontinued this in 2002. 77 00:04:20,580 --> 00:04:25,280 They have been rolling out fingerprint identification since 2008 78 00:04:25,280 --> 00:04:28,380 and deploying them in production since 2011. 79 00:04:28,760 --> 00:04:31,480 Half of the population is already enrolled in. 80 00:04:31,840 --> 00:04:35,100 And as I said, since this is a paperless DRE voting machine, 81 00:04:35,240 --> 00:04:37,400 it's highly vulnerable against insider attacks 82 00:04:37,400 --> 00:04:40,760 from the electoral authority itself. 83 00:04:41,260 --> 00:04:44,100 So this is the algorithm for running an election in Brazil. 84 00:04:44,700 --> 00:04:50,380 The software is developed in the headquarters of the electoral authority in Brasilia. 85 00:04:50,580 --> 00:04:51,340 The capital of the country. 86 00:04:51,500 --> 00:04:54,660 And it's transmitted to the state branches of this authority 87 00:04:55,400 --> 00:04:57,820 through the internet, through some kind of VPN connection. 88 00:04:58,300 --> 00:05:01,280 On the state branches, they record the software in flashcards 89 00:05:01,280 --> 00:05:05,380 and these flashcards install the software since they are not connected to the internet 90 00:05:05,380 --> 00:05:07,680 and in the machines a few days before the election. 91 00:05:08,300 --> 00:05:12,480 So every install card, just like the one on the top of the slide, 92 00:05:12,600 --> 00:05:13,940 installs up to 50 machines. 93 00:05:15,500 --> 00:05:19,020 On the election day, the zero tape is printed between 7 and 8 am. 94 00:05:20,580 --> 00:05:23,720 The poll officer types a command in his terminal to open the voting session. 95 00:05:24,460 --> 00:05:27,500 Voters can authenticate, present their credentials, type their choices. 96 00:05:27,940 --> 00:05:31,980 And the voting session ends at 5 pm if there are no voters left in the query. 97 00:05:32,680 --> 00:05:34,940 At that time, the machine prints a poll tape 98 00:05:35,520 --> 00:05:39,100 and also records a number of files in what we call the media of results, 99 00:05:39,280 --> 00:05:41,100 or MR for short, 100 00:05:41,340 --> 00:05:44,020 which is one of the print drives at the bottom there. 101 00:05:44,600 --> 00:05:47,640 These files include a digital version of the poll tape, 102 00:05:47,820 --> 00:05:50,560 a file called DRV that I will detail later, 103 00:05:50,580 --> 00:05:52,160 in a moment, 104 00:05:52,320 --> 00:05:55,840 and a log file with all the events since the software was installed. 105 00:05:56,360 --> 00:05:58,420 This pen drive is detached from the machine, 106 00:05:58,620 --> 00:05:59,900 attached to another computer, 107 00:06:00,080 --> 00:06:03,080 and all the contents are transmitted to the central tabulator 108 00:06:03,760 --> 00:06:05,780 through, again, a VPN connection. 109 00:06:06,540 --> 00:06:09,680 The central tabulator tallies up everything and publishes the result. 110 00:06:10,220 --> 00:06:13,140 So the access to these machines is notably restricted. 111 00:06:13,700 --> 00:06:17,360 The only opportunity where independent experts can actually take a look at the software 112 00:06:17,360 --> 00:06:19,340 and try to attack the machines 113 00:06:20,580 --> 00:06:22,540 are what are called the public security tests. 114 00:06:23,060 --> 00:06:26,440 So these are restricted tests organized by the electoral authority 115 00:06:26,440 --> 00:06:28,780 typically one year before the elections. 116 00:06:29,340 --> 00:06:30,680 And the objective is clear. 117 00:06:30,900 --> 00:06:33,460 These experts have to provide or compromise 118 00:06:33,460 --> 00:06:37,900 either ballot secrecy or ballot integrity in an untraceable way. 119 00:06:38,840 --> 00:06:41,820 But these, as I said, are not very public despite the name. 120 00:06:41,980 --> 00:06:45,260 So first of all, you cannot use pen and paper to take notes 121 00:06:45,260 --> 00:06:47,540 when inspecting the software, the source code. 122 00:06:47,540 --> 00:06:50,500 You have the option to inspect the code for three days, 123 00:06:50,620 --> 00:06:51,740 but you cannot take notes. 124 00:06:52,300 --> 00:06:54,020 You have four days to mount all attacks. 125 00:06:54,320 --> 00:06:56,920 All the attacks need to be pre-approved by the electoral authority. 126 00:06:57,200 --> 00:07:00,740 All the participating members need to be pre-approved by the electoral authority. 127 00:07:01,280 --> 00:07:05,060 There is a whole lot of bureaucracy to participate on this. 128 00:07:05,560 --> 00:07:08,420 On the last year, we had to fill, during the test, 129 00:07:08,540 --> 00:07:10,080 eight types of different forms, 130 00:07:10,180 --> 00:07:12,820 and we had a form that we need to fill to fill a form. 131 00:07:13,000 --> 00:07:13,600 So it's a metaphor. 132 00:07:15,160 --> 00:07:17,520 There is no guarantees about the software 133 00:07:17,540 --> 00:07:19,800 that's running, the software that's being inspected, 134 00:07:19,860 --> 00:07:21,120 if it's correct or recent. 135 00:07:21,560 --> 00:07:24,600 And there are, of course, intrinsic conflicts of interest here again 136 00:07:24,600 --> 00:07:28,680 because it's the electoral authority evaluating the security of its own devices. 137 00:07:29,220 --> 00:07:33,860 So it appears not being their interest to be as deep as they can go. 138 00:07:34,340 --> 00:07:39,060 So still, they claim that Brazil is the only country on the planet 139 00:07:39,060 --> 00:07:41,680 openly evaluating its voting system. 140 00:07:41,940 --> 00:07:43,500 And this is a very funny quote 141 00:07:43,500 --> 00:07:46,340 because they were here at the voting village last year. 142 00:07:46,340 --> 00:07:50,000 And, well, in this picture, there is someone there 143 00:07:50,740 --> 00:07:52,540 that works for the electoral authority. 144 00:07:52,700 --> 00:07:55,540 And even though participating in this event last year, 145 00:07:55,640 --> 00:07:58,560 they repeated the claim that Brazil is the only one doing this type of evaluation. 146 00:07:59,160 --> 00:08:02,240 So it seems they have to come other times to be convinced 147 00:08:02,240 --> 00:08:05,980 that this is actually an open way of evaluating security of voting systems. 148 00:08:06,400 --> 00:08:07,960 So just to illustrate the restrictions, 149 00:08:08,220 --> 00:08:09,580 on the right-hand side of this slide, 150 00:08:10,080 --> 00:08:12,780 there is a layout of the room where we work it in. 151 00:08:12,880 --> 00:08:15,160 We work group one, one of the green tables there. 152 00:08:15,380 --> 00:08:16,320 The code is packed. 153 00:08:16,320 --> 00:08:18,040 The computers were in the back of the room. 154 00:08:18,520 --> 00:08:21,800 We could not take notes from the code on those machines 155 00:08:21,800 --> 00:08:22,880 and bring it back to our table. 156 00:08:23,340 --> 00:08:26,240 So we had to memorize sections of source code 157 00:08:26,240 --> 00:08:27,420 reproduced in our machines 158 00:08:27,420 --> 00:08:29,080 and come back if something was wrong, 159 00:08:29,280 --> 00:08:31,120 which is, of course, very artificial. 160 00:08:31,340 --> 00:08:36,300 These machines were between a distance of 10 meters. 161 00:08:36,480 --> 00:08:38,300 So there's no reason for doing this. 162 00:08:38,800 --> 00:08:40,760 So I coordinated the team in 2012. 163 00:08:41,040 --> 00:08:44,740 I was able to find a very serious vulnerability 164 00:08:44,740 --> 00:08:46,220 in the vote shuffling mechanism. 165 00:08:46,320 --> 00:08:48,420 And compromise ballot secrecy 166 00:08:48,420 --> 00:08:50,360 in that edition of the public security tests. 167 00:08:50,600 --> 00:08:52,980 I'll get to talk more about this in the next slides. 168 00:08:54,000 --> 00:08:55,720 But we also found on that edition 169 00:08:55,720 --> 00:08:59,840 that all the machines shared cryptographic keys. 170 00:09:00,060 --> 00:09:01,900 So all the media for all the machines 171 00:09:01,900 --> 00:09:03,280 are encrypted under the same key. 172 00:09:03,440 --> 00:09:07,420 And this key was directly inserted in the source code. 173 00:09:07,520 --> 00:09:09,060 So it was hard-coded in the software. 174 00:09:09,860 --> 00:09:11,300 So if it leaks one somewhere, 175 00:09:11,560 --> 00:09:13,220 the impact is nationwide. 176 00:09:14,220 --> 00:09:16,300 The voting software for integrity checks 177 00:09:16,320 --> 00:09:17,340 checks itself. 178 00:09:17,640 --> 00:09:20,880 So it knows or it stores digital signatures. 179 00:09:21,060 --> 00:09:22,160 It goes through those signatures, 180 00:09:22,400 --> 00:09:23,680 checking if they are still valid, 181 00:09:24,220 --> 00:09:25,700 which, of course, makes no sense 182 00:09:25,700 --> 00:09:27,240 in terms of computer security. 183 00:09:27,620 --> 00:09:30,140 It's just like trying to find out if you are crazy 184 00:09:30,140 --> 00:09:31,820 by not going to the doctor, right? 185 00:09:31,920 --> 00:09:34,480 You might be too crazy to find out that you are crazy. 186 00:09:34,640 --> 00:09:36,180 So software works just like this. 187 00:09:37,260 --> 00:09:39,260 So by analyzing these vulnerabilities, 188 00:09:39,480 --> 00:09:41,600 we concluded that the machines were not able to provide 189 00:09:41,600 --> 00:09:43,280 either ballot secrecy or ballot integrity, 190 00:09:43,600 --> 00:09:46,300 which, of course, implies a lack of integrity. 191 00:09:46,320 --> 00:09:46,920 But it also implies integrity of results 192 00:09:47,580 --> 00:09:50,380 as a consequence of an insecure development process, 193 00:09:50,620 --> 00:09:52,240 an inadequate threat model 194 00:09:52,240 --> 00:09:54,320 that completely disregards insider attacks, 195 00:09:54,580 --> 00:09:57,600 and also a result of the internal culture 196 00:09:57,600 --> 00:09:59,900 within the electoral authority that lacks transparency. 197 00:10:00,500 --> 00:10:02,800 After all, they wrote software 198 00:10:02,800 --> 00:10:04,460 and did this for decades 199 00:10:04,460 --> 00:10:06,980 without having to present the software 200 00:10:06,980 --> 00:10:08,420 for external inspection. 201 00:10:09,420 --> 00:10:11,660 So the DRV has a complicated story. 202 00:10:11,900 --> 00:10:14,560 It was introduced in the system by law. 203 00:10:14,560 --> 00:10:17,060 After the electoral authority decided 204 00:10:17,060 --> 00:10:18,880 that paper records were not a good idea, 205 00:10:19,020 --> 00:10:21,440 so they replaced the paper records 206 00:10:21,440 --> 00:10:23,660 with a digital version of the paper records, 207 00:10:23,840 --> 00:10:25,480 which, again, makes no sense. 208 00:10:25,820 --> 00:10:28,280 So this is a file where different races 209 00:10:28,280 --> 00:10:29,560 are stored in different columns. 210 00:10:30,080 --> 00:10:32,240 A voter votes for each of these races 211 00:10:32,240 --> 00:10:33,200 through the candidate numbers, 212 00:10:33,360 --> 00:10:35,620 and these choices are shuffled together 213 00:10:35,620 --> 00:10:38,980 to protect the secrecy of these votes. 214 00:10:39,320 --> 00:10:42,460 The gray cells there correspond to absentees. 215 00:10:42,480 --> 00:10:44,360 So in this case, we have seven candidates 216 00:10:45,140 --> 00:10:46,300 in this poll place. 217 00:10:46,520 --> 00:10:48,300 Four of them didn't show up to vote. 218 00:10:48,980 --> 00:10:50,680 And you can also vote blank, 219 00:10:50,700 --> 00:10:52,560 and there are other specifics 220 00:10:53,080 --> 00:10:54,320 of Brazilian elections here. 221 00:10:55,680 --> 00:10:57,720 So when we first heard about this, 222 00:10:57,880 --> 00:11:00,780 we figured out that trying to reverse 223 00:11:00,780 --> 00:11:02,460 this randomization or this shuffling 224 00:11:02,460 --> 00:11:05,340 would be a promising attack vector, right? 225 00:11:05,500 --> 00:11:08,020 So since we do computer science, 226 00:11:08,160 --> 00:11:10,120 we thought we need to figure out 227 00:11:10,120 --> 00:11:11,620 the bias of this shuffling algorithm, 228 00:11:11,980 --> 00:11:14,540 apply some statistical advanced cryptanalysis 229 00:11:14,560 --> 00:11:16,760 to reverse this shuffling. 230 00:11:16,920 --> 00:11:18,140 So we did exactly that 231 00:11:18,140 --> 00:11:20,760 by just graphing through four random stuff, 232 00:11:21,340 --> 00:11:22,880 quite literally in this case. 233 00:11:23,740 --> 00:11:25,140 And then we found a match. 234 00:11:25,380 --> 00:11:27,720 This was literally the first command we ran 235 00:11:27,720 --> 00:11:30,900 when we had access to the codebase in 2012. 236 00:11:31,260 --> 00:11:32,880 So this took five minutes to finish, 237 00:11:33,020 --> 00:11:36,060 and we found a match in a file called drv.cpp, 238 00:11:36,220 --> 00:11:37,280 which is very suggestive. 239 00:11:37,500 --> 00:11:38,920 So we took a look at the file, 240 00:11:39,040 --> 00:11:41,480 and then the seed was computed like this. 241 00:11:41,960 --> 00:11:44,200 So if you write software in C, 242 00:11:44,200 --> 00:11:46,680 you know that that's a timestamp, right? 243 00:11:46,780 --> 00:11:47,880 A 32-bit timestamp, 244 00:11:47,940 --> 00:11:49,200 and it's not very predictable. 245 00:11:49,500 --> 00:11:51,400 And this timestamp in particular 246 00:11:51,400 --> 00:11:53,980 was taken between 7 and 8 a.m. 247 00:11:53,980 --> 00:11:54,800 of the election day. 248 00:11:54,880 --> 00:11:57,380 So there are only 3,600 different seeds. 249 00:11:58,180 --> 00:12:00,120 Since the drv stores the gray cells 250 00:12:00,120 --> 00:12:00,960 for absentees, 251 00:12:01,060 --> 00:12:03,300 you can actually test if a seed is possible 252 00:12:03,300 --> 00:12:05,300 by storing k out of n votes 253 00:12:05,300 --> 00:12:07,160 and see if the holes match the polling place 254 00:12:07,160 --> 00:12:08,760 we're trying to break ballot secrecy. 255 00:12:09,080 --> 00:12:10,660 At the end, we didn't have to do this, 256 00:12:10,760 --> 00:12:12,760 because the seed was printed in an official document, 257 00:12:12,760 --> 00:12:15,660 and it's stored in a log that must be kept for five years. 258 00:12:16,420 --> 00:12:17,940 So you just go to the zero tape, 259 00:12:18,120 --> 00:12:19,260 find the timestamp there, 260 00:12:19,400 --> 00:12:21,780 seed into your implementation of PRNG, 261 00:12:21,920 --> 00:12:23,400 and then you break ballot secrecy. 262 00:12:23,760 --> 00:12:24,520 There is more. 263 00:12:26,420 --> 00:12:29,380 So to mount this against a real polling place, 264 00:12:29,880 --> 00:12:33,620 you need to keep track of who voted in sequence, right? 265 00:12:33,780 --> 00:12:35,540 But you can actually mount an interesting attack 266 00:12:35,540 --> 00:12:38,080 against famous voters or important voters. 267 00:12:38,280 --> 00:12:40,160 So this is the president of the electoral authority. 268 00:12:40,420 --> 00:12:42,600 We know that he voted at 11.20, 269 00:12:42,760 --> 00:12:43,380 in 2010, 270 00:12:44,080 --> 00:12:46,240 because the official picture of him voting 271 00:12:46,240 --> 00:12:48,840 has this timestamp in the metadata, right? 272 00:12:49,240 --> 00:12:54,420 So if you can take the drv file for his polling place 273 00:12:55,120 --> 00:12:58,740 and check out his position in the voting queue, of course, 274 00:12:58,840 --> 00:13:00,880 and break the shuffling of the votes, 275 00:13:00,940 --> 00:13:02,540 you can figure out exactly how he voted. 276 00:13:02,760 --> 00:13:04,200 We didn't do this at the time, 277 00:13:04,200 --> 00:13:05,360 because we would end up in jail, 278 00:13:05,480 --> 00:13:07,600 but of course it's still possible, right? 279 00:13:07,660 --> 00:13:08,580 All these files are public, 280 00:13:08,700 --> 00:13:10,560 someone can still do it for past elections, 281 00:13:12,780 --> 00:13:14,600 the importance of ballot secrecy, 282 00:13:14,700 --> 00:13:17,860 and also how dangerous it is to introduce 283 00:13:17,860 --> 00:13:20,640 or mandate technological components through law, 284 00:13:20,780 --> 00:13:22,880 because this file needs to be produced by the system 285 00:13:22,880 --> 00:13:25,020 because it's a law requirement, a legal requirement. 286 00:13:26,060 --> 00:13:29,240 So in 2012, we concluded that it was trivial 287 00:13:29,240 --> 00:13:30,340 to recover votes in order, 288 00:13:30,520 --> 00:13:32,360 trivial to recover a specific vote 289 00:13:32,360 --> 00:13:33,740 from the president of the electoral authority. 290 00:13:33,920 --> 00:13:36,080 We recommended them to eliminate this file 291 00:13:36,080 --> 00:13:37,760 and change the law, if possible, 292 00:13:38,020 --> 00:13:40,400 and do not store any metadata about the voters. 293 00:13:40,620 --> 00:13:41,100 Instead, 294 00:13:41,100 --> 00:13:44,520 they changed the random number generator implementation 295 00:13:44,520 --> 00:13:46,020 with a custom algorithm 296 00:13:46,020 --> 00:13:47,720 that no one has analyzed it, 297 00:13:48,140 --> 00:13:50,800 but at least which is seeded frequently with system entropy, 298 00:13:50,940 --> 00:13:53,540 so it should be harder to attack. 299 00:13:54,620 --> 00:13:57,540 Although the voting machine has two different hardware RNGs, 300 00:13:57,540 --> 00:13:59,100 which are much better than all these choices, 301 00:13:59,360 --> 00:14:01,300 and the official explanation for that is, 302 00:14:01,980 --> 00:14:03,380 that they give is, 303 00:14:03,540 --> 00:14:06,200 since not all machines have these hardware RNGs, 304 00:14:06,940 --> 00:14:09,340 they can't write software that selectively uses 305 00:14:09,340 --> 00:14:10,680 the hardware RNGs on the machines 306 00:14:10,680 --> 00:14:11,820 that are equipped with them. 307 00:14:12,080 --> 00:14:13,200 A result of this is, 308 00:14:13,320 --> 00:14:16,520 the security of all machines is actually determined 309 00:14:16,520 --> 00:14:19,320 by the worst machine in operation, right? 310 00:14:19,400 --> 00:14:21,500 Which doesn't have hardware RNG 311 00:14:21,500 --> 00:14:22,560 because it's 10 years old. 312 00:14:23,520 --> 00:14:24,980 So in 2017, 313 00:14:25,400 --> 00:14:27,200 I again participated, 314 00:14:27,520 --> 00:14:28,300 coordinated on a team, 315 00:14:28,400 --> 00:14:30,540 and we wanted to exercise a different attack, 316 00:14:30,780 --> 00:14:33,040 using software installation as an attack vector, 317 00:14:33,180 --> 00:14:35,500 just like Alex described it earlier. 318 00:14:35,840 --> 00:14:38,000 So software installation is performed 319 00:14:38,000 --> 00:14:39,380 at a public ceremony in Brazil. 320 00:14:39,380 --> 00:14:41,600 These are some pictures of the ceremony. 321 00:14:42,180 --> 00:14:45,420 The quality or security of this ceremony varies a lot, 322 00:14:45,520 --> 00:14:48,580 because in some places it's contracted to other companies, 323 00:14:48,680 --> 00:14:51,200 in some other places this is done by public servants, 324 00:14:51,320 --> 00:14:54,120 so it's hard to know exactly how secure it is in practice. 325 00:14:54,400 --> 00:14:56,820 But we found like a sample of pictures online, 326 00:14:57,120 --> 00:15:00,000 and in some cases it looks fairly disorganized. 327 00:15:00,180 --> 00:15:01,100 In some other cases, 328 00:15:01,120 --> 00:15:03,520 even skilled students can go there and visit, 329 00:15:03,640 --> 00:15:06,440 and I wouldn't say this is the most security perimeter 330 00:15:06,440 --> 00:15:08,400 on the planet Earth, right? 331 00:15:08,400 --> 00:15:09,800 For such a critical, 332 00:15:10,600 --> 00:15:12,140 mission-critical task. 333 00:15:12,540 --> 00:15:16,640 So before this event started, 334 00:15:16,840 --> 00:15:18,600 they published a call for participation, 335 00:15:18,920 --> 00:15:21,900 and they had a very explicit thing on this document 336 00:15:21,900 --> 00:15:24,640 saying that researchers wouldn't have access 337 00:15:24,640 --> 00:15:27,000 to cryptographic keys during the event. 338 00:15:27,260 --> 00:15:28,340 Since I'm optimistic, 339 00:15:28,760 --> 00:15:30,200 I thought that they actually had implemented 340 00:15:30,200 --> 00:15:32,560 some key management system 341 00:15:32,560 --> 00:15:36,060 that doesn't require storing the cryptographic keys 342 00:15:36,060 --> 00:15:37,220 hard-coded in the software. 343 00:15:37,220 --> 00:15:39,660 But actually they just erased the keys 344 00:15:39,660 --> 00:15:40,720 from the source code, right? 345 00:15:41,100 --> 00:15:42,160 It's much easier. 346 00:15:42,660 --> 00:15:47,000 So we figured out this again very quickly. 347 00:15:47,300 --> 00:15:49,740 One of the first things I ran against 348 00:15:49,740 --> 00:15:51,380 the new code base was this, right? 349 00:15:52,520 --> 00:15:54,840 So grep is surprisingly useful 350 00:15:54,840 --> 00:15:56,620 when you cannot use anything else. 351 00:15:57,320 --> 00:15:59,040 And then we found a match in a file 352 00:16:00,300 --> 00:16:01,300 .eueminix.c. 353 00:16:01,400 --> 00:16:03,440 So minix is the operating system, 354 00:16:03,600 --> 00:16:05,080 and we already knew that it's also 355 00:16:05,080 --> 00:16:07,060 the partition format for the 356 00:16:07,220 --> 00:16:07,980 voting machine memory, 357 00:16:08,140 --> 00:16:10,020 so we knew that we had something important here. 358 00:16:10,520 --> 00:16:12,080 When we took a look at this file, 359 00:16:12,240 --> 00:16:13,100 we found this. 360 00:16:13,280 --> 00:16:15,040 So it's a string of bytes 361 00:16:15,680 --> 00:16:17,880 with the exact cryptographic key 362 00:16:17,880 --> 00:16:19,680 for encrypting the install cards. 363 00:16:20,180 --> 00:16:22,440 And this is actually the first byte of that key. 364 00:16:22,780 --> 00:16:25,500 So the reason for that is they were migrating 365 00:16:25,500 --> 00:16:28,840 from kernel 2.6 to 3.16, I guess, 366 00:16:28,980 --> 00:16:31,600 and they forgot to delete, 367 00:16:31,680 --> 00:16:34,020 to erase one of the currencies of this key. 368 00:16:34,120 --> 00:16:35,960 So they just forgot to delete all of them. 369 00:16:36,600 --> 00:16:37,920 But since, well, 370 00:16:37,980 --> 00:16:39,440 we know they deleted some parts of code, 371 00:16:39,520 --> 00:16:41,380 we know also that the code base 372 00:16:41,380 --> 00:16:43,220 for inspection was not complete, right? 373 00:16:43,260 --> 00:16:44,960 This is a fairly trivial conclusion. 374 00:16:45,460 --> 00:16:47,100 So modern technical details. 375 00:16:47,460 --> 00:16:48,340 So this system, 376 00:16:48,440 --> 00:16:49,980 we have all of this documented in our paper. 377 00:16:50,600 --> 00:16:52,920 It deploys a whole bunch of cryptographic algorithms, 378 00:16:53,040 --> 00:16:54,300 sometimes in weird places. 379 00:16:54,820 --> 00:16:57,120 The install cards are encrypted with AES-256, 380 00:16:57,280 --> 00:16:57,760 which is nice. 381 00:16:58,440 --> 00:17:00,400 They tried to implement XTS mode, 382 00:17:00,480 --> 00:17:01,500 but they have a small difference 383 00:17:01,500 --> 00:17:03,660 that may make the algorithm weaker. 384 00:17:03,860 --> 00:17:04,840 But this doesn't matter 385 00:17:04,840 --> 00:17:06,500 since the keys are hard-coded in the software. 386 00:17:06,620 --> 00:17:07,720 Who cares about the algorithm, right? 387 00:17:08,160 --> 00:17:09,460 The integrity checking is done 388 00:17:09,460 --> 00:17:11,760 through elliptic curve-based signatures. 389 00:17:12,420 --> 00:17:13,480 There are signatures 390 00:17:13,480 --> 00:17:15,340 both in the user landing kernel mode, 391 00:17:15,480 --> 00:17:17,220 so multiple places check the signatures, 392 00:17:17,900 --> 00:17:20,120 which is good to have redundancy, 393 00:17:20,260 --> 00:17:21,640 but we'll see that it's not sufficient. 394 00:17:22,480 --> 00:17:24,660 And also the keys for assigning the results, 395 00:17:24,880 --> 00:17:25,980 the Paul tape, for example, 396 00:17:26,400 --> 00:17:28,100 are also stored in the install cards 397 00:17:28,100 --> 00:17:29,680 in the voting machine internal memory, 398 00:17:29,820 --> 00:17:31,620 encrypted under another key 399 00:17:31,620 --> 00:17:33,080 that was embedded in the kernel, 400 00:17:33,080 --> 00:17:34,800 but we didn't have access at first 401 00:17:34,800 --> 00:17:37,640 because it was deleted from the code base. 402 00:17:38,900 --> 00:17:43,220 So we could capture this encryption key 403 00:17:43,220 --> 00:17:44,140 and decrypt the install card, 404 00:17:44,320 --> 00:17:45,640 and then when we inspected the contents, 405 00:17:45,820 --> 00:17:48,820 we found two shared libraries missing signatures. 406 00:17:49,160 --> 00:17:50,700 One of them was responsible 407 00:17:50,700 --> 00:17:52,380 for generating the log events, 408 00:17:52,620 --> 00:17:54,460 so we could inject code in this library 409 00:17:54,460 --> 00:17:55,480 to manipulate the log, 410 00:17:55,600 --> 00:17:58,140 which basically makes the log useless 411 00:17:58,140 --> 00:18:00,020 as an audit mechanism. 412 00:18:00,260 --> 00:18:02,420 And we also injected code 413 00:18:02,420 --> 00:18:03,980 to zero a cryptographic key 414 00:18:03,980 --> 00:18:05,240 that encrypts the DRV. 415 00:18:05,880 --> 00:18:07,800 So the DRV, the vote shuffling file, 416 00:18:08,040 --> 00:18:08,840 is kept encrypted 417 00:18:08,840 --> 00:18:10,180 because if the Paul officer 418 00:18:10,180 --> 00:18:12,760 takes two versions of this file 419 00:18:12,760 --> 00:18:14,280 before or after someone's vote, 420 00:18:14,440 --> 00:18:15,460 he can't figure out by the difference 421 00:18:15,460 --> 00:18:16,820 who he voted for. 422 00:18:17,160 --> 00:18:19,540 So since we could choose this key 423 00:18:19,540 --> 00:18:21,220 by injecting code to be all zeros, 424 00:18:21,400 --> 00:18:23,880 we could mount this attack again during the event. 425 00:18:24,360 --> 00:18:27,000 We were also able to plug in a USB keyboard 426 00:18:27,000 --> 00:18:28,760 to issue comments to the voting machine 427 00:18:28,760 --> 00:18:29,400 from the outside. 428 00:18:31,160 --> 00:18:32,880 And on the last day, 429 00:18:33,000 --> 00:18:34,820 we discovered that the voting software, 430 00:18:35,000 --> 00:18:36,580 the application that the voters actually use, 431 00:18:36,740 --> 00:18:38,320 is linked against the two libraries. 432 00:18:38,580 --> 00:18:40,660 So we could inject code in the libraries 433 00:18:40,660 --> 00:18:42,400 to tamper with the voting application 434 00:18:42,400 --> 00:18:43,460 during the election, 435 00:18:43,660 --> 00:18:44,580 or a simulated election. 436 00:18:45,300 --> 00:18:46,880 So we illustrated this power 437 00:18:46,880 --> 00:18:49,000 by changing the version of the software 438 00:18:49,000 --> 00:18:50,960 and inserting things on the voter screen. 439 00:18:51,260 --> 00:18:52,320 I will illustrate in a moment. 440 00:18:52,720 --> 00:18:53,600 But at the end, 441 00:18:53,600 --> 00:18:54,980 we got arbitrary code execution 442 00:18:54,980 --> 00:18:55,840 during an election 443 00:18:55,840 --> 00:18:58,680 by forcing the voting machine 444 00:18:58,680 --> 00:18:59,380 to run out of the voting machine. 445 00:18:59,400 --> 00:18:59,720 This is our software. 446 00:19:00,300 --> 00:19:02,340 We also developed a payload 447 00:19:02,340 --> 00:19:03,760 to change votes 448 00:19:03,760 --> 00:19:04,920 from one candidate to the other. 449 00:19:05,040 --> 00:19:07,020 But the tests were interrupted 450 00:19:07,020 --> 00:19:08,380 at 6 p.m. on a Friday, 451 00:19:08,540 --> 00:19:10,760 and we were in the middle of putting this, 452 00:19:11,760 --> 00:19:12,820 installing this in the machine. 453 00:19:12,960 --> 00:19:14,440 So we never were able to find this. 454 00:19:14,600 --> 00:19:15,660 But it's a logical conclusion 455 00:19:15,660 --> 00:19:17,940 of inserting your code to run. 456 00:19:18,800 --> 00:19:20,660 So this is a screenshot 457 00:19:20,660 --> 00:19:23,140 of the simulator provided 458 00:19:23,140 --> 00:19:24,140 by the electoral authority. 459 00:19:24,300 --> 00:19:25,560 Of course, this is all in Portuguese. 460 00:19:25,780 --> 00:19:27,420 So you type on the right side 461 00:19:27,420 --> 00:19:29,100 the number of your candidate. 462 00:19:29,240 --> 00:19:30,540 In this case, 61. 463 00:19:30,820 --> 00:19:32,260 It's a fictional swimming candidate 464 00:19:32,260 --> 00:19:33,640 just for illustrating purposes. 465 00:19:34,020 --> 00:19:36,020 You can see at the top left here, 466 00:19:36,080 --> 00:19:37,000 there is a string called 467 00:19:37,000 --> 00:19:38,200 seu voto para, 468 00:19:38,440 --> 00:19:39,360 which basically says 469 00:19:39,360 --> 00:19:42,080 your vote goes for or goes to. 470 00:19:42,360 --> 00:19:43,680 We changed that string 471 00:19:43,680 --> 00:19:46,840 to tell voters 472 00:19:46,840 --> 00:19:48,380 to vote for candidate 99. 473 00:19:48,680 --> 00:19:49,920 In this case, Darth Vader, 474 00:19:50,060 --> 00:19:51,900 which is a much less democratic option 475 00:19:51,900 --> 00:19:52,340 than swimming. 476 00:19:55,900 --> 00:19:57,900 So in 2017, 477 00:19:58,060 --> 00:19:58,900 we concluded that 478 00:19:59,620 --> 00:20:01,480 install cards were not properly encrypted. 479 00:20:03,280 --> 00:20:05,660 Keys were still shared by all machines 480 00:20:05,660 --> 00:20:07,460 and directly inserted into the source code. 481 00:20:08,060 --> 00:20:10,580 Integrity checking is also insecure 482 00:20:10,580 --> 00:20:13,340 by having shared libraries 483 00:20:13,340 --> 00:20:14,120 without signatures. 484 00:20:15,020 --> 00:20:15,980 And at the last day, 485 00:20:16,060 --> 00:20:16,880 it was interesting that 486 00:20:16,880 --> 00:20:18,740 another team found another way 487 00:20:18,740 --> 00:20:19,800 to this encryption key. 488 00:20:19,960 --> 00:20:21,680 So this makes the whole attack 489 00:20:21,680 --> 00:20:22,320 fully acceptable 490 00:20:22,340 --> 00:20:24,740 by using what they did. 491 00:20:24,900 --> 00:20:27,080 They basically could run the install cards 492 00:20:27,080 --> 00:20:28,280 in a virtual machine 493 00:20:28,280 --> 00:20:30,040 and have the key 494 00:20:30,040 --> 00:20:31,020 in the memory layout 495 00:20:31,020 --> 00:20:32,200 of the virtual machine. 496 00:20:33,560 --> 00:20:35,280 One attacker could capture this key 497 00:20:35,280 --> 00:20:36,460 without access to the source code. 498 00:20:36,560 --> 00:20:38,300 So this makes a whole attack external 499 00:20:38,300 --> 00:20:40,080 without having access to the source code. 500 00:20:40,300 --> 00:20:41,960 So our recommendations this time 501 00:20:41,960 --> 00:20:42,860 were to fully automate 502 00:20:42,860 --> 00:20:43,620 the signing process. 503 00:20:43,880 --> 00:20:45,860 So when a new file comes around, 504 00:20:45,980 --> 00:20:47,560 you don't have to change the scripts 505 00:20:47,560 --> 00:20:48,680 to sign that file too. 506 00:20:48,820 --> 00:20:50,760 And to again deploy proper key management 507 00:20:50,760 --> 00:20:51,940 to have different keys 508 00:20:51,940 --> 00:20:52,940 in different machines 509 00:20:52,940 --> 00:20:53,880 to contain damage 510 00:20:53,880 --> 00:20:54,900 in case one of them leaks. 511 00:20:55,860 --> 00:20:59,120 Instead, they sort of fix it 512 00:20:59,120 --> 00:21:01,900 by not having the keys hard coded 513 00:21:01,900 --> 00:21:03,320 by computing them dynamically 514 00:21:03,320 --> 00:21:05,700 from a secret stored in the BIOS 515 00:21:05,700 --> 00:21:06,340 of the machine. 516 00:21:06,660 --> 00:21:08,780 So the software reads some bytes 517 00:21:08,780 --> 00:21:09,320 in the BIOS, 518 00:21:09,340 --> 00:21:10,340 runs this through some algorithm 519 00:21:10,340 --> 00:21:11,920 and then computes the key. 520 00:21:12,060 --> 00:21:13,420 But it's still the same key 521 00:21:13,420 --> 00:21:14,400 for all of the machines. 522 00:21:15,440 --> 00:21:16,780 Although you can claim 523 00:21:16,780 --> 00:21:18,120 that this makes the system 524 00:21:18,120 --> 00:21:19,240 slightly more robust 525 00:21:19,240 --> 00:21:20,620 against an external attacker 526 00:21:20,620 --> 00:21:22,560 because the key is not 527 00:21:22,560 --> 00:21:23,280 in the software anymore, 528 00:21:23,840 --> 00:21:25,620 it's still trivially vulnerable 529 00:21:25,620 --> 00:21:26,520 against an insider 530 00:21:26,520 --> 00:21:28,440 who can just run this routine once, 531 00:21:28,520 --> 00:21:29,080 print the key, 532 00:21:29,160 --> 00:21:30,080 and then leak it 533 00:21:30,080 --> 00:21:31,420 for malicious purposes. 534 00:21:31,780 --> 00:21:33,400 So again, they just mitigated this 535 00:21:33,400 --> 00:21:36,740 in a less than ideal way. 536 00:21:38,600 --> 00:21:39,600 Problems we still have. 537 00:21:39,860 --> 00:21:41,380 Software is for all purposes 538 00:21:41,380 --> 00:21:43,080 secret for over 20 years. 539 00:21:43,260 --> 00:21:44,180 It was already demonstrated 540 00:21:44,180 --> 00:21:45,520 to be insecure several times 541 00:21:45,520 --> 00:21:47,180 as I told to you. 542 00:21:47,440 --> 00:21:48,780 There is no paper record 543 00:21:48,780 --> 00:21:50,180 for recounts. 544 00:21:50,620 --> 00:21:51,800 There are no effective ways 545 00:21:51,800 --> 00:21:52,620 to audit the system. 546 00:21:52,920 --> 00:21:53,380 Everything is, 547 00:21:53,460 --> 00:21:55,140 you have to reconstruct history 548 00:21:55,140 --> 00:21:56,300 from a bunch of files, 549 00:21:56,940 --> 00:21:59,140 which as was argued before 550 00:21:59,140 --> 00:22:00,540 is fairly challenging. 551 00:22:01,000 --> 00:22:02,900 There are conflicts of interest everywhere 552 00:22:02,900 --> 00:22:04,180 and insider attacks 553 00:22:04,180 --> 00:22:05,560 are completely disregarded. 554 00:22:05,920 --> 00:22:07,140 What can we do? 555 00:22:07,380 --> 00:22:08,500 So we need paper records 556 00:22:08,500 --> 00:22:10,060 to have, what's this? 557 00:22:13,760 --> 00:22:15,380 Okay, I can tell by heart. 558 00:22:15,660 --> 00:22:17,240 So we need, 559 00:22:17,260 --> 00:22:18,200 oh, it's back. 560 00:22:18,360 --> 00:22:19,440 We need paper records 561 00:22:19,440 --> 00:22:20,600 for auditing 562 00:22:20,620 --> 00:22:22,440 that the voters can inspect. 563 00:22:23,000 --> 00:22:24,980 This has a fairly complicated story 564 00:22:24,980 --> 00:22:25,400 in Brazil. 565 00:22:26,540 --> 00:22:29,020 In 2015, Congress passed a law 566 00:22:29,020 --> 00:22:30,400 approving the reintroduction 567 00:22:30,400 --> 00:22:31,080 of paper records 568 00:22:31,080 --> 00:22:32,080 for the third time. 569 00:22:32,660 --> 00:22:32,920 It was, 570 00:22:33,060 --> 00:22:35,560 this law was considered 571 00:22:36,420 --> 00:22:36,960 unconstitutional 572 00:22:36,960 --> 00:22:38,640 by the Supreme Court, 573 00:22:38,780 --> 00:22:40,000 which is like really friends 574 00:22:40,000 --> 00:22:41,700 with the electoral authority 575 00:22:41,700 --> 00:22:42,920 in last June. 576 00:22:43,120 --> 00:22:44,300 So we won't have paper records 577 00:22:44,300 --> 00:22:45,900 again in the upcoming elections, 578 00:22:46,200 --> 00:22:47,880 which may be the most important 579 00:22:47,880 --> 00:22:48,740 in Brazilian history. 580 00:22:48,880 --> 00:22:49,740 I don't know if you've been tracking. 581 00:22:49,740 --> 00:22:50,420 The news. 582 00:22:50,420 --> 00:22:50,900 The news, 583 00:22:50,920 --> 00:22:52,200 but it's a whole political mess 584 00:22:52,200 --> 00:22:53,740 and we have eight candidates 585 00:22:53,740 --> 00:22:55,500 and all of them are horrible 586 00:22:55,500 --> 00:22:56,520 and well, 587 00:22:56,580 --> 00:22:57,700 one of them will become president. 588 00:22:57,860 --> 00:22:59,760 So we need a better way 589 00:22:59,760 --> 00:23:01,420 to verify that this next election 590 00:23:01,420 --> 00:23:03,220 is actually fair. 591 00:23:03,580 --> 00:23:05,060 So it would be nice 592 00:23:05,060 --> 00:23:06,800 to have open source software 593 00:23:06,800 --> 00:23:07,740 because then the community 594 00:23:07,740 --> 00:23:08,660 can take a look at this. 595 00:23:08,820 --> 00:23:09,380 It's not sufficient, 596 00:23:09,560 --> 00:23:12,180 but since this is public funded software, 597 00:23:12,360 --> 00:23:13,600 I think it's fair to claim 598 00:23:13,600 --> 00:23:14,600 that the public has a right 599 00:23:14,600 --> 00:23:15,220 to inspect it 600 00:23:15,540 --> 00:23:17,200 without all these restrictions. 601 00:23:17,860 --> 00:23:18,580 At the end, 602 00:23:18,580 --> 00:23:20,180 we need better social control mechanisms 603 00:23:20,180 --> 00:23:22,260 to decentralize the control 604 00:23:22,260 --> 00:23:23,480 over this system 605 00:23:23,480 --> 00:23:25,480 and the Brazilian technical community 606 00:23:25,480 --> 00:23:27,060 certainly has to be more vocal. 607 00:23:27,180 --> 00:23:28,380 It's really easy to shut down 608 00:23:28,380 --> 00:23:30,680 the few critics that live there 609 00:23:30,680 --> 00:23:32,180 because we are just two or three 610 00:23:32,180 --> 00:23:34,000 instead of having a movement 611 00:23:34,000 --> 00:23:35,500 like the US, for example, 612 00:23:35,580 --> 00:23:36,380 where the technical community 613 00:23:36,380 --> 00:23:37,080 is behind this. 614 00:23:37,320 --> 00:23:38,800 So one point I want to make, 615 00:23:38,860 --> 00:23:39,480 last point is 616 00:23:39,480 --> 00:23:41,540 the world is essentially becoming 617 00:23:41,540 --> 00:23:42,800 more polarized politically, 618 00:23:43,620 --> 00:23:45,520 which I think makes 619 00:23:45,520 --> 00:23:47,220 independent verification of elections 620 00:23:47,220 --> 00:23:48,720 even more important. 621 00:23:50,560 --> 00:23:51,780 Thank you for your attention. 622 00:23:51,940 --> 00:23:52,860 I have three references 623 00:23:52,860 --> 00:23:54,220 if you want to take a look 624 00:23:54,220 --> 00:23:55,340 at our papers and reports 625 00:23:55,340 --> 00:23:56,740 for the past six years, 626 00:23:56,880 --> 00:23:57,740 and I may have time 627 00:23:57,740 --> 00:23:58,620 for one question. 628 00:23:59,400 --> 00:24:00,000 Thank you. 629 00:24:01,640 --> 00:24:02,120 Questions? 630 00:24:06,840 --> 00:24:07,320 Yes. 631 00:24:08,300 --> 00:24:08,780 Hi. 632 00:24:10,640 --> 00:24:12,020 The next election 633 00:24:12,020 --> 00:24:15,560 is on the American side. 634 00:24:15,780 --> 00:24:16,300 Uh-huh. 635 00:24:21,840 --> 00:24:23,020 It's impossible to tell. 636 00:24:23,120 --> 00:24:24,440 So I think the important question 637 00:24:24,440 --> 00:24:24,800 is not, 638 00:24:24,860 --> 00:24:25,960 did we have fraud 639 00:24:25,960 --> 00:24:26,640 in the past election? 640 00:24:26,860 --> 00:24:28,060 But if we had fraud, 641 00:24:28,740 --> 00:24:29,220 can we able, 642 00:24:29,320 --> 00:24:30,800 are we able to detect it 643 00:24:30,800 --> 00:24:31,300 as independent, 644 00:24:31,580 --> 00:24:31,900 you know, 645 00:24:31,940 --> 00:24:33,100 inspectors eventually? 646 00:24:33,420 --> 00:24:34,160 I think this is 647 00:24:34,160 --> 00:24:34,880 the important question. 648 00:24:35,060 --> 00:24:36,240 What I can say is 649 00:24:36,240 --> 00:24:37,780 it was a fairly tight election 650 00:24:37,780 --> 00:24:39,900 and we actually did some math 651 00:24:39,900 --> 00:24:40,860 to understand 652 00:24:40,860 --> 00:24:42,000 how the impact 653 00:24:42,000 --> 00:24:42,800 of this attack 654 00:24:42,800 --> 00:24:43,720 would have 655 00:24:43,720 --> 00:24:44,360 on that election. 656 00:24:45,080 --> 00:24:46,260 If an attacker 657 00:24:46,260 --> 00:24:47,080 is really aggressive 658 00:24:47,080 --> 00:24:47,200 in the election, 659 00:24:47,220 --> 00:24:48,960 and the way he changes votes, 660 00:24:49,160 --> 00:24:49,800 he only needed 661 00:24:49,800 --> 00:24:50,780 to have access 662 00:24:50,780 --> 00:24:52,220 to 100 install cards 663 00:24:52,860 --> 00:24:53,380 in, 664 00:24:53,520 --> 00:24:54,260 not necessarily 665 00:24:54,260 --> 00:24:55,000 distributed 666 00:24:55,000 --> 00:24:55,920 even in the country, 667 00:24:56,000 --> 00:24:57,120 perhaps on the same place, 668 00:24:57,220 --> 00:24:58,000 to substitute 669 00:24:58,000 --> 00:24:59,080 to replace the software 670 00:24:59,080 --> 00:24:59,920 and impact 671 00:24:59,920 --> 00:25:01,800 the number of votes 672 00:25:01,800 --> 00:25:02,500 that separated 673 00:25:02,500 --> 00:25:03,120 the two candidates. 674 00:25:03,380 --> 00:25:03,780 So, 675 00:25:03,900 --> 00:25:05,480 I can't estimate 676 00:25:05,480 --> 00:25:06,540 how easy 677 00:25:06,540 --> 00:25:07,380 or expensive 678 00:25:07,380 --> 00:25:07,920 this is, 679 00:25:08,000 --> 00:25:08,820 but we got this number, 680 00:25:08,960 --> 00:25:10,060 100 install cards. 681 00:25:10,640 --> 00:25:11,320 Thank you. 682 00:25:13,580 --> 00:25:14,100 Thanks. 683 00:25:17,240 --> 00:25:17,340 Thank you.