1 00:00:00,000 --> 00:00:00,820 Hello, DEF CON. 2 00:00:01,780 --> 00:00:04,540 First of all, I would like to really thank DEF CON 3 00:00:04,540 --> 00:00:06,740 for giving me the opportunity to come here 4 00:00:06,740 --> 00:00:08,280 and speak at this great conference. 5 00:00:08,600 --> 00:00:09,860 You guys really rock. 6 00:00:11,360 --> 00:00:18,500 So my presentation today is on Linux Thread Injection Kit. 7 00:00:18,700 --> 00:00:20,000 This is a kit that I have developed. 8 00:00:20,200 --> 00:00:24,960 I have named it Jugar, which I'll tell you why the name. 9 00:00:26,180 --> 00:00:27,460 So a little bit about me. 10 00:00:27,520 --> 00:00:28,220 I'm from India. 11 00:00:28,220 --> 00:00:31,080 I'm the founder of Null Security Community. 12 00:00:31,260 --> 00:00:34,100 If you are not aware, you can go to null.co.in and have a look. 13 00:00:34,560 --> 00:00:38,620 I'm also the organizer for NullCon Security Conference in India. 14 00:00:38,780 --> 00:00:41,000 It happens every year in February in Goa. 15 00:00:42,060 --> 00:00:45,060 And I'm the chief researcher at Pyro Technologies, 16 00:00:45,240 --> 00:00:48,640 which is a startup in information security services and training. 17 00:00:51,720 --> 00:00:53,600 All right, so a little bit about Null. 18 00:00:53,700 --> 00:00:55,720 It's a registered nonprofit organization. 19 00:00:56,380 --> 00:00:58,200 And we have around... 20 00:00:58,220 --> 00:01:00,560 We have around six to seven chapters in India right now. 21 00:01:00,760 --> 00:01:04,720 And our prime focus is on knowledge sharing and security research. 22 00:01:04,920 --> 00:01:09,380 So we do that by means of having monthly meets in all of the chapters. 23 00:01:09,660 --> 00:01:13,960 And then we do security awareness camps in organizations and institutions. 24 00:01:17,380 --> 00:01:21,020 All right, so the agenda for today is I'm briefly going to touch upon 25 00:01:21,020 --> 00:01:25,080 what the toolkit is, what it is not, 26 00:01:26,280 --> 00:01:28,200 and basically kind of give you... 27 00:01:28,220 --> 00:01:31,360 give you a very brief or just touch upon what code injection is, 28 00:01:31,520 --> 00:01:33,000 because I think most of you already know 29 00:01:33,000 --> 00:01:36,000 what different code injection techniques there are. 30 00:01:36,580 --> 00:01:40,180 And then I'm going to talk about how it is handled in Windows 31 00:01:40,180 --> 00:01:44,720 and how Linux lacks this capability 32 00:01:44,720 --> 00:01:46,860 and a little bit about ptrace. 33 00:01:47,240 --> 00:01:53,640 And finally, I'll talk about why library injection has a little bit of flaws. 34 00:01:54,260 --> 00:01:57,740 And then finally, I'll talk about the toolkit 35 00:01:57,740 --> 00:01:58,200 that I'm going to talk about. 36 00:01:58,220 --> 00:01:58,340 And then finally, I'll talk about the toolkit that I'm going to talk about. 37 00:01:58,340 --> 00:01:58,420 And then finally, I'll talk about the toolkit that I've developed 38 00:01:58,420 --> 00:02:01,100 and how is it different from library injection 39 00:02:01,100 --> 00:02:02,500 and what exactly does it do. 40 00:02:03,600 --> 00:02:06,060 Okay, so jugar is a Hindi word, 41 00:02:06,160 --> 00:02:07,560 which is actually... 42 00:02:08,120 --> 00:02:10,560 which means a workaround or a hack. 43 00:02:10,780 --> 00:02:13,300 So, which is evident from the fact 44 00:02:13,300 --> 00:02:16,500 what we have been doing with this library. 45 00:02:16,960 --> 00:02:20,700 So, it basically gives you a framework 46 00:02:20,700 --> 00:02:24,320 wherein you can inject your own customized payload 47 00:02:24,320 --> 00:02:26,460 as a thread inside a remote process. 48 00:02:26,740 --> 00:02:28,200 So, I started... 49 00:02:28,220 --> 00:02:29,900 I started looking at it from the point of view 50 00:02:29,900 --> 00:02:31,720 of Windows malware where they... 51 00:02:32,410 --> 00:02:34,580 So, Windows already provides you an API 52 00:02:34,580 --> 00:02:37,120 where you can, you know, remotely inject code 53 00:02:37,120 --> 00:02:38,460 inside another process. 54 00:02:40,000 --> 00:02:43,760 But it's not there in Linux or other Unix platforms. 55 00:02:44,800 --> 00:02:45,340 Okay. 56 00:02:45,680 --> 00:02:47,920 So, what it is not, it's not an exploit. 57 00:02:48,280 --> 00:02:50,560 I won't even call it a vulnerability 58 00:02:50,560 --> 00:02:52,660 because it is one of the features provided 59 00:02:52,660 --> 00:02:54,280 by Unix operating systems. 60 00:02:58,220 --> 00:03:00,080 Okay, so most of you are already aware 61 00:03:00,080 --> 00:03:01,700 of different code injection techniques. 62 00:03:02,100 --> 00:03:04,020 You can do it... 63 00:03:04,680 --> 00:03:07,500 You can do remote code execution via buffer overflows 64 00:03:07,500 --> 00:03:10,200 or you can do SQL injection. 65 00:03:10,600 --> 00:03:12,620 So, I'm not going to talk about it 66 00:03:12,620 --> 00:03:14,200 because these are kind of... 67 00:03:14,200 --> 00:03:15,920 I mean, everybody knows about it. 68 00:03:16,300 --> 00:03:19,120 So, my interest area is the last, 69 00:03:19,260 --> 00:03:23,460 that is the APIs that are provided by the operating systems. 70 00:03:25,320 --> 00:03:27,900 So, Windows already has an API. 71 00:03:28,220 --> 00:03:31,780 Where all you need to do is just call this function 72 00:03:31,780 --> 00:03:34,960 and it'll do the needful, whatever you want to do. 73 00:03:35,100 --> 00:03:37,320 So, I'm not going to go into deep, 74 00:03:37,420 --> 00:03:39,480 into what this API does, 75 00:03:39,680 --> 00:03:43,320 but we'll just look at some of the important parameters 76 00:03:43,320 --> 00:03:44,440 that this function has. 77 00:03:44,640 --> 00:03:47,780 So, Edge process will specify the target process 78 00:03:48,300 --> 00:03:50,700 or the victim process where you want to inject code. 79 00:03:50,920 --> 00:03:54,740 The stack size talks about the stack for the thread 80 00:03:54,740 --> 00:03:58,200 that you want to create inside the main process. 81 00:03:58,200 --> 00:04:05,020 and then the start address is the address of the function or code that you want to execute now 82 00:04:05,020 --> 00:04:10,620 according to this the documentation of this function it says that the function or or the 83 00:04:10,620 --> 00:04:24,720 code must exist inside the process okay so Linux there's there's no equivalent API on Linux so the 84 00:04:24,720 --> 00:04:29,100 question is how do we inject code into a remote process so the first thing that obviously comes 85 00:04:29,100 --> 00:04:36,980 to mind is a debugger how does a debugger you know inject code or you know do memory operations 86 00:04:37,580 --> 00:04:44,060 how's the debugger able to access memory inside a remote process or a trace process how is it able 87 00:04:44,060 --> 00:04:53,080 to change the values of variables so the answer is simple it uses the p-trace API which is obviously 88 00:04:53,080 --> 00:04:54,700 provided by most of the unicode 89 00:04:54,720 --> 00:05:05,220 platforms. So a little bit about ptrace. So ptrace is just a single function and it's 90 00:05:05,220 --> 00:05:10,620 a very powerful function in terms of what operations you can perform on a target process. 91 00:05:11,260 --> 00:05:17,780 So just one function will give you the ability to read memory, write memory, read registers, 92 00:05:17,780 --> 00:05:21,680 write registers, stop the process, and do a lot of other things. 93 00:05:24,560 --> 00:05:30,760 So some of the common operations that you can perform, which we've also used in this 94 00:05:30,760 --> 00:05:36,140 library, attach, obviously to attach or to start debugging a particular process, continue 95 00:05:36,140 --> 00:05:41,380 is to, if the trace process is stopped, you can start the trace, the execution of the 96 00:05:41,380 --> 00:05:41,900 trace process. 97 00:05:45,520 --> 00:05:46,500 Pick text. 98 00:05:46,620 --> 00:05:47,440 If you... 99 00:05:47,440 --> 00:05:52,620 So, pick text allows you to read a word from a specified location inside a process. 100 00:05:54,030 --> 00:05:59,280 Poke text does the opposite. It allows you to write to that memory location. 101 00:06:00,760 --> 00:06:07,500 And getregs and setregs give you the option of setting registers for the process. 102 00:06:09,500 --> 00:06:10,160 Okay. 103 00:06:10,420 --> 00:06:13,980 So how does a debugger get the control back? 104 00:06:14,360 --> 00:06:17,020 I mean, if I... 105 00:06:17,020 --> 00:06:22,120 If I'm tracing a process, obviously I need the control back after I execute some code. 106 00:06:22,300 --> 00:06:23,120 So how do I do that? 107 00:06:23,800 --> 00:06:26,420 So the breakpoints come to rescue. 108 00:06:26,600 --> 00:06:29,680 It's actually an int3 instruction or a software interrupt. 109 00:06:31,480 --> 00:06:33,220 When specified inside... 110 00:06:33,220 --> 00:06:39,600 When executed in a remote process, what it'll do is the child process stops and you get 111 00:06:39,600 --> 00:06:42,000 the control back as the tracing process. 112 00:06:42,380 --> 00:06:42,700 Okay. 113 00:06:44,900 --> 00:06:45,500 Okay. 114 00:06:46,400 --> 00:06:47,000 Okay. 115 00:06:47,160 --> 00:06:47,980 All right. 116 00:06:48,100 --> 00:06:51,200 So a little bit about library injection. 117 00:06:51,460 --> 00:06:57,840 So when I started, the intention of developing this library was to create an exact replica 118 00:06:57,840 --> 00:07:01,820 of what is already there for Windows. 119 00:07:01,960 --> 00:07:02,980 So create remote thread. 120 00:07:03,600 --> 00:07:10,860 So after I was finished halfway through, I was still searching on the net for, I mean, 121 00:07:10,940 --> 00:07:14,160 any tool available that does this thing. 122 00:07:14,320 --> 00:07:16,720 So I found an interesting tool. 123 00:07:16,720 --> 00:07:23,380 It's called InjectSO, which uses the same ptrace functionality to inject a whole shared 124 00:07:23,380 --> 00:07:24,500 object inside a process. 125 00:07:26,300 --> 00:07:35,600 Now the problem with this is you can see the library or the shared object that has 126 00:07:35,600 --> 00:07:38,520 been loaded into the process if you go and view the maps file. 127 00:07:41,760 --> 00:07:42,320 Okay. 128 00:07:42,360 --> 00:07:46,040 So I'll just give you a small demo of the tool. 129 00:07:46,040 --> 00:07:47,640 It's a pretty old tool. 130 00:07:47,720 --> 00:07:50,020 I think it was developed in 2005 or 2006. 131 00:07:54,120 --> 00:07:56,960 But it's nice in terms of what it does. 132 00:08:05,200 --> 00:08:05,920 All right. 133 00:08:12,960 --> 00:08:14,860 So this is the library code. 134 00:08:14,860 --> 00:08:19,460 This is just the test code that comes with the InjectSO implementation. 135 00:08:20,080 --> 00:08:24,040 So all it does is just says yo from init when the library is loaded. 136 00:08:30,160 --> 00:08:30,660 Cabinet member My username. 137 00:08:48,820 --> 00:08:55,080 Okay, so this is how the libraries are structured. 138 00:08:57,820 --> 00:08:59,700 Now what we're going to do is... 139 00:09:09,680 --> 00:09:14,420 So all you need to do is just specify the PID and the library that you want to inject. 140 00:09:14,420 --> 00:09:23,380 And it uses the DL open function inside the process, executes that particular function. 141 00:09:29,340 --> 00:09:30,700 So there you go. 142 00:09:53,460 --> 00:09:54,060 Okay. 143 00:09:54,300 --> 00:09:59,200 So now coming back to the library that I have created. 144 00:10:01,180 --> 00:10:10,200 So what I have done is, instead of injecting shared object, I inject, I give the framework 145 00:10:10,200 --> 00:10:10,860 for... 146 00:10:10,860 --> 00:10:18,500 you know, to people who want to use it to inject a shellcode instead of, you know, injecting 147 00:10:18,500 --> 00:10:27,280 the whole library. So if you inject the shellcode, what happens is what you're doing is in effect 148 00:10:27,280 --> 00:10:33,060 all in-memory injection. So there are no traces of any libraries ever being injected into 149 00:10:33,060 --> 00:10:33,560 the process. 150 00:10:36,200 --> 00:10:41,820 So I've divided the problem into three parts. One was memory allocation and execution. How 151 00:10:41,820 --> 00:10:47,340 do you allocate memory inside the process and how do you make it execute? Then is how 152 00:10:47,340 --> 00:10:52,480 do you threadify or how do you create a thread inside that particular process? And the third 153 00:10:52,480 --> 00:10:55,920 is the customized payload that you want to execute inside that process. 154 00:10:58,920 --> 00:11:02,600 So allocation is very simple. What I've done is 155 00:11:02,600 --> 00:11:03,540 I've 156 00:11:03,560 --> 00:11:10,760 created a stub shellcode, which we'll see for a map 2 system call. So what I do is I 157 00:11:10,760 --> 00:11:16,360 backup a particular location inside the remote process, and I backup the registers of the 158 00:11:16,360 --> 00:11:22,420 process and then I overwrite it with my own map 2 shellcode and then make it execute that. 159 00:11:23,700 --> 00:11:29,360 So how do I do it? I use setregs to set the Prozent to the memory that has been newly 160 00:11:29,360 --> 00:11:29,900 allocated 161 00:11:29,900 --> 00:11:31,140 by my shellcode. 162 00:11:32,500 --> 00:11:33,540 And at the end 163 00:11:33,560 --> 00:11:39,320 And I put the int3 instruction so that I know once it has executed, it gives control back 164 00:11:39,320 --> 00:11:39,680 to me. 165 00:11:43,160 --> 00:11:46,220 So it's as simple as this. 166 00:11:46,800 --> 00:11:53,940 You specify the length of the memory that you want to create inside the remote process 167 00:11:54,380 --> 00:11:59,600 and mmap-specific flags and the protection for the memory area. 168 00:12:01,700 --> 00:12:03,400 So yeah, this is the stub shell code. 169 00:12:03,520 --> 00:12:07,980 Now, at runtime, I just change the values, whatever values the user wants or the caller 170 00:12:07,980 --> 00:12:08,280 wants. 171 00:12:08,360 --> 00:12:11,960 I just change it to whatever is specified in the function. 172 00:12:13,960 --> 00:12:14,820 So threadification. 173 00:12:15,100 --> 00:12:19,660 So what I do is I use the mmap code to first allocate memory inside the process. 174 00:12:20,220 --> 00:12:24,160 So I allocate memory for the thread and I allocate memory for the thread stack. 175 00:12:24,900 --> 00:12:29,320 And then what I do is I call. 176 00:12:29,600 --> 00:12:30,640 I call the clone. 177 00:12:31,080 --> 00:12:36,500 So I inject the clone shellcode, which also contains my payload that I will come to later. 178 00:12:37,180 --> 00:12:43,620 So what happens is I put the clone shellcode and using the same process, I make it execute 179 00:12:43,620 --> 00:12:44,320 the clone shellcode. 180 00:12:44,960 --> 00:12:49,860 And if it's the child thread, it jumps onto the payload. 181 00:12:49,960 --> 00:12:58,180 If it's the parent thread, it gives me the control back because of the interrupt instruction. 182 00:13:05,620 --> 00:13:08,000 Yeah, so this is how the payload looks like. 183 00:13:08,800 --> 00:13:14,760 Once you pass the payload to the API, what it does is it creates a sandwich wherein it 184 00:13:14,760 --> 00:13:20,700 gives the clone head, which is the stub shellcode for the clone system call, and the clone tail, 185 00:13:20,820 --> 00:13:22,900 which is just the exit system call. 186 00:13:23,180 --> 00:13:28,980 So once it starts executing, in the child, it'll jump onto the payload from the clone 187 00:13:28,980 --> 00:13:32,720 head and then eventually to clone tail, which is the exit system call. 188 00:13:33,300 --> 00:13:41,540 And if it is the parent thread, what it'll do is it'll execute the CC instruction and 189 00:13:41,540 --> 00:13:44,440 give control back to the tracing process. 190 00:13:50,900 --> 00:13:51,460 Okay. 191 00:13:51,920 --> 00:13:54,440 Yeah, so implementation is very simple. 192 00:13:56,260 --> 00:13:58,340 I just play around with shellcodes. 193 00:13:58,340 --> 00:13:58,500 I don't know if you're familiar with shellcodes or not, but shellcodes are basically shellcodes 194 00:13:58,500 --> 00:14:01,600 rather than executing the function inside the process directly. 195 00:14:02,520 --> 00:14:03,660 It makes it easier. 196 00:14:07,780 --> 00:14:09,140 So that's the API. 197 00:14:10,640 --> 00:14:17,940 This is used internally, but in case if you want to extend the shellcodes, you can do 198 00:14:17,940 --> 00:14:18,080 it. 199 00:14:18,240 --> 00:14:24,620 I mean, it follows, if you look at the functions, the requirement is the same. 200 00:14:24,720 --> 00:14:25,440 You specify the length. 201 00:14:25,600 --> 00:14:27,020 You specify the memory protections. 202 00:14:27,280 --> 00:14:28,320 And the flag. 203 00:14:28,320 --> 00:14:32,520 And the tags for MMAP2, it'll generate the shellcode on the fly for you. 204 00:14:35,160 --> 00:14:35,560 Okay. 205 00:14:35,620 --> 00:14:36,600 So finally, the API. 206 00:14:36,720 --> 00:14:38,440 The API is as simple as this. 207 00:14:38,560 --> 00:14:41,840 All you need to do is specify the PID of the remote process. 208 00:14:42,280 --> 00:14:44,920 You need to specify the stack, the size of the stack. 209 00:14:45,560 --> 00:14:49,380 And you need to specify the payload that you want to inject inside that process. 210 00:14:51,860 --> 00:14:55,760 So this is all that is required from a generic point of view. 211 00:14:55,840 --> 00:14:57,160 But if you want to try it out. 212 00:14:57,160 --> 00:14:58,780 With different options. 213 00:14:59,300 --> 00:15:04,840 You can actually get greater control using the extended function, wherein you can specify 214 00:15:04,840 --> 00:15:05,980 your own MMAP flags. 215 00:15:06,160 --> 00:15:13,680 Now why I've kept this extension is because I've been kind of finding a lot of problems 216 00:15:13,680 --> 00:15:15,600 with some of the distributions. 217 00:15:16,940 --> 00:15:23,700 So if you guys can try it out using different options for the MMAP flags and the thread 218 00:15:23,700 --> 00:15:25,140 flags or whatever. 219 00:15:44,820 --> 00:15:54,280 All right, so first we'll look at a simple demo wherein what I've done is my payload 220 00:15:54,280 --> 00:15:57,040 just creates a file called slash. 221 00:15:58,160 --> 00:16:01,840 Temp tmp slash slash temp slash tmp. 222 00:16:02,040 --> 00:16:05,420 And it writes some data onto that file. 223 00:16:12,060 --> 00:16:12,820 So I'm going to try this out. 224 00:16:12,820 --> 00:16:12,840 Okay. 225 00:16:42,760 --> 00:16:46,960 So now I've backed up the registers. 226 00:16:47,800 --> 00:16:52,620 And I've injected my MMAP2 shellcode. 227 00:16:52,760 --> 00:16:53,600 Okay. 228 00:16:57,320 --> 00:16:58,140 Again, twice. 229 00:17:06,500 --> 00:17:09,720 So this is one of the memories that has been returned by this process. 230 00:17:10,200 --> 00:17:10,700 Okay. 231 00:17:29,600 --> 00:17:31,680 So let's just have a look at it. 232 00:17:34,360 --> 00:17:34,840 FB000. 233 00:17:35,340 --> 00:17:35,820 Okay. 234 00:17:40,200 --> 00:17:40,680 So. 235 00:17:44,580 --> 00:17:45,140 Yeah. 236 00:17:46,500 --> 00:17:47,060 So. 237 00:17:51,140 --> 00:17:57,520 This memory area has been allocated because by default I specify read, write, and execute 238 00:17:57,520 --> 00:17:58,820 permissions for the memory area. 239 00:18:07,680 --> 00:18:08,240 Okay. 240 00:18:24,340 --> 00:18:25,740 So once you have this, um, we're going to look at the memory area. 241 00:18:25,740 --> 00:18:30,300 Uh, you want a green text. 242 00:18:36,820 --> 00:18:38,220 Here's the memory area. 243 00:18:38,240 --> 00:18:41,860 That's like always supposed to happen with demos. 244 00:18:51,040 --> 00:18:52,440 Yeah. 245 00:19:15,460 --> 00:19:23,580 So, a real demo would be, I'll show you another demo, which I'll try to inject a TCP listener 246 00:19:24,040 --> 00:19:25,900 onto Firefox. 247 00:19:26,680 --> 00:19:26,720 Okay. 248 00:19:49,600 --> 00:19:53,760 So, this particular shellcode starts a listener. 249 00:19:53,980 --> 00:19:56,020 I've directly taken it from Metasploit. 250 00:19:56,640 --> 00:19:59,280 This starts a listener at port 4444. 251 00:20:00,620 --> 00:20:01,760 Let's see if it works out. 252 00:20:02,480 --> 00:20:02,940 Okay. 253 00:20:31,540 --> 00:20:32,760 Let's see if it works out. 254 00:20:32,760 --> 00:20:33,280 Let's just check. 255 00:20:35,800 --> 00:20:36,840 Okay. 256 00:20:50,660 --> 00:20:53,420 So, I've just injected a thread inside this process. 257 00:20:53,420 --> 00:20:54,080 Let's see if. 258 00:21:02,740 --> 00:21:06,280 So, it's probably this thread that is running. 259 00:21:18,980 --> 00:21:20,260 All right. 260 00:21:20,340 --> 00:21:23,580 So, just one thing to understand is that. 261 00:21:23,580 --> 00:21:24,040 So. 262 00:21:24,040 --> 00:21:28,540 Since it's a thread injection, your payload should be at least thread aware, since this 263 00:21:28,540 --> 00:21:36,360 payload is a standard Metasploit payload that just spawns a shell, basically execs the shell. 264 00:21:36,740 --> 00:21:42,360 So, as soon as you try to connect to it, the Firefox will die, obviously, because it execs 265 00:21:42,360 --> 00:21:42,900 to a shell. 266 00:21:45,640 --> 00:21:46,920 So here's the Firefox. 267 00:21:47,060 --> 00:21:48,540 Now let's try and connect to it. 268 00:21:48,920 --> 00:21:49,540 Let's see. 269 00:21:51,740 --> 00:21:53,320 .0.0.1. 270 00:21:58,900 --> 00:21:59,600 Yeah. 271 00:22:02,980 --> 00:22:11,740 So now Firefox is dead and the process has changed to slash min slash sh. 272 00:22:18,700 --> 00:22:19,980 .0.0.1. 273 00:22:20,460 --> 00:22:21,340 .0.0.1. 274 00:22:22,600 --> 00:22:23,300 .0.0.1. 275 00:22:25,880 --> 00:22:27,600 .0.0.1. 276 00:22:27,600 --> 00:22:42,500 .0.0.1. 277 00:22:46,920 --> 00:22:49,720 All right. 278 00:22:49,720 --> 00:22:55,920 So, the conclusion is now you can actually do stealthy create remote thread in Linux. 279 00:22:55,920 --> 00:23:02,940 On top of what Windows provides, Windows does not give you the option of, you know, 280 00:23:02,960 --> 00:23:07,940 just passing in your payload and it'll do the rest. 281 00:23:08,120 --> 00:23:10,880 But in this case, you just need to pass the payload. 282 00:23:11,000 --> 00:23:14,620 So, for Windows, you need to first create memory inside the remote process. 283 00:23:14,940 --> 00:23:22,100 I mean, you need to use two or three, a few lines of code before actually you're trying 284 00:23:22,100 --> 00:23:22,900 to execute something. 285 00:23:25,420 --> 00:23:25,900 .0.0.1. 286 00:23:25,920 --> 00:23:26,100 All right. 287 00:23:26,100 --> 00:23:29,800 So, library injection, if you are looking at some kind of stealthy malware, library 288 00:23:29,800 --> 00:23:36,220 injection will not help you because it may be found out by forensics people and they're 289 00:23:36,220 --> 00:23:40,720 trying to just investigate which process might be the evil process. 290 00:23:43,040 --> 00:23:50,680 So, yes, if you want to—so Ubuntu, I think from 10 onwards, Ubuntu has disabled Ptrace 291 00:23:50,680 --> 00:23:52,540 in their distribution. 292 00:23:54,740 --> 00:23:55,900 Fedora, I think, still has this. 293 00:23:55,900 --> 00:24:02,400 has it open. So if you want to, you know, safeguard yourself from any future threat 294 00:24:02,400 --> 00:24:07,400 of this kind, I think the best way would be to just disable ptrace. Because on a normal 295 00:24:07,400 --> 00:24:13,360 system, if it's not a development box, there is no requirement of having ptrace on. It 296 00:24:13,360 --> 00:24:23,660 makes no sense actually. All right. So details of the project, you can get the project. It's 297 00:24:23,660 --> 00:24:35,960 hosted on github. And so this release contains, is a 32-bit binary that works for 32-bit processes. 298 00:24:36,320 --> 00:24:43,540 So next version onwards, we'll be putting in support for 64-bit processes. And since 299 00:24:43,540 --> 00:24:50,800 we've already, you know, created this, so we might put a lot of other things like VM 300 00:24:50,800 --> 00:24:52,680 detection or anti-forensics into it. 301 00:24:52,760 --> 00:24:53,640 So if you, if you, if you, if you, if you, if you, if you, if you, if you, if you, if 302 00:24:53,640 --> 00:24:53,920 you, if you, if you, if you, if you, if you, if you, if you, if you, if you, if you, if you, 303 00:24:53,920 --> 00:25:00,000 if any of you is interested in helping out or just, you know, letting us know what all 304 00:25:00,000 --> 00:25:05,840 we can add into it other than just the threat injection part. It'd be, it'd be helpful. 305 00:25:07,640 --> 00:25:15,360 All right. So contribution in the end. So if you guys are interested, we're, we're actually 306 00:25:15,360 --> 00:25:22,560 having a small informal null meet here tomorrow, four o'clock outside the wireless village. 307 00:25:22,560 --> 00:25:35,360 So if any of you is interested in starting a null chapter or just want to know what null is or what we do, you can meet us at 4 o'clock. 308 00:25:35,480 --> 00:25:37,100 I think 4 o'clock or 6 o'clock. 309 00:25:38,160 --> 00:25:40,540 I'll be there at 4 o'clock and 6 o'clock. 310 00:25:43,040 --> 00:25:43,680 All right. 311 00:25:47,500 --> 00:25:48,720 Yeah, so that's about it. 312 00:25:48,720 --> 00:25:52,760 Fred, if you have any questions, I think we can take it in the Q&A room.