1 00:00:00,000 --> 00:00:01,260 Hi everyone, thanks for coming. 2 00:00:02,280 --> 00:00:07,300 My name is Robert Deaton and I'm going to talk to you about a piece of software I've been working on for the past few months called DivaShark. 3 00:00:07,780 --> 00:00:14,520 But first, I want to warn you about the perils of trusting your friends to help you 4 00:00:14,520 --> 00:00:19,800 if you were to ask them to say, help proofread your abstract before you send it in. 5 00:00:21,120 --> 00:00:23,940 And this is the abstract that I believe is printed in the book. 6 00:00:23,940 --> 00:00:29,780 And the two highlighted lines were added by a friend of mine at the very last minute 7 00:00:29,780 --> 00:00:31,820 when I asked him to proofread it. 8 00:00:32,380 --> 00:00:37,180 It makes me look much more cocky than I actually am on this. 9 00:00:37,560 --> 00:00:42,580 So, make sure you proofread after you have someone proofread for you. 10 00:00:43,260 --> 00:00:44,700 Or things like this can happen. 11 00:00:46,500 --> 00:00:51,200 So, the inspiration for this project really came out of playing Capture the Packet last year 12 00:00:51,200 --> 00:00:53,920 and some other CTFs over the past few years. 13 00:00:53,940 --> 00:00:59,360 And so, if you're not familiar, Capture the Packet is a competition that's run at DEF CON every year. 14 00:00:59,660 --> 00:01:03,220 Or, I guess it ran last year and is this year again, too. 15 00:01:03,760 --> 00:01:06,540 And its focus is on live network traffic analysis. 16 00:01:07,120 --> 00:01:10,380 They give Jeopardy-style questions, about 10 or 15 questions. 17 00:01:11,020 --> 00:01:15,600 And you plug in an Ethernet cable and you watch the traffic 18 00:01:15,600 --> 00:01:19,020 and you have to try to find the various things that they're looking for on the network. 19 00:01:19,960 --> 00:01:23,680 But to make it difficult, they put lots and lots of noise on the wire. 20 00:01:23,940 --> 00:01:27,120 And you have an hour to answer all these questions. 21 00:01:28,360 --> 00:01:33,880 So, some of the example questions they have is a user at this IP address logged into Reddit. 22 00:01:34,200 --> 00:01:37,080 What was his username and password? Because he wasn't using HTTPS. 23 00:01:37,460 --> 00:01:41,240 Or, which email service did a user with this IP address visit? 24 00:01:41,480 --> 00:01:46,540 Or, two users had a Google Voice conversation and if you can find it, 25 00:01:46,560 --> 00:01:50,380 you can actually listen in on the conversation after the fact and find out what they were talking about. 26 00:01:51,460 --> 00:01:51,940 So, 27 00:01:51,940 --> 00:01:58,800 kind of the standard tool that everyone uses when playing Capture the Packet is Wireshark. 28 00:01:58,980 --> 00:02:02,800 And it's kind of the industry standard in doing network analysis. 29 00:02:03,340 --> 00:02:08,260 I think literally every team at Capture the Packet last year was seen using Wireshark. 30 00:02:08,440 --> 00:02:10,600 It was just kind of the thing that everyone used. 31 00:02:11,200 --> 00:02:14,460 But I argue that it's really kind of the wrong tool for the job. 32 00:02:15,580 --> 00:02:17,180 And I'm going to show you why. 33 00:02:17,460 --> 00:02:21,160 So, this is a screenshot of Wireshark 34 00:02:21,940 --> 00:02:33,060 some of the capture the packet traffic open last year. Thank you. As you can see, there's 35 00:02:33,060 --> 00:02:43,320 a lot of information. This is one view of the 146,000 packets and I think this is about 36 00:02:43,320 --> 00:02:50,100 a quarter of the traffic dump for the entire hour long. So there's tons and tons and tons 37 00:02:50,100 --> 00:02:56,280 and tons of noise. If you were to open up a view on any individual packet or look at 38 00:02:56,280 --> 00:03:01,140 the little pane that's usually down there that I have hidden, you get all kinds of information 39 00:03:01,140 --> 00:03:06,780 about every individual packet. Everything from the TCP sequence numbers, frame numbers 40 00:03:06,780 --> 00:03:14,440 on the Ethernet line, some analysis of like HTTP headers if it's that, but every little 41 00:03:14,440 --> 00:03:17,820 detail about every kind of layer of the information. 42 00:03:18,640 --> 00:03:20,080 When you're looking for a packet that's hidden, you're going to want to look at the 43 00:03:20,080 --> 00:03:23,120 TCP sequence numbers. When you're looking for something high level like a user logged 44 00:03:23,120 --> 00:03:27,720 into a website and it wasn't secure and I want his username and password, you don't 45 00:03:27,720 --> 00:03:32,560 really care about the TCP sequence numbers and whether the packets came in order or out 46 00:03:32,560 --> 00:03:37,420 of order or whether things had to be retransmitted. It doesn't really matter at all. 47 00:03:39,040 --> 00:03:44,520 So I'm going to use the example of finding the Reddit log in to show kind of what we 48 00:03:44,520 --> 00:03:50,060 ended up having to do last year to capture the packet. So one idea is first we're going 49 00:03:50,060 --> 00:03:55,300 to need to figure out which IP addresses are communicating here. You know the users because 50 00:03:55,300 --> 00:03:59,600 it's given to you, but you don't know Reddit's offhand. You can't really look it up on your 51 00:03:59,600 --> 00:04:05,520 own because DNS round robin or whatever could point you in the wrong direction. So we'll 52 00:04:05,520 --> 00:04:10,920 try to see if the DNS lookup happened in the network traffic that we captured. And 53 00:04:10,920 --> 00:04:17,140 so we can do a filter to try to get just DNS traffic and we still end up with a few 54 00:04:17,140 --> 00:04:20,040 hundred requests for this 15-minute session. So we're going to do a filter to try to get 55 00:04:20,060 --> 00:04:27,260 just DNS traffic. And you can do like a search on the string Reddit to maybe help you narrow 56 00:04:27,260 --> 00:04:31,620 it down and find it that way. And of course this time we couldn't be so lucky. It must 57 00:04:31,620 --> 00:04:40,780 have been cached. So instead we'll do a full text search for the string Reddit on all the 58 00:04:40,780 --> 00:04:46,020 traffic, which you can imagine takes a minute or two when you're looking through 146,000 59 00:04:46,020 --> 00:04:46,300 packets. 60 00:04:48,220 --> 00:04:49,940 And you come up with this. 61 00:04:50,060 --> 00:04:54,400 It kind of just brings you to the point in where it finds Reddit for the first time. 62 00:04:54,840 --> 00:04:59,600 And the request that it found is a request for an advertisement that happened to be on 63 00:04:59,600 --> 00:05:06,620 Reddit's sidebar. So you can follow that TCP stream and it gives you a little bit 64 00:05:06,620 --> 00:05:11,360 more and actually shows that, yeah, that was pulling an ad and it's gzipping code and 65 00:05:11,360 --> 00:05:12,920 all that stuff. Don't really care. 66 00:05:14,420 --> 00:05:19,640 So you can keep searching again for Reddit and you'll get another packet that had the 67 00:05:19,640 --> 00:05:23,920 string Reddit. And you can follow that TCP stream and you can keep doing that. And in 68 00:05:23,920 --> 00:05:28,180 this case, if you do it about 40 times, you'll finally find the one place where the user 69 00:05:28,180 --> 00:05:34,120 tried to log in. Or you can try filtering by the IP address that they pulled the ads 70 00:05:34,120 --> 00:05:38,460 from and hope that that's the same one that the login server is on. Or you can just kind 71 00:05:38,460 --> 00:05:43,860 of keep on trying to filter out by various things and searching different strings. Filter 72 00:05:43,860 --> 00:05:48,220 by searching for the string Reddit and then filter again searching for the string login. 73 00:05:48,220 --> 00:05:52,600 And you can just keep on doing this and eventually you'll find it. But it took a whole lot of 74 00:05:52,600 --> 00:05:52,820 effort. 75 00:05:54,420 --> 00:06:00,280 So to make it better, do we really care about packet-level details? Do we really need to 76 00:06:00,280 --> 00:06:06,020 see all that stuff? And for something where we're looking at high-level stuff and looking 77 00:06:06,020 --> 00:06:11,460 through application protocols, it's really not important. We're not actually writing 78 00:06:11,460 --> 00:06:16,160 these protocols. We're not looking for bugs in the protocols. We really just care about 79 00:06:16,160 --> 00:06:18,200 the high-level stuff that was sent to us. 80 00:06:21,300 --> 00:06:26,260 We don't need to see every packet. We don't need to look at those individually. And even 81 00:06:26,260 --> 00:06:31,300 in some cases, we don't even need to look at one TCP connection individually. There's 82 00:06:31,300 --> 00:06:35,240 a lot of information that can be gathered that you can coalesce from a few different 83 00:06:35,920 --> 00:06:42,380 requests to the server. So this is where Divashark comes in. And it's a tool to kind 84 00:06:42,380 --> 00:06:47,540 of try to make this live network forensics easy. And in addition, it's also a framework 85 00:06:48,220 --> 00:06:54,740 that we can build kind of application-level protocol to sectors and classifiers, similar 86 00:06:54,740 --> 00:06:58,940 to Wireshark, but that don't care about the low-level details. 87 00:06:59,660 --> 00:07:04,840 So the idea is really to get you the information that you want as quickly as possible without 88 00:07:04,840 --> 00:07:06,620 getting bogged down in small details. 89 00:07:07,400 --> 00:07:16,800 So this is just kind of the analog to Wireshark's home view. We show source IPs and destination 90 00:07:18,220 --> 00:07:23,000 ports, packet counts, and protocols which the program detects for you, source ports 91 00:07:23,000 --> 00:07:31,880 and destination ports. So kind of the big picture is that Divashark will do the same 92 00:07:31,880 --> 00:07:37,540 sort of traffic analysis or capture that Wireshark does. You can load in from a PCAP. You can 93 00:07:37,540 --> 00:07:44,300 do live capture from a card if it's in promiscuous mode. And it sort of automatically tries to 94 00:07:44,300 --> 00:07:48,200 follow TCP streams and UDP streams even as they come in. 95 00:07:48,220 --> 00:07:55,680 And kind of group them together into individual streams. Afterwards, it runs the streams 96 00:07:55,680 --> 00:08:02,480 through a kind of port-independent protocol classifier because you never know if someone's 97 00:08:02,480 --> 00:08:06,900 hiding things by using different ports. It prioritizes common ports for common protocols, 98 00:08:07,060 --> 00:08:14,000 so it will look for HTTP running on port 80 or SH running on port 22 first. But if sort 99 00:08:14,000 --> 00:08:18,000 of those classifiers don't match, then it will start running through the other classifiers 100 00:08:19,140 --> 00:08:24,420 and once it's classified, there are protocol dissectors which can go along with the classifiers 101 00:08:24,980 --> 00:08:27,960 that are kind of designed to get you the information that you care about. 102 00:08:28,440 --> 00:08:35,580 And so the example is the HTTP dissector will show you information such as the user agent 103 00:08:35,580 --> 00:08:40,040 that was requested, the page that was requested, kind of give you a chart with all the get 104 00:08:40,040 --> 00:08:46,940 and post parameters, and give you the option to just download the file that was transferred 105 00:08:46,940 --> 00:08:47,980 or the page that was transferred. 106 00:08:47,980 --> 00:08:53,740 And save that out right off the bat. If you've ever tried to do this in Wireshark, you can 107 00:08:53,740 --> 00:08:58,040 follow the TCP stream in Wireshark and then you'll get the conversation going back and 108 00:08:58,040 --> 00:09:03,940 forth. And then you can save that whole conversation and kind of carve the file to get rid of the 109 00:09:03,940 --> 00:09:08,500 headers that were sent in the request that you don't care about. And then you have the 110 00:09:08,500 --> 00:09:12,840 file you're looking for. It's sort of that bit of tediousness that we want to get rid 111 00:09:12,840 --> 00:09:17,960 of. We really want to be able to just say, hey, this user downloaded a file. We want 112 00:09:17,960 --> 00:09:21,180 to get rid of it. Here it is. Don't worry about anything like that. 113 00:09:22,540 --> 00:09:29,680 And probably one of the most important part is sort of powerful abilities to filter traffic. 114 00:09:30,060 --> 00:09:37,800 So we don't want to be looking through every little stream trying to find the one that 115 00:09:37,800 --> 00:09:44,320 matches us. We want to be able to classify or we want to be able to filter by the protocol 116 00:09:44,320 --> 00:09:47,780 that you're running on. But even better than that, the protocol 117 00:09:47,960 --> 00:09:54,360 classifiers have the ability to give the program information that they can filter 118 00:09:54,360 --> 00:09:58,920 on at an application level. So one example is the HTTP classifier and 119 00:09:58,920 --> 00:10:08,440 dissector allow you to filter your HTTP traffic by user agent or by whatever URL they're 120 00:10:08,440 --> 00:10:13,740 requesting, by whether or not it had gzip encoding, anything like that. 121 00:10:14,080 --> 00:10:14,400 And 122 00:10:17,960 --> 00:10:24,880 It's sort of that ability to really narrow down on the type of traffic that you want 123 00:10:25,940 --> 00:10:31,220 that I think is kind of the most important and the big picture for the software. 124 00:10:31,860 --> 00:10:38,720 And unfortunately and embarrassingly for me, much of what I've told you is finished. 125 00:10:39,260 --> 00:10:44,100 The part that's not finished and was not ready to present to you today was the user interface, 126 00:10:44,100 --> 00:10:46,920 which is kind of the most important part, of course. 127 00:10:50,880 --> 00:10:56,820 But the sort of the sectors and the analysis and all that stuff, it works, it's done. 128 00:10:57,060 --> 00:10:58,260 It's all written in Python. 129 00:10:59,640 --> 00:11:01,780 It's still incredibly fast. 130 00:11:02,200 --> 00:11:09,580 I loaded up the screenshot from back here is actually the same PCAP from capture the 131 00:11:09,580 --> 00:11:11,660 packet last year that Wireshark did. 132 00:11:11,880 --> 00:11:14,020 And it was able to load it. 133 00:11:14,020 --> 00:11:18,520 And classify based on I have about six protocol classifiers in. 134 00:11:18,700 --> 00:11:22,480 And it loaded the whole file and classified it before I could time it. 135 00:11:23,960 --> 00:11:29,180 And I think it's kind of a great proof of concept that we don't need to worry about 136 00:11:29,180 --> 00:11:32,660 writing these in C or in low-level languages. 137 00:11:33,020 --> 00:11:34,980 Python has shown that it's fast enough. 138 00:11:35,320 --> 00:11:41,400 And it gives us the ability to very quickly and rapidly prototype and write new protocol 139 00:11:41,400 --> 00:11:43,040 classifiers and dissectors. 140 00:11:43,040 --> 00:11:51,220 And get them out so that for competitions like capture the packet, we have any kind 141 00:11:51,220 --> 00:11:53,760 of protocol classification and dissection that we need. 142 00:11:54,540 --> 00:12:01,340 And so the last bit of info that I have for you guys is that the slides will be up soon. 143 00:12:02,100 --> 00:12:03,000 Release is imminent. 144 00:12:03,120 --> 00:12:08,000 Probably within the next few days, I'm going to actually put up the first versions, even 145 00:12:08,000 --> 00:12:09,120 if they don't have the user interface. 146 00:12:10,040 --> 00:12:12,140 And the project is going to be open source. 147 00:12:13,040 --> 00:12:14,860 And I really love everyone's help. 148 00:12:15,200 --> 00:12:21,620 I spent a long time trying to think out and put together a great Python API so that the 149 00:12:21,620 --> 00:12:25,800 classifiers and the sectors can be written easily and without caring about the low-level 150 00:12:25,800 --> 00:12:26,080 details. 151 00:12:27,780 --> 00:12:32,840 And I would love if we could get as many people as possible involved and get really cool 152 00:12:32,840 --> 00:12:33,140 detectors. 153 00:12:33,960 --> 00:12:39,680 And make this a cool project that makes the competition like capture the packet look really 154 00:12:39,680 --> 00:12:40,700 easy and really simple. 155 00:12:41,200 --> 00:12:41,780 1. 156 00:12:42,880 --> 00:12:43,020 2. 157 00:12:43,020 --> 00:12:44,960 this kind of tedious hunt 158 00:12:44,960 --> 00:12:46,980 to see who can filter through Wireshark 159 00:12:46,980 --> 00:12:49,040 the fastest. We can do 160 00:12:49,040 --> 00:12:51,100 better. I think 161 00:12:52,340 --> 00:12:53,380 a tool 162 00:12:53,380 --> 00:12:54,740 like this has the ability to make 163 00:12:54,740 --> 00:12:57,240 Capture the Packet as a competition 164 00:12:58,580 --> 00:12:59,100 almost 165 00:12:59,100 --> 00:13:00,940 not a competition anymore because 166 00:13:00,940 --> 00:13:03,220 the playing field should have everyone 167 00:13:03,220 --> 00:13:05,100 be able to find every answer 168 00:13:05,100 --> 00:13:05,940 immediately. 169 00:13:07,620 --> 00:13:08,140 So 170 00:13:08,800 --> 00:13:10,440 that's what I have for you guys. 171 00:13:21,480 --> 00:13:23,860 I guess I have time for questions 172 00:13:23,860 --> 00:13:24,820 if people have questions. 173 00:13:25,420 --> 00:13:27,140 Why is it called Demon Shark? 174 00:13:28,520 --> 00:13:29,080 So 175 00:13:29,080 --> 00:13:31,540 if you're familiar with this 176 00:13:32,400 --> 00:13:32,960 well 177 00:13:32,960 --> 00:13:35,660 the shark part comes from Wireshark 178 00:13:35,660 --> 00:13:37,600 because it seems like a similar 179 00:13:37,600 --> 00:13:39,820 product and so I wanted to keep 180 00:13:39,820 --> 00:13:41,740 that around. And as I was 181 00:13:41,740 --> 00:13:43,000 trying to think of names for this 182 00:13:43,020 --> 00:13:45,560 I thought of 183 00:13:45,560 --> 00:13:47,480 the ability to kind of monitor network 184 00:13:47,480 --> 00:13:48,700 flow and 185 00:13:49,540 --> 00:13:51,460 DivaCup came to mind. And so 186 00:13:51,460 --> 00:13:53,100 I kind of combined the two of those 187 00:13:53,100 --> 00:13:55,560 into DivaShark. And that 188 00:13:55,560 --> 00:13:57,420 gentleman is also the gentleman who decided 189 00:13:57,420 --> 00:13:59,460 to insert things into my abstract 190 00:13:59,460 --> 00:14:00,640 when proofreading it. 191 00:14:01,630 --> 00:14:01,940 Yay! 192 00:14:02,320 --> 00:14:02,700 Thank you. 193 00:14:05,500 --> 00:14:06,120 Yeah. 194 00:14:11,000 --> 00:14:12,240 Right now 195 00:14:12,240 --> 00:14:13,000 I have 196 00:14:13,020 --> 00:14:16,420 I think six protocol classifiers 197 00:14:16,420 --> 00:14:20,300 just for HTTP, SSH, Samba, and a couple others. 198 00:14:20,860 --> 00:14:25,080 But there's also sort of a naive port-based classifier 199 00:14:25,080 --> 00:14:26,600 that it will fall back on. 200 00:14:26,860 --> 00:14:29,080 So I have a list of common, 201 00:14:29,200 --> 00:14:33,100 the most common services that are run on different ports. 202 00:14:33,380 --> 00:14:35,300 And if it fails to classify, 203 00:14:36,080 --> 00:14:39,180 it kind of defaults on showing you that information 204 00:14:39,180 --> 00:14:40,660 at the very least for the time being. 205 00:14:44,920 --> 00:14:47,800 There's a Python API that's available. 206 00:14:48,460 --> 00:14:50,600 You basically implement three or four functions 207 00:14:50,600 --> 00:14:52,160 that are going to take in different parts 208 00:14:52,160 --> 00:14:53,020 of the network traffic. 209 00:14:53,340 --> 00:14:56,000 You specify a few options. 210 00:14:56,240 --> 00:14:58,240 For instance, the classifiers say, 211 00:14:58,400 --> 00:15:01,700 I need N bytes before I can confidently say 212 00:15:01,700 --> 00:15:03,320 that this is the right kind of, 213 00:15:03,900 --> 00:15:06,060 or before I can confidently classify it. 214 00:15:06,220 --> 00:15:08,940 But you'll get that sort of information back. 215 00:15:09,180 --> 00:15:13,000 And the classifiers just return whether or not they've matched. 216 00:15:19,460 --> 00:15:19,980 Yeah. 217 00:15:24,440 --> 00:15:24,960 Sorry. 218 00:15:25,080 --> 00:15:25,260 What's that? 219 00:15:28,240 --> 00:15:28,760 Okay. 220 00:15:28,900 --> 00:15:31,900 So you asked how it's different from flow analysis and flow tools. 221 00:15:32,280 --> 00:15:34,900 And so there are tools like TCP flow, 222 00:15:35,100 --> 00:15:38,500 which kind of are supposed to take in network traffic, 223 00:15:38,560 --> 00:15:42,220 and they just spit back out the individual flows as PCAPs or whatever. 224 00:15:42,460 --> 00:15:42,980 And so there are tools like TCP flow, 225 00:15:42,980 --> 00:15:44,820 and really the difference here is bringing together 226 00:15:45,420 --> 00:15:47,900 that ability to do flow analysis, 227 00:15:48,220 --> 00:15:53,380 but also to do application level analysis on the flows. 228 00:15:53,820 --> 00:15:58,860 It's the best part is not that it is able to kind of put together 229 00:15:58,860 --> 00:16:00,360 the TCP and the UDP sessions. 230 00:16:00,580 --> 00:16:03,680 It's that we can have that information put together 231 00:16:03,960 --> 00:16:07,720 and pass it on to more powerful tools that are able to look 232 00:16:07,720 --> 00:16:12,380 at the application level and no longer care 233 00:16:12,380 --> 00:16:15,080 that it came from a TCP stream or a UDP stream. 234 00:16:15,800 --> 00:16:18,000 We care what's happening at the application level. 235 00:16:23,740 --> 00:16:24,260 Yeah. 236 00:16:48,540 --> 00:16:50,240 I'm not familiar with that, 237 00:16:50,360 --> 00:16:55,300 but it does remind me of one other thing that I wanted to mention and forgot to. 238 00:16:55,820 --> 00:17:00,640 And that's one other thing that we have the capability to do with the API 239 00:17:01,200 --> 00:17:05,860 is to kind of correlate data between more than one TCP session. 240 00:17:06,240 --> 00:17:08,880 So if I understood your question correctly, 241 00:17:09,080 --> 00:17:12,000 there's a piece of software which actually lets you bring in more than one network stream. 242 00:17:12,380 --> 00:17:14,020 And correlate data between those. 243 00:17:15,160 --> 00:17:17,260 I haven't thought about the capability of doing that. 244 00:17:17,480 --> 00:17:22,980 But what we can do is, for instance, in the main user interface, 245 00:17:23,240 --> 00:17:26,300 we don't often care about the IP address. 246 00:17:26,440 --> 00:17:28,120 We care what domain it's looking at. 247 00:17:28,480 --> 00:17:33,020 And we actually have the ability to monitor all the DNS queries 248 00:17:33,020 --> 00:17:42,360 and make a DNS database and show instead the host that that IP address is looking at. 249 00:17:42,360 --> 00:17:44,160 And that IP address belongs to in the network traffic, 250 00:17:44,340 --> 00:17:47,620 even if that request was made at a different time. 251 00:17:47,900 --> 00:17:51,620 And it could also get that information from an HTTP request 252 00:17:51,620 --> 00:17:53,000 because they have the host field. 253 00:17:53,260 --> 00:17:57,500 So there's a bunch of different ways to kind of take a bit of information 254 00:17:57,500 --> 00:18:00,040 that we probably don't care about, which is the IP address, 255 00:18:00,280 --> 00:18:02,200 and show you the information that we do care about, 256 00:18:02,320 --> 00:18:04,920 like the domain name that was being connected to. 257 00:18:28,300 --> 00:18:30,060 So, can you repeat the last part of that? 258 00:18:30,540 --> 00:18:32,340 Well, when you're analyzing traffic, 259 00:18:32,640 --> 00:18:34,180 if you can choose something to relate to, 260 00:18:34,360 --> 00:18:35,860 say a graphic interface, 261 00:18:36,220 --> 00:18:37,340 and you look at that, 262 00:18:37,340 --> 00:18:38,240 and it's going to be new, 263 00:18:38,260 --> 00:18:39,480 and it's going to work, 264 00:18:39,780 --> 00:18:41,440 and it's going to be grass, 265 00:18:42,500 --> 00:18:45,660 do you use any of the graphs that are in the work? 266 00:18:45,880 --> 00:18:46,360 Yes. 267 00:18:47,100 --> 00:18:49,020 So do you use any of them? 268 00:18:49,840 --> 00:18:51,440 Do any of the databases, 269 00:18:51,560 --> 00:18:54,420 do they have something to analyze the graph? 270 00:18:55,660 --> 00:18:56,940 So I think your question is, 271 00:18:57,020 --> 00:19:00,060 in Wireshark there's a feature where you can actually kind of view graphs 272 00:19:00,060 --> 00:19:02,160 of the traffic as it comes through, 273 00:19:02,300 --> 00:19:07,700 and that gives you sort of information on which protocols are more popular at the time. 274 00:19:07,760 --> 00:19:11,400 And you're asking if that information is used at all to help? 275 00:19:11,860 --> 00:19:12,340 Yes. 276 00:19:12,360 --> 00:19:15,600 I don't use anything from Wireshark at all. 277 00:19:16,100 --> 00:19:19,640 But what is done is sort of protocols, 278 00:19:19,920 --> 00:19:22,900 in the options you can actually specify 279 00:19:24,060 --> 00:19:26,600 which protocol analyzers you want to load. 280 00:19:26,840 --> 00:19:28,300 So by default it loads all of them, 281 00:19:28,380 --> 00:19:31,060 but if you say don't care about HTTP ever, 282 00:19:31,120 --> 00:19:33,520 you can go ahead and unload that so that it doesn't run. 283 00:19:34,000 --> 00:19:39,900 But it also lets you order the protocols in the priority that you want them to be checked. 284 00:19:40,080 --> 00:19:41,820 So if you care the most that, 285 00:19:41,820 --> 00:19:43,820 we're looking for HTTP traffic, 286 00:19:44,120 --> 00:19:48,900 you can put that protocol classifier and dissector as like the priority ones. 287 00:19:49,420 --> 00:19:52,200 So will you already build the built-ins? 288 00:19:53,320 --> 00:19:53,880 Yes. 289 00:19:55,200 --> 00:19:55,320 Okay. 290 00:19:55,500 --> 00:19:56,040 All right. 291 00:20:04,480 --> 00:20:06,720 It's going to be GUI only. 292 00:20:07,240 --> 00:20:10,460 So I feel like for a tool like this, 293 00:20:10,460 --> 00:20:15,200 the user interface is probably going to be one of the most important parts. 294 00:20:15,380 --> 00:20:17,100 And it's part of the reason that it wasn't done 295 00:20:17,100 --> 00:20:18,900 is I've tried to spend a lot of time 296 00:20:19,460 --> 00:20:22,980 making sure that everything kind of behaves as you would expect 297 00:20:22,980 --> 00:20:26,700 and that you can customize and change things 298 00:20:26,700 --> 00:20:30,220 and make sure that the information that you care about is what's being shown. 299 00:20:31,320 --> 00:20:31,800 Yeah. 300 00:20:32,020 --> 00:20:32,640 Two things. 301 00:20:33,780 --> 00:20:35,300 You've got the Wireshark board, 302 00:20:35,420 --> 00:20:35,900 the console, 303 00:20:36,280 --> 00:20:37,440 and so many other things. 304 00:20:38,220 --> 00:20:40,820 How do you build the source project on GitHub? 305 00:20:42,780 --> 00:20:45,220 I haven't decided where it's going to be hosted yet. 306 00:20:45,460 --> 00:20:48,200 I can tell you that it will be Git-based, 307 00:20:48,400 --> 00:20:50,620 but I'm not sure if I'm going to host it on GitHub or not. 308 00:20:51,160 --> 00:20:52,500 But at the very least, 309 00:20:52,640 --> 00:20:55,200 you're free to mirror it on GitHub 310 00:20:55,200 --> 00:20:57,240 and send pull requests through GitHub. 311 00:20:58,980 --> 00:21:01,980 I just want to say thank you for getting started on this. 312 00:21:02,020 --> 00:21:04,240 You can tell us what each of you is going to do. 313 00:21:04,340 --> 00:21:05,180 Thank you even more. 314 00:21:07,280 --> 00:21:07,920 Thanks. 315 00:21:08,180 --> 00:21:08,820 Yeah. 316 00:21:23,140 --> 00:21:26,040 Well, so it really is going to depend on 317 00:21:26,040 --> 00:21:29,240 the different protocol classifiers and dissectors 318 00:21:29,240 --> 00:21:32,780 because each one is kind of written as a plug-in 319 00:21:32,780 --> 00:21:34,020 and they can provide 320 00:21:35,180 --> 00:21:36,900 any sort of filters you want, 321 00:21:36,980 --> 00:21:39,240 including an interface to, like, design those filters. 322 00:21:39,500 --> 00:21:41,020 So for HTTP, 323 00:21:41,940 --> 00:21:43,900 the filters will support filtering 324 00:21:43,900 --> 00:21:46,120 on anything that comes in the HTTP headers. 325 00:21:46,360 --> 00:21:48,340 Or for other protocols, 326 00:21:48,520 --> 00:21:51,140 it's going to vary based on which protocol is available. 327 00:21:51,520 --> 00:21:53,660 But any information 328 00:21:54,050 --> 00:21:56,960 which a classifier and a dissector deems 329 00:21:56,960 --> 00:21:58,460 is important enough to filter on, 330 00:21:58,600 --> 00:22:00,860 they can provide the interface to filter. 331 00:22:01,160 --> 00:22:05,160 And so you really get the ability to, kind of, 332 00:22:05,160 --> 00:22:07,920 filter based on, 333 00:22:08,060 --> 00:22:11,380 if you're looking at the protocol based on what, 334 00:22:11,540 --> 00:22:13,620 or if you're looking at one application, 335 00:22:13,940 --> 00:22:16,060 you can really drill down and figure out 336 00:22:16,060 --> 00:22:18,120 which of those you want. 337 00:22:18,820 --> 00:22:21,000 But it really depends on which application 338 00:22:21,000 --> 00:22:23,080 and how much the classifier is exposed. 339 00:22:26,780 --> 00:22:27,380 Yeah. 340 00:22:28,860 --> 00:22:29,460 . 341 00:22:33,900 --> 00:22:37,800 Well, so in the example, 342 00:22:38,160 --> 00:22:39,180 his question was, 343 00:22:39,300 --> 00:22:41,120 how do you pull out the application-level data, 344 00:22:41,860 --> 00:22:43,320 like the username and password? 345 00:22:43,600 --> 00:22:46,380 And so the example that I used before about Reddit, 346 00:22:47,640 --> 00:22:49,120 the idea here is that 347 00:22:50,360 --> 00:22:52,900 you'd be able to filter and look for, say, 348 00:22:53,000 --> 00:22:54,820 a post request to Reddit.com 349 00:22:54,820 --> 00:22:57,060 because that's likely how the login details 350 00:22:57,060 --> 00:22:57,840 are going to be submitted. 351 00:22:57,840 --> 00:23:00,080 And once you've found that, 352 00:23:00,240 --> 00:23:02,960 if you open up the window with all the HTTP information, 353 00:23:03,240 --> 00:23:07,080 it will show you a table of all the parameters 354 00:23:07,080 --> 00:23:08,380 that were passed via post. 355 00:23:08,680 --> 00:23:10,260 And so you'll get a table that has username 356 00:23:10,260 --> 00:23:12,280 and the username and password and the password. 357 00:23:12,840 --> 00:23:14,360 But it's not... 358 00:23:14,880 --> 00:23:16,560 The goal isn't to provide, like, 359 00:23:16,580 --> 00:23:18,320 a way to look at all the traffic and say, 360 00:23:18,440 --> 00:23:20,340 oh, someone had username and, like, 361 00:23:20,380 --> 00:23:21,780 logged in with this username and password. 362 00:23:22,180 --> 00:23:24,620 But if you know what you're looking for, 363 00:23:24,740 --> 00:23:26,240 you should be able to find it immediately. 364 00:23:36,000 --> 00:23:36,440 Okay. 365 00:23:36,680 --> 00:23:38,240 I don't see anyone else. 366 00:23:38,360 --> 00:23:39,880 But if you have any other questions, 367 00:23:39,920 --> 00:23:41,900 feel free to email me or grab me afterwards.