1 00:00:23,460 --> 00:00:29,980 This video was made possible by the support of our Patrons, and by the support of our Patrons at Patreon, Patreon.com, Patreon.com, and Patreon.com. 2 00:00:30,000 --> 00:00:59,980 Thank you for watching! 3 00:01:10,540 --> 00:01:29,900 Thank you for watching! 4 00:01:40,540 --> 00:01:58,600 Thank you for watching! 5 00:02:03,160 --> 00:02:12,000 Thank you for watching! 6 00:02:30,000 --> 00:02:30,520 Thank you for watching! 7 00:03:29,680 --> 00:03:29,980 Thank you for watching! 8 00:03:30,000 --> 00:03:51,060 You actually configure the server with the client, so you go to server options, server config, and you have to set a modulus and a remainder value, and key 1 and key 2, which act as passwords, and then you have to specify an install directory, and the binary to Trojan. 9 00:04:07,800 --> 00:04:19,740 You actually configure the server with the client, so you go to server config, and then you have to specify an install directory, and the binary to Trojan. 10 00:04:30,860 --> 00:04:48,600 You actually configure the server with the client, so you go to server config, and the binary to Trojan. 11 00:04:49,460 --> 00:04:59,980 You actually configure the server with the client, so you have to specify an install directory, and the binary to Trojan. 12 00:05:01,260 --> 00:05:11,860 called kiss and then if I run that then I go back over to my GUI and I do options 13 00:05:11,860 --> 00:05:17,660 and client configuration here I can choose if I want to spoof the source of 14 00:05:17,660 --> 00:05:23,640 the packets if I want to get results and then you have to set the local IP and 15 00:05:23,640 --> 00:05:28,600 port if you that you have to set the local IP that you're sending the packets 16 00:05:28,600 --> 00:05:34,280 from so if you're behind a NAT Network it's bite specify the external IP of 17 00:05:34,280 --> 00:05:37,220 your NAT box this is 60 18 00:05:41,160 --> 00:05:45,220 and then I can save this as client H 19 00:05:54,260 --> 00:05:58,480 and you see it's bound to the socket so that 20 00:05:58,480 --> 00:06:01,300 that I can receive results because I checked the get options box. 21 00:06:02,540 --> 00:06:08,180 The first option is ping and we specify the target here. 22 00:06:08,420 --> 00:06:14,880 It doesn't matter what port we fire the commands to because that is irrelevant to the protocol 23 00:06:14,880 --> 00:06:15,620 that KISS uses. 24 00:06:16,800 --> 00:06:23,840 I can specify a random port and then I can send a ping and you see I get the ping response. 25 00:06:26,060 --> 00:06:29,600 Shut down server obviously shuts down the server. 26 00:06:29,840 --> 00:06:35,400 Remove server removes it so that it restores the binary that it backdoored. 27 00:06:35,680 --> 00:06:44,720 If you look at the binary that I backdoored, it hasn't been modified. 28 00:06:45,580 --> 00:06:51,500 It's on the same inode because it copies a backup and then redirects syscalls for file 29 00:06:51,500 --> 00:06:53,820 statistics back over to the back. 30 00:06:53,840 --> 00:06:59,840 Original file, so it looks unmodified. 31 00:07:07,640 --> 00:07:13,460 Yes, and whenever you do remove, it replaces and restores the original binary the way it 32 00:07:13,460 --> 00:07:17,940 was whenever you installed it. 33 00:07:19,600 --> 00:07:23,100 I'm going to skip over a few of these features and come back to them. 34 00:07:23,860 --> 00:07:27,980 List p-hides, this lists all the hidden processes on the machine. 35 00:07:28,720 --> 00:07:30,440 I can hide processes. 36 00:07:31,040 --> 00:07:36,800 Here I have two shells logged in or actually a lot. 37 00:07:37,720 --> 00:07:39,540 Can you exit out of those shells? 38 00:07:40,260 --> 00:07:40,340 Okay. 39 00:07:41,440 --> 00:07:42,120 Okay. 40 00:07:52,320 --> 00:08:03,140 So here I have three shells logged in and currently I'm on TTY3, the PTS3, and I see 41 00:08:03,140 --> 00:08:07,200 the PID of the bash I'm running is 1152. 42 00:08:07,200 --> 00:08:21,000 So I go over to my GUI and I enter in 1152, hide process, and it says PID 152 hidden. 43 00:08:22,200 --> 00:08:29,860 So if I list processes in the terminal that's not hidden, I see 1152 is no longer listed 44 00:08:30,640 --> 00:08:31,620 for shells running. 45 00:08:33,540 --> 00:08:37,040 But inside the hidden process, I can still see it. 46 00:08:37,200 --> 00:08:43,540 From here, it automatically hides any files, directories, network connections that I make 47 00:08:43,540 --> 00:08:44,700 inside hidden processes. 48 00:08:45,280 --> 00:08:57,700 So if I telnet out to another host, you don't see the connection in the connection listing. 49 00:08:59,220 --> 00:08:59,920 . 50 00:09:01,080 --> 00:09:01,780 Okay. 51 00:09:02,520 --> 00:09:05,100 So, okay. 52 00:09:07,200 --> 00:09:08,960 L-S-O-F won't pick it up either. 53 00:09:09,480 --> 00:09:14,560 Oh, L-S-O-F is on my machine. 54 00:09:16,120 --> 00:09:20,440 This is all done at the kernel level, so that bypasses L-S-O-F. 55 00:09:20,900 --> 00:09:22,200 Do you handle K-STAT? 56 00:09:23,320 --> 00:09:23,800 Which? 57 00:09:24,080 --> 00:09:25,100 Do you handle K-STAT? 58 00:09:25,340 --> 00:09:26,140 K-STAT? 59 00:09:26,160 --> 00:09:31,680 K-STAT, actually, yes, and I'll get to that in a second. 60 00:09:31,680 --> 00:09:45,840 And so inside hidden processes, I make a directory, and I look in my non-hidden process, and I don't see it. 61 00:09:50,000 --> 00:09:52,180 And I can see it inside the hidden process. 62 00:09:52,540 --> 00:09:55,800 I can change directory to it inside a hidden process. 63 00:09:55,860 --> 00:09:57,520 I cannot change directory to it. 64 00:09:57,560 --> 00:09:58,780 It looks like it does not exist. 65 00:10:00,000 --> 00:10:01,040 You cannot. 66 00:10:01,040 --> 00:10:01,480 You cannot. 67 00:10:01,680 --> 00:10:02,620 You cannot stat these files. 68 00:10:02,920 --> 00:10:06,440 You cannot rename them outside of hidden processes. 69 00:10:08,660 --> 00:10:16,860 And another thing about the binary trojan, it redirects stuff like u-time to update the time on it, 70 00:10:16,900 --> 00:10:21,820 so you can touch the file, and it will actually update the original that it's kept as backup. 71 00:10:24,420 --> 00:10:25,020 So. 72 00:10:25,020 --> 00:10:33,480 What happens if you in a non-hidden, sorry, in a normal shell, create something which is inside the hidden shell? 73 00:10:34,900 --> 00:10:41,560 So you have to make a directory in your hidden shell, and the user wants to make one in the unhidden shell. 74 00:10:43,020 --> 00:10:46,120 It returns a bad permission. 75 00:10:48,040 --> 00:10:54,160 So, I mean, that's an unreversible way of detecting this. 76 00:10:54,300 --> 00:10:54,900 But. 77 00:10:55,020 --> 00:10:56,520 You'd have to know the exact file name. 78 00:10:59,100 --> 00:11:00,840 But you can't really get around that. 79 00:11:04,880 --> 00:11:12,360 That inside a non-hidden shell, if you try and make a directory or a file that's hidden, 80 00:11:14,240 --> 00:11:19,400 if, what's the error message, or does it work for a user in a non-hidden shell? 81 00:11:20,520 --> 00:11:21,040 And. 82 00:11:21,680 --> 00:11:22,240 Hmm? 83 00:11:22,460 --> 00:11:22,920 Nope. 84 00:11:23,080 --> 00:11:23,640 Okay. 85 00:11:27,320 --> 00:11:28,380 Proof is in the butter. 86 00:11:29,940 --> 00:11:30,640 All right. 87 00:11:33,960 --> 00:11:36,140 And you see that it says file exists. 88 00:11:36,640 --> 00:11:38,120 You can return any error. 89 00:11:38,200 --> 00:11:43,140 It's configurable to, you just change the error return value, so you can say eperm. 90 00:11:45,300 --> 00:11:46,580 Any error you want. 91 00:11:46,700 --> 00:11:51,720 You can even have it say that it doesn't have enough pageable memory, which confuses the hell out of people. 92 00:11:52,440 --> 00:11:52,880 Okay. 93 00:11:53,320 --> 00:11:53,760 Okay. 94 00:11:54,560 --> 00:11:55,000 Okay. 95 00:11:56,100 --> 00:11:59,660 I can unhide processes from the GUI. 96 00:11:59,800 --> 00:12:03,020 I can remotely start processes as hidden or unhidden. 97 00:12:03,280 --> 00:12:18,120 So if I do hidden cp etsy shadow to temp bob, it says it started the process as PID 1331. 98 00:12:18,620 --> 00:12:23,820 And I see it copied the file, so. 99 00:12:27,700 --> 00:12:28,520 All right. 100 00:12:28,580 --> 00:12:31,260 So execution redirection. 101 00:12:31,360 --> 00:12:39,980 A common problem that a lot of hackers run into is if you modify binaries on disk, then 102 00:12:39,980 --> 00:12:46,740 if they're running a binary check, somewhere like tripwire, it'll catch that you've modified 103 00:12:46,740 --> 00:12:47,360 the binary. 104 00:12:47,680 --> 00:12:54,540 What this does is whenever you execute a program, it actually executes another program, but 105 00:12:54,540 --> 00:13:01,180 it's transparent to user space, so the program thinks that it's running out of the location 106 00:13:01,180 --> 00:13:02,660 that you specified to run. 107 00:13:02,880 --> 00:13:15,880 So if I do bin chaon to bin ps, I see that I got a process listing when I run chaon. 108 00:13:16,920 --> 00:13:23,060 So I can do this with sshd and have it actually execute a trojaned sshd. 109 00:13:23,690 --> 00:13:24,000 And. 110 00:13:24,000 --> 00:13:24,660 It would. 111 00:13:24,780 --> 00:13:27,380 Any file sum checker would not pick this up. 112 00:13:29,420 --> 00:13:31,420 Do you do that based off of the. 113 00:13:33,120 --> 00:13:34,140 I know a number. 114 00:13:34,300 --> 00:13:35,840 Do you do that based off of the strings? 115 00:13:36,720 --> 00:13:38,540 Based off of the execve strings. 116 00:13:39,240 --> 00:13:39,520 Okay. 117 00:13:39,560 --> 00:13:43,020 So if I had a hard link to chaon, I would run the original from chaon? 118 00:13:43,440 --> 00:13:43,920 No. 119 00:13:44,120 --> 00:13:49,740 It's actually whenever it calls the execve syscall, it sees the string bin chaon, and 120 00:13:49,740 --> 00:13:53,220 it redirects it to bin ps. 121 00:13:53,400 --> 00:13:53,880 But. 122 00:13:53,880 --> 00:13:59,040 But it doesn't modify argv, so the program thinks it's running as bin chaon. 123 00:14:00,060 --> 00:14:00,660 Correct. 124 00:14:00,780 --> 00:14:06,480 So lm chaon space foo, and then run foo, you still get the original. 125 00:14:06,780 --> 00:14:07,360 Yes. 126 00:14:08,000 --> 00:14:11,360 How does the bot have to have the XI program? 127 00:14:12,220 --> 00:14:12,820 No. 128 00:14:12,860 --> 00:14:14,320 I've got a command line client. 129 00:14:16,140 --> 00:14:18,000 It's on my web page. 130 00:14:18,920 --> 00:14:20,960 I'll mention that in a bit. 131 00:14:21,760 --> 00:14:23,080 File system controls. 132 00:14:23,080 --> 00:14:27,000 I can hide files, list the hidden files. 133 00:14:27,320 --> 00:14:29,260 And there's two methods of hiding files. 134 00:14:29,960 --> 00:14:35,140 The one that it ships by default, it actually keeps an internal linked list, so that there's 135 00:14:35,140 --> 00:14:39,480 nothing, it doesn't modify anything to do with the file. 136 00:14:39,700 --> 00:14:44,580 But a method that the Tesso guys and a few other people use was is they changed it to 137 00:14:44,580 --> 00:14:50,720 a UID, and if the file matched that UID, then it would hide it from directory listings. 138 00:14:51,020 --> 00:14:52,080 The problem with this is. 139 00:14:52,080 --> 00:14:57,540 You can just pull through, change owning a file through all possible UIDs, and if it 140 00:14:57,540 --> 00:15:02,600 disappears, you know you've been owned, and that's a problem. 141 00:15:04,100 --> 00:15:05,040 Network control. 142 00:15:05,120 --> 00:15:08,240 You can hide, unhide network connections. 143 00:15:08,360 --> 00:15:12,500 If you specify just a port, it'll hide everything coming in from that port. 144 00:15:12,600 --> 00:15:18,080 If you specify an IP colon zero, it'll hide all connections from that machine. 145 00:15:23,520 --> 00:15:31,320 The plug-in interface, it has the capability to use kernel modules as plug-ins, or user 146 00:15:31,320 --> 00:15:33,560 space binaries as kernel plug-ins. 147 00:15:33,680 --> 00:15:41,360 Inside hidden processes, you can exec VE kernel functions. 148 00:15:41,880 --> 00:15:43,820 So let me demonstrate that. 149 00:15:44,840 --> 00:15:45,560 Okay. 150 00:15:46,500 --> 00:15:47,220 Okay. 151 00:15:54,480 --> 00:15:56,580 Well, here, I'll show you the code for this first. 152 00:15:57,740 --> 00:16:05,140 So all this does is a standard exec VE of any arguments you pass in, and as the file 153 00:16:05,140 --> 00:16:08,480 name parameter, if you pass in a zero, it won't print anything. 154 00:16:08,780 --> 00:16:12,960 If it has return values, if you specify one, it'll print it out to the current TTY. 155 00:16:13,400 --> 00:16:15,940 So I specified one so that I can see what I'm doing. 156 00:16:16,420 --> 00:16:16,860 Okay. 157 00:16:17,220 --> 00:16:26,280 And I can do, say, hide file temp, and it says temp hidden, and yeah, so that's pretty 158 00:16:26,280 --> 00:16:27,020 self-explanatory. 159 00:16:30,460 --> 00:16:31,220 Mm-hmm. 160 00:16:34,540 --> 00:16:36,620 It's for Linux 2.2 and 2.4. 161 00:16:37,900 --> 00:16:44,500 This is very kernel-specific code, because it is a kernel module, but you could easily 162 00:16:44,500 --> 00:16:45,900 port it over to other platforms. 163 00:16:45,900 --> 00:16:49,380 It performs because it's just concepts that you have to port over. 164 00:16:52,480 --> 00:17:00,120 And so I can load plug-ins, and I'll get back to the plug-in interface after I talk 165 00:17:00,120 --> 00:17:00,680 about the communication. 166 00:17:01,600 --> 00:17:04,600 So this all communicates without listening ports. 167 00:17:05,160 --> 00:17:11,500 The traffic can be spoofed both ways, and you can still get results, even if you spoof 168 00:17:11,500 --> 00:17:11,660 it. 169 00:17:12,080 --> 00:17:13,920 I can do a demonstration of that. 170 00:17:14,160 --> 00:17:14,420 Okay. 171 00:17:15,320 --> 00:17:15,880 Okay. 172 00:17:20,760 --> 00:17:21,120 Okay. 173 00:17:23,480 --> 00:17:31,900 So it's a good idea to use the server header file here, so you don't have to go through 174 00:17:31,900 --> 00:17:32,760 the config again. 175 00:17:37,100 --> 00:17:37,460 Hmm. 176 00:17:38,440 --> 00:17:39,000 Oh, yeah. 177 00:17:39,060 --> 00:17:40,180 I guess I can do that. 178 00:17:40,640 --> 00:17:41,840 Just do a v and then do it. 179 00:17:42,460 --> 00:17:42,820 Um. 180 00:17:45,660 --> 00:17:54,420 Okay, so if I go back to my client config, I can select the spoof box and specify an 181 00:17:54,420 --> 00:17:54,600 IP. 182 00:17:54,700 --> 00:17:59,460 If I specify an IP of zero, it spoofs from a random source IP every time. 183 00:18:00,060 --> 00:18:03,880 If I specify a port of zero, it spoofs from a random port every time. 184 00:18:05,380 --> 00:18:10,280 An easy way to get through firewalls, since this is all loosely based on the UDP protocol, 185 00:18:10,280 --> 00:18:18,000 it's routed as UDP, you can spoof source port 53 in the IP of their name server and 186 00:18:18,000 --> 00:18:19,840 hop through a lot of firewalls. 187 00:18:20,700 --> 00:18:22,600 So I'll just do random. 188 00:18:28,080 --> 00:18:30,040 Yes, educational purposes. 189 00:18:37,100 --> 00:18:40,260 As in like different levels of availability? 190 00:18:40,260 --> 00:18:41,160 Of access to this? 191 00:18:47,360 --> 00:18:51,580 In times of port, oh no, I can specify any port. 192 00:18:51,780 --> 00:19:00,080 So I can specify nine, I don't get, all right, I could, yeah, so, all right, that's a good 193 00:19:00,080 --> 00:19:01,040 port number, I think. 194 00:19:02,880 --> 00:19:03,660 All right. 195 00:19:08,900 --> 00:19:14,580 Okay, so I think this feature is broken under OpenBSD, I've only tested the client's spoofing 196 00:19:14,580 --> 00:19:18,620 capabilities under Linux, but yeah. 197 00:19:19,900 --> 00:19:26,700 So the way the communication works is I came to the problem that a lot of other remote 198 00:19:26,700 --> 00:19:31,620 control agents, it's easy to tell if they're hooking the IP stack because it increases 199 00:19:31,620 --> 00:19:33,280 the latency of the IP stack. 200 00:19:33,360 --> 00:19:33,640 Okay. 201 00:19:33,660 --> 00:19:36,200 And you can detect it with anti-sniffers. 202 00:19:36,680 --> 00:19:43,060 So what I did was is whenever you set up the client or the server configuration, you specified 203 00:19:43,060 --> 00:19:45,900 a modulus value, a remainder value, and the two keys. 204 00:19:46,160 --> 00:19:51,200 What it does is when a packet comes in off the IP stack, it takes a modulus of the length 205 00:19:51,200 --> 00:19:54,620 of the packet, and if the remainder matches, it's a possible command packet. 206 00:19:54,900 --> 00:20:00,740 From there, it passes it on to SHA, where it takes the source IP, the destination IP, 207 00:20:00,820 --> 00:20:03,280 the destination port, and shared secret one. 208 00:20:03,280 --> 00:20:08,780 Which is key one, sends that through SHA, and XORs the packet with it, and if the first 209 00:20:08,780 --> 00:20:12,380 part of the packet matches shared secret two, then it's a valid command packet. 210 00:20:12,640 --> 00:20:17,660 This means if you change the port you're firing it to, it completely changes the encryption 211 00:20:17,660 --> 00:20:18,100 key. 212 00:20:18,820 --> 00:20:22,340 If you change the source IP, it changes the encryption key. 213 00:20:23,940 --> 00:20:25,920 Yeah, so it can be signatured. 214 00:20:27,140 --> 00:20:28,640 The traffic can't, that is. 215 00:20:28,920 --> 00:20:31,320 So it doesn't automatically use spoof? 216 00:20:32,080 --> 00:20:32,600 Yeah. 217 00:20:32,600 --> 00:20:38,180 When it generates the IP when it's doing the encryption of the packets, it uses the IP 218 00:20:38,180 --> 00:20:39,760 that it randomly generated as. 219 00:20:45,500 --> 00:20:46,620 Excuse me. 220 00:20:50,060 --> 00:20:55,580 No, if you change the port that you're sending the command to, it'll… 221 00:21:00,900 --> 00:21:02,380 Oh, yes, yes. 222 00:21:02,600 --> 00:21:05,820 It would be the same encryption system. 223 00:21:08,160 --> 00:21:09,620 So, what else? 224 00:21:10,440 --> 00:21:13,360 Okay, as far as the plug-in capabilities go, 225 00:21:13,540 --> 00:21:17,720 you can just take and compile plug-ins. 226 00:21:18,740 --> 00:21:22,380 There's a plug-in interface for the kernel that I wrote. 227 00:21:22,420 --> 00:21:24,380 It uses the standard module loading capabilities. 228 00:21:24,880 --> 00:21:26,920 You just have to define a few functions, 229 00:21:27,600 --> 00:21:30,980 and all this does is send you back 230 00:21:30,980 --> 00:21:32,460 what you specified as an argument. 231 00:21:34,200 --> 00:21:36,200 So, I compile this. 232 00:21:40,120 --> 00:21:40,900 Oh, yeah. 233 00:21:56,060 --> 00:21:57,360 Okay, that's... 234 00:21:58,420 --> 00:22:00,740 Red Hat 7.0 decided to, 235 00:22:00,980 --> 00:22:03,280 switch with beta builds of GCC, 236 00:22:03,580 --> 00:22:06,600 and so you get tons of assembler warnings 237 00:22:07,280 --> 00:22:09,620 because that was a poor move on their part. 238 00:22:12,680 --> 00:22:14,860 So, what I can do to load plug-ins is 239 00:22:14,860 --> 00:22:16,520 I can either load them through the client, 240 00:22:16,640 --> 00:22:18,600 or if I want them to load at startup, 241 00:22:18,760 --> 00:22:21,320 I can just cat them to the back of the KISS server, 242 00:22:23,140 --> 00:22:25,460 and they'll load... 243 00:22:25,460 --> 00:22:28,140 It recursively loads anything you clip 244 00:22:28,140 --> 00:22:29,300 onto the back of it. 245 00:22:31,780 --> 00:22:34,240 And, yeah. 246 00:22:36,580 --> 00:22:37,140 So... 247 00:22:37,140 --> 00:22:37,980 Should we scream yes? 248 00:22:38,720 --> 00:22:39,280 Yeah! 249 00:22:39,700 --> 00:22:39,940 Yeah! 250 00:22:42,560 --> 00:22:45,620 Okay, so, well, there's some other options. 251 00:22:45,720 --> 00:22:47,540 Hey, hey, hey, hey, hey. 252 00:22:47,900 --> 00:22:50,840 There's some other options I've got in here as well. 253 00:22:51,360 --> 00:22:54,480 There's, you can define, by default, 254 00:22:54,500 --> 00:22:56,340 it ships this way, anti-security, 255 00:22:56,340 --> 00:22:58,200 which means anti-security modules. 256 00:22:58,500 --> 00:22:59,820 It can actively disable... 257 00:23:00,980 --> 00:23:03,400 Every kernel-based IDS I've found. 258 00:23:06,000 --> 00:23:07,780 Without it knowing about it. 259 00:23:09,060 --> 00:23:11,980 And if you want to add new modules to the list, 260 00:23:12,040 --> 00:23:12,700 it's really easy. 261 00:23:12,780 --> 00:23:14,640 You just edit the KISS header file, 262 00:23:14,740 --> 00:23:15,740 or KISS C file. 263 00:23:16,280 --> 00:23:17,060 Let me look. 264 00:23:18,180 --> 00:23:20,000 So, you just add a string compare. 265 00:23:20,080 --> 00:23:22,020 You can choose to either let it load 266 00:23:22,020 --> 00:23:23,260 and then disable it, 267 00:23:23,300 --> 00:23:25,740 or just never let it load and not tell the user. 268 00:23:28,160 --> 00:23:30,860 Right now, it actively disables Carbonite, 269 00:23:30,980 --> 00:23:32,920 the Linux Mac implementation, 270 00:23:33,820 --> 00:23:35,460 St. Michael and St. Jude. 271 00:23:39,600 --> 00:23:42,220 What if the modules are not in the mod list? 272 00:23:42,980 --> 00:23:44,060 In the mod list? 273 00:23:44,760 --> 00:23:46,580 The newer versions of St. Michael, 274 00:23:46,620 --> 00:23:48,840 it has to be, would remove itself from the modules. 275 00:23:49,140 --> 00:23:51,640 Yeah, it'll find it in memory and remove it. 276 00:23:52,180 --> 00:23:54,820 The same way it finds itself in memory and removes it. 277 00:23:54,900 --> 00:23:56,860 Oh, yeah, by the way, I didn't show this, 278 00:23:56,940 --> 00:23:58,740 but if you do an LS mod, 279 00:23:58,980 --> 00:23:59,940 it doesn't show any... 280 00:23:59,940 --> 00:24:00,880 It doesn't show that... 281 00:24:00,880 --> 00:24:01,660 The KISS is loaded. 282 00:24:02,860 --> 00:24:05,420 And this is all done in the module itself, 283 00:24:05,560 --> 00:24:07,260 as opposed to the way St. Michael does it, 284 00:24:07,300 --> 00:24:08,720 by loading a secondary module, 285 00:24:08,960 --> 00:24:10,260 which removes it from the list, 286 00:24:10,340 --> 00:24:12,280 and that's very easily flagged. 287 00:24:12,340 --> 00:24:16,100 And once it's doing the initialization process 288 00:24:16,100 --> 00:24:17,380 is when I remove it. 289 00:24:17,680 --> 00:24:19,000 And if it's already loaded, 290 00:24:19,060 --> 00:24:22,020 it'll just find it in kernel space and unload it. 291 00:24:24,400 --> 00:24:27,020 And other options that it has, 292 00:24:27,800 --> 00:24:30,100 you can define elite GID, 293 00:24:30,320 --> 00:24:30,860 and you can define elite GID, 294 00:24:30,860 --> 00:24:34,180 and use GID-based hiding. 295 00:24:35,340 --> 00:24:37,220 This is the method I talked about before, 296 00:24:37,380 --> 00:24:38,860 where you can easily find it 297 00:24:38,860 --> 00:24:42,120 if you just chaon a file over and over and over 298 00:24:42,120 --> 00:24:43,680 until finally the file disappears. 299 00:24:45,720 --> 00:24:47,340 What's another option I added? 300 00:24:47,920 --> 00:24:48,820 Oh, no, that's it. 301 00:24:49,000 --> 00:24:49,960 That's all I should put. 302 00:24:52,240 --> 00:24:53,540 There's other things in development. 303 00:24:53,840 --> 00:24:56,660 Yeah, there's other plugins in development. 304 00:24:57,320 --> 00:24:59,680 And the plugin interface is very easy to learn, 305 00:24:59,760 --> 00:25:00,840 and you don't have to deal with interfaces. 306 00:25:00,840 --> 00:25:01,900 Interrupts from user space. 307 00:25:02,180 --> 00:25:02,620 You had a question? 308 00:25:02,720 --> 00:25:02,840 Yeah. 309 00:25:03,340 --> 00:25:05,800 Somebody has decided to use my server 310 00:25:05,800 --> 00:25:06,880 for educational purposes. 311 00:25:07,300 --> 00:25:10,940 Is there a way to find this is on there? 312 00:25:11,960 --> 00:25:12,560 Currently, 313 00:25:15,300 --> 00:25:18,760 you could detect this version with Kstat. 314 00:25:19,120 --> 00:25:22,320 I've got other code which will beat Kstat. 315 00:25:23,420 --> 00:25:25,020 It's a plugin to this. 316 00:25:26,240 --> 00:25:28,800 That may or may not be made public. 317 00:25:30,840 --> 00:25:32,100 Depending on the reaction 318 00:25:32,100 --> 00:25:33,740 of the security community to this. 319 00:25:36,900 --> 00:25:37,440 Okay. 320 00:25:46,500 --> 00:25:48,260 Actually, here's the funny thing. 321 00:25:49,940 --> 00:25:51,700 Here's the funny thing. 322 00:25:51,800 --> 00:25:53,020 About a year and a half ago, 323 00:25:53,080 --> 00:25:55,420 I wrote a completely in-the-kernel 324 00:25:55,420 --> 00:25:56,960 signed module loader 325 00:25:56,960 --> 00:25:58,920 so that you kept a signing tool 326 00:25:58,920 --> 00:26:00,820 and a key on another machine or file. 327 00:26:00,820 --> 00:26:02,440 And you just signed all the modules 328 00:26:02,440 --> 00:26:03,760 you wanted to load into kernel space. 329 00:26:04,100 --> 00:26:06,580 So that it would only load verified code 330 00:26:06,580 --> 00:26:07,400 into kernel space. 331 00:26:07,760 --> 00:26:10,740 And I had 50 downloads in six months. 332 00:26:10,880 --> 00:26:12,200 So I just took it off my website 333 00:26:12,200 --> 00:26:14,080 because apparently people weren't concerned with this, 334 00:26:14,140 --> 00:26:15,220 even though it's a big problem. 335 00:26:19,100 --> 00:26:20,640 In other words, 336 00:26:20,660 --> 00:26:21,580 it's a little too late. 337 00:26:21,720 --> 00:26:22,000 Yeah. 338 00:26:22,940 --> 00:26:24,580 Let's say my blogger's compromised 339 00:26:24,580 --> 00:26:27,460 and they started using it as a file dumping place. 340 00:26:27,920 --> 00:26:30,080 If someone stole a file from me, 341 00:26:30,180 --> 00:26:30,800 and we can take it back, 342 00:26:30,820 --> 00:26:32,580 like, did it just freak 343 00:26:32,580 --> 00:26:34,280 when I didn't see the file size 344 00:26:34,280 --> 00:26:36,160 and free space change? 345 00:26:36,980 --> 00:26:38,240 Yes, actually you would 346 00:26:38,240 --> 00:26:39,360 because you can't hide that 347 00:26:39,360 --> 00:26:41,740 on Extended To or Riser. 348 00:26:43,200 --> 00:26:45,260 I don't know about other file systems. 349 00:26:47,820 --> 00:26:49,160 But if you mounted something 350 00:26:49,160 --> 00:26:50,160 using DataFast 351 00:26:50,160 --> 00:26:51,200 and used your remote driver? 352 00:26:51,400 --> 00:26:51,660 Yeah. 353 00:26:51,700 --> 00:26:54,140 Well, here's a way to detect it, 354 00:26:54,200 --> 00:26:56,420 but it involves downing the machine. 355 00:26:56,760 --> 00:26:58,120 If you do a find 356 00:26:58,120 --> 00:27:00,320 and just map out your whole hard drive, 357 00:27:00,820 --> 00:27:01,920 like, from root, 358 00:27:02,060 --> 00:27:03,760 and then you shut the machine down, 359 00:27:03,880 --> 00:27:05,060 boot off of another disk, 360 00:27:05,300 --> 00:27:06,540 and then mount that drive, 361 00:27:08,080 --> 00:27:09,500 not as root, however, 362 00:27:09,700 --> 00:27:10,640 and then map it out. 363 00:27:10,680 --> 00:27:11,960 If you see any hidden files 364 00:27:12,980 --> 00:27:14,400 that weren't there before, 365 00:27:14,660 --> 00:27:16,600 then that's probably where it's located, 366 00:27:16,820 --> 00:27:18,700 and there's a nice backup of it kept there 367 00:27:18,700 --> 00:27:19,900 of your original file 368 00:27:19,900 --> 00:27:20,940 so you can restore it. 369 00:27:25,220 --> 00:27:26,120 Anything else? 370 00:27:27,440 --> 00:27:29,660 Do you do anything to hide from misuse mode? 371 00:27:30,820 --> 00:27:31,960 I've got a module 372 00:27:31,960 --> 00:27:33,220 which is on my web page, 373 00:27:33,400 --> 00:27:34,780 a plug-in for this, 374 00:27:34,840 --> 00:27:35,400 that does that. 375 00:27:35,880 --> 00:27:38,660 If you're inside a hidden process 376 00:27:38,660 --> 00:27:40,140 and you throw the device 377 00:27:40,140 --> 00:27:41,060 into promiscuous mode, 378 00:27:41,180 --> 00:27:43,000 it won't show that it's hidden 379 00:27:43,000 --> 00:27:44,560 or that it's in promiscuous mode, 380 00:27:44,680 --> 00:27:45,820 but if you do it as an admin, 381 00:27:45,860 --> 00:27:46,300 it will. 382 00:27:49,700 --> 00:27:51,100 Go along with that 383 00:27:51,100 --> 00:27:52,660 on both sides of the misuse mode? 384 00:27:52,980 --> 00:27:53,880 Are both sides? 385 00:27:55,000 --> 00:27:58,120 No, the client actually listens on a port. 386 00:27:58,240 --> 00:27:59,620 It's standard UDP traffic. 387 00:28:01,800 --> 00:28:02,820 No one wins. 388 00:28:02,900 --> 00:28:03,760 No one wins back. 389 00:28:04,000 --> 00:28:07,060 Do you run it as a defensive purpose 390 00:28:07,060 --> 00:28:08,060 on your own network? 391 00:28:08,340 --> 00:28:09,120 They're on service, 392 00:28:09,380 --> 00:28:11,020 and it's over-exited today 393 00:28:11,020 --> 00:28:12,720 trying to run it for malicious purposes. 394 00:28:12,920 --> 00:28:14,600 Can that just be broken in 395 00:28:14,600 --> 00:28:15,800 and the attacks that you're actually running 396 00:28:15,800 --> 00:28:16,400 on your server? 397 00:28:17,800 --> 00:28:20,300 KISS also has anti-KISS capabilities 398 00:28:23,040 --> 00:28:25,340 so that you can use it as a... 399 00:28:25,340 --> 00:28:26,780 You can use it as... 400 00:28:26,780 --> 00:28:28,060 It's very easy 401 00:28:28,060 --> 00:28:29,620 if you just drop in plug-ins 402 00:28:29,620 --> 00:28:30,600 to make it a security, 403 00:28:30,700 --> 00:28:30,800 but if you don't, 404 00:28:30,820 --> 00:28:32,900 you can make it into whatever you want, 405 00:28:33,020 --> 00:28:33,560 and it would be great 406 00:28:33,560 --> 00:28:34,480 for the HoneyNet project 407 00:28:34,480 --> 00:28:36,040 for remotely managing machines. 408 00:28:39,740 --> 00:28:41,580 No, they'd have to know the modulus, 409 00:28:41,740 --> 00:28:42,400 the remainder value, 410 00:28:42,500 --> 00:28:43,580 and both shared secrets. 411 00:28:52,080 --> 00:28:53,800 It's standard GTK. 412 00:28:54,660 --> 00:28:56,080 This is open BSD, 413 00:28:57,000 --> 00:29:00,040 but I don't know 414 00:29:00,040 --> 00:29:00,800 why the raw socket is open. 415 00:29:00,800 --> 00:29:02,260 The sockets don't work on this right now. 416 00:29:02,600 --> 00:29:03,920 I'm root, and... 417 00:29:05,280 --> 00:29:06,280 Wait, wait, wait, wait. 418 00:29:06,320 --> 00:29:06,580 I'm back. 419 00:29:06,760 --> 00:29:07,900 I just wanted to say, 420 00:29:07,920 --> 00:29:10,740 I use Linux, 421 00:29:10,960 --> 00:29:12,000 and I think what you're saying, 422 00:29:12,240 --> 00:29:14,220 I don't really understand a lot of it, 423 00:29:14,320 --> 00:29:15,080 but I think what you're saying 424 00:29:15,080 --> 00:29:16,720 is that what you're doing for Linux 425 00:29:16,720 --> 00:29:17,580 is making it bad, 426 00:29:17,880 --> 00:29:20,120 and I use Linux 2.4, 427 00:29:20,220 --> 00:29:20,880 and it's really good. 428 00:29:24,120 --> 00:29:26,100 I just think this is really bad. 429 00:29:28,340 --> 00:29:29,460 I like Linux. 430 00:29:29,780 --> 00:29:30,140 Yellow. 431 00:29:30,800 --> 00:29:30,940 Woo! 432 00:29:31,340 --> 00:29:31,700 Yeah. 433 00:29:33,120 --> 00:29:35,500 You do this, 434 00:29:35,720 --> 00:29:37,020 and it's so funny, 435 00:29:37,180 --> 00:29:38,920 and you're laughing at it, 436 00:29:38,920 --> 00:29:39,360 but you know what? 437 00:29:39,400 --> 00:29:40,560 You is not laughing. 438 00:29:40,680 --> 00:29:42,280 Richard Schultz is not laughing. 439 00:29:43,720 --> 00:29:45,040 It's really bad. 440 00:29:45,500 --> 00:29:48,760 It's really bad. 441 00:29:51,460 --> 00:29:53,920 Richard Schultz is not laughing. 442 00:29:55,540 --> 00:29:56,180 It's really bad. 443 00:29:56,180 --> 00:29:56,480 It's really bad. 444 00:29:56,480 --> 00:29:57,260 It's really bad. 445 00:29:59,680 --> 00:30:00,320 It's really bad. 446 00:30:00,320 --> 00:30:00,340 It's really bad. 447 00:30:00,340 --> 00:30:00,400 It's really bad. 448 00:30:01,520 --> 00:30:06,440 I like women! I like women! I like women! 449 00:30:08,840 --> 00:30:10,520 Give me back my girl! 450 00:30:10,520 --> 00:30:14,160 Give me back my girl! 451 00:30:32,940 --> 00:30:37,860 My website is uberhexor.net 452 00:30:43,680 --> 00:30:47,780 U-B-E-H-A-X-0-R.net 453 00:30:47,780 --> 00:30:51,900 U-B-E-H-A-X-0-R.net 454 00:30:51,900 --> 00:30:53,980 and then the download site is forward slash kiss 455 00:30:53,980 --> 00:30:55,800 but there's a link to it off the main page. 456 00:30:56,340 --> 00:30:57,460 Should we taunt for awareness? 457 00:30:57,620 --> 00:30:58,260 I think we should taunt them. 458 00:30:58,720 --> 00:30:59,020 Okay. 459 00:31:02,880 --> 00:31:04,440 Dude, quality HTML. 460 00:31:04,460 --> 00:31:06,880 I added my first picture to the web. 461 00:31:12,340 --> 00:31:13,380 Alright, alright. 462 00:31:13,860 --> 00:31:14,540 Alright, alright. 463 00:31:14,540 --> 00:31:15,440 Make sure you shake stuff. 464 00:31:15,800 --> 00:31:16,340 Uh! 465 00:31:18,800 --> 00:31:20,980 Make sure you check stuff. 466 00:31:30,100 --> 00:31:31,760 Show me your hands. 467 00:31:31,900 --> 00:31:35,040 Show me something necessary. 468 00:31:35,300 --> 00:31:35,700 Forward! 469 00:31:36,040 --> 00:31:36,720 You can do that. 470 00:32:06,140 --> 00:32:09,480 Yeah, boot them. 471 00:32:09,480 --> 00:32:11,160 They won't boot, but... 472 00:32:15,880 --> 00:32:17,760 All right, so that's it.