1 00:00:08,960 --> 00:00:13,740 Hello, my handle is Ender. I'm one of the original founders of the Ghetto Hackers. 2 00:00:16,780 --> 00:00:27,900 I'm going to be talking today about Autonomous Nodes, which are basically little computer programs that you can say they have their own little artificial intelligence inside. 3 00:00:27,900 --> 00:00:40,960 The idea is not that they're artificially intelligent, it's just that they live by rules and die by those rules, and they don't talk to anybody else, they kind of do their own thing. 4 00:00:41,300 --> 00:00:45,720 I wanted to give some thanks up front. There's a lot of people who've helped me with this. 5 00:00:47,660 --> 00:00:56,240 Caesar, Bats, all 40 ounces of the Ghetto Hackers, DT, Dementia, Absolute Nick, who fixed my laptop. 6 00:00:58,560 --> 00:01:08,680 Fast Eddie, Sim, The Icky Guy, Michelle, Mike, and Ben Wynwood, where I would sit for hours and hours all night drinking coffee. 7 00:01:08,880 --> 00:01:11,020 I have nice little Denny's there. They're pretty cool. 8 00:01:15,140 --> 00:01:18,680 What are Autonomous Nodes and Intelligent Agents? 9 00:01:19,220 --> 00:01:27,780 There is a distinction between the two. You'll hear a lot about Intelligent Agents in networking. 10 00:01:27,900 --> 00:01:39,420 It's a network software that goes out and retrieves information for you, such as a news agent that you tell it what type of news you actually want to read, 11 00:01:39,580 --> 00:01:44,000 and it goes and gets it from all the different type of places that it knows about. 12 00:01:45,540 --> 00:01:51,900 The differentiation between an Autonomous Node and one of those agents is that the agent goes in and gets information, 13 00:01:52,060 --> 00:01:56,940 and it relies on your input to determine what it does and where it looks. 14 00:01:58,040 --> 00:02:04,660 An Autonomous Node, once you begin running it, it does what it wants, and it does what it was programmed to do, 15 00:02:04,800 --> 00:02:08,240 and it doesn't care what anybody tells it to do from that point. 16 00:02:11,900 --> 00:02:20,600 It was my intention when I originally asked DT if I could speak here, that I'd have a full demonstration of one of these nodes working, 17 00:02:20,800 --> 00:02:26,940 and we were going to actually use a buffer overflow in Windows NT and do a quick demonstration. 18 00:02:28,680 --> 00:02:35,820 The way the development went, I ended up redesigning many portions with Cesar's help, 19 00:02:35,940 --> 00:02:44,340 and doing a full demonstration didn't seem right, because, well, I'm making fun of me because I'm running Windows already. 20 00:02:44,820 --> 00:02:49,060 The demonstration would have been on a Windows box and such, 21 00:02:49,120 --> 00:02:56,380 and the idea is I want the Autonomous Node project itself to be able to be run on many, many platforms, 22 00:02:56,620 --> 00:02:57,880 operating systems. 23 00:03:03,420 --> 00:03:11,480 Autonomous Nodes are currently being used, like I said earlier, in many network applications and other informational applications. 24 00:03:12,220 --> 00:03:22,040 Currently, Sandia, which is a government jobhouse, is using Autonomous Nodes, they're creating their own, 25 00:03:22,180 --> 00:03:26,460 to actually have a defense network which will be used to, 26 00:03:27,140 --> 00:03:30,800 basically, protect government networks from hackers. 27 00:03:31,140 --> 00:03:39,080 And these, the standard hacker or hackers, they're going to be attempting to penetrate any of these type of servers, 28 00:03:39,340 --> 00:03:46,020 will be not up against a server administrator of any kind, or even just Bob Joe, 29 00:03:48,300 --> 00:03:54,040 what do you call it, software that is watchdogging the servers. 30 00:03:54,280 --> 00:03:55,640 You're going to be looking at, 31 00:03:58,500 --> 00:04:04,440 attacking multiple, multiple modes of machines that are running solely to watch for you, 32 00:04:04,520 --> 00:04:11,540 and communicate between themselves, and then hack you back, or report that they're being hacked. 33 00:04:11,740 --> 00:04:19,040 But, currently, Sandia did release a press release, and you can see it on their page at www.sandia.gov, 34 00:04:19,200 --> 00:04:24,420 where they said that multiple red teams of hackers from some three-letter acronym places 35 00:04:24,420 --> 00:04:28,840 were unable to penetrate their networks using these nodes. 36 00:04:29,260 --> 00:04:39,980 They also stated that they would like to convince ISPs in the future to actually run these nodes, 37 00:04:40,200 --> 00:04:48,380 so that all of the information packets of any email, any connections, 38 00:04:48,560 --> 00:04:54,400 anything that is not encrypted in the United States, it is possible that many more three-letter acronyms, 39 00:04:54,400 --> 00:05:00,580 people can be reading all of that and capturing all of this using these nodes. 40 00:05:00,820 --> 00:05:11,380 And they would also render hackers' attacks on almost any ISP, including the DEF CON webpage, useless. 41 00:05:17,720 --> 00:05:23,680 Autonomous nodes can be powerful because they do not exactly, 42 00:05:23,680 --> 00:05:26,420 rely on anyone to ever talk to them. 43 00:05:26,700 --> 00:05:30,300 Once you define the rules and what you want to happen, 44 00:05:30,560 --> 00:05:33,140 autonomous nodes perform a single task. 45 00:05:34,800 --> 00:05:37,460 So if you're ever performing a single task in networking, 46 00:05:37,740 --> 00:05:42,360 something you're going to do often, much like running Nmap on a machine, 47 00:05:42,540 --> 00:05:50,820 running certain programs where many hackers will go and they'll script out the commonly used things, 48 00:05:50,820 --> 00:05:53,800 I propose that in the future, 49 00:05:53,960 --> 00:06:02,360 what we'll see is we'll actually see many of these nodes that have a backend or a frontend 50 00:06:02,360 --> 00:06:08,680 where hackers can simply take a module that performs one of these actions or events 51 00:06:08,680 --> 00:06:14,400 and plugs it in and then runs the autonomous node. 52 00:06:14,520 --> 00:06:18,840 And the autonomous node knows the rules by which the hacker set forth, 53 00:06:19,080 --> 00:06:20,800 and so you can always run it. 54 00:06:20,800 --> 00:06:21,740 And if hackers do, say for instance, 55 00:06:21,820 --> 00:06:24,520 once someone writes DNS Poisoner, 56 00:06:24,560 --> 00:06:31,320 then they simply plug it into the autonomous node structure 57 00:06:31,320 --> 00:06:37,360 and then forever and ever they'll always have the ability to run this certain program. 58 00:06:37,740 --> 00:06:44,640 And the design itself should present the ability for an ever-expanding 59 00:06:44,640 --> 00:06:50,720 and ever-growing use of these tools. 60 00:06:50,720 --> 00:06:54,640 There are tools that are developed with these modules 61 00:06:55,180 --> 00:07:01,300 so that some guy goes and he writes, for instance, a DNS Poisoner. 62 00:07:01,340 --> 00:07:05,100 And then Bob Joe over here, he needs a DNS Poisoner as well. 63 00:07:05,400 --> 00:07:08,740 And he's going to write it differently and he's going to use a different format 64 00:07:08,740 --> 00:07:10,260 and it's going to run on Linux. 65 00:07:10,580 --> 00:07:14,720 And then this guy over here, he works on a different operating system. 66 00:07:15,040 --> 00:07:19,120 And there's no common goals and there's no common tools that are being used, 67 00:07:19,120 --> 00:07:24,260 there's no common structure for the tools that are being developed today 68 00:07:24,260 --> 00:07:27,820 for network security as a whole. 69 00:07:28,080 --> 00:07:34,560 The autonomous nodes would allow that a set of rules to be defined 70 00:07:34,560 --> 00:07:43,280 so that specific events that happen, whether it's from a packet sniffer or an IRC channel, 71 00:07:43,460 --> 00:07:47,080 that there's a layer of information that will feed into 72 00:07:47,080 --> 00:07:53,740 the rules which are defined by the programmer, or script language possibly, 73 00:07:54,020 --> 00:08:00,600 so that things can happen based on the data that is received and seen by the node itself. 74 00:08:02,260 --> 00:08:05,040 And then I have the army of one. 75 00:08:06,000 --> 00:08:11,120 Currently, the Ghetto Hackers have quite a few members and, well, 76 00:08:11,280 --> 00:08:16,200 if you have been out by the CTF table, you can see we were kind of going at it pretty hardcore. 77 00:08:16,200 --> 00:08:23,960 In the future, there's not going to be an army of people, necessarily. 78 00:08:24,260 --> 00:08:26,000 There's going to be an army of nodes. 79 00:08:26,220 --> 00:08:27,560 There's going to be an army of programs. 80 00:08:28,900 --> 00:08:30,960 Sandia, with their publication, said, 81 00:08:31,060 --> 00:08:34,560 hey, yeah, we're going to have 50 computers here all doing different things, 82 00:08:34,580 --> 00:08:35,460 talking to each other. 83 00:08:35,640 --> 00:08:36,620 That's the defense. 84 00:08:36,940 --> 00:08:42,160 And no group of people can think fast enough and can act fast enough 85 00:08:42,160 --> 00:08:45,040 based on the information 86 00:08:45,040 --> 00:08:47,940 that will be seen when you are hacking 87 00:08:47,940 --> 00:08:52,380 to make the right choices fast enough to penetrate. 88 00:08:53,500 --> 00:08:58,480 An army of one will be the hacker or the 89 00:09:01,780 --> 00:09:04,520 freaker or someone of that nature 90 00:09:04,820 --> 00:09:09,740 who actually has computers that are doing all the small tasks that he wants. 91 00:09:10,760 --> 00:09:14,100 The structure that can be used to do that 92 00:09:14,100 --> 00:09:16,240 must allow 93 00:09:22,680 --> 00:09:26,840 it must allow that the actions for the programs 94 00:09:26,840 --> 00:09:29,060 that they want to make 95 00:09:29,060 --> 00:09:32,440 be structured significantly the same 96 00:09:32,440 --> 00:09:37,400 so that an autonomous node that's packet sniffing behind a firewall 97 00:09:37,400 --> 00:09:40,680 and then sending that data, sneaking it outside the firewall, 98 00:09:40,940 --> 00:09:43,700 he sends it over to, say, an IRC server 99 00:09:44,880 --> 00:09:46,800 and there's a node on the IRC server 100 00:09:46,800 --> 00:09:50,520 that the same hacker who put the node behind the firewall put there. 101 00:09:50,700 --> 00:09:53,720 And it, the information layer that it's using, 102 00:09:53,900 --> 00:09:55,980 is just reading right from the IRC channel. 103 00:09:56,220 --> 00:09:58,800 And so in that case, he takes the data 104 00:09:58,800 --> 00:10:02,480 and neither of the nodes know that the other one exists, 105 00:10:02,760 --> 00:10:03,740 nor do they care, 106 00:10:03,900 --> 00:10:07,060 because they run on the rules internally. 107 00:10:07,640 --> 00:10:09,320 They don't care about anybody else. 108 00:10:09,640 --> 00:10:12,140 So he sees some data on the IRC channel 109 00:10:12,140 --> 00:10:14,720 and he sends it to, you know, 110 00:10:14,720 --> 00:10:17,040 via, he makes little mail packets 111 00:10:17,040 --> 00:10:19,780 and sends it via mail to South Africa or something. 112 00:10:21,180 --> 00:10:25,220 This is an example application of what multiple nodes can do 113 00:10:25,220 --> 00:10:28,700 and exactly how people will hack in the future. 114 00:10:31,860 --> 00:10:35,180 I want to talk a moment about some of the components 115 00:10:35,180 --> 00:10:39,740 that create a node. 116 00:10:41,660 --> 00:10:44,820 A hacker node would be nothing without an exploit database. 117 00:10:45,220 --> 00:10:54,020 This database is not some big SQL server-specific thing. 118 00:10:54,140 --> 00:10:56,300 It's a basic NCC implementation. 119 00:10:57,080 --> 00:10:59,440 You've got fields, you've got rows, you've got columns. 120 00:10:59,660 --> 00:11:00,560 It's very simple. 121 00:11:01,340 --> 00:11:03,320 There are customizable templates, 122 00:11:03,600 --> 00:11:05,740 so you could have anything from a database 123 00:11:05,740 --> 00:11:07,800 that records an IP 124 00:11:07,800 --> 00:11:12,160 and operating system information 125 00:11:13,340 --> 00:11:16,520 to usernames that were sniffed off of the network. 126 00:11:19,640 --> 00:11:22,340 Each of these modules will be, 127 00:11:24,480 --> 00:11:27,220 in some cases, loadable upon runtime. 128 00:11:27,500 --> 00:11:30,140 In some cases, they will have to be compiled in, 129 00:11:30,620 --> 00:11:33,220 and it really is going to depend on the operating system 130 00:11:33,220 --> 00:11:36,200 and the platform that are used 131 00:11:36,200 --> 00:11:38,680 for that specific node. 132 00:11:40,950 --> 00:11:45,080 The attack tree logic is something that Bruce Schneier, 133 00:11:45,220 --> 00:11:46,980 many of you know who Bruce is, 134 00:11:47,140 --> 00:11:49,100 actually documented. 135 00:11:50,920 --> 00:11:54,600 I believe he finally was putting the smack down 136 00:11:55,030 --> 00:11:58,040 on the ideas that people had talked about 137 00:11:58,040 --> 00:12:00,820 as far as making a logical tree 138 00:12:00,820 --> 00:12:03,780 and then sorting the nodes of that tree 139 00:12:03,780 --> 00:12:06,180 to determine the best plausible way 140 00:12:06,200 --> 00:12:08,100 under certain circumstances 141 00:12:08,100 --> 00:12:10,120 to get to your goal, 142 00:12:10,340 --> 00:12:12,500 where if you were to take a node 143 00:12:12,500 --> 00:12:15,780 and say that it was a bank vault, 144 00:12:16,260 --> 00:12:19,340 and then you would have then 145 00:12:19,340 --> 00:12:21,300 cascading leaves off of that 146 00:12:21,300 --> 00:12:23,200 where one would be you could blow it up, 147 00:12:23,300 --> 00:12:25,400 and then each of the nodes 148 00:12:25,400 --> 00:12:27,040 would have data assigned to it 149 00:12:27,040 --> 00:12:29,900 regarding what it would take to do that. 150 00:12:30,080 --> 00:12:31,640 In the case of blowing it up, 151 00:12:31,640 --> 00:12:32,800 you might need dynamite, 152 00:12:32,800 --> 00:12:35,120 in which case that might cost $25,000. 153 00:12:35,120 --> 00:12:37,920 And so there's data that's associated 154 00:12:37,920 --> 00:12:39,940 with the actions that can take place 155 00:12:39,940 --> 00:12:41,020 within an attack tree. 156 00:12:41,620 --> 00:12:43,800 And these fields that you would define, 157 00:12:44,020 --> 00:12:47,880 you would then run simple sort algorithms 158 00:12:48,780 --> 00:12:49,960 that would go through and say, 159 00:12:50,040 --> 00:12:51,440 which is the least expensive way? 160 00:12:51,600 --> 00:12:53,420 And so then you go through all the leaves 161 00:12:53,420 --> 00:12:55,220 of your entire tree and you say, 162 00:12:55,280 --> 00:12:58,200 well, blowing up the bank vault to get the money 163 00:12:58,200 --> 00:12:59,520 is not going to be the cheapest way. 164 00:12:59,580 --> 00:13:00,820 We're looking for the cheapest way. 165 00:13:00,960 --> 00:13:03,400 And that might over here turn out to be 166 00:13:03,400 --> 00:13:05,380 just going and getting a lot of guns 167 00:13:05,380 --> 00:13:06,900 and stealing a van and showing up. 168 00:13:07,340 --> 00:13:09,860 So the attack tree logic itself 169 00:13:09,860 --> 00:13:11,420 is going to be a module 170 00:13:12,900 --> 00:13:15,280 that can be loaded by the node. 171 00:13:15,800 --> 00:13:18,360 If the node's purpose is aggressive 172 00:13:18,360 --> 00:13:19,800 or maybe even defensive, 173 00:13:20,000 --> 00:13:22,640 the node will have the ability 174 00:13:22,640 --> 00:13:25,880 to assign specific information in a tree, 175 00:13:26,020 --> 00:13:27,280 say, of a network map, 176 00:13:27,500 --> 00:13:30,640 to determine the fastest way to hack something, 177 00:13:30,820 --> 00:13:32,720 the easiest way to hack something, 178 00:13:32,880 --> 00:13:33,380 the fastest way to hack something, 179 00:13:33,400 --> 00:13:36,060 or possibly the most stealthiest way. 180 00:13:41,180 --> 00:13:43,160 The independent decision making 181 00:13:43,160 --> 00:13:46,220 kind of just falls into the rules. 182 00:13:46,380 --> 00:13:47,900 The rules are, 183 00:13:48,020 --> 00:13:51,000 is the code that the developer 184 00:13:52,300 --> 00:13:54,740 creates for the specific node. 185 00:13:55,020 --> 00:13:56,300 The decisions 186 00:13:59,380 --> 00:14:00,680 that is... 187 00:14:03,720 --> 00:14:05,240 The decisions themselves 188 00:14:06,980 --> 00:14:09,660 are specific of the designs 189 00:14:10,170 --> 00:14:13,580 and the choices that the developer makes 190 00:14:13,580 --> 00:14:14,660 when he writes it. 191 00:14:14,800 --> 00:14:17,500 This is why I shy away from saying 192 00:14:17,500 --> 00:14:18,940 that it's artificial intelligence 193 00:14:18,940 --> 00:14:20,860 because it's really not. 194 00:14:21,420 --> 00:14:24,040 The developer has to know about the cases 195 00:14:24,040 --> 00:14:24,920 that will happen 196 00:14:24,920 --> 00:14:26,960 before he writes the code 197 00:14:26,960 --> 00:14:28,380 to create the rules. 198 00:14:30,700 --> 00:14:31,980 In many cases, 199 00:14:32,120 --> 00:14:34,280 when we want to instruct the node 200 00:14:34,280 --> 00:14:35,380 to have a certain behavior, 201 00:14:36,700 --> 00:14:37,940 it would be troublesome 202 00:14:37,940 --> 00:14:40,120 to maintain hundreds of nodes around, 203 00:14:40,720 --> 00:14:42,340 hence the initial suggestion. 204 00:14:43,220 --> 00:14:44,540 An initial suggestion 205 00:14:45,260 --> 00:14:47,260 is when you run your node. 206 00:14:48,580 --> 00:14:50,960 Because you don't want 50 nodes around, 207 00:14:51,080 --> 00:14:52,480 one that does some packet sniffing 208 00:14:52,480 --> 00:14:54,100 and some decisions based on that, 209 00:14:54,200 --> 00:14:55,660 a node that sits over here 210 00:14:55,660 --> 00:14:56,920 and does some DNS poisoning, 211 00:14:56,920 --> 00:14:58,560 it makes more sense 212 00:14:58,560 --> 00:15:01,040 because if you exploit a box 213 00:15:01,040 --> 00:15:03,840 and you want to run a bunch of programs on it, 214 00:15:03,900 --> 00:15:05,760 it's probably going to be pretty obvious 215 00:15:05,760 --> 00:15:08,760 if you upload 100 megabytes worth of data 216 00:15:08,760 --> 00:15:09,880 to the machine 217 00:15:09,880 --> 00:15:12,140 and then take up half the CPU time as well. 218 00:15:12,780 --> 00:15:13,700 So generally, 219 00:15:13,960 --> 00:15:14,820 you will... 220 00:15:14,820 --> 00:15:15,800 You can run... 221 00:15:16,420 --> 00:15:17,500 You'll run a node 222 00:15:17,500 --> 00:15:20,620 and you'll incorporate more functionality 223 00:15:20,620 --> 00:15:22,820 in the rules than you'll need 224 00:15:22,820 --> 00:15:25,000 so that it is all together 225 00:15:25,000 --> 00:15:26,900 and then you will have an initial rule 226 00:15:26,920 --> 00:15:28,020 and a suggestion to the node 227 00:15:28,020 --> 00:15:29,000 and you will say, 228 00:15:29,200 --> 00:15:30,700 Hi, I want you to be aggressive 229 00:15:31,240 --> 00:15:32,320 for a given node 230 00:15:32,320 --> 00:15:34,200 that is actually intended 231 00:15:34,780 --> 00:15:36,400 to exploit a box. 232 00:15:43,200 --> 00:15:45,280 Some of the other issues 233 00:15:45,280 --> 00:15:47,680 about having a node that you use 234 00:15:47,680 --> 00:15:48,520 that you actually... 235 00:15:48,520 --> 00:15:50,560 There's a client on your machine 236 00:15:50,560 --> 00:15:52,860 and you use it to exploit a server. 237 00:15:53,160 --> 00:15:54,340 At that point, 238 00:15:55,440 --> 00:15:56,820 you put another node 239 00:15:56,920 --> 00:15:58,320 on the server naturally. 240 00:15:58,700 --> 00:16:02,380 And that can be for reasons of packet sniffing. 241 00:16:02,400 --> 00:16:05,840 You might put it there simply to own the box, 242 00:16:06,000 --> 00:16:09,860 to keep certain watchdog programs 243 00:16:09,860 --> 00:16:11,400 from running on the server. 244 00:16:11,560 --> 00:16:12,740 There's multiple reasons. 245 00:16:13,160 --> 00:16:15,560 And in that case, 246 00:16:15,560 --> 00:16:18,780 you might have a hierarchy of nodes 247 00:16:18,780 --> 00:16:21,840 which would actually turn the autonomous nodes 248 00:16:21,840 --> 00:16:23,840 back into intelligent agents 249 00:16:23,840 --> 00:16:25,520 because they might want to communicate. 250 00:16:34,440 --> 00:16:36,340 One issue that I've had 251 00:16:36,340 --> 00:16:37,320 while working with this 252 00:16:37,320 --> 00:16:41,780 is that the code for this 253 00:16:41,780 --> 00:16:43,160 is somewhat touchy 254 00:16:43,160 --> 00:16:45,200 because it's probably not a good idea 255 00:16:45,200 --> 00:16:48,000 to have replicating autonomous hacking nodes 256 00:16:48,520 --> 00:16:49,640 floating around the internet 257 00:16:49,640 --> 00:16:52,920 where any script kitty can decide 258 00:16:53,280 --> 00:16:54,600 they want to replicate 259 00:16:54,600 --> 00:16:57,320 200,000 machines out there. 260 00:16:57,600 --> 00:17:00,360 So the status of this project 261 00:17:00,360 --> 00:17:02,240 is basically going to work 262 00:17:02,240 --> 00:17:06,700 that it is kind of a closed code. 263 00:17:11,720 --> 00:17:14,100 The obscure communication layer. 264 00:17:15,240 --> 00:17:18,940 This is basically going to be an implementation 265 00:17:19,310 --> 00:17:21,240 of a layer of communication 266 00:17:21,240 --> 00:17:23,540 where the node, 267 00:17:23,540 --> 00:17:25,100 when he's in a situation 268 00:17:25,100 --> 00:17:28,540 where he doesn't want to say, 269 00:17:29,280 --> 00:17:30,200 hey, I'm over here. 270 00:17:30,320 --> 00:17:32,280 Why don't you come format my hard drive 271 00:17:32,280 --> 00:17:32,820 or delete me? 272 00:17:33,440 --> 00:17:36,780 He will generally use higher level protocols 273 00:17:36,780 --> 00:17:39,440 and then he will do all of his communication 274 00:17:39,440 --> 00:17:41,540 via payloading 275 00:17:42,140 --> 00:17:43,700 right onto the top of the protocol. 276 00:17:43,820 --> 00:17:45,860 Just make something that's valid 277 00:17:45,860 --> 00:17:47,060 that's going to go through a firewall. 278 00:17:47,300 --> 00:17:49,020 And then he tags on the end 279 00:17:49,020 --> 00:17:50,200 some signature information 280 00:17:50,200 --> 00:17:51,880 and some basic information. 281 00:17:53,200 --> 00:17:55,000 Information that he's trying to send. 282 00:17:55,220 --> 00:17:57,720 Such as, hey, I found a username and password. 283 00:17:58,040 --> 00:17:58,860 Such a thing. 284 00:17:59,140 --> 00:18:00,020 And at that point, 285 00:18:00,040 --> 00:18:01,600 he can send data via payload 286 00:18:01,600 --> 00:18:03,440 directly outside of a firewall 287 00:18:03,440 --> 00:18:05,260 or just peer to peer. 288 00:18:05,540 --> 00:18:08,020 Now a node that's running on that other machine 289 00:18:08,020 --> 00:18:09,140 that's packet sniffing 290 00:18:09,660 --> 00:18:10,360 can say, oh, 291 00:18:10,540 --> 00:18:11,900 because he is packet sniffing, 292 00:18:11,900 --> 00:18:12,660 he sees everything. 293 00:18:12,920 --> 00:18:15,000 And he sees the payload 294 00:18:15,000 --> 00:18:17,000 and he's looking for the idea 295 00:18:17,000 --> 00:18:19,720 or the ID of another node. 296 00:18:19,820 --> 00:18:20,860 And so he sees that 297 00:18:20,860 --> 00:18:22,600 and then he can immediately take that information 298 00:18:22,600 --> 00:18:24,880 and do whatever he wanted with it. 299 00:18:25,220 --> 00:18:26,540 Possibly there was a node 300 00:18:26,540 --> 00:18:27,960 inside of a network 301 00:18:27,960 --> 00:18:29,640 that didn't want to be found. 302 00:18:29,980 --> 00:18:31,760 Hence the rules. 303 00:18:32,040 --> 00:18:33,120 He was being quiet 304 00:18:33,120 --> 00:18:34,220 because he was in a network. 305 00:18:34,540 --> 00:18:35,600 And at that point, 306 00:18:35,660 --> 00:18:37,860 perhaps he saw a username and password. 307 00:18:38,080 --> 00:18:39,060 And so he decided, 308 00:18:39,320 --> 00:18:42,780 okay, I'm going to broadcast this out to an IRC channel. 309 00:18:43,060 --> 00:18:44,620 Now he's an autonomous node. 310 00:18:44,800 --> 00:18:46,740 He doesn't care if anybody hears him. 311 00:18:46,820 --> 00:18:48,040 He's going to broadcast anyway. 312 00:18:48,380 --> 00:18:50,760 And maybe he waits until Monday morning 313 00:18:50,860 --> 00:18:54,040 when there's a lot of traffic on the network at work 314 00:18:54,040 --> 00:18:55,320 before he broadcasts 315 00:18:55,320 --> 00:18:58,140 so that no one can specifically see that. 316 00:18:58,720 --> 00:19:00,220 These are some of the ideas 317 00:19:00,220 --> 00:19:01,940 that come around 318 00:19:01,940 --> 00:19:03,100 when you start talking about 319 00:19:03,100 --> 00:19:04,300 the little hacker programs 320 00:19:04,860 --> 00:19:07,020 that are going to take over the internet. 321 00:19:08,400 --> 00:19:08,920 Then, 322 00:19:10,420 --> 00:19:12,080 let's say on this IRC channel, 323 00:19:12,260 --> 00:19:14,060 the information shows up. 324 00:19:15,140 --> 00:19:18,020 Also included in this communication layer 325 00:19:18,020 --> 00:19:20,560 will link back to the exploit database. 326 00:19:20,860 --> 00:19:22,600 But there could also be a database 327 00:19:22,600 --> 00:19:25,200 that stores the server mappings, 328 00:19:26,200 --> 00:19:27,080 usernames, and such. 329 00:19:28,680 --> 00:19:31,180 The packet sniffer on the inside of the firewall, 330 00:19:31,360 --> 00:19:33,600 he sends a bunch of data out and says, 331 00:19:33,840 --> 00:19:35,660 hey, I found a password. 332 00:19:35,840 --> 00:19:36,520 I found a username. 333 00:19:36,840 --> 00:19:38,800 And actually sends some commands 334 00:19:38,800 --> 00:19:40,280 so that another node, 335 00:19:40,400 --> 00:19:41,780 if it happens to see it, 336 00:19:41,880 --> 00:19:44,020 stores that information into a database. 337 00:19:47,520 --> 00:19:49,900 The packet sniffer and input were applicable. 338 00:19:49,900 --> 00:19:53,780 There are certain cases on certain networks 339 00:19:53,780 --> 00:20:00,420 where this is not going to be working, basically. 340 00:20:00,900 --> 00:20:02,200 On a switched network, 341 00:20:02,480 --> 00:20:04,400 you're going to have problems 342 00:20:04,400 --> 00:20:06,040 seeing certain packets 343 00:20:06,040 --> 00:20:09,040 going from many of the other client machines 344 00:20:09,040 --> 00:20:10,040 that are on that network. 345 00:20:10,360 --> 00:20:13,180 And there are certain aggressive natures 346 00:20:13,580 --> 00:20:15,920 that a node could take. 347 00:20:16,060 --> 00:20:18,880 Now, depending on the initial suggestion 348 00:20:18,880 --> 00:20:19,880 that is given to the node 349 00:20:19,900 --> 00:20:22,920 upon which it can determine, 350 00:20:23,020 --> 00:20:24,720 hey, I'm supposed to be aggressive 351 00:20:24,720 --> 00:20:26,100 or I'm supposed to be quiet, 352 00:20:26,300 --> 00:20:27,700 in the aggressive case, 353 00:20:27,940 --> 00:20:32,020 if a node was sitting on a switched network, 354 00:20:32,200 --> 00:20:34,560 he might decide to go ahead and DOS the switch 355 00:20:34,560 --> 00:20:37,140 and try to get it to switch into hubbed mode. 356 00:20:37,580 --> 00:20:38,900 And at that point, 357 00:20:38,960 --> 00:20:41,440 maybe sniff the network, 358 00:20:41,580 --> 00:20:42,360 try to get what he can, 359 00:20:42,580 --> 00:20:45,580 and then send that information out 360 00:20:45,580 --> 00:20:46,780 to an IRC server. 361 00:20:53,300 --> 00:20:54,800 You want me to speed it up? 362 00:20:55,700 --> 00:20:56,760 Just a little bit? 363 00:20:57,060 --> 00:20:57,700 Okay. 364 00:21:02,880 --> 00:21:05,520 Generally, the purpose behind this entire project 365 00:21:06,680 --> 00:21:08,760 is to supply common ground 366 00:21:08,760 --> 00:21:11,100 upon which any network security program 367 00:21:11,780 --> 00:21:14,180 for any operating system and platform 368 00:21:14,180 --> 00:21:15,600 can be developed. 369 00:21:16,060 --> 00:21:19,340 And also, so the ghetto hackers can win CTF 370 00:21:19,340 --> 00:21:21,000 without slaving at the CTF tables. 371 00:21:24,260 --> 00:21:25,780 The first two operating systems 372 00:21:25,780 --> 00:21:28,500 for which I'm currently working this project on 373 00:21:28,500 --> 00:21:30,420 is Linux and Windows. 374 00:21:32,000 --> 00:21:33,380 For my entire life, 375 00:21:33,440 --> 00:21:35,180 I've actually worked on DOS and Windows. 376 00:21:35,280 --> 00:21:37,260 My current job includes working on Windows 377 00:21:37,860 --> 00:21:39,700 as much as I'm a ghetto hacker. 378 00:21:40,000 --> 00:21:42,180 I only have Linux on one machine 379 00:21:42,180 --> 00:21:45,320 and I think it's broke, so... 380 00:21:46,240 --> 00:21:46,800 Um... 381 00:21:46,800 --> 00:21:46,880 Um... 382 00:21:48,060 --> 00:21:49,980 Later following, um... 383 00:21:49,980 --> 00:21:55,420 recording and finishing the modules 384 00:21:55,420 --> 00:21:57,000 for the autonomous nodes, 385 00:21:57,200 --> 00:22:00,440 I'm hoping to have a port to OpenBSD 386 00:22:00,440 --> 00:22:02,900 and a couple other operating systems. 387 00:22:02,960 --> 00:22:04,820 And I'm hoping that I'm actually gonna have 388 00:22:04,820 --> 00:22:07,240 a working version of this next year 389 00:22:07,240 --> 00:22:10,400 with the intention of using it actually at CTF. 390 00:22:10,880 --> 00:22:11,440 Um... 391 00:22:16,400 --> 00:22:17,360 And, um... 392 00:22:17,360 --> 00:22:19,280 I think that's about all I have. 393 00:22:19,440 --> 00:22:20,680 If there's any questions, 394 00:22:21,420 --> 00:22:23,500 I'm probably not that clear on stuff 395 00:22:23,500 --> 00:22:25,040 because I'm all nervous 396 00:22:25,040 --> 00:22:26,720 when I talk out in front of people. 397 00:22:41,460 --> 00:22:43,060 Because of the size, 398 00:22:43,060 --> 00:22:44,380 the speed, 399 00:22:44,640 --> 00:22:46,980 and the very specific nature at which 400 00:22:46,980 --> 00:22:51,660 a node needs to perform a single task 401 00:22:51,660 --> 00:22:54,200 and just do exactly what I want. 402 00:22:54,340 --> 00:22:56,000 He's right there and he's gonna do this. 403 00:22:56,240 --> 00:22:59,080 I haven't even thought about actually 404 00:22:59,080 --> 00:23:00,880 doing any AI work at all. 405 00:23:01,460 --> 00:23:01,880 Um... 406 00:23:02,660 --> 00:23:03,920 Maybe later on, 407 00:23:03,940 --> 00:23:07,040 if all this was incorporated into a single object, 408 00:23:07,280 --> 00:23:10,820 which literally was Node Hacker, 409 00:23:10,940 --> 00:23:12,980 the guy that could do anything you wanted, 410 00:23:13,060 --> 00:23:15,080 could take down any box, 411 00:23:15,420 --> 00:23:16,780 could do any type of poisoning, 412 00:23:17,020 --> 00:23:19,000 at that point in time it may seem 413 00:23:19,000 --> 00:23:20,800 it would probably be such a big project 414 00:23:20,800 --> 00:23:22,940 that you'd have to actually move to the point 415 00:23:22,940 --> 00:23:25,960 where you used real rules of artificial intelligence 416 00:23:25,960 --> 00:23:27,480 to determine, um, 417 00:23:28,840 --> 00:23:31,560 importance of events and such. 418 00:23:53,020 --> 00:23:55,680 Uh, they are actually using AI. 419 00:23:56,160 --> 00:23:58,700 They are also, to my knowledge, 420 00:23:58,860 --> 00:24:02,120 incorporating the ability for a server. 421 00:24:02,260 --> 00:24:04,700 They're actually not taking an FTP server 422 00:24:04,700 --> 00:24:07,880 and then writing some AI code on the side 423 00:24:07,880 --> 00:24:09,300 to watch what's going on. 424 00:24:09,420 --> 00:24:11,840 They're actually rewriting the FTP server 425 00:24:11,840 --> 00:24:13,120 at that point 426 00:24:13,120 --> 00:24:15,340 and incorporating all of the security 427 00:24:15,340 --> 00:24:16,660 into the service itself 428 00:24:17,640 --> 00:24:20,420 so that literally your FTP server 429 00:24:20,420 --> 00:24:22,440 would be able to talk to your web server 430 00:24:22,440 --> 00:24:24,500 as far as the security's concerned 431 00:24:24,500 --> 00:24:25,720 and say, hey, I saw this. 432 00:24:25,880 --> 00:24:26,840 What did you see? 433 00:24:27,160 --> 00:24:28,380 That type of a thing. 434 00:24:33,840 --> 00:24:34,660 Anyone else? 435 00:24:41,300 --> 00:24:43,160 I'm sorry, I'm sorry. 436 00:24:48,640 --> 00:24:51,380 Oh, the attack tree itself, 437 00:24:52,340 --> 00:24:55,240 each of the leafs or the actual nodes 438 00:24:55,240 --> 00:24:58,260 will themselves are database. 439 00:24:59,460 --> 00:25:00,940 It is a database itself. 440 00:25:01,300 --> 00:25:03,820 So the template that's used to create 441 00:25:03,820 --> 00:25:04,640 those nodes 442 00:25:04,660 --> 00:25:08,760 can simply be used to actually store 443 00:25:08,760 --> 00:25:10,080 that information to a database. 444 00:25:10,300 --> 00:25:11,800 You could create it on the fly 445 00:25:11,800 --> 00:25:12,980 if you wanted to. 446 00:25:13,580 --> 00:25:15,240 Does that answer your question? 447 00:25:35,200 --> 00:25:36,500 Okay, the... 448 00:25:39,360 --> 00:25:41,260 Let me see if this answers your question. 449 00:25:42,040 --> 00:25:44,220 Let's say I have a node 450 00:25:44,220 --> 00:25:49,080 and this node is supposed to map a network. 451 00:25:49,580 --> 00:25:50,660 That's its intention. 452 00:25:51,500 --> 00:25:56,280 And we'll say that it's going to map a network 453 00:25:56,280 --> 00:25:57,800 and then somewhere it's going to 454 00:25:58,500 --> 00:26:00,060 exploit or replicate itself. 455 00:26:00,980 --> 00:26:02,620 So it creates a database. 456 00:26:02,620 --> 00:26:05,820 It performs its deeds of sniffing the network 457 00:26:05,820 --> 00:26:11,560 and it sees very simple signs through packets 458 00:26:11,560 --> 00:26:13,800 and it just starts marking down and says, 459 00:26:13,920 --> 00:26:16,080 okay, I think that this guy is this type 460 00:26:16,080 --> 00:26:17,940 of an operating system over here at this IP. 461 00:26:18,220 --> 00:26:20,140 And then I think that this guy's over here 462 00:26:20,140 --> 00:26:21,940 and I saw some message come through. 463 00:26:22,000 --> 00:26:23,860 And he tries to basically map out 464 00:26:23,860 --> 00:26:25,000 and we'll say that there were, say, 465 00:26:25,020 --> 00:26:25,960 five machines there. 466 00:26:26,920 --> 00:26:28,840 Now, let's say that I told him 467 00:26:28,840 --> 00:26:32,600 that there was an actual machine behind us. 468 00:26:32,600 --> 00:26:34,760 And he's trying to figure out the way to get there 469 00:26:34,760 --> 00:26:36,100 by mapping this network. 470 00:26:36,320 --> 00:26:39,060 In that case, his attack tree would, 471 00:26:40,340 --> 00:26:43,320 by the traces of the different routes 472 00:26:43,320 --> 00:26:44,520 through the machines, 473 00:26:44,800 --> 00:26:47,400 he would create himself the nodes 474 00:26:47,400 --> 00:26:49,000 that would exist on the tree. 475 00:26:49,160 --> 00:26:50,400 And then at that point, 476 00:26:51,080 --> 00:26:52,600 predefined sort routines 477 00:26:52,600 --> 00:26:54,900 that would say by operating system 478 00:26:54,900 --> 00:26:58,880 or different things like that 479 00:26:58,880 --> 00:27:01,120 based on the exploits that he had 480 00:27:01,120 --> 00:27:02,320 in his own database, 481 00:27:02,320 --> 00:27:04,460 he could sort by that 482 00:27:04,460 --> 00:27:06,060 and then determine which route 483 00:27:06,060 --> 00:27:07,080 he would want to take. 484 00:27:08,100 --> 00:27:09,460 Does that answer your question? 485 00:27:13,920 --> 00:27:14,340 Okay. 486 00:27:14,420 --> 00:27:15,420 You can grab me afterwards 487 00:27:15,420 --> 00:27:16,940 if you'd like to talk about it more. 488 00:27:20,720 --> 00:27:21,800 Are there any more questions? 489 00:27:23,400 --> 00:27:23,820 Sir? 490 00:27:40,580 --> 00:27:41,080 . 491 00:27:51,340 --> 00:27:52,340 Personally, I... 492 00:27:52,340 --> 00:27:52,960 . 493 00:27:54,140 --> 00:27:55,400 Can you say the question again? 494 00:27:55,440 --> 00:27:55,660 Sorry. 495 00:27:56,360 --> 00:27:56,860 . 496 00:27:58,300 --> 00:27:59,080 He said, 497 00:27:59,080 --> 00:28:03,300 would I rather have one node 498 00:28:03,300 --> 00:28:05,740 that knew about four exploits 499 00:28:05,740 --> 00:28:08,540 and could use them 500 00:28:08,540 --> 00:28:10,160 rather than having four nodes 501 00:28:10,160 --> 00:28:11,680 with four different exploits? 502 00:28:13,640 --> 00:28:15,180 If the four nodes 503 00:28:15,180 --> 00:28:16,720 were on four different machines, 504 00:28:17,700 --> 00:28:20,400 the purpose being to spread out an attack, 505 00:28:20,620 --> 00:28:22,840 I guess there's kind of some more information 506 00:28:22,840 --> 00:28:25,220 that might change my decision. 507 00:28:25,870 --> 00:28:27,880 If I was just working from my client machine, 508 00:28:27,880 --> 00:28:29,420 I'd like one node 509 00:28:29,420 --> 00:28:31,680 that would actually know about everything. 510 00:28:32,540 --> 00:28:34,760 But if you're doing a range of attacks 511 00:28:34,760 --> 00:28:35,720 from different positions, 512 00:28:35,960 --> 00:28:37,120 it would make more sense 513 00:28:37,120 --> 00:28:38,760 to have multiple nodes. 514 00:28:41,480 --> 00:28:42,000 . 515 00:28:52,460 --> 00:28:53,900 I'm not actually real familiar 516 00:28:53,900 --> 00:28:55,460 with library nodes, 517 00:28:55,700 --> 00:28:56,220 did you say? 518 00:28:56,220 --> 00:28:56,540 . 519 00:28:58,120 --> 00:29:01,260 I have not done any research 520 00:29:01,260 --> 00:29:02,320 on library nodes. 521 00:29:03,300 --> 00:29:04,260 . 522 00:29:07,380 --> 00:29:08,800 Any other questions? 523 00:29:09,720 --> 00:29:10,680 . 524 00:29:12,680 --> 00:29:13,640 . 525 00:29:13,640 --> 00:29:14,640 . 526 00:29:14,640 --> 00:29:15,220 . 527 00:29:15,220 --> 00:29:16,040 . 528 00:29:16,040 --> 00:29:16,360 . 529 00:29:16,360 --> 00:29:17,380 . 530 00:29:17,380 --> 00:29:18,120 . 531 00:29:22,000 --> 00:29:22,960 .