1 00:00:00,000 --> 00:00:05,540 Without further ado, I will let Guy talk through his own introduction, but thanks, guys, for coming on a Sunday morning. 2 00:00:05,820 --> 00:00:07,460 Hopefully you're not as hungover as I am. 3 00:00:11,240 --> 00:00:17,440 Hey, guys, good morning. Can everyone hear me okay? Cool. So I'll start. 4 00:00:18,180 --> 00:00:26,140 My name is Guy, and I'm here to talk to you about, present my talk, Exploiting Immune Defenses, Can Malware Learn from Biological Viruses? 5 00:00:26,880 --> 00:00:35,060 So I'll start a bit introducing myself. My name is Guy Proper, and I see the font here is kind of funny, but never mind. 6 00:00:36,540 --> 00:00:40,380 I had people ask me that throughout the conference. It's actually my real name. It's not an alias. 7 00:00:41,160 --> 00:00:44,780 And, well, I find it funny, but none of you guys do, probably. 8 00:00:47,240 --> 00:00:51,620 And I've been a researcher for the past two years at a cybersecurity company called Deep Instinct. 9 00:00:52,100 --> 00:00:55,700 And before that, I did my bachelor's degree in biology and cognitive science. 10 00:00:56,360 --> 00:01:02,540 I graduated in the Hebrew University of Jerusalem, and right now I live in Tel Aviv, which is a cool city, and that's why the photo is there. 11 00:01:03,740 --> 00:01:08,260 Actually, before I start, out of interest, how many of you guys have a biological background, a degree? 12 00:01:09,380 --> 00:01:11,220 Okay, cool. Cool. 13 00:01:13,660 --> 00:01:21,980 Okay, the agenda for today, I'll start with some general background, basically general biological background that's necessary for the second part of the talk, 14 00:01:22,800 --> 00:01:26,040 in which I'll talk about how viruses exploit immunity. 15 00:01:26,140 --> 00:01:36,320 And in the third part, I'll conclude and compare a well-known virus and a well-known malware, HIV-1 and Ducu-2, to see if they're similar in any way. 16 00:01:37,700 --> 00:01:39,060 So I'll start with the background. 17 00:01:40,160 --> 00:01:41,780 What are biological viruses? 18 00:01:43,020 --> 00:01:47,980 Basically, biological viruses are structures that contain genetic material. 19 00:01:48,080 --> 00:01:53,280 It can be DNA or RNA, which is surrounded by a protective structure called a capsid. 20 00:01:53,280 --> 00:01:54,660 It's a protein structure. 21 00:01:55,520 --> 00:02:01,600 What's unique about viruses is that they are defined as non-living, meaning they cannot reproduce on their own. 22 00:02:01,980 --> 00:02:07,560 In order to reproduce, they must abuse the replication machinery of another living cell. 23 00:02:07,760 --> 00:02:09,320 I'll talk more about that later. 24 00:02:10,420 --> 00:02:16,560 So basically, in order to do that, what they have to do is infect another cell, enter it, 25 00:02:16,640 --> 00:02:22,920 and then abuse the machinery that that cell uses for its own replication in order to reproduce themselves and continue spreading. 26 00:02:24,660 --> 00:02:29,360 What you can see on the left is a virus that attacks bacteria. 27 00:02:29,360 --> 00:02:30,300 It's called a phage. 28 00:02:30,760 --> 00:02:37,760 And the picture there has the DNA, which is surrounded by, you see, the protective structure that I talked about called a capsid. 29 00:02:37,980 --> 00:02:42,480 And on the right is an actual electron microscope image. 30 00:02:42,520 --> 00:02:47,660 It's a real image of these phages around a bacterial cell preparing to enter it. 31 00:02:49,140 --> 00:02:52,860 One more thing that's important to know about viruses is that they are very diverse. 32 00:02:54,220 --> 00:02:57,780 Viruses attack pretty much every known organism. 33 00:02:57,880 --> 00:03:01,900 There are viruses that attack bacteria, animals, of course, and also plants. 34 00:03:04,960 --> 00:03:10,560 The last bit of basic background I want to talk about is something called the central dogma of biology. 35 00:03:11,000 --> 00:03:15,200 This is a very basic idea in molecular biology. 36 00:03:16,200 --> 00:03:20,320 And it talks about the transfer of information in biology. 37 00:03:20,640 --> 00:03:22,660 So basically, all information... 38 00:03:22,860 --> 00:03:26,120 in the cell is stored in molecules called DNA. 39 00:03:26,180 --> 00:03:27,480 They contain the genetic code. 40 00:03:28,020 --> 00:03:32,880 And these molecules, the code contains all the instructions that the cell will perform during its lifetime. 41 00:03:33,540 --> 00:03:39,540 One important note is that all living organisms have these small basic units called cells, 42 00:03:39,780 --> 00:03:42,300 which make up their bodies. 43 00:03:43,120 --> 00:03:45,940 And each of these cells contains DNA. 44 00:03:46,880 --> 00:03:51,640 This DNA is then transcribed into an intermediary molecule called RNA. 45 00:03:52,860 --> 00:03:54,200 Which also stores the information. 46 00:03:54,480 --> 00:03:56,780 And then that RNA is translated into proteins. 47 00:03:57,160 --> 00:04:02,720 And proteins are three-dimensional structures, and they actually perform the day-to-day functions of the cell. 48 00:04:02,800 --> 00:04:09,560 So when you breathe or eat or whatever else, the proteins are what performs the functions in your body. 49 00:04:09,660 --> 00:04:13,200 And the instructions for these proteins are contained in the DNA. 50 00:04:14,420 --> 00:04:20,500 And when the viruses abuse the replicative machinery of the cell, basically what they do is they do this process. 51 00:04:21,060 --> 00:04:22,220 But they cannot... 52 00:04:22,860 --> 00:04:27,020 They don't have the machinery that is needed to transcribe and translate. 53 00:04:27,340 --> 00:04:31,520 So they abuse the proteins that the cell has in order to do that. 54 00:04:34,620 --> 00:04:39,480 I also want to talk a bit about defense mechanisms against viruses. 55 00:04:39,800 --> 00:04:43,620 So since viruses attack all other types of organisms that we know of, 56 00:04:43,800 --> 00:04:46,820 these organisms can also defend themselves from viral attacks. 57 00:04:47,280 --> 00:04:51,160 And this is a really big topic, and I'll not go into detail here. 58 00:04:51,240 --> 00:04:52,840 But all I want to say is that... 59 00:04:52,860 --> 00:04:54,300 These defenses... 60 00:04:54,300 --> 00:04:56,720 There are two types of defenses, generic and targeted. 61 00:04:57,580 --> 00:05:02,940 By generic defenses, I mean defenses that protect the organism from any kind of attack. 62 00:05:03,220 --> 00:05:07,120 It could be from viruses, bacteria, even from physical harm. 63 00:05:07,900 --> 00:05:13,340 And then there are targeted defenses, which protect the organism either against a specific type of threat. 64 00:05:13,440 --> 00:05:15,240 So protect against all viruses. 65 00:05:15,680 --> 00:05:20,480 Or even more targeted than that, can protect against specific types of viruses. 66 00:05:20,480 --> 00:05:23,640 An example for that is our adaptive immune system, 67 00:05:24,880 --> 00:05:28,800 which learns throughout our lifetime to recognize specific threats. 68 00:05:29,320 --> 00:05:33,380 And so if we were attacked by a specific type of virus for the first time, 69 00:05:33,400 --> 00:05:35,140 it might not necessarily recognize it. 70 00:05:35,360 --> 00:05:38,780 But this system has memory, and it will recognize a second attack 71 00:05:38,780 --> 00:05:40,720 and respond much faster and much more effectively. 72 00:05:44,020 --> 00:05:46,280 Now I want to move on to the second part of the talk. 73 00:05:46,420 --> 00:05:48,900 I'll give a brief overview of what we're going to cover. 74 00:05:48,900 --> 00:05:53,500 So I want to start with some key differences between viruses and malware, 75 00:05:53,640 --> 00:05:55,980 which I think are important for the next points. 76 00:05:57,360 --> 00:06:00,140 And then I'll cover briefly the lifecycle of viruses, 77 00:06:00,200 --> 00:06:04,440 and then methods of privilege escalation, persistence, and defense evasion in viruses. 78 00:06:06,440 --> 00:06:11,920 Okay, so two key differences between malware and viruses are intent and evolution. 79 00:06:12,780 --> 00:06:17,380 What I mean by intent is that when someone writes a piece of malware, 80 00:06:17,560 --> 00:06:18,880 they have a specific purpose. 81 00:06:18,900 --> 00:06:20,080 They don't have a specific cause for writing that. 82 00:06:20,160 --> 00:06:24,440 It could be stealing money or stealing information or whatever else they want to do. 83 00:06:25,940 --> 00:06:28,900 While viruses were not formed, they were formed by nature. 84 00:06:29,320 --> 00:06:33,460 You could put it that way, but they weren't formed with a specific intent. 85 00:06:34,240 --> 00:06:36,620 They weren't formed, for example, to cause a disease. 86 00:06:37,040 --> 00:06:42,200 Their only real purpose, even though there's not really a purpose in evolutionary biology, 87 00:06:43,060 --> 00:06:44,680 is to reproduce and survive. 88 00:06:46,040 --> 00:06:52,140 So all the damage that they cause to achieve that purpose is not intentional. 89 00:06:52,480 --> 00:06:55,560 It's just like a statistical byproduct of evolution. 90 00:06:56,400 --> 00:06:58,540 So the second difference is evolution. 91 00:06:59,500 --> 00:07:05,560 When malware evolves, it's due to the author of that malware 92 00:07:05,560 --> 00:07:10,080 wanting to either achieve new goals or to escape defenses. 93 00:07:11,120 --> 00:07:13,840 Even if there's a mutation engine in the malware, 94 00:07:13,840 --> 00:07:15,800 which is random or semi-random, 95 00:07:15,840 --> 00:07:19,580 that was also put intentionally there by the author. 96 00:07:19,680 --> 00:07:21,140 It wasn't formed by chance. 97 00:07:21,600 --> 00:07:24,180 While in biology, evolution is statistical, 98 00:07:24,420 --> 00:07:26,260 and everything happens by chance. 99 00:07:26,320 --> 00:07:30,200 If it succeeds, then it just keeps going and replicating. 100 00:07:32,740 --> 00:07:33,900 Now I want to show you... 101 00:07:33,900 --> 00:07:35,820 Okay, I wasn't supposed to start yet. 102 00:07:36,160 --> 00:07:36,820 Never mind. 103 00:07:36,920 --> 00:07:38,880 I want to show you a short video of a viral infection. 104 00:07:39,140 --> 00:07:41,320 This is a phage attacking a bacterial cell. 105 00:07:41,320 --> 00:07:46,080 So it attaches itself to the cell and is preparing to inject its DNA. 106 00:07:46,700 --> 00:07:50,940 Once the DNA is injected, the virus abuses the replicative machinery of that cell, 107 00:07:51,080 --> 00:07:53,320 and lots of new viruses are formed. 108 00:07:53,820 --> 00:07:55,920 Eventually, they will want to exit the cell, 109 00:07:56,020 --> 00:07:59,900 and they will kill the cell when exiting it, 110 00:07:59,980 --> 00:08:01,820 and then they will infect all the cells nearby 111 00:08:01,820 --> 00:08:04,940 while the bacterial population tries to defend itself. 112 00:08:05,720 --> 00:08:06,840 One important note. 113 00:08:06,960 --> 00:08:09,660 This is not a real video. 114 00:08:09,820 --> 00:08:10,780 It's just like a... 115 00:08:10,780 --> 00:08:12,560 an impression. 116 00:08:14,100 --> 00:08:17,300 I think this is close to what happens in real life 117 00:08:17,300 --> 00:08:20,240 because electron microscope images are close to this, 118 00:08:20,360 --> 00:08:25,800 but I don't think anyone has a video of an actual viral infection to this resolution. 119 00:08:28,320 --> 00:08:32,320 Okay, the life cycle of viruses is, I guess, 120 00:08:32,340 --> 00:08:34,260 the same or similar to the life cycle of malware. 121 00:08:34,520 --> 00:08:36,480 It starts with creation of the virus. 122 00:08:36,720 --> 00:08:39,420 The viruses were created at some point by nature. 123 00:08:39,420 --> 00:08:41,040 Then there is infection, 124 00:08:41,200 --> 00:08:44,580 where the virus attaches itself to a cell that it wishes to infect and abuse. 125 00:08:45,120 --> 00:08:47,420 Once the virus manages to infect the cell, 126 00:08:47,620 --> 00:08:49,620 it executes its code, 127 00:08:49,760 --> 00:08:50,980 which can do a bunch of things, 128 00:08:51,080 --> 00:08:53,440 but again, the only real purpose of that code 129 00:08:53,440 --> 00:08:56,080 is to cause the virus to replicate and spread. 130 00:08:56,500 --> 00:08:58,840 And that leads to both host response, 131 00:08:59,020 --> 00:09:00,840 because the host wants to continue living, 132 00:09:01,580 --> 00:09:04,420 and to evolution of both the virus and the host 133 00:09:04,420 --> 00:09:06,300 as they continue to combat each other. 134 00:09:08,460 --> 00:09:09,400 Now we'll go into the next slide. 135 00:09:09,400 --> 00:09:11,720 We'll go into a bit more detail about privilege escalation, 136 00:09:11,860 --> 00:09:13,960 persistence, and defense evasion in viruses. 137 00:09:14,980 --> 00:09:20,540 I'm not going to cover in a lot of detail the similarities to malware, 138 00:09:20,680 --> 00:09:22,880 but I have the examples in the slides. 139 00:09:24,260 --> 00:09:27,200 So in order to replicate inside the cell, 140 00:09:27,280 --> 00:09:30,400 the virus has to enter it in two parts. 141 00:09:30,520 --> 00:09:32,580 The first part is entering the cell itself. 142 00:09:32,860 --> 00:09:35,520 You can see a picture of an animal cell. 143 00:09:35,600 --> 00:09:38,460 There it has this wall around it called a membrane, 144 00:09:39,400 --> 00:09:42,100 and the big yellow circle inside is the nucleus, 145 00:09:42,680 --> 00:09:44,160 and this is what contains 146 00:09:44,160 --> 00:09:46,900 the actual replicative machinery of the cell. 147 00:09:47,760 --> 00:09:49,440 I call this privilege escalation 148 00:09:49,440 --> 00:09:51,700 because not everything can enter the cell, 149 00:09:51,780 --> 00:09:54,300 because its entry and exit is mediated 150 00:09:54,300 --> 00:09:56,720 by a bunch of components in the cell. 151 00:09:57,960 --> 00:09:59,920 And I'll have a bit of a spoiler. 152 00:10:00,040 --> 00:10:02,160 In the second part, the virus has to enter the nucleus, 153 00:10:02,180 --> 00:10:03,300 which is even harder, 154 00:10:04,740 --> 00:10:07,200 because again, not everything can enter the nucleus. 155 00:10:07,220 --> 00:10:08,080 It's highly monitored. 156 00:10:09,400 --> 00:10:11,580 So in order to replicate, 157 00:10:11,840 --> 00:10:13,600 the virus has to escalate privileges twice 158 00:10:13,600 --> 00:10:16,080 in order to first enter the cell and then enter the nucleus. 159 00:10:16,380 --> 00:10:17,520 So how does it do that? 160 00:10:18,400 --> 00:10:20,220 In viruses that attack bacteria, 161 00:10:20,380 --> 00:10:22,040 as you saw before, there's code injection. 162 00:10:22,280 --> 00:10:26,220 The DNA or RNA of the virus is injected directly into the cell, 163 00:10:26,240 --> 00:10:26,920 and then it's run. 164 00:10:27,840 --> 00:10:29,260 And in animal viruses, 165 00:10:29,420 --> 00:10:31,920 the virus is fused to the cell membrane, 166 00:10:32,040 --> 00:10:33,200 this wall around the cell, 167 00:10:33,300 --> 00:10:36,140 or they abuse a bunch of cell entry mechanisms. 168 00:10:36,140 --> 00:10:40,220 They basically trick the cell into letting them in, 169 00:10:40,320 --> 00:10:43,400 like it lets in other nutrients and stuff like that. 170 00:10:45,960 --> 00:10:47,600 The second part, as I said before, 171 00:10:47,660 --> 00:10:48,520 is entering the nucleus. 172 00:10:50,600 --> 00:10:52,840 Viruses do that through a bunch of mechanisms, 173 00:10:53,000 --> 00:10:54,760 but I wanted to cover two main ones here. 174 00:10:55,120 --> 00:10:56,560 I called the first one phishing 175 00:10:56,560 --> 00:10:58,640 because I thought it was very similar to the phishing 176 00:10:58,640 --> 00:11:00,180 that we know from malware. 177 00:11:01,140 --> 00:11:04,000 It works by exposing something called 178 00:11:04,000 --> 00:11:05,640 nuclear localization sequence. 179 00:11:06,140 --> 00:11:09,060 It's a sequence that is attached to proteins 180 00:11:09,060 --> 00:11:12,600 that basically tells the cell to take this protein 181 00:11:12,600 --> 00:11:14,540 and everything else that is attached into it 182 00:11:14,540 --> 00:11:15,420 into the nucleus. 183 00:11:15,860 --> 00:11:19,800 So many viruses use this mechanism, 184 00:11:20,120 --> 00:11:21,360 for example, HIV-1. 185 00:11:23,100 --> 00:11:26,140 And in that way, they achieve privilege escalation 186 00:11:26,140 --> 00:11:30,300 by tricking the cell to basically tell the cell, 187 00:11:30,420 --> 00:11:32,340 let me into the nucleus and let me replicate. 188 00:11:33,300 --> 00:11:36,120 And the second mechanism is physical. 189 00:11:36,140 --> 00:11:36,840 Physical exploits, 190 00:11:37,700 --> 00:11:40,020 which can be either entry during cell division, 191 00:11:40,300 --> 00:11:44,060 because when the cells divide the wall around the nucleus, 192 00:11:44,280 --> 00:11:46,700 it becomes looser, 193 00:11:46,820 --> 00:11:48,820 and so viruses can abuse that 194 00:11:48,820 --> 00:11:50,820 to enter the nucleus during that time. 195 00:11:51,580 --> 00:11:53,720 And also, some viruses are so small 196 00:11:53,720 --> 00:11:56,020 that they don't have to abuse anything really. 197 00:11:56,100 --> 00:11:58,200 They can just enter and tack through the wall 198 00:11:58,200 --> 00:11:58,920 around the nucleus, 199 00:11:59,140 --> 00:12:02,160 and the gaps there are bigger than them. 200 00:12:03,120 --> 00:12:06,040 So these are two ways viruses achieve privilege escalation. 201 00:12:06,140 --> 00:12:06,800 to enter the nucleus. 202 00:12:08,800 --> 00:12:10,260 Now I'll talk about persistence. 203 00:12:10,700 --> 00:12:12,500 The two main mechanisms I want to cover here 204 00:12:12,500 --> 00:12:14,720 are latency and something called native proteins. 205 00:12:16,100 --> 00:12:18,580 Latency is also similar to what we know from malware. 206 00:12:19,900 --> 00:12:21,000 When viruses are latent, 207 00:12:21,220 --> 00:12:24,100 they produce their proteins slowly 208 00:12:24,100 --> 00:12:25,580 or they don't produce them at all. 209 00:12:28,180 --> 00:12:30,500 Some viruses have a life cycle 210 00:12:30,500 --> 00:12:33,400 which contains a very active virulent stage 211 00:12:33,400 --> 00:12:34,380 which causes disease. 212 00:12:34,380 --> 00:12:36,040 And then a latent stage, 213 00:12:36,220 --> 00:12:41,360 during which the viruses incorporate themselves 214 00:12:41,360 --> 00:12:43,240 into the DNA or RNA of the host, 215 00:12:43,380 --> 00:12:45,220 and they wait for some signal 216 00:12:45,220 --> 00:12:47,720 in order to let themselves back out. 217 00:12:47,900 --> 00:12:49,320 And when they're back out, 218 00:12:49,380 --> 00:12:51,160 they continue the regular violent cycle 219 00:12:51,160 --> 00:12:52,780 of abusing the host's machinery 220 00:12:52,780 --> 00:12:54,020 and then killing the host. 221 00:12:55,780 --> 00:12:58,420 It's assumed that between 5 and 8% 222 00:12:58,420 --> 00:13:01,460 of the human genome contains viral sequences 223 00:13:01,460 --> 00:13:03,660 of viruses that entered the genome 224 00:13:03,660 --> 00:13:04,760 at some point during evolution. 225 00:13:05,450 --> 00:13:07,000 And due to mutations 226 00:13:07,000 --> 00:13:09,320 or whatever else became inactive 227 00:13:09,320 --> 00:13:11,340 and we have this residue in our DNA. 228 00:13:12,520 --> 00:13:14,800 The second mechanism, native proteins, 229 00:13:15,160 --> 00:13:16,960 basically means that the virus 230 00:13:16,960 --> 00:13:18,700 can either steal or borrow 231 00:13:18,700 --> 00:13:21,560 or encode by itself proteins 232 00:13:21,560 --> 00:13:23,940 which are used natively by the cell 233 00:13:23,940 --> 00:13:25,000 for various functions 234 00:13:25,000 --> 00:13:28,020 which mediate cell death mostly. 235 00:13:28,640 --> 00:13:29,880 So for example, 236 00:13:30,410 --> 00:13:32,620 HIV has a protein called CD59 237 00:13:32,620 --> 00:13:35,020 which protects the cell 238 00:13:35,020 --> 00:13:37,360 from being killed by the immune system. 239 00:13:37,640 --> 00:13:39,260 So HIV produces this protein 240 00:13:39,260 --> 00:13:40,900 and puts it in the cell 241 00:13:40,900 --> 00:13:41,540 and in that way, 242 00:13:41,580 --> 00:13:43,180 HIV can survive inside the cell 243 00:13:43,180 --> 00:13:45,180 and continue to persist and replicate 244 00:13:45,180 --> 00:13:46,780 and the cell won't be killed. 245 00:13:50,780 --> 00:13:51,620 The next, 246 00:13:51,780 --> 00:13:53,560 I want to cover now defense evasion 247 00:13:53,560 --> 00:13:55,300 and this next mechanism, mutations, 248 00:13:55,380 --> 00:13:57,600 I think it's the main defense mechanism 249 00:13:57,600 --> 00:13:58,360 used by viruses 250 00:13:58,360 --> 00:14:00,420 and I think it's like the thing 251 00:14:00,420 --> 00:14:01,980 that makes them unique. 252 00:14:03,180 --> 00:14:04,680 It's also the most researched 253 00:14:04,680 --> 00:14:06,080 evasion mechanism in viruses. 254 00:14:06,440 --> 00:14:08,220 The thing that is unique about viruses 255 00:14:08,220 --> 00:14:09,800 is that their rate of mutation 256 00:14:09,800 --> 00:14:11,020 is very, very fast. 257 00:14:12,540 --> 00:14:14,760 And if they attack in large enough numbers, 258 00:14:14,960 --> 00:14:16,260 then they always have, you know, 259 00:14:16,280 --> 00:14:18,860 a statistical chance of several viruses 260 00:14:18,860 --> 00:14:20,060 having the right mutation 261 00:14:20,620 --> 00:14:22,460 and being able to multiply 262 00:14:22,460 --> 00:14:24,460 and continue attacking the cells 263 00:14:24,460 --> 00:14:27,100 while evading defenses against these cells 264 00:14:27,100 --> 00:14:28,220 such as the immune system. 265 00:14:29,560 --> 00:14:30,860 I want to cover shortly 266 00:14:30,860 --> 00:14:32,040 how mutation happens. 267 00:14:32,620 --> 00:14:33,700 So what you have is 268 00:14:33,700 --> 00:14:35,320 you have your original DNA sequence 269 00:14:35,320 --> 00:14:36,220 there on the top 270 00:14:36,220 --> 00:14:38,760 that's contained inside the virus 271 00:14:40,460 --> 00:14:42,620 and when the virus enters the cell 272 00:14:42,620 --> 00:14:43,520 and starts to replicate, 273 00:14:43,780 --> 00:14:46,100 then the cell machinery, 274 00:14:46,180 --> 00:14:49,580 it has a sort of rate of error 275 00:14:49,580 --> 00:14:51,660 which changes between cell types 276 00:14:51,660 --> 00:14:52,460 and virus types. 277 00:14:52,940 --> 00:14:55,140 So during replication, 278 00:14:55,440 --> 00:14:57,620 this machinery can enter a few, 279 00:14:57,740 --> 00:14:58,820 you can look at it as errors 280 00:14:58,820 --> 00:15:00,040 or you can look at it as changes, 281 00:15:00,100 --> 00:15:01,500 however you want. 282 00:15:01,500 --> 00:15:03,720 So this machinery enters a few changes 283 00:15:03,720 --> 00:15:04,500 in the sequence, 284 00:15:04,560 --> 00:15:05,460 which are mutations. 285 00:15:05,560 --> 00:15:06,320 As you can see, 286 00:15:06,480 --> 00:15:08,300 there was the original sequence 287 00:15:08,300 --> 00:15:09,380 and then there was a point mutation 288 00:15:09,380 --> 00:15:11,780 that changed the base T to C. 289 00:15:12,800 --> 00:15:14,380 And then some of these mutations 290 00:15:14,380 --> 00:15:15,260 can be successful 291 00:15:15,260 --> 00:15:18,580 and cause viruses to evade the immune system. 292 00:15:18,700 --> 00:15:21,000 However, many mutations are not successful 293 00:15:21,000 --> 00:15:23,960 and viruses or any other organism, 294 00:15:24,040 --> 00:15:26,540 because all organisms have some rate of mutation, 295 00:15:27,960 --> 00:15:29,420 if a mutation is unsuccessful, 296 00:15:29,720 --> 00:15:30,600 it can either be sick 297 00:15:30,600 --> 00:15:31,620 and not reproduce 298 00:15:31,620 --> 00:15:32,760 or it can just die. 299 00:15:34,320 --> 00:15:37,580 And in many experiments done on this, 300 00:15:37,720 --> 00:15:40,320 we've seen that depending on the type of virus 301 00:15:40,320 --> 00:15:42,120 and depending on the experiment, 302 00:15:42,380 --> 00:15:45,040 the success rate of mutations in viruses 303 00:15:45,540 --> 00:15:47,000 is anything from one to a hundred 304 00:15:47,000 --> 00:15:48,640 to one in a million viruses 305 00:15:48,640 --> 00:15:50,520 succeeding after a mutation. 306 00:15:51,900 --> 00:15:55,900 But because viruses have such a quick mutation rate 307 00:15:55,900 --> 00:15:57,740 and attack in such large numbers, 308 00:15:58,320 --> 00:15:59,540 then it's very, very hard 309 00:15:59,540 --> 00:16:03,500 to protect against that. 310 00:16:04,860 --> 00:16:07,680 Two other methods of defense evasion 311 00:16:07,680 --> 00:16:09,260 are obfuscation and packing. 312 00:16:09,500 --> 00:16:10,720 This is very similar, I think, 313 00:16:10,740 --> 00:16:12,560 to a packing and obfuscation and malware, 314 00:16:13,480 --> 00:16:15,000 because in viruses, 315 00:16:15,040 --> 00:16:17,020 the code is inside the virus, 316 00:16:17,100 --> 00:16:17,900 the RNA or DNA, 317 00:16:18,100 --> 00:16:20,680 and it's only exposed basically at runtime 318 00:16:20,680 --> 00:16:22,500 when it's either injected into the cell 319 00:16:22,500 --> 00:16:24,120 or fused and then enters it. 320 00:16:24,400 --> 00:16:29,020 So the cell and other defense mechanisms 321 00:16:29,020 --> 00:16:30,720 of the body can't access this code 322 00:16:30,720 --> 00:16:32,820 either to read it or to destroy it 323 00:16:32,820 --> 00:16:34,220 until it enters the cell, 324 00:16:34,320 --> 00:16:35,100 and then it's just erased 325 00:16:35,100 --> 00:16:37,640 because the process is very, very quick. 326 00:16:38,300 --> 00:16:40,760 And also, viruses have a bunch of 327 00:16:40,760 --> 00:16:43,160 very, very sophisticated anti-immune mechanisms, 328 00:16:43,300 --> 00:16:45,540 which I'm just going to talk shortly about 329 00:16:45,540 --> 00:16:48,560 because they could have a whole talk for themselves. 330 00:16:50,240 --> 00:16:52,680 Basically, viruses can mimic, modify, 331 00:16:52,700 --> 00:16:54,240 or repress immune messengers. 332 00:16:54,800 --> 00:16:56,000 The whole immune response 333 00:16:56,000 --> 00:16:58,160 is made up of a very long chain of reactions. 334 00:16:58,160 --> 00:17:03,400 So if a virus is able to modify part of that chain, 335 00:17:03,520 --> 00:17:04,680 then it can redirect the reaction 336 00:17:04,680 --> 00:17:07,000 to attack a different pathogen 337 00:17:07,000 --> 00:17:08,340 or to not do anything at all. 338 00:17:09,080 --> 00:17:12,380 And viruses can also actively repress 339 00:17:12,380 --> 00:17:14,000 immune system cells that attack them, 340 00:17:14,140 --> 00:17:15,820 cause them not to be produced 341 00:17:15,820 --> 00:17:17,960 or to just sit back and not do anything. 342 00:17:19,400 --> 00:17:23,240 I think this is similar to some anti-AV mechanisms, 343 00:17:23,460 --> 00:17:24,960 but in my opinion, 344 00:17:24,980 --> 00:17:27,900 these mechanisms are more daring, I guess, 345 00:17:27,900 --> 00:17:28,620 and more sophisticated 346 00:17:28,620 --> 00:17:30,960 because they have a bunch of ways 347 00:17:30,960 --> 00:17:32,500 in which to attack the immune system 348 00:17:32,500 --> 00:17:35,140 and make it stop working against them. 349 00:17:37,200 --> 00:17:39,120 I want to conclude by comparing 350 00:17:39,120 --> 00:17:41,280 a well-known malware and a well-known virus. 351 00:17:41,440 --> 00:17:43,100 That's HIV and Nduku2. 352 00:17:43,800 --> 00:17:46,240 So HIV is an RNA virus. 353 00:17:46,480 --> 00:17:48,880 It's the virus that causes AIDS. 354 00:17:49,660 --> 00:17:52,720 And the thing that it does that harms people 355 00:17:52,720 --> 00:17:56,340 is there's a gradual failure of the immune system. 356 00:17:57,460 --> 00:17:59,540 Nduku2 is a sophisticated phallus malware 357 00:17:59,540 --> 00:18:01,460 which was uncovered in 2015. 358 00:18:01,740 --> 00:18:04,840 It was used to spy on many targets. 359 00:18:05,660 --> 00:18:08,860 So both of these, the virus and the malware, 360 00:18:09,000 --> 00:18:10,600 they have methods of privilege escalation, 361 00:18:10,660 --> 00:18:12,040 persistence, and defense evasion. 362 00:18:12,220 --> 00:18:13,540 I'll cover each one of them. 363 00:18:14,820 --> 00:18:17,660 For privilege escalation, both use phishing. 364 00:18:17,760 --> 00:18:19,620 HIV-1 enters the cell through 365 00:18:19,620 --> 00:18:22,300 the nuclear localization sequence I covered earlier. 366 00:18:22,600 --> 00:18:26,320 So it has this sequence that tells the virus 367 00:18:26,320 --> 00:18:28,740 which machinery of the cell take me into the nucleus 368 00:18:28,740 --> 00:18:30,440 and I'll reproduce there. 369 00:18:32,520 --> 00:18:34,160 Nduku2, as far as I know, 370 00:18:34,220 --> 00:18:36,900 the initial attack vector is assumed to be phishing. 371 00:18:37,420 --> 00:18:38,500 I'm guessing it was. 372 00:18:38,540 --> 00:18:41,640 I don't think it was uncovered 100%. 373 00:18:43,360 --> 00:18:44,140 Persistence mechanisms. 374 00:18:44,460 --> 00:18:45,980 So HIV-1, as I said before, 375 00:18:46,100 --> 00:18:47,420 attacks cells of the immune system. 376 00:18:47,740 --> 00:18:50,680 These cells have a particularly long lifespan. 377 00:18:51,280 --> 00:18:54,340 And it attacks different types of immune system cells, 378 00:18:54,420 --> 00:18:55,440 including memory cells. 379 00:18:56,320 --> 00:18:58,640 And these memory cells, since they have to remember 380 00:18:58,640 --> 00:19:00,240 which pathogens attack the body, 381 00:19:00,420 --> 00:19:02,140 they have a very, very long lifespan. 382 00:19:02,220 --> 00:19:04,400 So it can sit inside these cells and persist. 383 00:19:06,100 --> 00:19:09,240 Nduku2 persisted through the main servers in the network, 384 00:19:09,300 --> 00:19:10,220 which had a long uptime. 385 00:19:10,480 --> 00:19:12,060 And from there, it sent its implants 386 00:19:12,060 --> 00:19:14,420 to all the other computers in the network. 387 00:19:14,640 --> 00:19:16,780 And it could stay up for a long time. 388 00:19:17,720 --> 00:19:21,500 And also, both had a bunch of defense evasion mechanisms, 389 00:19:21,620 --> 00:19:23,440 which I'm not going to cover each one of them, 390 00:19:23,540 --> 00:19:24,660 but I'll focus on mutations. 391 00:19:25,280 --> 00:19:28,340 HIV-1 has a very, very high mutation rate. 392 00:19:29,360 --> 00:19:31,160 Actually, the mutation rate is so high 393 00:19:31,160 --> 00:19:34,680 that the only successful medication against HIV so far 394 00:19:34,680 --> 00:19:37,800 is a cocktail of several medications together. 395 00:19:37,940 --> 00:19:40,320 Because when each one of these is used separately, 396 00:19:40,560 --> 00:19:43,360 the virus can mutate against it and make it ineffective. 397 00:19:44,220 --> 00:19:48,540 But because several different medications are used at once, 398 00:19:48,620 --> 00:19:51,060 and each one of them attacks a different part of the virus, 399 00:19:51,280 --> 00:19:54,640 then the chances of success of the virus mutating 400 00:19:54,640 --> 00:19:57,620 against all three and attacking them are very, very low. 401 00:19:57,760 --> 00:19:59,600 And thankfully, it hasn't happened so far. 402 00:20:01,560 --> 00:20:04,600 And Nduku2 also had a sort of mutation mechanism. 403 00:20:05,560 --> 00:20:07,200 It had, for each new target, 404 00:20:07,440 --> 00:20:09,740 a unique combination of encryption and packing, 405 00:20:09,900 --> 00:20:11,560 which was randomly chosen. 406 00:20:12,200 --> 00:20:15,440 But it was limited because it was hard-coded by the attackers. 407 00:20:15,640 --> 00:20:17,480 So even if there were, I don't know, 408 00:20:17,520 --> 00:20:19,180 30 packers and 30 encryption mechanisms, 409 00:20:19,660 --> 00:20:23,540 that's limited, while HIV-1 could have its mutation 410 00:20:23,540 --> 00:20:25,720 at random anywhere in its code, 411 00:20:25,800 --> 00:20:27,220 it risked not being successful. 412 00:20:28,080 --> 00:20:31,320 But through that, it had much higher chances of success 413 00:20:31,320 --> 00:20:32,740 at evading the system. 414 00:20:35,100 --> 00:20:36,100 Okay, to conclude, 415 00:20:37,540 --> 00:20:39,140 while I was preparing this talk, 416 00:20:39,320 --> 00:20:40,780 I found that there were many similarities 417 00:20:40,780 --> 00:20:42,900 between viruses and malware, 418 00:20:43,080 --> 00:20:46,800 and that it sort of surprised me. 419 00:20:47,020 --> 00:20:49,260 But I think that might be due to the fact 420 00:20:49,260 --> 00:20:51,020 that both malware and viruses, 421 00:20:51,120 --> 00:20:52,660 they have the same specific problem. 422 00:20:52,660 --> 00:20:55,560 They try to infect a host and abuse it. 423 00:20:56,800 --> 00:20:59,080 A difference, though, between viruses and malware 424 00:20:59,080 --> 00:21:01,160 is that viruses have been evolving 425 00:21:01,160 --> 00:21:03,640 and combating their hosts for millions 426 00:21:03,640 --> 00:21:05,380 or even hundreds of millions of years, 427 00:21:05,500 --> 00:21:08,220 while malware doesn't have such a long history. 428 00:21:08,360 --> 00:21:10,440 So we might be able to learn from that. 429 00:21:10,760 --> 00:21:14,400 And I think there are many things that we can learn, 430 00:21:14,480 --> 00:21:17,480 but two examples that I thought of here 431 00:21:17,480 --> 00:21:21,700 are either implementing a mutation mechanism in malware 432 00:21:21,700 --> 00:21:25,280 that has a more, it's more statistical, 433 00:21:25,500 --> 00:21:27,900 meaning the mutations are more random 434 00:21:27,900 --> 00:21:29,160 and can be anywhere in the code. 435 00:21:30,940 --> 00:21:33,140 So that's something that might be learned from viruses. 436 00:21:33,460 --> 00:21:34,980 And the second thing is, 437 00:21:35,040 --> 00:21:37,720 like the virus borrows or encodes host proteins 438 00:21:37,720 --> 00:21:38,740 for its own functions, 439 00:21:38,980 --> 00:21:40,980 if malware could infect a computer 440 00:21:41,520 --> 00:21:44,520 and then start taking code off processes, 441 00:21:44,640 --> 00:21:45,760 also maybe at random, 442 00:21:45,880 --> 00:21:49,020 in order to see if it can succeed in any way, 443 00:21:49,840 --> 00:21:50,740 that's also something 444 00:21:50,740 --> 00:21:52,220 that might be learned from viruses. 445 00:21:53,300 --> 00:21:54,560 Thank you, everyone, for listening. 446 00:21:54,780 --> 00:21:56,340 I hope you find this picture funny. 447 00:21:56,520 --> 00:21:56,960 I did. 448 00:21:58,720 --> 00:21:59,160 Thanks.