1 00:00:05,180 --> 00:00:12,180 I have a lot of host-based intrusion detection system and we claim that this is the one that can actually do the following things. 2 00:00:13,080 --> 00:00:17,620 So we all know that computer attacks actually exploit software flaws. 3 00:00:17,840 --> 00:00:20,720 So the most classical example is this buffer overflow attack. 4 00:00:20,940 --> 00:00:25,480 So basically attackers try to come in, compromise some of the control sensitive data structure 5 00:00:25,480 --> 00:00:30,360 and maybe execute a code assuming the identity of the owner of these victim applications. 6 00:00:30,920 --> 00:00:38,620 And this is a very dangerous kind of attack because most of the modern worm attacks actually use buffer overflow as a basic primitive. 7 00:00:39,040 --> 00:00:45,660 And then there are other kinds of software flaws like attacks that actually try to exploit the input validation 8 00:00:45,660 --> 00:00:49,080 like SQL injection or the directory traversal. 9 00:00:49,180 --> 00:00:52,360 And then there are classical problems like race conditions and so on. 10 00:00:52,600 --> 00:00:54,540 And then there are other attacks like... 11 00:00:54,540 --> 00:01:00,520 that have nothing to do with software flaws like social engineering, password cracking, denial of service, and so on. 12 00:01:01,020 --> 00:01:06,300 What we are going to focus on today is really just on what we call control hijacking attacks. 13 00:01:06,660 --> 00:01:11,620 In this kind of attacks, attackers basically try to hijack the control of the network applications 14 00:01:11,620 --> 00:01:17,640 and then run some piece of code, assuming, again, the identity of the owner of the victim applications. 15 00:01:18,180 --> 00:01:24,500 Now, the interesting part of this control hijacking attack is that there's actually a well-defined, 16 00:01:24,500 --> 00:01:27,100 well-defined recipe to mount this kind of attack. 17 00:01:27,300 --> 00:01:30,080 There's no mystery there, at least at the higher level. 18 00:01:30,180 --> 00:01:33,720 Of course, individual victim applications have different kinds of vulnerabilities. 19 00:01:34,260 --> 00:01:40,860 But at the high level, you can actually analyze the general kind of buffer overflow or control hijacking attacks in particular. 20 00:01:41,020 --> 00:01:42,400 That there's actually a recipe. 21 00:01:42,600 --> 00:01:49,340 And this recipe is actually not unlike the kind of procedure that real hijackers would actually use to hijack an airplane. 22 00:01:49,800 --> 00:01:51,720 So what exactly actually happens? 23 00:01:51,940 --> 00:01:54,360 Usually what happens is that the attacker will try to... 24 00:01:54,500 --> 00:01:59,720 inject some sort of malicious code or data into the address space of the victim applications. 25 00:02:00,100 --> 00:02:03,880 So this is just like the hijacker tried to sneak in some weapon into the airplane. 26 00:02:04,300 --> 00:02:11,120 And then the attacker would try to twist the application to transfer its control to this injected piece of code. 27 00:02:11,240 --> 00:02:13,360 So that you can actually do something, right? 28 00:02:13,420 --> 00:02:17,460 And this is like, you know, the hijacker actually tried to take over the airplane. 29 00:02:18,040 --> 00:02:22,700 And then finally, the attacker would actually try to execute some system code. 30 00:02:22,840 --> 00:02:23,100 Like, 31 00:02:23,100 --> 00:02:28,880 anything you want to do, except you want to mount some sort of denial of service, like entering the infinite loop. 32 00:02:28,960 --> 00:02:32,200 Anything more interesting than that involves some sort of system code. 33 00:02:32,280 --> 00:02:32,580 Exactly. 34 00:02:32,660 --> 00:02:33,920 You want to read somebody's email. 35 00:02:34,100 --> 00:02:38,800 You want to, you know, read somebody's address book and send duplicates yourself as an email. 36 00:02:38,940 --> 00:02:41,980 You want to read some sensitive file and send it over to some place else. 37 00:02:42,020 --> 00:02:43,100 You want to download a compiler. 38 00:02:43,340 --> 00:02:46,120 All these things eventually involve some sort of system code. 39 00:02:46,280 --> 00:02:49,380 So eventually, once you get control, you want to do certain things. 40 00:02:49,460 --> 00:02:51,580 So this is just like the hijacker would actually... 41 00:02:53,100 --> 00:02:54,920 Probably use the airplane to hit something, right? 42 00:02:55,000 --> 00:03:01,200 And that's basically the flow that typical control hijacking attacks would actually take. 43 00:03:02,640 --> 00:03:09,280 So a typical example of this sort of three-step recipe, we can use this as an example. 44 00:03:09,440 --> 00:03:11,700 So this is a very simple stack overflow attack. 45 00:03:11,980 --> 00:03:18,920 In this particular case, the attacker actually tried to overflow a particular local data structure, like user ID. 46 00:03:19,180 --> 00:03:22,140 So this is just a simple integer array, five element array. 47 00:03:23,100 --> 00:03:25,500 And the left-hand side is the piece of code. 48 00:03:25,580 --> 00:03:27,660 The right-hand side is the corresponding stack layout. 49 00:03:27,980 --> 00:03:32,400 So as you can see, the attacker actually tried to overflow this particular integer array. 50 00:03:32,680 --> 00:03:39,620 And then by overflowing this integer array, you can override certain other things, like this local variable. 51 00:03:40,080 --> 00:03:45,280 And then you can overflow this frame pointer, and then this return address. 52 00:03:45,560 --> 00:03:50,400 And this return address is what we call control-sensitive data structure in the victim application. 53 00:03:50,680 --> 00:03:53,040 There are other examples of control-sensitive data. 54 00:03:53,040 --> 00:03:59,720 Any data structure that would affect the control flow of a program is called control-sensitive data structure. 55 00:04:00,040 --> 00:04:02,000 Return address is one example of that. 56 00:04:02,160 --> 00:04:03,440 Function pointer is another. 57 00:04:03,720 --> 00:04:09,540 Some sort of import function table is yet another example of control-sensitive data structure. 58 00:04:09,920 --> 00:04:15,020 So in this case, the attacker simply overrides the return address. 59 00:04:15,280 --> 00:04:18,340 And it overrides the return address with the value of 100. 60 00:04:18,520 --> 00:04:23,020 And you can see the 100 is actually the base of this local array, user ID. 61 00:04:23,040 --> 00:04:32,820 So assuming that this attacker actually overwrites this memory location 108 with the in80 instruction, 62 00:04:33,100 --> 00:04:36,360 which is the instruction that you use to actually issue a system call, 63 00:04:36,540 --> 00:04:41,020 then the attacker can actually get to the control after the input returns. 64 00:04:41,220 --> 00:04:46,380 Because when input function returns, it uses the content of the return address to jump to. 65 00:04:46,480 --> 00:04:48,840 In this case, the content of the return address is 100. 66 00:04:49,020 --> 00:04:52,280 So the 100 happens to be the base of this user ID, 67 00:04:53,040 --> 00:04:55,480 and it goes to 100, and then 104, and then 108. 68 00:04:55,780 --> 00:05:00,320 108 happens to contain the in80 instruction, and that's game over, right? 69 00:05:00,460 --> 00:05:03,180 That's the first step that the attacker actually grab the control, 70 00:05:03,320 --> 00:05:05,920 and then issue certain system call to do some bad thing. 71 00:05:06,100 --> 00:05:06,640 So that's that. 72 00:05:06,840 --> 00:05:11,200 So it actually illustrates that there's actually a three-step recipe in this process. 73 00:05:11,500 --> 00:05:13,720 So there's nothing new up to this point. 74 00:05:13,920 --> 00:05:16,920 Now recognizing that there is such a three-step recipe, 75 00:05:17,160 --> 00:05:21,100 how can we deal with this general class of control-hijacking attack? 76 00:05:21,300 --> 00:05:22,920 That's where we want to... 77 00:05:23,040 --> 00:05:24,100 focus on today. 78 00:05:25,180 --> 00:05:30,500 So we have been working on this control-hijacking attack problem for a while, 79 00:05:30,660 --> 00:05:34,880 and we basically take a multi-pronged approach to solve this problem, 80 00:05:35,000 --> 00:05:37,280 and the umbrella project is called Palladium. 81 00:05:37,500 --> 00:05:42,520 Today what I'm going to only talk about a particular component of this Palladium project. 82 00:05:42,720 --> 00:05:45,020 By the way, Palladium has nothing to do with Microsoft, 83 00:05:45,180 --> 00:05:48,000 the next generation secure computing base project. 84 00:05:48,240 --> 00:05:50,960 It has complete no relevance with that one, all right? 85 00:05:50,980 --> 00:05:52,460 This is completely our own project. 86 00:05:53,040 --> 00:05:58,960 So recognizing that this is actually a three-step procedure to mount a control-hijacking attack, 87 00:05:59,200 --> 00:05:59,740 what can we do? 88 00:05:59,940 --> 00:06:05,220 Remember the first step is that the attackers try to inject something into the victim application, 89 00:06:05,580 --> 00:06:08,540 and usually the way they inject something is through buffer overflow. 90 00:06:08,860 --> 00:06:12,940 So the right thing to do should have been you should compile your application using 91 00:06:12,940 --> 00:06:14,380 a Ray-Ban Check-In Compiler. 92 00:06:14,500 --> 00:06:21,180 If your compiler has a Ray-Ban Check-In mechanism built in, then you should not have that problem. 93 00:06:21,420 --> 00:06:23,020 But how come that people don't have that problem? 94 00:06:23,020 --> 00:06:24,980 People don't want to use array bound checking compiler. 95 00:06:25,540 --> 00:06:27,240 There are actually commercially available 96 00:06:27,240 --> 00:06:28,500 array bound checking compiler, 97 00:06:28,780 --> 00:06:32,060 and open source one will be bound checking compiler, GCC, 98 00:06:32,220 --> 00:06:36,400 which is derived from GCC. 99 00:06:36,660 --> 00:06:39,340 The reason that people don't want to do array bound checking 100 00:06:39,340 --> 00:06:40,700 is because it's very expensive. 101 00:06:40,980 --> 00:06:43,360 The typical performance overhead we are talking about 102 00:06:43,360 --> 00:06:48,100 is between 100% to 300%, so it's pretty expensive. 103 00:06:48,480 --> 00:06:50,100 Because every memory reference, 104 00:06:50,260 --> 00:06:51,380 now you actually have to check 105 00:06:51,380 --> 00:06:54,380 whether it is exceeding the bound 106 00:06:54,380 --> 00:06:55,960 of its associated data structure, 107 00:06:56,080 --> 00:06:57,840 like something within a data structure, 108 00:06:58,020 --> 00:06:59,020 or something within an array, 109 00:06:59,140 --> 00:07:01,040 or something within a dynamic allocated buffer. 110 00:07:01,340 --> 00:07:03,780 You have to check whether every memory reference 111 00:07:04,490 --> 00:07:06,200 exceeds the corresponding object's bound, 112 00:07:06,340 --> 00:07:07,480 and that's very expensive. 113 00:07:08,270 --> 00:07:09,540 In the Palladium project, 114 00:07:09,680 --> 00:07:12,700 we used a very interesting idea to solve this problem. 115 00:07:12,980 --> 00:07:14,720 The way we solved this problem is that 116 00:07:14,720 --> 00:07:16,720 we exploited this particular feature, 117 00:07:16,920 --> 00:07:20,260 virtual memory hardware features in x86 architecture. 118 00:07:20,260 --> 00:07:24,820 Basically, what we do is we use the segment limit check 119 00:07:24,820 --> 00:07:27,800 in the x86 architecture's virtual memory hardware, 120 00:07:28,020 --> 00:07:30,380 and by twisting it in a certain way, 121 00:07:30,460 --> 00:07:33,640 we can actually get the performance overhead under 10%. 122 00:07:33,640 --> 00:07:35,880 This is the fastest array bound checking compiler 123 00:07:35,880 --> 00:07:36,440 you can have. 124 00:07:36,680 --> 00:07:40,300 Of course, this is very architecture-specific, mind you. 125 00:07:40,340 --> 00:07:41,620 This is not a panacea. 126 00:07:41,680 --> 00:07:44,340 We cannot automatically apply this technique 127 00:07:44,340 --> 00:07:45,640 to other architectures, 128 00:07:45,640 --> 00:07:49,960 but since x86 architecture accounts for more than 95% 129 00:07:49,960 --> 00:07:52,960 of the machines, so it's probably okay. 130 00:07:53,260 --> 00:07:55,680 But this is sort of one of the interesting aspects 131 00:07:55,680 --> 00:07:58,720 of Palladium is that we can actually do very fast 132 00:07:58,720 --> 00:08:00,900 array bound checking by exploiting certain 133 00:08:01,420 --> 00:08:04,160 virtual memory hardware features in x86 architecture. 134 00:08:04,580 --> 00:08:05,860 So that's the first line of defense. 135 00:08:06,140 --> 00:08:07,560 If you compile your application 136 00:08:07,560 --> 00:08:09,920 with array bound checking mechanism enabled, 137 00:08:10,220 --> 00:08:12,360 you should be able to prevent attackers 138 00:08:12,360 --> 00:08:14,820 from injecting anything, and that should be it. 139 00:08:14,880 --> 00:08:16,640 That should be the cleanest solution you should use. 140 00:08:17,220 --> 00:08:19,600 If you don't like it because you don't run x86, 141 00:08:19,600 --> 00:08:23,680 or you just cannot afford to recompile all your application, 142 00:08:23,920 --> 00:08:26,020 or you just get binaries from your vendors, 143 00:08:26,180 --> 00:08:27,360 you don't really have that option, 144 00:08:27,600 --> 00:08:29,600 then we go to the second line of defense. 145 00:08:29,880 --> 00:08:32,340 In the second line of defense is your compiler solution. 146 00:08:32,700 --> 00:08:34,400 What we are trying to do is remember the second, 147 00:08:34,540 --> 00:08:36,460 in the second step, what they are trying to do 148 00:08:36,460 --> 00:08:38,760 is that they try to twist the victim application 149 00:08:39,300 --> 00:08:42,840 to transfer its control to some maliciously, 150 00:08:42,840 --> 00:08:45,000 some injected malicious code, right? 151 00:08:45,120 --> 00:08:46,740 So if we can somehow protect 152 00:08:46,740 --> 00:08:49,440 these so-called control-sensitive data structure, 153 00:08:49,440 --> 00:08:51,440 then we should be home free, right? 154 00:08:51,540 --> 00:08:53,940 And that's exactly the idea of this second line 155 00:08:53,940 --> 00:08:55,060 of defense of Palladium. 156 00:08:55,220 --> 00:08:57,240 We try to protect the integrity 157 00:08:57,240 --> 00:08:59,840 of this control-sensitive data structure. 158 00:09:00,060 --> 00:09:01,740 What is control-sensitive data structure again? 159 00:09:02,160 --> 00:09:03,560 Return address, function pointer, 160 00:09:03,800 --> 00:09:06,080 and this import function table, right? 161 00:09:06,220 --> 00:09:07,740 So the idea is very simple. 162 00:09:07,980 --> 00:09:10,680 Every time you, the application actually modify 163 00:09:11,060 --> 00:09:14,220 this control-sensitive data structure, 164 00:09:14,360 --> 00:09:16,440 we keep a copy of that, and from that point on, 165 00:09:16,560 --> 00:09:17,660 we know it should not be modified. 166 00:09:17,900 --> 00:09:19,320 And later on, when the program 167 00:09:19,440 --> 00:09:22,100 actually try to use this control-sensitive data structure 168 00:09:22,100 --> 00:09:24,380 to transfer its program's control, 169 00:09:24,580 --> 00:09:28,420 we'll double-check whether the one that we store away 170 00:09:28,420 --> 00:09:31,300 and the one the program actually use, they actually match. 171 00:09:31,580 --> 00:09:33,380 If they are different, then we know somebody 172 00:09:33,380 --> 00:09:35,420 is trying to tamper with this control-sensitive 173 00:09:35,420 --> 00:09:37,240 data structure, and something is wrong there. 174 00:09:37,460 --> 00:09:40,220 And that's the essential second part of the defense. 175 00:09:40,460 --> 00:09:42,080 So again, given an application, 176 00:09:42,360 --> 00:09:44,540 you don't like error bound checking compiler, fine. 177 00:09:44,720 --> 00:09:47,580 We'll protect this control-sensitive data structure for you. 178 00:09:48,140 --> 00:09:49,260 All this assuming that, 179 00:09:49,440 --> 00:09:51,640 we have access to a source code, so far, all right? 180 00:09:51,780 --> 00:09:53,820 So that's basically the second line of defense. 181 00:09:54,480 --> 00:09:57,960 Now, if you don't like to do this error bound checking, 182 00:09:58,140 --> 00:10:00,540 or you don't like this integrity check for some reason, 183 00:10:00,740 --> 00:10:02,500 then we have this third line of defense, 184 00:10:02,660 --> 00:10:04,280 which is the topic of this talk. 185 00:10:04,500 --> 00:10:06,780 We want to do some sort of system core policy, 186 00:10:06,940 --> 00:10:08,320 or system core model check. 187 00:10:08,540 --> 00:10:11,360 So the idea is that I can allow you to come in, 188 00:10:11,400 --> 00:10:13,260 inject whatever you want, and even if you can 189 00:10:13,260 --> 00:10:15,740 twist my application to transfer to the injected code, 190 00:10:15,880 --> 00:10:18,940 as long as you cannot issue arbitrary system core, 191 00:10:19,440 --> 00:10:19,780 I'm okay. 192 00:10:20,120 --> 00:10:22,940 So it's okay for you to come in, and then do your things. 193 00:10:23,220 --> 00:10:24,900 And of course, you can actually, you know, 194 00:10:24,900 --> 00:10:26,820 insert the infinite loop, but even that, 195 00:10:26,880 --> 00:10:28,820 in the modern operating system, is not a problem. 196 00:10:29,000 --> 00:10:30,480 You know, every process has a quantum. 197 00:10:30,720 --> 00:10:32,380 So this is not really a problem. 198 00:10:32,440 --> 00:10:34,120 You cannot really mount a very serious 199 00:10:34,120 --> 00:10:35,200 denial of service attack. 200 00:10:35,600 --> 00:10:38,240 So, our basic assumption is that, 201 00:10:38,260 --> 00:10:40,280 if we can somehow protect each application 202 00:10:40,280 --> 00:10:43,160 in such a way that the application cannot issue 203 00:10:43,160 --> 00:10:45,640 arbitrary system core that it is not supposed to, 204 00:10:45,760 --> 00:10:47,400 then it probably should be okay. 205 00:10:47,600 --> 00:10:49,320 And that's what we are going to focus on. 206 00:10:49,320 --> 00:10:52,500 So, remember to say, somehow we have a way 207 00:10:52,500 --> 00:10:55,080 to derive some sort of model of this, 208 00:10:55,180 --> 00:10:57,440 of any arbitrary network application. 209 00:10:57,680 --> 00:10:59,480 And at the wrong time, we are going to monitor 210 00:10:59,480 --> 00:11:01,560 its wrong time system core behavior 211 00:11:02,140 --> 00:11:04,180 against this statically derived model, 212 00:11:04,480 --> 00:11:06,500 and if there's a deviation between the two, 213 00:11:06,560 --> 00:11:09,400 then we know this application must have been hijacked. 214 00:11:09,580 --> 00:11:11,900 And that's why it's wrong time behavior 215 00:11:11,900 --> 00:11:15,280 is different from the statically derived behavior, right? 216 00:11:15,400 --> 00:11:18,140 And that's the thing that we are going to talk about. 217 00:11:19,320 --> 00:11:20,540 Now, when all this fails, 218 00:11:20,640 --> 00:11:22,280 let's say this attacker is really good, 219 00:11:22,380 --> 00:11:26,300 or just the user doesn't want to deploy all these solutions, 220 00:11:26,520 --> 00:11:29,880 then we have the very last line of, 221 00:11:30,020 --> 00:11:30,980 it's not really a defense, 222 00:11:31,200 --> 00:11:33,360 it's really sort of taking a different viewpoint 223 00:11:33,360 --> 00:11:35,720 of this entire security problem. 224 00:11:36,020 --> 00:11:39,060 So we build a system called Repairable Fire Service, 225 00:11:39,220 --> 00:11:42,560 and the idea there is that we try to borrow ideas 226 00:11:42,560 --> 00:11:45,120 from sort of four tower and computing community, 227 00:11:45,380 --> 00:11:49,300 where they actually recognize that it's very expensive, 228 00:11:49,320 --> 00:11:54,280 to build highly sort of four tower and computing systems. 229 00:11:54,740 --> 00:11:57,920 So, and then we realize that there's actually two things 230 00:11:57,920 --> 00:11:59,580 that users want. 231 00:11:59,780 --> 00:12:02,760 One is core reliability, the other is core availability. 232 00:12:03,180 --> 00:12:04,660 And at the end of the day, 233 00:12:04,720 --> 00:12:06,720 what the users really want is availability. 234 00:12:07,080 --> 00:12:11,120 Now, reliability typically means that its mean time to fail 235 00:12:11,120 --> 00:12:13,660 is very long, infinite, right? 236 00:12:13,780 --> 00:12:16,700 And availability means that the system somehow is up 237 00:12:16,700 --> 00:12:18,460 with a high percentage of the time. 238 00:12:18,460 --> 00:12:19,640 So that's the availability. 239 00:12:19,980 --> 00:12:22,380 Now, there's actually a subtle difference between the two, 240 00:12:22,440 --> 00:12:24,880 because availability can actually be defined 241 00:12:24,880 --> 00:12:28,940 as mean time to failure, over mean time to failure, 242 00:12:29,020 --> 00:12:30,160 plus mean time to repair. 243 00:12:30,420 --> 00:12:32,960 So it's a mean time to failure at the numerator, 244 00:12:33,300 --> 00:12:35,440 mean time to failure, plus mean time to repair 245 00:12:35,440 --> 00:12:36,220 at the denominator. 246 00:12:36,860 --> 00:12:38,740 That's the definition of availability. 247 00:12:39,180 --> 00:12:41,680 We want this ratio to be close to one, 248 00:12:41,800 --> 00:12:45,440 meaning 100% of the time it's available, right? 249 00:12:45,620 --> 00:12:48,340 Now, the four tower and computing community, 250 00:12:48,340 --> 00:12:52,360 recognize that to achieve this availability metric, 251 00:12:52,640 --> 00:12:55,820 to make it equal to one, there are two ways to do it. 252 00:12:55,960 --> 00:12:59,700 You can make mean time to failure to be infinite, right? 253 00:12:59,720 --> 00:13:02,040 The highly reliable, never fails. 254 00:13:02,240 --> 00:13:03,460 That's one way to do it. 255 00:13:03,620 --> 00:13:06,860 Or you can make mean time to repair close to zero. 256 00:13:07,060 --> 00:13:10,120 That also can get you a high availability, right? 257 00:13:10,260 --> 00:13:14,320 So the last line, the last element of this Palladium system 258 00:13:14,320 --> 00:13:17,760 is to say that we can take the same idea in the security world 259 00:13:19,100 --> 00:13:21,520 like all along we tried to build a system 260 00:13:21,520 --> 00:13:23,540 such that it will never be broken. 261 00:13:23,760 --> 00:13:25,720 There's no security breach. 262 00:13:25,960 --> 00:13:28,500 But we know it's getting more and more expensive. 263 00:13:28,800 --> 00:13:31,180 All the low-hanging fruits are gone, right? 264 00:13:31,360 --> 00:13:34,080 And of course, there are always misconfiguration, 265 00:13:34,280 --> 00:13:36,580 you know, human mistakes, this and that. 266 00:13:36,780 --> 00:13:39,500 So maybe the right thing to look at right now 267 00:13:39,500 --> 00:13:43,080 is to see how we can quickly recover from a compromise 268 00:13:43,620 --> 00:13:46,160 system so that we can get on with our lives. 269 00:13:46,320 --> 00:13:47,900 If we can quickly recover 270 00:13:47,900 --> 00:13:51,060 a compromise system within sub-seconds, why do I care? 271 00:13:51,460 --> 00:13:53,400 I mean, you can compromise whatever you want. 272 00:13:53,780 --> 00:13:56,640 Assuming that, no, of course there's some price about this 273 00:13:56,640 --> 00:14:00,300 which is that if somebody steal your intellectual property, 274 00:14:00,440 --> 00:14:02,180 right, there's nothing you can get back. 275 00:14:02,380 --> 00:14:04,620 But we are talking about many people come in 276 00:14:04,620 --> 00:14:06,560 and screw up your system and you can come in 277 00:14:06,560 --> 00:14:09,880 and spend a week or days to clean it up. 278 00:14:09,940 --> 00:14:11,840 And that's the time that you cannot afford to have. 279 00:14:11,960 --> 00:14:14,540 Or somebody screw up your e-commerce site 280 00:14:14,540 --> 00:14:17,340 and therefore your business cannot continue and so on. 281 00:14:17,900 --> 00:14:19,180 We are talking about that kind of scenario, 282 00:14:19,420 --> 00:14:22,480 that this repairable file service can actually help you. 283 00:14:22,680 --> 00:14:26,280 So the question now becomes that if we want to build 284 00:14:26,280 --> 00:14:28,860 something into a computer system in such a way 285 00:14:28,860 --> 00:14:30,580 that it can repair itself quickly, 286 00:14:30,780 --> 00:14:32,680 even after a successful intrusion, 287 00:14:32,820 --> 00:14:34,680 what does it take to do something like that? 288 00:14:34,800 --> 00:14:36,180 And that's essentially what this 289 00:14:36,180 --> 00:14:37,800 repairable file service is doing. 290 00:14:38,000 --> 00:14:40,760 And we have been able to do this kind of thing 291 00:14:40,760 --> 00:14:45,180 for NFS server and SQL server just fine. 292 00:14:45,300 --> 00:14:47,500 So basically what it can do is the following. 293 00:14:47,900 --> 00:14:50,560 Imagine that somebody screw up your database. 294 00:14:50,880 --> 00:14:53,360 24 hours later, you find it out. 295 00:14:53,580 --> 00:14:54,860 That is your option. 296 00:14:55,340 --> 00:14:59,160 Your option is let's roll back the database to 24 hours ago. 297 00:14:59,660 --> 00:15:01,360 For people in Wall Street, 298 00:15:01,440 --> 00:15:03,440 this is probably not an acceptable option 299 00:15:03,740 --> 00:15:05,940 because they don't want all the good transaction 300 00:15:05,940 --> 00:15:08,920 that happened during that 24 hour period to be gone. 301 00:15:09,240 --> 00:15:12,580 So they need somebody to come in and carefully identify 302 00:15:12,940 --> 00:15:15,360 the damage that actually caused by the intrusion 303 00:15:15,360 --> 00:15:17,880 and then selectively roll back those data. 304 00:15:17,900 --> 00:15:18,820 Damage the data. 305 00:15:19,060 --> 00:15:21,380 And that's what this system can do you. 306 00:15:21,420 --> 00:15:22,180 Can help you. 307 00:15:22,220 --> 00:15:23,680 We can actually do something like that 308 00:15:23,680 --> 00:15:27,220 for an NFS server or for a database management server. 309 00:15:27,620 --> 00:15:31,040 So all of these things are part of Palladium. 310 00:15:31,200 --> 00:15:33,560 But today, as I say, I want to focus only on 311 00:15:34,060 --> 00:15:35,760 system called model checking. 312 00:15:36,860 --> 00:15:38,460 So we call this system 313 00:15:38,460 --> 00:15:41,120 Program Semantics Aware Intrusion Detection. 314 00:15:41,360 --> 00:15:43,100 Now, just to give you an idea, 315 00:15:43,320 --> 00:15:47,100 most of today's host-based intrusion detection system 316 00:15:47,100 --> 00:15:48,600 are using similar ideas. 317 00:15:48,900 --> 00:15:52,000 They are monitoring some sort of system call patterns 318 00:15:52,000 --> 00:15:52,920 of the applications. 319 00:15:53,720 --> 00:15:58,460 Even those commercial system call behavior blocking system, 320 00:15:58,640 --> 00:15:59,740 they do the same thing. 321 00:15:59,880 --> 00:16:02,040 They basically have to have some sort of policy 322 00:16:02,280 --> 00:16:03,720 for some important application. 323 00:16:04,080 --> 00:16:07,840 And they can somehow monitor the system call patterns 324 00:16:08,140 --> 00:16:09,760 of this application at a wrong time 325 00:16:09,760 --> 00:16:14,100 and see if they actually deviate from the original model 326 00:16:14,100 --> 00:16:15,300 that they are supposed to follow. 327 00:16:15,520 --> 00:16:15,940 All right. 328 00:16:15,940 --> 00:16:19,080 So the big deal about the paid system is that 329 00:16:19,080 --> 00:16:23,040 we are able to derive this system call model 330 00:16:23,040 --> 00:16:25,860 in a way that's accurate and automatic. 331 00:16:26,520 --> 00:16:29,280 So most of the existing host-based intrusion 332 00:16:29,280 --> 00:16:31,540 detection system follow the same model. 333 00:16:31,660 --> 00:16:34,460 The only difference is that the way they derive this 334 00:16:34,460 --> 00:16:37,200 model tend to be manual or it's going through 335 00:16:37,200 --> 00:16:38,780 some sort of statistical learning phase. 336 00:16:39,040 --> 00:16:42,540 So you have to understand that there's nothing new 337 00:16:42,540 --> 00:16:45,400 about the idea of monitoring the system core model. 338 00:16:45,940 --> 00:16:47,480 This is what everybody is doing. 339 00:16:47,760 --> 00:16:50,680 The new thing here is really about how do you derive 340 00:16:50,680 --> 00:16:52,160 such a model in the first place? 341 00:16:52,300 --> 00:16:55,020 I give you a PowerPoint, what are the sequence 342 00:16:55,020 --> 00:16:57,200 of system core that PowerPoints are supposed to make? 343 00:16:57,620 --> 00:16:59,860 That's the question that we want to know, right? 344 00:17:00,020 --> 00:17:07,560 So, as I say, the current approach to this system core 345 00:17:07,560 --> 00:17:10,860 monitoring approach is really about how do we derive 346 00:17:10,860 --> 00:17:15,060 this system core policy or model in a way that's accurate 347 00:17:15,060 --> 00:17:16,120 and hopefully automatic. 348 00:17:16,480 --> 00:17:18,780 Now, existing approaches are something like 349 00:17:18,780 --> 00:17:20,140 they can use many specifications. 350 00:17:20,440 --> 00:17:23,680 Somebody go in and then either reverse engineering 351 00:17:23,680 --> 00:17:27,080 or look at the patterns, run the programs for a long time 352 00:17:27,080 --> 00:17:28,320 and see what happens and so on. 353 00:17:28,500 --> 00:17:30,740 So obviously this is an error prone process, 354 00:17:30,860 --> 00:17:32,880 labor intensive and not very scalable. 355 00:17:33,160 --> 00:17:35,280 Or you can use machine learning techniques. 356 00:17:35,420 --> 00:17:36,980 You can run the programs a hundred times 357 00:17:36,980 --> 00:17:40,020 and then try to derive a so-called normal behavior 358 00:17:40,580 --> 00:17:43,080 and then if anything deviates from that normal behavior 359 00:17:43,080 --> 00:17:44,920 at the wrong time, then you can 360 00:17:44,920 --> 00:17:47,160 declare there's a possible intrusion. 361 00:17:47,360 --> 00:17:50,000 And all these things would lead to false positive 362 00:17:50,000 --> 00:17:53,460 because you can never cover all execution paths 363 00:17:53,460 --> 00:17:54,100 of the program. 364 00:17:54,360 --> 00:17:55,780 There's no guarantee, right? 365 00:17:55,880 --> 00:17:57,140 After all, you're running them. 366 00:17:57,260 --> 00:17:59,260 There's no guarantee you can cover all of them. 367 00:17:59,400 --> 00:18:01,760 And that's why a lot of these host-based 368 00:18:01,760 --> 00:18:03,960 intrusion detection systems have false positive. 369 00:18:04,260 --> 00:18:07,420 I mean, they can have, sometimes they are even worse 370 00:18:07,420 --> 00:18:09,540 than that, they don't even perform such a process 371 00:18:09,540 --> 00:18:11,160 for each and every application. 372 00:18:11,420 --> 00:18:14,820 They just have a single policy for all the, you know, 373 00:18:14,920 --> 00:18:16,040 reasonable network application. 374 00:18:16,560 --> 00:18:18,760 And what we want is that we want to do it 375 00:18:18,760 --> 00:18:20,600 in such a way that is accurate and automatic 376 00:18:20,600 --> 00:18:22,580 and hopefully for, that can be tailored 377 00:18:22,580 --> 00:18:25,000 to each and every individual network application. 378 00:18:25,720 --> 00:18:28,400 And our position to this problem is very simple. 379 00:18:28,500 --> 00:18:30,800 We say that everything is there in the program. 380 00:18:31,080 --> 00:18:33,420 Like you, assuming you already have a source code, 381 00:18:33,500 --> 00:18:34,980 of course you can compile the program 382 00:18:34,980 --> 00:18:38,780 and you can derive the system code pattern at compile time. 383 00:18:39,120 --> 00:18:40,420 This information is there. 384 00:18:40,480 --> 00:18:42,860 After all, the program is actually making a system call, 385 00:18:43,000 --> 00:18:43,140 right? 386 00:18:43,140 --> 00:18:45,120 And so you can actually derive this information. 387 00:18:45,620 --> 00:18:48,120 And not only we are going to derive the order 388 00:18:48,120 --> 00:18:50,460 in which these system calls are made, 389 00:18:50,580 --> 00:18:52,440 that's what everybody is doing, like, you know, 390 00:18:52,480 --> 00:18:54,260 open, read, write, and so on. 391 00:18:54,360 --> 00:18:55,820 That's the order of system call. 392 00:18:55,980 --> 00:18:59,000 We also want to derive the sites at which 393 00:18:59,000 --> 00:19:01,200 these system calls are allowed to be made. 394 00:19:01,380 --> 00:19:03,340 So for example, a program actually makes 395 00:19:03,340 --> 00:19:04,500 two system calls open. 396 00:19:04,700 --> 00:19:06,780 But that program makes the system call 397 00:19:06,780 --> 00:19:07,720 at two different places. 398 00:19:07,980 --> 00:19:10,460 Then we want to make sure at the wrong time, 399 00:19:10,580 --> 00:19:13,120 actually there are two open calls, system calls. 400 00:19:13,140 --> 00:19:16,400 And they are made at exactly those addresses, okay? 401 00:19:16,540 --> 00:19:19,040 So we are going to check not only the order 402 00:19:19,040 --> 00:19:21,420 of the system calls, but also the places 403 00:19:21,420 --> 00:19:23,700 at which these system calls are made, right? 404 00:19:24,040 --> 00:19:26,080 So this should tighten up the flexibility 405 00:19:26,520 --> 00:19:27,360 of these attackers. 406 00:19:27,740 --> 00:19:29,540 Remember how the attacker is going to attack 407 00:19:29,820 --> 00:19:30,920 when he gets the control, 408 00:19:31,080 --> 00:19:32,680 and he tries to issue a system call. 409 00:19:32,820 --> 00:19:35,620 And most likely this system call is either in a stack 410 00:19:35,620 --> 00:19:38,220 or he actually makes some call to the lead seed 411 00:19:38,220 --> 00:19:39,700 in order to make a system call. 412 00:19:39,880 --> 00:19:42,380 In either case, we should be able to detect them, right? 413 00:19:42,380 --> 00:19:44,420 Because we are going to check the sites as well. 414 00:19:44,580 --> 00:19:46,120 So when they make a system call, 415 00:19:46,200 --> 00:19:49,660 they better follow the order that I derive at compile time. 416 00:19:49,840 --> 00:19:52,100 And not only that, they better make the system call 417 00:19:52,100 --> 00:19:53,340 at the places that I think 418 00:19:53,340 --> 00:19:55,140 this system call should be made, okay? 419 00:19:55,320 --> 00:19:57,360 Only then that this kind of system call 420 00:19:57,360 --> 00:20:00,420 that attackers makes can be successful, right? 421 00:20:02,700 --> 00:20:08,040 So as I say, emphasize again that the process of deriving 422 00:20:08,460 --> 00:20:11,720 per application system call policy or model in PAID 423 00:20:11,720 --> 00:20:14,100 is automatic and is actually very accurate. 424 00:20:14,380 --> 00:20:17,680 There are some small window of vulnerability still, 425 00:20:17,880 --> 00:20:20,060 and that's why it's not zero force negative, 426 00:20:20,280 --> 00:20:23,580 but it has a very close to zero force negative. 427 00:20:23,800 --> 00:20:26,000 And I'll explain what's the window of vulnerability 428 00:20:26,880 --> 00:20:27,760 of PAID. 429 00:20:29,040 --> 00:20:31,360 So in terms of this architecture, it's very simple. 430 00:20:31,480 --> 00:20:33,700 You take an application going through the compiler 431 00:20:33,700 --> 00:20:36,080 and you would derive this system call graph. 432 00:20:36,300 --> 00:20:37,260 So it's basically a graph. 433 00:20:37,360 --> 00:20:39,300 It says that if you go come here, open, 434 00:20:39,440 --> 00:20:41,700 and follow, it should be a read or read, right? 435 00:20:41,700 --> 00:20:44,500 And it can be read or write because there's a branch there. 436 00:20:44,600 --> 00:20:46,260 We don't really know at the compile time 437 00:20:46,260 --> 00:20:47,540 which way it's going to take, 438 00:20:47,680 --> 00:20:48,920 but we know that after open, 439 00:20:49,080 --> 00:20:51,120 it should be either read or write, all right? 440 00:20:51,180 --> 00:20:53,360 So that's why it's a system call. 441 00:20:53,480 --> 00:20:54,160 It's not a sequence. 442 00:20:54,560 --> 00:20:55,860 And then at the wrong time, 443 00:20:55,980 --> 00:20:59,000 we observe the actual system calls made by the application 444 00:20:59,440 --> 00:21:00,300 and compare the two. 445 00:21:00,400 --> 00:21:02,780 If there's a deviation, then there's an intrusion. 446 00:21:02,960 --> 00:21:04,740 And when we declare there's an intrusion, 447 00:21:04,820 --> 00:21:06,040 there's indeed an intrusion. 448 00:21:06,180 --> 00:21:07,760 That's why it's zero force positive. 449 00:21:09,960 --> 00:21:11,340 So in terms of attracting 450 00:21:11,340 --> 00:21:13,300 the system call policy or model 451 00:21:13,300 --> 00:21:14,940 is actually very mechanical. 452 00:21:15,280 --> 00:21:17,320 You can take a program, 453 00:21:17,500 --> 00:21:20,080 build a system call graph from it's a function call graph 454 00:21:20,080 --> 00:21:22,960 and for function control for graph and blah, blah, blah. 455 00:21:23,100 --> 00:21:25,300 And then in the end, you can actually do it, okay? 456 00:21:25,440 --> 00:21:28,120 So I'm going to skip this mechanical part 457 00:21:28,120 --> 00:21:30,980 and talk about something that's more sophisticated, 458 00:21:31,440 --> 00:21:33,140 that where the problems really are. 459 00:21:33,300 --> 00:21:34,960 I mean, this part is pretty easy to do. 460 00:21:36,560 --> 00:21:38,300 The problem with this approach, 461 00:21:38,500 --> 00:21:41,020 if you think about it is there's actually a fundamental, 462 00:21:41,340 --> 00:21:44,240 the basic flaw of the assumption that at compile time, 463 00:21:44,400 --> 00:21:46,360 you can derive the system called model 464 00:21:46,360 --> 00:21:49,040 or a policy from a network application. 465 00:21:51,080 --> 00:21:55,540 Can you think of any reason why that assumption, 466 00:21:56,040 --> 00:21:58,160 there's actually a flaw in that assumption? 467 00:21:59,180 --> 00:22:02,200 The problem is that at compile time, 468 00:22:02,360 --> 00:22:03,840 sometimes you can not even derive 469 00:22:03,840 --> 00:22:05,740 a complete control flow graph. 470 00:22:05,940 --> 00:22:08,760 So imagine that your own program has a function pointer 471 00:22:09,320 --> 00:22:11,260 and the value of this function pointer 472 00:22:11,340 --> 00:22:14,740 printer is only available at runtime, right? 473 00:22:14,840 --> 00:22:17,260 So I cannot even construct a control program. 474 00:22:17,480 --> 00:22:18,380 So what are we talking about? 475 00:22:18,460 --> 00:22:21,180 You can statically derive a system call model, right? 476 00:22:21,320 --> 00:22:22,840 Wouldn't that be like a pretty unrealistic? 477 00:22:23,300 --> 00:22:26,080 And that's what we call by dynamic branch targets. 478 00:22:26,320 --> 00:22:29,520 Dynamic branch targets are branch instructions 479 00:22:29,940 --> 00:22:34,360 whose target addresses are not known at compile time, right? 480 00:22:34,480 --> 00:22:36,440 So we don't really know where it goes, right? 481 00:22:36,520 --> 00:22:38,920 So examples of this could be something like, 482 00:22:39,040 --> 00:22:40,180 you know, signal handler. 483 00:22:40,180 --> 00:22:42,580 For example, you have a program 484 00:22:42,580 --> 00:22:44,120 that includes a signal handler. 485 00:22:44,320 --> 00:22:46,840 In your program, there's actually no call side 486 00:22:46,840 --> 00:22:48,560 that calls this signal handler, right? 487 00:22:48,700 --> 00:22:51,660 By definition, no part of the program 488 00:22:51,660 --> 00:22:52,800 will call signal handler. 489 00:22:53,080 --> 00:22:54,280 Who will call signal handler? 490 00:22:54,620 --> 00:22:57,200 The kernel will call signal handler, right? 491 00:22:57,260 --> 00:22:59,500 Your application registers signal handler 492 00:22:59,500 --> 00:23:00,500 to the operating system, 493 00:23:00,600 --> 00:23:02,420 and then when something happens, 494 00:23:02,600 --> 00:23:03,860 the operating system will call back 495 00:23:03,860 --> 00:23:05,980 this signal handler and do something, right? 496 00:23:06,140 --> 00:23:08,840 So if your program contains a signal handler, 497 00:23:08,940 --> 00:23:10,160 you don't even get to see it. 498 00:23:10,160 --> 00:23:11,700 Now, who jumps to it, right? 499 00:23:11,780 --> 00:23:13,520 So there's no way you are going to analyze 500 00:23:13,520 --> 00:23:15,840 the signal handler as system and core model. 501 00:23:16,040 --> 00:23:17,740 So how do we solve this problem? 502 00:23:17,880 --> 00:23:19,680 That's basically what we are talking about here. 503 00:23:20,000 --> 00:23:22,600 So it turns out that there's actually a 504 00:23:22,600 --> 00:23:25,100 who can explain, so that we can solve this problem. 505 00:23:25,940 --> 00:23:29,080 And the basic recognition is that although at the compile 506 00:23:29,080 --> 00:23:32,060 time we cannot know the target addresses 507 00:23:32,060 --> 00:23:34,180 of all the branch instructions, 508 00:23:34,840 --> 00:23:37,340 we know that we don't know, right? 509 00:23:37,500 --> 00:23:40,140 That we know that, you know, sometimes these are the fragments there. 510 00:23:40,160 --> 00:23:42,040 function pointer, so I don't know its value. 511 00:23:42,220 --> 00:23:44,120 And we know we don't know. And at 512 00:23:44,120 --> 00:23:46,080 the places that we don't know 513 00:23:46,080 --> 00:23:48,000 the branch instructions 514 00:23:48,000 --> 00:23:50,140 target, we can actually insert a special 515 00:23:50,140 --> 00:23:51,580 system call, call notify. 516 00:23:51,860 --> 00:23:54,040 So this requires some sort of operating system 517 00:23:54,040 --> 00:23:55,980 support. So essentially 518 00:23:55,980 --> 00:23:58,020 what we have is we are given a program 519 00:23:58,020 --> 00:24:00,160 and at those places whose 520 00:24:00,160 --> 00:24:02,160 target addresses are not known, 521 00:24:02,320 --> 00:24:04,220 we are going to add an additional system 522 00:24:04,220 --> 00:24:06,180 call, call notify. And the arguments 523 00:24:06,180 --> 00:24:07,920 of the notify will be the actual 524 00:24:07,920 --> 00:24:09,920 value of the target addresses 525 00:24:09,920 --> 00:24:11,920 of this conditional branch instructions. 526 00:24:12,580 --> 00:24:13,920 And this value 527 00:24:13,920 --> 00:24:15,620 will become available at the wrong time. 528 00:24:15,720 --> 00:24:17,820 So I can actually inform the 529 00:24:17,820 --> 00:24:19,880 wrong time checker about the values 530 00:24:19,880 --> 00:24:21,920 of this dynamic branch instruction. 531 00:24:22,320 --> 00:24:24,100 And that's how we solve this particular 532 00:24:24,100 --> 00:24:24,500 problem. 533 00:24:25,180 --> 00:24:27,860 So that's one problem associated 534 00:24:27,860 --> 00:24:28,580 with this approach. 535 00:24:29,560 --> 00:24:30,980 There are other problems as well. 536 00:24:31,540 --> 00:24:33,760 Real programs are actually more complicated 537 00:24:33,760 --> 00:24:35,760 than we thought. It's not just 538 00:24:35,760 --> 00:24:37,920 a bunch of control flow, if then 539 00:24:37,920 --> 00:24:39,360 else, why loop, and so on. 540 00:24:39,360 --> 00:24:41,780 There are things like set jump or long jump. 541 00:24:42,020 --> 00:24:43,940 And then there are things like signal handler. 542 00:24:44,160 --> 00:24:46,320 And there are things like dynamic link library. 543 00:24:46,620 --> 00:24:48,440 Like, if you have a program, 544 00:24:49,080 --> 00:24:51,100 and that actually at the wrong time call 545 00:24:51,100 --> 00:24:52,980 DL open of some module, 546 00:24:53,180 --> 00:24:55,580 and this module name is not known 547 00:24:55,580 --> 00:24:56,840 at compile time. 548 00:24:57,240 --> 00:24:59,580 At compile time you don't even know this piece 549 00:24:59,580 --> 00:25:00,880 of code is part of the program. 550 00:25:01,060 --> 00:25:03,100 So there's no way you are going to analyze it 551 00:25:03,100 --> 00:25:04,440 and then give the corresponding 552 00:25:04,940 --> 00:25:07,080 sort of system call graph, right? 553 00:25:07,700 --> 00:25:09,080 Fortunately, all these problems, 554 00:25:09,360 --> 00:25:11,440 can be solved by something similar to Notify. 555 00:25:11,580 --> 00:25:13,720 Like, at the wrong time we all know that these 556 00:25:13,720 --> 00:25:16,200 are all pretty quirky control constructs. 557 00:25:16,200 --> 00:25:18,940 And then we can all insert this Notify system 558 00:25:18,940 --> 00:25:21,320 calls appropriately, so that at the wrong time, 559 00:25:21,380 --> 00:25:22,380 the wrong time checker will know. 560 00:25:22,500 --> 00:25:25,120 So for example, the way to deal with DL open, 561 00:25:25,280 --> 00:25:27,560 like you, at the program at the wrong time 562 00:25:27,560 --> 00:25:29,760 call DL open to load the module, 563 00:25:30,000 --> 00:25:31,960 then at the wrong time we are going to analyze 564 00:25:31,960 --> 00:25:33,880 the module to construct the corresponding 565 00:25:33,880 --> 00:25:36,280 system call graph and continue, right? 566 00:25:36,420 --> 00:25:39,140 So some of the stuff that we do at the compile time, 567 00:25:39,360 --> 00:25:40,640 now we have to do at the wrong time, 568 00:25:40,700 --> 00:25:41,780 because we have no choice. 569 00:25:42,180 --> 00:25:44,720 At the compile time, I just don't know that much. 570 00:25:44,900 --> 00:25:46,660 So I have to defer some of the things 571 00:25:46,660 --> 00:25:48,060 that we need to do at the wrong time. 572 00:25:48,180 --> 00:25:49,400 And that's basically what we are doing. 573 00:25:49,700 --> 00:25:51,800 So that's the other problem we have to solve 574 00:25:51,800 --> 00:25:53,380 in order to make this work. 575 00:25:53,980 --> 00:25:56,080 Now, even if you solve all these problems, 576 00:25:56,940 --> 00:25:59,340 they are actually sophisticated attackers, right? 577 00:25:59,740 --> 00:26:00,740 Imagine what we have. 578 00:26:00,860 --> 00:26:02,340 We have, I have a compiler, 579 00:26:02,850 --> 00:26:06,020 and then I can actually analyze any network application 580 00:26:06,020 --> 00:26:08,800 to derive the corresponding system call graph. 581 00:26:09,360 --> 00:26:10,820 At the wrong time, I'm going to check 582 00:26:10,820 --> 00:26:12,840 that network application system call pattern 583 00:26:12,840 --> 00:26:13,860 against this graph. 584 00:26:14,160 --> 00:26:16,660 Any deviation from the system call graph 585 00:26:16,660 --> 00:26:18,400 would be flagged as an intrusion. 586 00:26:18,620 --> 00:26:20,040 Seems pretty tight, right? 587 00:26:20,180 --> 00:26:20,940 Not really. 588 00:26:21,220 --> 00:26:23,820 There are people who can do so-called mimicry attack. 589 00:26:24,140 --> 00:26:27,120 The notion of mimicry attack is saying that 590 00:26:27,120 --> 00:26:28,480 the attacker can come in, 591 00:26:28,560 --> 00:26:31,520 exploiting the good old buffer overflow vulnerability. 592 00:26:32,020 --> 00:26:34,720 And then from that point on, he is going to, 593 00:26:34,780 --> 00:26:38,180 he or she is going to emulating the, the, 594 00:26:39,360 --> 00:26:41,100 the system call sequence according to 595 00:26:41,100 --> 00:26:42,580 the same system call graph. 596 00:26:42,880 --> 00:26:46,220 So he's trying to fool the underlying runtime checker, 597 00:26:46,240 --> 00:26:46,980 saying I'm a good guy. 598 00:26:47,080 --> 00:26:48,560 I'm actually issuing a system call 599 00:26:48,560 --> 00:26:51,300 exactly according to the system call graph. 600 00:26:51,540 --> 00:26:54,560 Now, if this particular application contains some 601 00:26:55,020 --> 00:26:57,140 system call that the attacker needs 602 00:26:57,140 --> 00:26:59,100 in order to really mount the attack, 603 00:26:59,280 --> 00:27:01,200 the attacker can actually follow the, 604 00:27:01,220 --> 00:27:03,740 some certain legitimate system call sequence 605 00:27:04,080 --> 00:27:06,300 until that particular system call comes along 606 00:27:06,540 --> 00:27:08,760 and then issue a system call to do the damage. 607 00:27:09,360 --> 00:27:10,380 For example, you have an application, 608 00:27:10,540 --> 00:27:13,280 and that application contains some system call like exact, 609 00:27:13,600 --> 00:27:17,120 which is the system call allows you to fork another process. 610 00:27:17,960 --> 00:27:21,400 And, but the buffer overflow point and the exact system call 611 00:27:21,400 --> 00:27:24,000 there's a sequence of system calls in between them. 612 00:27:24,200 --> 00:27:26,560 So the attacker would actually follow exactly 613 00:27:27,000 --> 00:27:29,300 the same sequence of system call 614 00:27:29,300 --> 00:27:31,200 as specified in a system call graph 615 00:27:31,700 --> 00:27:33,360 until he hits the point, 616 00:27:33,500 --> 00:27:35,060 hit that particular exact system call 617 00:27:35,060 --> 00:27:37,400 and do, and issue that system call, right? 618 00:27:37,520 --> 00:27:39,340 So that's the way that mimicry attack works. 619 00:27:39,340 --> 00:27:41,500 The idea of mimicry attack is that 620 00:27:41,500 --> 00:27:44,280 the attacker actually can use the same tool 621 00:27:44,280 --> 00:27:47,380 that we are using to derive the system call graph 622 00:27:47,660 --> 00:27:50,500 and embed the knowledge into the attack code as well. 623 00:27:51,060 --> 00:27:53,800 Now we are assuming pretty sophisticated attacker now, 624 00:27:53,960 --> 00:27:56,380 right, but we have to assume they are as good as we are. 625 00:27:56,580 --> 00:27:59,220 So, so they actually can use our tool, 626 00:27:59,460 --> 00:28:01,840 derive the legitimate system call graph, 627 00:28:02,580 --> 00:28:05,240 and then try to derive a mounted attack 628 00:28:05,240 --> 00:28:07,900 at a point that the particular system call 629 00:28:07,900 --> 00:28:09,060 that they actually need. 630 00:28:09,340 --> 00:28:11,140 So that's the idea of mimicry attack. 631 00:28:12,840 --> 00:28:15,400 So, so in order to mount a mimicry attack, 632 00:28:15,600 --> 00:28:19,260 you actually have to issue this sort of dummy system call 633 00:28:19,260 --> 00:28:20,560 to follow a system call graph. 634 00:28:20,860 --> 00:28:21,920 And then at the end, 635 00:28:22,140 --> 00:28:24,780 when you go to that particular system call you need, 636 00:28:24,880 --> 00:28:25,800 you actually have to do it. 637 00:28:25,860 --> 00:28:27,420 So for example, for an exact, you can say, 638 00:28:27,500 --> 00:28:30,600 now I want to fork a process, a share process, for example. 639 00:28:30,740 --> 00:28:33,340 So at that point, you have to change the argument 640 00:28:33,340 --> 00:28:35,840 of the system call so that you can do what you want. 641 00:28:36,000 --> 00:28:38,220 So these are the two things that you need to do. 642 00:28:38,220 --> 00:28:41,220 You basically have to issue each intermediate system call 643 00:28:41,220 --> 00:28:42,240 without being detected, 644 00:28:42,420 --> 00:28:44,160 and you have to grab the control back 645 00:28:44,160 --> 00:28:46,240 so that you can continue doing that, 646 00:28:46,320 --> 00:28:49,240 and at the last moment, issue that damaging system call. 647 00:28:51,120 --> 00:28:53,280 So how do we solve this problem? 648 00:28:53,900 --> 00:28:56,280 Basically, what we need to do is that we have to check 649 00:28:56,280 --> 00:28:58,740 the system call argument whenever possible, right? 650 00:28:58,780 --> 00:29:01,440 Remember, at the last step, that guy is trying to say 651 00:29:01,440 --> 00:29:03,240 that this is the exact system call that I need, 652 00:29:03,320 --> 00:29:07,740 and I'm going to fit that share slash bin slash share. 653 00:29:07,800 --> 00:29:08,060 And I'm going to fit that share slash bin slash share. 654 00:29:08,220 --> 00:29:09,360 And I'm going to put that particular argument 655 00:29:09,360 --> 00:29:11,840 into that system call so that I can get a shared process. 656 00:29:12,620 --> 00:29:15,160 And the other thing is I have to prevent the attacker 657 00:29:15,160 --> 00:29:17,080 from grabbing the control back. 658 00:29:17,360 --> 00:29:19,520 How does the guy grabbing the control back? 659 00:29:19,700 --> 00:29:22,640 The guy actually had to fake all these system call 660 00:29:22,640 --> 00:29:24,540 and then put into the return address 661 00:29:24,540 --> 00:29:26,860 back to his injected call, right? 662 00:29:27,000 --> 00:29:29,540 So if every time a system call is made, 663 00:29:29,620 --> 00:29:31,380 I check the return address on the stack, 664 00:29:31,520 --> 00:29:33,080 make sure none of the return addresses 665 00:29:33,080 --> 00:29:34,360 are actually in the stack, 666 00:29:34,500 --> 00:29:37,480 we can prevent the attacker from grabbing the control back. 667 00:29:38,220 --> 00:29:39,640 These are the two things that we need to do. 668 00:29:39,800 --> 00:29:42,260 Make sure the system call arguments are all legit, 669 00:29:42,500 --> 00:29:46,300 and make sure that the control never goes to the stack, 670 00:29:46,500 --> 00:29:47,020 for example. 671 00:29:47,240 --> 00:29:50,140 So these are the countermeasures that we can use 672 00:29:50,480 --> 00:29:53,080 to prevent the mimicry attackers. 673 00:29:54,240 --> 00:29:56,700 So I'm going to skip some of this, 674 00:29:57,300 --> 00:29:59,020 and then give you an example, 675 00:29:59,760 --> 00:30:03,120 talk about what PAID actually provides. 676 00:30:03,580 --> 00:30:06,160 So PAID actually checks the following things. 677 00:30:06,560 --> 00:30:08,080 Again, it checks the order 678 00:30:08,220 --> 00:30:09,320 during the system call. 679 00:30:09,660 --> 00:30:11,700 At the wrong time, the system call 680 00:30:11,700 --> 00:30:13,640 has to follow a certain order 681 00:30:13,640 --> 00:30:15,600 as we derive at the compile time. 682 00:30:15,800 --> 00:30:17,180 So that order has to be correct. 683 00:30:18,260 --> 00:30:19,600 PAID also checks site, 684 00:30:19,760 --> 00:30:22,000 that each system call has to be in the right place. 685 00:30:22,340 --> 00:30:24,840 And PAID also checks stack return address. 686 00:30:24,980 --> 00:30:26,360 The return address on the stack 687 00:30:26,360 --> 00:30:28,200 cannot be in a non-text area. 688 00:30:28,500 --> 00:30:29,820 They have to be in a text area. 689 00:30:30,020 --> 00:30:31,820 This is to prevent the mimicry attacker 690 00:30:31,820 --> 00:30:33,260 from grabbing the control back. 691 00:30:33,920 --> 00:30:37,700 And then finally, PAID also includes additional mechanism. 692 00:30:38,220 --> 00:30:40,960 Which insurates a Manuel it'll notify system call 693 00:30:40,960 --> 00:30:41,720 at a low time. 694 00:30:41,800 --> 00:30:44,300 I'll defer this point when I show you some example. 695 00:30:45,040 --> 00:30:47,640 So let's say you only have ordering check. 696 00:30:47,820 --> 00:30:49,740 That's essentially what everybody has nowadays, 697 00:30:50,100 --> 00:30:51,720 the host-based intrusion system. 698 00:30:51,840 --> 00:30:53,860 They only check the order of the system calls. 699 00:30:55,360 --> 00:30:58,040 This picture basically shows the control program 700 00:30:58,640 --> 00:31:00,500 of a program. 701 00:31:00,840 --> 00:31:03,260 So in this case, it match a PAID system call. 702 00:31:03,340 --> 00:31:05,980 Set UID, read, open, stack, and write. 703 00:31:06,620 --> 00:31:08,200 So if the attack visualized 704 00:31:08,220 --> 00:31:09,740 the hacker actually somehow grabbed the control 705 00:31:09,740 --> 00:31:11,060 through buffer overflow vulnerability, 706 00:31:11,760 --> 00:31:14,680 all he has to do is just issue this system call 707 00:31:15,070 --> 00:31:16,280 in exactly the same order, 708 00:31:16,420 --> 00:31:19,940 and then eventually he can compromise the system, right? 709 00:31:20,080 --> 00:31:22,560 So because it's a mimicry attack, right? 710 00:31:22,640 --> 00:31:24,080 It's a mimicry, the exact order 711 00:31:24,630 --> 00:31:26,320 that the program is supposed to make. 712 00:31:26,460 --> 00:31:28,340 And when he hits the one that he needs, 713 00:31:28,440 --> 00:31:30,140 then he can mount some sort of damage, 714 00:31:30,260 --> 00:31:32,280 he can cause some damage to the underlying system. 715 00:31:33,200 --> 00:31:36,060 Now let's say we actually check both ordering and site. 716 00:31:36,060 --> 00:31:39,520 So in this case, the attacker cannot just simply 717 00:31:39,520 --> 00:31:43,560 issue the system call in arbitrary places. 718 00:31:43,900 --> 00:31:46,420 He actually had to issue the system call 719 00:31:46,420 --> 00:31:47,660 exactly at this place. 720 00:31:47,900 --> 00:31:50,380 So he actually had to issue the system call 721 00:31:50,380 --> 00:31:53,560 at this location, as specified in the original program. 722 00:31:53,820 --> 00:31:55,140 So that's what he needs to do. 723 00:31:55,780 --> 00:31:58,120 So that's what happens, you do this jump, 724 00:31:58,340 --> 00:32:00,680 go to that right system call and come back, 725 00:32:00,800 --> 00:32:03,500 go to that system call and eventually compromise system. 726 00:32:03,760 --> 00:32:04,100 Right? 727 00:32:04,180 --> 00:32:05,620 And the way that he can get 728 00:32:05,620 --> 00:32:07,900 the control back is by modifying the return address. 729 00:32:08,160 --> 00:32:08,480 All right. 730 00:32:08,920 --> 00:32:12,220 So we can prevent this if we do stack a check as well. 731 00:32:12,300 --> 00:32:14,380 We do ordering, we do site, we do stack check. 732 00:32:14,540 --> 00:32:17,620 So in this case, the attacker can do the same thing 733 00:32:17,620 --> 00:32:18,500 and try to go here. 734 00:32:18,740 --> 00:32:20,060 But when this is done, 735 00:32:20,240 --> 00:32:22,600 the control has to go back to the original flow 736 00:32:22,600 --> 00:32:24,920 because he cannot fake the return address. 737 00:32:25,140 --> 00:32:26,820 Because if he understand we are checking, 738 00:32:27,000 --> 00:32:27,860 then he cannot fake. 739 00:32:28,060 --> 00:32:28,500 Yes? 740 00:32:30,980 --> 00:32:31,420 Yes? 741 00:32:32,740 --> 00:32:33,180 Yes. 742 00:32:39,000 --> 00:32:40,140 I understand that. 743 00:32:40,900 --> 00:32:41,380 Yes. 744 00:32:42,380 --> 00:32:43,860 I attended your talk. 745 00:32:43,960 --> 00:32:44,100 Yes. 746 00:32:44,540 --> 00:32:47,160 That particular attack would actually be fine. 747 00:32:47,700 --> 00:32:49,580 That you can actually fake the return address 748 00:32:49,580 --> 00:32:50,500 without being detected. 749 00:32:50,760 --> 00:32:52,080 But there's a way to deal with it. 750 00:32:52,140 --> 00:32:53,060 I'll talk to you later. 751 00:32:56,180 --> 00:32:58,240 Not that particular attack. 752 00:32:58,460 --> 00:33:00,000 There's a completely different way 753 00:33:00,000 --> 00:33:01,140 to solve this particular problem. 754 00:33:01,680 --> 00:33:03,820 Then if we do actually stack check, 755 00:33:03,980 --> 00:33:05,260 there's actually one loophole. 756 00:33:05,260 --> 00:33:06,960 Let's say this guy only needs exec. 757 00:33:07,200 --> 00:33:09,720 So he actually doesn't actually need to follow 758 00:33:10,080 --> 00:33:11,280 the exec system call. 759 00:33:11,460 --> 00:33:13,320 So exec is the only one he needs. 760 00:33:13,380 --> 00:33:15,200 And he doesn't really need to grab the control back. 761 00:33:15,320 --> 00:33:16,120 Then in this case, 762 00:33:16,180 --> 00:33:19,440 even ordering site and stack check cannot help you. 763 00:33:19,800 --> 00:33:22,040 The guy wants to grab the control, 764 00:33:22,100 --> 00:33:24,280 can actually go ahead and issue a exec call. 765 00:33:25,040 --> 00:33:26,460 So we cannot really help you. 766 00:33:26,720 --> 00:33:29,600 So that's why we have the last mechanism, call notify. 767 00:33:29,900 --> 00:33:32,840 The way notify works is that at a low time, 768 00:33:32,900 --> 00:33:35,160 when a process is started, we... 769 00:33:35,260 --> 00:33:38,340 actually would randomly modify the binary in such a way 770 00:33:38,340 --> 00:33:40,400 we then insert the notify in random places. 771 00:33:40,680 --> 00:33:42,940 So this is not something that you get from binary. 772 00:33:43,120 --> 00:33:45,240 This is something that we insert at low time. 773 00:33:45,700 --> 00:33:49,340 So in this case, if the attacker is doing the same thing, 774 00:33:49,500 --> 00:33:51,980 then this particular attack will get detected 775 00:33:51,980 --> 00:33:54,640 because he missed this particular notify. 776 00:33:55,440 --> 00:33:57,200 Remember, all the notify, 777 00:33:57,420 --> 00:34:00,360 and notify is part of the system call policy, if you will. 778 00:34:00,480 --> 00:34:02,420 At the wrong, when the program started, 779 00:34:02,480 --> 00:34:03,880 we randomly insert notify, 780 00:34:03,880 --> 00:34:05,820 and this will be part of the system call model, 781 00:34:05,960 --> 00:34:08,460 and we check that they should follow the same model. 782 00:34:08,580 --> 00:34:10,100 And because the attacker doesn't know 783 00:34:10,100 --> 00:34:13,220 how we actually insert this notify at the low time, 784 00:34:13,340 --> 00:34:14,920 so there's no way for them to actually 785 00:34:14,920 --> 00:34:16,780 follow this notify exactly, right? 786 00:34:16,960 --> 00:34:18,580 So that's the way to deal with it. 787 00:34:20,040 --> 00:34:22,920 So we also do system call argument check. 788 00:34:23,100 --> 00:34:25,040 Basically what we do is that we can actually derive, 789 00:34:25,340 --> 00:34:28,100 you know, analyze different kinds of system call argument 790 00:34:28,100 --> 00:34:30,040 and classify them into three category, 791 00:34:30,400 --> 00:34:33,380 static constant, dynamic constant, and dynamic variables. 792 00:34:33,880 --> 00:34:35,460 And static constants are something like 793 00:34:35,460 --> 00:34:36,720 hard coded into the program. 794 00:34:37,020 --> 00:34:38,740 Dynamic constants are something you read 795 00:34:38,740 --> 00:34:39,960 from the configuration file, 796 00:34:40,220 --> 00:34:42,640 from command line input, or from environment variables. 797 00:34:42,880 --> 00:34:43,680 Things that you can, 798 00:34:43,820 --> 00:34:46,760 you won't be able to know at the compile time, 799 00:34:46,860 --> 00:34:49,180 but once it get initialized, they never change. 800 00:34:49,420 --> 00:34:50,560 So these are the dynamic constants. 801 00:34:50,960 --> 00:34:53,140 Our system can deal with the static constant 802 00:34:53,140 --> 00:34:54,020 and dynamic constant. 803 00:34:54,160 --> 00:34:57,220 We also can incorporate the static constant 804 00:34:57,220 --> 00:34:59,720 and dynamic constant type of system call argument 805 00:34:59,720 --> 00:35:01,040 into the system call policy. 806 00:35:01,240 --> 00:35:03,220 So now, not only we are checking site, 807 00:35:03,880 --> 00:35:06,780 not only we are checking order, site, and return address, 808 00:35:07,000 --> 00:35:08,640 and randomly insert notify, 809 00:35:08,860 --> 00:35:11,160 we also check the system call argument has to be correct. 810 00:35:11,400 --> 00:35:11,780 Okay? 811 00:35:11,900 --> 00:35:13,240 For those of you that we can check. 812 00:35:13,600 --> 00:35:16,700 Unfortunately, a lot of them fall into the category 813 00:35:16,700 --> 00:35:18,920 of dynamic variable system call argument. 814 00:35:19,120 --> 00:35:20,580 This is like something like, you know, 815 00:35:20,600 --> 00:35:22,620 you have Apache that get a URL, 816 00:35:22,920 --> 00:35:25,680 and you can get a URL with the root directory of Apache, 817 00:35:25,900 --> 00:35:27,960 and then you get the full path name, 818 00:35:28,040 --> 00:35:29,640 and you use for open, for example. 819 00:35:29,860 --> 00:35:32,000 Those kind of dynamic variable we cannot do. 820 00:35:32,160 --> 00:35:33,120 Either statically, 821 00:35:33,120 --> 00:35:34,340 or at the wrong time. 822 00:35:34,460 --> 00:35:35,960 So we cannot really check. 823 00:35:36,100 --> 00:35:37,400 So we just let them through, all right? 824 00:35:37,480 --> 00:35:40,480 And this is the only loophole that the attackers can use. 825 00:35:40,640 --> 00:35:43,220 So when they attack, they have to use some system call, 826 00:35:43,360 --> 00:35:46,160 and the system call argument better be dynamic variable. 827 00:35:46,560 --> 00:35:47,820 Otherwise, they will get caught. 828 00:35:49,540 --> 00:35:51,620 So in the end, the window of vulnerability 829 00:35:51,620 --> 00:35:53,440 is the following two types. 830 00:35:53,760 --> 00:35:55,440 That at the time of, 831 00:35:55,580 --> 00:35:58,140 at the point of buffer overflow vulnerability, 832 00:35:58,580 --> 00:36:02,020 the attackers, the system call the attacker needs 833 00:36:02,020 --> 00:36:03,100 in order to mount the system call argument. 834 00:36:03,100 --> 00:36:04,860 If you don't want to cause any damage 835 00:36:04,860 --> 00:36:07,300 to the underlying system is immediately following 836 00:36:07,300 --> 00:36:09,580 the buffer overflow vulnerability, right? 837 00:36:09,680 --> 00:36:12,400 So in that case, there's no way we can check it. 838 00:36:12,480 --> 00:36:14,960 But the next system call is exactly what he needs. 839 00:36:15,100 --> 00:36:15,960 So that's one way. 840 00:36:16,180 --> 00:36:20,220 The other way that attackers can sneak through 841 00:36:20,220 --> 00:36:22,180 is that they don't really need to make 842 00:36:22,180 --> 00:36:23,360 any additional system call. 843 00:36:23,520 --> 00:36:25,960 The attack is in the form of changing 844 00:36:25,960 --> 00:36:27,740 the system call argument, all right? 845 00:36:27,800 --> 00:36:29,800 So if they can overflow some data structure, 846 00:36:30,000 --> 00:36:33,080 which eventually would affect the system call argument, 847 00:36:33,100 --> 00:36:35,460 then they can also sneak through this. 848 00:36:35,560 --> 00:36:37,620 Because they don't need to make additional system call, 849 00:36:37,760 --> 00:36:39,400 we cannot really do anything, right? 850 00:36:39,540 --> 00:36:41,520 So these are the windows of vulnerabilities. 851 00:36:41,860 --> 00:36:44,640 And these are where, this is the reason why 852 00:36:45,240 --> 00:36:48,060 PAID's false negative is not exactly zero. 853 00:36:49,640 --> 00:36:51,380 So we have prototype implementation. 854 00:36:52,160 --> 00:36:54,900 And I just wanted to show you like the throughput. 855 00:36:55,080 --> 00:36:57,240 Basically what we do is we try it on a bunch 856 00:36:57,240 --> 00:36:59,280 of large programs and try to see whether 857 00:36:59,280 --> 00:37:01,980 all these mechanisms that we add, that we add, 858 00:37:02,080 --> 00:37:03,080 whether they will actually work. 859 00:37:03,100 --> 00:37:05,120 And we actually incurred a lot of performance overhead. 860 00:37:05,360 --> 00:37:08,660 It turns out the performance overhead is really acceptable 861 00:37:08,920 --> 00:37:09,720 in most cases. 862 00:37:09,920 --> 00:37:11,760 So in this case, we just basically tried 863 00:37:11,760 --> 00:37:13,000 four different configurations. 864 00:37:13,240 --> 00:37:16,400 The generic PAID and PAID with return address check, 865 00:37:16,580 --> 00:37:18,660 PAID with random insertion of notify, 866 00:37:18,980 --> 00:37:21,240 and PAID with both return address check 867 00:37:21,240 --> 00:37:22,700 and random insertion of notify. 868 00:37:22,960 --> 00:37:25,160 So it seems that everything seems to just fine. 869 00:37:25,340 --> 00:37:27,360 That the performance, the throughput overhead 870 00:37:27,360 --> 00:37:30,620 is under 11% for all cases. 871 00:37:30,900 --> 00:37:32,200 So it seems to be okay. 872 00:37:34,060 --> 00:37:39,740 So I hope that I give you some idea of what people can do 873 00:37:39,740 --> 00:37:42,900 with the host-based intrusion detection system today. 874 00:37:43,200 --> 00:37:46,380 That use compiler technology, you can actually do a lot. 875 00:37:46,600 --> 00:37:49,340 Like, of course, the downside is that you don't always 876 00:37:49,340 --> 00:37:50,800 have access to the source code. 877 00:37:50,880 --> 00:37:51,960 That's the only problem. 878 00:37:52,160 --> 00:37:54,020 But if you are willing to go this route, 879 00:37:54,220 --> 00:37:55,840 the compiler can help you a lot. 880 00:37:56,100 --> 00:37:58,420 Previously, compiler is about compiling program. 881 00:37:58,700 --> 00:38:01,960 And then in the 90s, people used compiler to improve 882 00:38:01,960 --> 00:38:02,620 the performance. 883 00:38:03,420 --> 00:38:07,380 Now, we probably go into the era in which the compiler 884 00:38:07,380 --> 00:38:10,140 can help you to strengthen the security of the application. 885 00:38:10,440 --> 00:38:13,700 We are not only interested in translating the high level 886 00:38:13,700 --> 00:38:16,540 program into binary code, or to speeding up the program. 887 00:38:16,620 --> 00:38:18,740 We also want to improve the security 888 00:38:18,740 --> 00:38:20,000 of these programs as well. 889 00:38:21,600 --> 00:38:26,000 So the big item that we want to do now is to implement 890 00:38:26,000 --> 00:38:28,740 a version of PAID that can work with Windows binary directory. 891 00:38:29,040 --> 00:38:32,800 So as I said, this removes one of the biggest criticism of PAID. 892 00:38:32,800 --> 00:38:33,080 So it removes one of the biggest criticism of PAID. 893 00:38:33,100 --> 00:38:35,700 That you have to have access to source code in order to use PAID. 894 00:38:35,760 --> 00:38:39,120 And we are hoping that we can do something with our Windows binaries 895 00:38:39,120 --> 00:38:41,000 without having access to the source code. 896 00:38:41,260 --> 00:38:44,160 So if you want more information, you can go to this particular website. 897 00:38:44,380 --> 00:38:46,820 And then if you are interested to try out PAID, 898 00:38:46,820 --> 00:38:48,880 you can send me a mail or contact me afterwards. 899 00:38:49,280 --> 00:38:49,680 Thanks.