1 00:00:00,000 --> 00:00:05,980 Hello, everybody. Can you hear me fine? Cool. So my name is Ryan 2 00:00:05,980 --> 00:00:08,440 Holman. Today I'm going to be talking to you about a project 3 00:00:08,440 --> 00:00:11,280 I've been working on for a while. The aim of the project 4 00:00:11,280 --> 00:00:13,680 was to bring the data that we obtained through passive 5 00:00:13,680 --> 00:00:21,360 Bluetooth monitoring. Oh, sorry. That better? Okay. So the aim of 6 00:00:21,360 --> 00:00:24,320 the project was to bring the data that we obtained from 7 00:00:24,320 --> 00:00:28,620 passive Bluetooth monitoring into a Python medium. A little 8 00:00:28,620 --> 00:00:31,920 bit about myself before I get started. I live in Austin, Texas. 9 00:00:32,200 --> 00:00:35,280 I work for an amazing company called Zipton Technologies where 10 00:00:35,280 --> 00:00:40,080 I am their lead server developer. I have a master's 11 00:00:40,080 --> 00:00:43,340 degree in computer science. Most of my thesis work revolved around 12 00:00:43,340 --> 00:00:48,640 C++ template metaprogramming. This is a longer speech than I 13 00:00:48,640 --> 00:00:51,360 had at Black Hat. So you guys are going to get longer demos 14 00:00:51,360 --> 00:00:56,760 and more content. So pretty awesome. So here's what we're 15 00:00:56,760 --> 00:00:57,400 going to go over today. 16 00:00:58,620 --> 00:01:02,040 I've cherry picked out three Bluetooth essentials that I think anyone 17 00:01:02,040 --> 00:01:07,880 doing passive Bluetooth monitoring should understand. I'm going to go over some fundamental 18 00:01:07,880 --> 00:01:13,260 projects which created the foundation for my work. And then finally what I did, why 19 00:01:13,260 --> 00:01:17,420 I did it, why I thought it was needed and what it provides. And then I'm going to go 20 00:01:17,420 --> 00:01:21,800 on to some demos. And the demos are pretty thorough. They're in an IPython notebook format. 21 00:01:22,600 --> 00:01:28,380 It's really nice for creating documentation and live demos. It's all, all this content, 22 00:01:28,620 --> 00:01:33,200 is on your conference DVDs. So if you want to check it out later, go for it. The source 23 00:01:33,200 --> 00:01:36,880 code currently doesn't have a home online. So you guys have the only copy of it right 24 00:01:36,880 --> 00:01:41,000 now until I check it in somewhere. And let's get going. 25 00:01:42,540 --> 00:01:48,500 So the first thing to understand about Bluetooth is it's built upon this frequency hopping 26 00:01:48,500 --> 00:01:54,380 protocol. And what this means is a communication between two devices is going to take place 27 00:01:54,380 --> 00:01:58,140 over 79 different channels. And these devices will hop through these 28 00:01:58,140 --> 00:02:03,320 channels at about 1600 times per second. And the hardware that we have in order to 29 00:02:03,320 --> 00:02:08,180 monitor this Bluetooth in the air can really only listen to one channel or a small subset 30 00:02:08,180 --> 00:02:12,200 of channels at a time right now. So the data that we obtain is going to be very sparse. 31 00:02:12,680 --> 00:02:17,680 And what this means is we're not really going to have a whole conversation. And, you know, 32 00:02:17,680 --> 00:02:24,080 the data, we can still do a lot with it, right? It's not completely useless. And that's what 33 00:02:24,080 --> 00:02:27,640 we get. Okay. So here I have an illustration of a 34 00:02:27,640 --> 00:02:28,120 simplified Bluetooth. 35 00:02:29,200 --> 00:02:34,300 There's three things I want you to take away from this slide. Anytime I say BTBB, that's 36 00:02:34,300 --> 00:02:40,100 Bluetooth baseband. And the second thing is Bluetooth baseband is the lowest level on 37 00:02:40,100 --> 00:02:44,040 the Bluetooth stack. And this is what we listen to when we actually passively monitor Bluetooth. 38 00:02:46,560 --> 00:02:52,240 So the Bluetooth baseband layer cannot directly be accessible with our everyday commodity 39 00:02:53,080 --> 00:02:57,440 Bluetooth devices and operating system software. So we need specialized hardware in order to 40 00:02:57,440 --> 00:02:58,120 access this layer. 41 00:02:59,740 --> 00:03:12,400 Okay. And now onto the Bluetooth address space. This is the last thing that I kind of cherry picked out that I think you guys should understand about Bluetooth. It's some of the more important information we actually gain from this data when we are doing passive Bluetooth monitoring. 42 00:03:12,600 --> 00:03:28,120 The Bluetooth protocol tends to hide them. So if you're familiar with the typical networking protocol, the Bluetooth address is laid out pretty much like a Mac address, right? Where our upper half is vendor specific. And we make sure we are getting the Internet as a source. And then we can add a Bluetooth address to it. 43 00:03:28,980 --> 00:03:32,980 device specific. Now as far as relating them, that's about as 44 00:03:32,980 --> 00:03:36,800 far as it goes. Because in Bluetooth, where it starts to 45 00:03:36,800 --> 00:03:39,260 differ is we don't actually need this whole entire address in 46 00:03:39,260 --> 00:03:41,980 order to make a Bluetooth connection, right? On the 47 00:03:41,980 --> 00:03:44,740 illustration, the section labeled the NAP can be filled in 48 00:03:44,740 --> 00:03:48,280 with whatever we want as long as the UAP and the LAP are correct 49 00:03:48,280 --> 00:03:51,660 and we can actually make Bluetooth connections. So the 50 00:03:51,660 --> 00:03:53,600 other thing that we tend to do with Bluetooth addresses is we 51 00:03:53,600 --> 00:03:56,300 split them up into these three subsections, right? The NAP, the 52 00:03:56,300 --> 00:04:02,540 UAP, and the LAP. And so the NAP is the non-significant address 53 00:04:02,540 --> 00:04:05,500 part, right? Because we don't need it. And luckily we don't 54 00:04:05,500 --> 00:04:08,720 need this because it's actually the hardest part to obtain when 55 00:04:08,720 --> 00:04:14,080 we're passively monitoring Bluetooth. The UAP, this can be 56 00:04:14,080 --> 00:04:17,140 derived from packets that we obtain during passive Bluetooth 57 00:04:17,140 --> 00:04:19,960 monitoring if the packet actually has a payload or data 58 00:04:19,960 --> 00:04:25,040 associated to it, right? We obtain this by checking its air 59 00:04:25,040 --> 00:04:26,280 checks and basically we're able to see if the packet actually 60 00:04:26,300 --> 00:04:27,020 has a payload or data associated to it. And we're able to obtain 61 00:04:27,020 --> 00:04:30,260 this sometimes. So we won't always have UAP, but we can get 62 00:04:30,260 --> 00:04:34,320 it sometimes. LAP is basically given to us in Bluetooth base 63 00:04:34,320 --> 00:04:37,200 band traffic and we can pretty much always guarantee it's going 64 00:04:37,200 --> 00:04:40,240 to be there. And that's the Bluetooth address space in a 65 00:04:40,240 --> 00:04:44,880 nutshell. Okay. So for my project, I chose to use the 66 00:04:44,880 --> 00:04:48,660 Ubertooth. I chose it because it's small and it's cheap. If 67 00:04:48,660 --> 00:04:51,240 you're unfamiliar with the Ubertooth, it's a project created 68 00:04:51,240 --> 00:04:55,480 by Michael Osmond and it's basically a USB dongle capable of 69 00:04:55,480 --> 00:04:59,140 sending and receiving data on the same layer as Bluetooth base 70 00:04:59,140 --> 00:05:07,100 band. Some other things about the project. New this month, 71 00:05:07,180 --> 00:05:09,480 Dominic Spill took over as the lead programmer, so there's been a 72 00:05:09,480 --> 00:05:13,320 lot of code movement. And I expect to see a lot of new 73 00:05:13,320 --> 00:05:16,080 features and functionality coming out of it pretty soon. So 74 00:05:16,080 --> 00:05:20,520 that's pretty exciting. And most importantly for my project is the 75 00:05:20,520 --> 00:05:25,060 Ubertooth software provides a Kismet plug-in. And basically the 76 00:05:25,480 --> 00:05:28,360 Kismet plug-in can output this Bluetooth base band data into 77 00:05:28,360 --> 00:05:32,380 PCAP files. And this is kind of core to my libraries because I 78 00:05:32,380 --> 00:05:35,680 use these PCAP files in order to input the data into my 79 00:05:35,680 --> 00:05:41,600 libraries. And so really short, too. LiveBTBB, also created by 80 00:05:41,600 --> 00:05:45,080 Dominic Spill and Michael Osmond. It's basically a core 81 00:05:45,680 --> 00:05:49,740 library for Ubertooth and GR Bluetooth. And I mention it here 82 00:05:49,740 --> 00:05:52,740 because it provides a Wireshark plug-in. And this is closely 83 00:05:52,740 --> 00:05:53,840 related to what I did with 84 00:05:55,480 --> 00:05:59,080 my libraries. And luckily I had this because it made my work a 85 00:05:59,080 --> 00:06:02,280 lot easier, right? Michael Osmond did all the hard work of building 86 00:06:02,280 --> 00:06:04,620 this Wireshark plug-in. And then I could check my work 87 00:06:04,620 --> 00:06:08,220 against his. And it made my stuff go a lot quicker. If you're 88 00:06:08,220 --> 00:06:11,540 unfamiliar with LiveBTBB, it's basically it provides the data 89 00:06:11,540 --> 00:06:14,520 structures and methods for driving information for 90 00:06:14,520 --> 00:06:19,880 Bluetooth base band data. So SCAPI is the medium that I chose 91 00:06:19,880 --> 00:06:24,520 in Python in order to incorporate my data into 92 00:06:25,920 --> 00:06:30,880 Python. And SCAPI is pretty much a go to framework in Python if 93 00:06:30,880 --> 00:06:35,340 you want to deal with raw network traffic. It's a framework slash 94 00:06:35,340 --> 00:06:38,960 library which provides methods for sending, receiving, 95 00:06:39,300 --> 00:06:44,760 accessing, manipulating network traffic. And it supports a lot of 96 00:06:44,760 --> 00:06:47,360 different layers, right? Bluetooth baseband not being one 97 00:06:47,360 --> 00:06:51,440 of them. So that's kind of where I came in. So when I first 98 00:06:51,440 --> 00:06:55,360 started out, you know, I had one goal. And one goal only. And that was to 99 00:06:55,480 --> 00:06:57,320 somehow get all this Bluetooth 100 00:06:57,320 --> 00:06:59,460 baseband traffic into Python in its 101 00:06:59,460 --> 00:07:01,420 entirety, right? Figured once I could 102 00:07:01,420 --> 00:07:03,220 do that, I could rip 103 00:07:03,220 --> 00:07:05,460 through this stuff and throw it into my data crunching 104 00:07:05,460 --> 00:07:07,360 libraries and throw it into big data storage 105 00:07:07,360 --> 00:07:09,380 warehouses and just have fun 106 00:07:09,380 --> 00:07:11,440 with it, right? I don't need to sit 107 00:07:11,440 --> 00:07:13,320 there and hammer out C code 108 00:07:13,320 --> 00:07:14,760 or C++ code to 109 00:07:14,760 --> 00:07:17,360 do stuff that's rapid 110 00:07:17,360 --> 00:07:19,320 development, right? Python's better for rapid development. 111 00:07:20,460 --> 00:07:21,460 Okay, so I 112 00:07:21,460 --> 00:07:23,340 did this by creating the Bluetooth baseband layer 113 00:07:23,340 --> 00:07:25,300 in SCAPI, and when I first 114 00:07:25,300 --> 00:07:26,680 started out, I would just take 115 00:07:26,680 --> 00:07:28,940 the PCAP files created from Kismet 116 00:07:28,940 --> 00:07:31,200 and load them into my SCAPI 117 00:07:31,200 --> 00:07:33,260 module. And this was really great 118 00:07:33,260 --> 00:07:34,600 for post-mortem work, right? 119 00:07:35,500 --> 00:07:37,440 But the problem here was, is I couldn't 120 00:07:37,440 --> 00:07:39,120 find live data. I couldn't 121 00:07:40,160 --> 00:07:41,400 see packets streaming 122 00:07:41,400 --> 00:07:43,340 down my screen as they came in over the air, right? 123 00:07:44,060 --> 00:07:45,220 So I had two options 124 00:07:45,220 --> 00:07:47,140 here. My first option, 125 00:07:47,220 --> 00:07:49,080 which I started to do, was to build a direct 126 00:07:49,080 --> 00:07:51,200 interface into the Ubertooth so I could stream this 127 00:07:51,200 --> 00:07:52,440 data directly to SCAPI. 128 00:07:53,340 --> 00:07:55,120 I actually chose not to do this. 129 00:07:55,220 --> 00:07:57,340 I quit that. I'm working on it 130 00:07:57,340 --> 00:07:59,340 again, but for this initial release 131 00:07:59,340 --> 00:08:01,240 I stopped that because I thought, 132 00:08:01,320 --> 00:08:03,480 well, people using stuff like a USRP 133 00:08:03,480 --> 00:08:05,480 and they're able to write these PCAP 134 00:08:05,480 --> 00:08:07,440 files, they're not going to be able to use 135 00:08:07,440 --> 00:08:09,380 my libraries directly because I'm only going 136 00:08:09,380 --> 00:08:11,340 to have an Ubertooth layer. So what 137 00:08:11,340 --> 00:08:12,920 I did instead is I built a 138 00:08:13,660 --> 00:08:15,420 streaming layer for PCAP files 139 00:08:15,420 --> 00:08:17,280 in SCAPI, and what 140 00:08:17,280 --> 00:08:19,380 this does is it's kind of similar 141 00:08:19,380 --> 00:08:21,360 to the tail-to-ash FID in Linux, right? 142 00:08:21,660 --> 00:08:23,320 Where you're just kind of 143 00:08:23,340 --> 00:08:25,280 looking at the file as it's 144 00:08:25,280 --> 00:08:27,040 being written, and you can safely review this. 145 00:08:27,240 --> 00:08:28,960 So I created a layer 146 00:08:28,960 --> 00:08:31,180 where I'm actually able to read 147 00:08:31,180 --> 00:08:33,440 from the PCAP file safely as Kismet's 148 00:08:33,440 --> 00:08:35,240 writing to it so we can use it as kind of a 149 00:08:35,240 --> 00:08:36,600 data pipe in between applications. 150 00:08:38,520 --> 00:08:38,920 So 151 00:08:39,540 --> 00:08:40,900 now that I have my data flowing 152 00:08:40,900 --> 00:08:43,320 into SCAPI the way that I wanted 153 00:08:43,320 --> 00:08:45,220 it and I could get everything I wanted, 154 00:08:45,840 --> 00:08:47,320 there's a lot of stuff that I would do 155 00:08:47,320 --> 00:08:48,480 over and over that I really 156 00:08:49,780 --> 00:08:51,160 wanted to just build a lot of helper 157 00:08:51,160 --> 00:08:52,360 methods in my library for. 158 00:08:56,040 --> 00:08:57,560 So the first thing I did was 159 00:08:57,560 --> 00:08:59,400 a lot of times when we're going 160 00:08:59,400 --> 00:09:00,840 through this data we want to see all the 161 00:09:00,840 --> 00:09:03,280 unique Bluetooth addresses we saw within 162 00:09:03,280 --> 00:09:04,980 a data set, right? So 163 00:09:05,460 --> 00:09:07,300 I have helper methods in there that will 164 00:09:07,300 --> 00:09:08,720 give me a unique list of all 165 00:09:09,340 --> 00:09:11,240 Bluetooth addresses found within this traffic 166 00:09:11,240 --> 00:09:11,780 that I'm viewing. 167 00:09:13,200 --> 00:09:15,080 Same thing for data types too, right? 168 00:09:15,120 --> 00:09:16,740 If I have a PCAP capture, 169 00:09:17,000 --> 00:09:19,320 it's really useful for me to know, give me 170 00:09:19,320 --> 00:09:21,320 a count of all poll 171 00:09:21,320 --> 00:09:23,120 traffic or ID traffic, DB, 172 00:09:23,340 --> 00:09:25,580 DH traffic that I actually saw within this 173 00:09:25,580 --> 00:09:26,820 so I can actually get an idea for 174 00:09:27,720 --> 00:09:29,620 some review. Okay, this packet 175 00:09:29,620 --> 00:09:31,500 had a lot of voice traffic, this packet had a lot 176 00:09:31,500 --> 00:09:32,100 of data traffic, 177 00:09:33,180 --> 00:09:34,800 things like this. And it just 178 00:09:35,300 --> 00:09:37,440 makes it easy for me to actually see what's in 179 00:09:37,440 --> 00:09:38,740 these PCAP files really quickly. 180 00:09:39,900 --> 00:09:41,180 Some other things that I did, 181 00:09:42,220 --> 00:09:43,260 looking at MAC addresses 182 00:09:43,260 --> 00:09:45,420 all day, I don't know how many you guys can actually remember 183 00:09:45,420 --> 00:09:46,540 off the top of your head. 184 00:09:47,420 --> 00:09:48,880 So I would try to build these 185 00:09:49,960 --> 00:09:51,240 methods that would give me 186 00:09:51,240 --> 00:09:53,260 a human readable format for these things. 187 00:09:54,160 --> 00:09:56,520 So obviously if I had a vendor in a UAP, 188 00:09:56,740 --> 00:09:58,920 I could then look them up 189 00:09:59,700 --> 00:10:00,940 via manufacturer files 190 00:10:00,940 --> 00:10:03,080 and get the manufacturer name for me. 191 00:10:03,180 --> 00:10:04,960 So I could, as I'm streaming this data, 192 00:10:05,040 --> 00:10:06,400 I can see, okay, this is an Apple device. 193 00:10:06,580 --> 00:10:08,200 I can see, okay, this is a, you know, 194 00:10:09,280 --> 00:10:10,000 XYZ device. 195 00:10:10,560 --> 00:10:12,160 Now we're not always going to have an NAP, 196 00:10:12,840 --> 00:10:14,880 so when we only have a UAP, I can 197 00:10:14,880 --> 00:10:16,520 do a NAP reduction on this stuff, right? 198 00:10:16,720 --> 00:10:18,920 So a typical vendor list has about 20,000 199 00:10:18,920 --> 00:10:20,900 vendors in it. If I have a UAP, 200 00:10:21,000 --> 00:10:22,980 I can do a NAP reduction and get, you know, 201 00:10:22,980 --> 00:10:24,760 30 to 60 vendors, and it's 202 00:10:24,760 --> 00:10:26,860 associated NAP. So if I see 203 00:10:26,860 --> 00:10:28,620 the vendor that I'm actually looking at in 204 00:10:28,620 --> 00:10:30,720 this list, then I can associate its NAP 205 00:10:30,720 --> 00:10:31,360 along with it. 206 00:10:35,780 --> 00:10:36,920 So, as I 207 00:10:36,920 --> 00:10:38,700 did, like, I'm really into 208 00:10:38,700 --> 00:10:40,680 doc strings, so if you guys look through 209 00:10:40,680 --> 00:10:43,060 any of my libraries, there's extensive 210 00:10:43,060 --> 00:10:44,920 doc strings for all of my methods 211 00:10:44,920 --> 00:10:46,860 and functions, along with descriptions of their 212 00:10:46,860 --> 00:10:47,800 outputs and arguments. 213 00:10:48,540 --> 00:10:50,900 Also very pet-bait, so if you guys look at my 214 00:10:50,900 --> 00:10:51,860 stuff, it's pretty readable. 215 00:10:52,980 --> 00:10:54,780 And along with all this stuff, too, 216 00:10:54,940 --> 00:10:56,400 as I was learning all of this, 217 00:10:56,540 --> 00:10:59,080 I wrote a lot of extensive documentation 218 00:10:59,080 --> 00:11:00,920 for all the related projects, right? 219 00:11:01,880 --> 00:11:02,680 So if 220 00:11:02,680 --> 00:11:05,020 you're new to loading firmware on 221 00:11:05,020 --> 00:11:06,740 your Ubertooth to get the latest, greatest code 222 00:11:06,740 --> 00:11:08,940 and functionality, you know, the 223 00:11:08,940 --> 00:11:10,460 first time you do this, it's not so straightforward. 224 00:11:11,260 --> 00:11:12,920 So I have a lot of documentation on 225 00:11:12,920 --> 00:11:14,980 my website on how to actually do this 226 00:11:14,980 --> 00:11:16,540 type of stuff for, 227 00:11:16,600 --> 00:11:18,780 you know, the Ubertooth project and a couple other things. 228 00:11:19,560 --> 00:11:20,920 And I should be updating 229 00:11:20,920 --> 00:11:22,160 my documentation soon. 230 00:11:22,980 --> 00:11:25,020 Hopefully after the whole conference settles down 231 00:11:25,020 --> 00:11:26,500 and I can relax a little bit. 232 00:11:28,420 --> 00:11:28,920 So, 233 00:11:28,960 --> 00:11:29,600 on to the demo. 234 00:11:32,040 --> 00:11:33,080 Anyone in the audience 235 00:11:33,080 --> 00:11:34,340 use IPython Notebook? 236 00:11:37,260 --> 00:11:38,220 I see one. 237 00:11:38,540 --> 00:11:38,780 Alright. 238 00:11:39,300 --> 00:11:41,480 It's my new favorite 239 00:11:41,480 --> 00:11:42,340 Python tool. 240 00:11:43,740 --> 00:11:44,760 Basically, it's a 241 00:11:44,760 --> 00:11:46,440 great way to create documentation 242 00:11:46,440 --> 00:11:48,140 when you're actually doing this stuff and to 243 00:11:48,760 --> 00:11:50,860 allow people to run your code interactively. 244 00:11:51,980 --> 00:11:52,480 But, 245 00:11:52,980 --> 00:11:53,300 here we go. 246 00:11:53,660 --> 00:11:55,680 Basically, I'm going to go through a lot of, 247 00:11:56,100 --> 00:11:58,660 you know, like a SCAPI tutorial, but using these 248 00:11:58,660 --> 00:12:00,800 PCAP files for Bluetooth baseband traffic 249 00:12:00,800 --> 00:12:01,980 and show off some of my libraries. 250 00:12:02,880 --> 00:12:04,140 So the first thing I'm going to do 251 00:12:04,700 --> 00:12:06,680 from SCAPI import all. This is not very 252 00:12:06,680 --> 00:12:08,800 peppy to me, but for demo sake, it makes my 253 00:12:08,800 --> 00:12:09,740 namespace a little bit less. 254 00:12:10,100 --> 00:12:10,500 So, 255 00:12:12,440 --> 00:12:14,720 BTBB is the library, 256 00:12:14,980 --> 00:12:16,620 the Bluetooth baseband library 257 00:12:16,620 --> 00:12:18,560 that I created for SCAPI. Basically, 258 00:12:18,640 --> 00:12:20,940 when you want to install it, you can just put it 259 00:12:20,940 --> 00:12:22,860 in your Python path or if you really wanted to, 260 00:12:22,980 --> 00:12:24,240 you could throw it in your SCAPI layer folder. 261 00:12:28,340 --> 00:12:28,880 I'm going 262 00:12:28,880 --> 00:12:30,800 to create a reader interface to 263 00:12:30,800 --> 00:12:32,040 a sample PCAP file. 264 00:12:33,100 --> 00:12:34,960 And I'm going to read one packet from it 265 00:12:34,960 --> 00:12:36,720 and save it as a variable PKT. 266 00:12:38,400 --> 00:12:38,800 Now, 267 00:12:38,820 --> 00:12:40,820 SCAPI provides methods for viewing 268 00:12:40,820 --> 00:12:42,980 this data in a nice format, so let's 269 00:12:42,980 --> 00:12:44,740 look at the first packet, although I can tell you 270 00:12:44,740 --> 00:12:45,820 it's not going to look very interesting. 271 00:12:47,180 --> 00:12:48,300 So, my layer 272 00:12:48,860 --> 00:12:50,820 is based on top, like the bottom layer of my 273 00:12:50,820 --> 00:12:52,800 SCAPI module is based upon the Ethernet layer, 274 00:12:52,980 --> 00:12:53,920 since they're one-to-one match. 275 00:12:55,260 --> 00:12:56,960 So, when we see ID traffic, 276 00:12:57,220 --> 00:12:58,880 it's just going to look like an Ethernet packet. 277 00:12:59,760 --> 00:13:00,900 Wireshark also does this 278 00:13:00,900 --> 00:13:01,920 with their plugin. 279 00:13:03,240 --> 00:13:05,060 But let's look for something a little more 280 00:13:05,060 --> 00:13:06,780 interesting. So, I'm going to iterate through these packets 281 00:13:06,780 --> 00:13:08,760 one by one until we find something 282 00:13:08,760 --> 00:13:09,680 with actual data. 283 00:13:10,520 --> 00:13:11,640 And here we have something. 284 00:13:13,040 --> 00:13:14,880 We can see here that, you know, 285 00:13:15,000 --> 00:13:16,760 the Ethernet layer is the base layer 286 00:13:16,760 --> 00:13:18,860 for this stuff. Then we start to have 287 00:13:18,860 --> 00:13:19,900 the Bluetooth baseband layer. 288 00:13:20,760 --> 00:13:22,960 Each level of the Bluetooth baseband layer 289 00:13:22,980 --> 00:13:24,720 and a lot of this was modeled off of 290 00:13:25,280 --> 00:13:26,880 how it was laid out in Wireshark. 291 00:13:28,620 --> 00:13:29,520 SCAPI also provides 292 00:13:29,520 --> 00:13:30,940 summary data for us, too, if we 293 00:13:30,940 --> 00:13:32,500 just wanted to see this packet in a short view. 294 00:13:33,300 --> 00:13:34,720 This is really nice for just 295 00:13:35,440 --> 00:13:36,720 generically iterating through this stuff 296 00:13:36,720 --> 00:13:38,360 so you don't have a whole bunch of stuff on your screen. 297 00:13:38,960 --> 00:13:40,980 So, we can build just simple loops in order 298 00:13:40,980 --> 00:13:42,880 to go through, let's say, find me the first 299 00:13:42,880 --> 00:13:44,920 packet that actually has Bluetooth baseband payload 300 00:13:44,920 --> 00:13:46,840 in it, right? I'll iterate through 301 00:13:46,840 --> 00:13:48,780 and print out a short summary of every packet 302 00:13:48,780 --> 00:13:50,740 before that until we find one 303 00:13:50,740 --> 00:13:51,720 with actual payload. 304 00:13:53,160 --> 00:13:53,600 Okay. 305 00:13:54,520 --> 00:13:54,960 So, 306 00:13:57,800 --> 00:13:59,060 next we can actually 307 00:13:59,060 --> 00:14:00,900 these are just kind of like built-in SCAPI things. 308 00:14:01,200 --> 00:14:02,880 If you're unfamiliar with SCAPI, this is probably 309 00:14:02,880 --> 00:14:04,580 informative, otherwise it's probably kind of boring. 310 00:14:04,840 --> 00:14:06,920 We can take the rest of our packets from our PCAP 311 00:14:06,920 --> 00:14:08,900 list and load them all into 312 00:14:08,900 --> 00:14:09,620 a Python list. 313 00:14:11,520 --> 00:14:12,580 We can view it, 314 00:14:12,640 --> 00:14:14,960 see that there's 440 other 315 00:14:14,960 --> 00:14:15,720 packets in here. 316 00:14:16,580 --> 00:14:18,500 We can treat it a lot like a Python list 317 00:14:18,500 --> 00:14:19,760 where we can do 318 00:14:20,960 --> 00:14:22,280 list splitting on it. 319 00:14:23,860 --> 00:14:24,260 Alright. 320 00:14:24,480 --> 00:14:26,120 Now we can take this list and 321 00:14:26,120 --> 00:14:28,760 so this is really helpful too to have SCAPI 322 00:14:28,760 --> 00:14:30,640 with this traffic because I can actually take 323 00:14:30,640 --> 00:14:32,860 that data that I just loaded into a list now 324 00:14:32,860 --> 00:14:34,740 and say I knew Joe Schmo 325 00:14:34,740 --> 00:14:36,180 had, you know, MAC address 326 00:14:36,180 --> 00:14:38,200 or Bluetooth address XYZ. 327 00:14:38,480 --> 00:14:40,760 I could filter out all of his data and write that 328 00:14:40,760 --> 00:14:42,480 to a PCAP file so now I have these 329 00:14:42,480 --> 00:14:44,560 really nice formatted PCAP files. 330 00:14:44,700 --> 00:14:46,460 I can say, okay, this is all of Joe Schmo's traffic 331 00:14:46,460 --> 00:14:48,600 and I'll save it for later analysis. 332 00:14:49,260 --> 00:14:50,680 So, here's just an example of me 333 00:14:50,680 --> 00:14:52,640 writing out all this data to a PCAP file 334 00:14:52,980 --> 00:14:54,960 I'm doing a bash LS on it 335 00:14:54,960 --> 00:14:56,780 through IPython in order to show you that it's 336 00:14:56,780 --> 00:14:58,880 written there. I can then open it back 337 00:14:58,880 --> 00:15:00,880 up and look at five packets 338 00:15:00,880 --> 00:15:02,500 from it and 339 00:15:02,500 --> 00:15:03,580 close all my files. 340 00:15:04,720 --> 00:15:07,040 Okay, so I mentioned that I created this streamer 341 00:15:07,040 --> 00:15:08,800 object in SCAPI in order to 342 00:15:08,800 --> 00:15:11,040 be able to access these PCAP 343 00:15:11,040 --> 00:15:12,360 files as Kismet's writing them. 344 00:15:12,800 --> 00:15:15,080 So here's an example of this. This first 345 00:15:16,340 --> 00:15:17,140 four lines 346 00:15:17,140 --> 00:15:19,000 of gibberish here is my hybrid 347 00:15:19,000 --> 00:15:20,000 of bash and Python. 348 00:15:20,680 --> 00:15:22,820 Don't ever use anything like this. This was actually 349 00:15:22,980 --> 00:15:24,760 just one line less than actually 350 00:15:24,760 --> 00:15:25,280 doing the 351 00:15:27,360 --> 00:15:28,440 pure Pythonic way. 352 00:15:28,680 --> 00:15:30,720 Basically all I'm doing here is looking at my Kismet 353 00:15:30,720 --> 00:15:32,700 logs and grabbing the latest one. 354 00:15:33,800 --> 00:15:34,620 So let's assume 355 00:15:34,620 --> 00:15:36,680 for demo's sake, I'm not going to do 356 00:15:38,660 --> 00:15:40,480 I'm not going to do a live Kismet packer 357 00:15:41,820 --> 00:15:42,980 capture, but let's 358 00:15:42,980 --> 00:15:44,920 just assume it's being written to right now. I'm going to grab 359 00:15:44,920 --> 00:15:45,580 my latest log 360 00:15:47,000 --> 00:15:48,380 and here's the file here. 361 00:15:49,080 --> 00:15:50,640 I'm going to create a streamer 362 00:15:50,640 --> 00:15:51,960 object on top of that. 363 00:15:52,980 --> 00:15:54,700 And now I can stream through this. 364 00:15:56,220 --> 00:15:56,940 And my 365 00:15:56,940 --> 00:15:58,800 streamer object, my streamer iterator, 366 00:15:58,860 --> 00:16:00,860 I can tell it a lot of different things. I can say 367 00:16:00,860 --> 00:16:02,840 stop when you get to the end and basically 368 00:16:02,840 --> 00:16:04,840 to remember where you are. So the next time you access 369 00:16:04,840 --> 00:16:06,560 your stream, you can start where you left off. 370 00:16:07,180 --> 00:16:08,660 If I tell it not to stop, 371 00:16:08,880 --> 00:16:10,960 it'll basically sit there and wait until a new packet 372 00:16:10,960 --> 00:16:12,860 comes in and we can kind of see this stuff go through. 373 00:16:13,380 --> 00:16:14,920 That's more for an interactive mode 374 00:16:14,920 --> 00:16:16,920 in SCAPI where you'd actually have to control C 375 00:16:16,920 --> 00:16:19,020 in order to get out of it. But here's 376 00:16:19,020 --> 00:16:19,880 just an example of it. 377 00:16:22,980 --> 00:16:24,680 And then we can close my streamer object. 378 00:16:25,980 --> 00:16:26,940 Oh, actually, let's 379 00:16:26,940 --> 00:16:27,660 go back. Sorry. 380 00:16:28,500 --> 00:16:30,840 That wasn't very informative. So let's go to this again 381 00:16:31,280 --> 00:16:32,980 and open my streamer object and look at 382 00:16:32,980 --> 00:16:35,000 this stuff and show you that the next time that I go to access 383 00:16:35,000 --> 00:16:36,860 this stuff, there's been no new data 384 00:16:36,860 --> 00:16:38,940 written to this file, so I'm basically going to start off 385 00:16:38,940 --> 00:16:40,900 with nothing, right? So this is really 386 00:16:40,900 --> 00:16:42,920 useful for when I'm just streaming through in order 387 00:16:42,920 --> 00:16:44,960 to see all this data in real time. 388 00:16:50,280 --> 00:16:50,900 Okay, so 389 00:16:50,900 --> 00:16:52,880 this is just kind of some setup stuff. I use 390 00:16:52,980 --> 00:16:54,860 Wireshark manufacturer files when I actually do my 391 00:16:54,860 --> 00:16:56,840 vendor lookup and NAP lookup 392 00:16:56,840 --> 00:16:57,640 on a lot of my data. 393 00:16:58,620 --> 00:17:00,620 So I don't have my Wireshark manufacturer 394 00:17:00,620 --> 00:17:01,960 file in a default location, 395 00:17:02,720 --> 00:17:04,780 so I actually have to specify it here. 396 00:17:06,520 --> 00:17:08,140 I'm going to open up another PCAP file 397 00:17:09,100 --> 00:17:10,880 and we're just going to view the first 398 00:17:10,880 --> 00:17:12,560 couple packets within this PCAP file 399 00:17:13,160 --> 00:17:14,900 and we're going to look for the first one 400 00:17:14,900 --> 00:17:16,960 that has 401 00:17:16,960 --> 00:17:19,120 some actual data associated with it, right? We have a UAP 402 00:17:19,120 --> 00:17:19,540 for this. 403 00:17:20,380 --> 00:17:22,380 And so what I'm going to do here is I'm going to show you 404 00:17:22,980 --> 00:17:24,900 these helper methods built in here. Here's an example, 405 00:17:25,080 --> 00:17:27,040 the get vendor one, right? So let's assume 406 00:17:27,040 --> 00:17:28,720 we did know the NAP and I plugged in 407 00:17:28,720 --> 00:17:30,780 the associated upper NAP to 408 00:17:30,780 --> 00:17:32,980 this address we saw here, right? 409 00:17:33,060 --> 00:17:34,940 This wasn't in the data, but let's pretend like we 410 00:17:34,940 --> 00:17:36,820 knew it. I can now see, okay, the vendor 411 00:17:36,820 --> 00:17:38,880 is this, right? But if we did not 412 00:17:38,880 --> 00:17:41,020 have that, I can take this packet 413 00:17:41,020 --> 00:17:42,680 here, which was packet number six, 414 00:17:42,780 --> 00:17:44,800 and actually plug it into my get vendors function 415 00:17:45,820 --> 00:17:46,180 and 416 00:17:46,740 --> 00:17:48,940 I'll get back a variable, possible vendors, right? 417 00:17:49,400 --> 00:17:50,860 And we can see that there were 60 418 00:17:50,860 --> 00:17:52,100 possible vendors for that. 419 00:17:52,980 --> 00:17:53,800 I can then 420 00:17:54,580 --> 00:17:56,740 look through all the vendors that, you know, it was 421 00:17:56,740 --> 00:17:58,800 associated with. And for me, this was very 422 00:17:58,800 --> 00:18:00,960 easy because I knew 423 00:18:00,960 --> 00:18:02,580 that I was looking for an Apple device, right? 424 00:18:02,760 --> 00:18:05,000 So now I have here my NAP associated 425 00:18:05,000 --> 00:18:06,900 with that address and my actual device 426 00:18:06,900 --> 00:18:07,220 name. 427 00:18:10,320 --> 00:18:10,880 Grabbing all 428 00:18:10,880 --> 00:18:12,860 distinct Bluetooth addresses out of 429 00:18:12,860 --> 00:18:14,020 a packet capture. 430 00:18:14,520 --> 00:18:16,740 This provides very useful for when you're actually plugging 431 00:18:16,740 --> 00:18:18,160 into other 432 00:18:18,880 --> 00:18:20,820 applications you might create or other tools, 433 00:18:20,920 --> 00:18:22,840 right? I can take this list and send it 434 00:18:22,980 --> 00:18:25,120 to, you know, 435 00:18:25,140 --> 00:18:26,940 a scanner utility that I have, right? 436 00:18:26,980 --> 00:18:28,880 I can send this list to a connection 437 00:18:28,880 --> 00:18:30,980 utility. I can do 438 00:18:30,980 --> 00:18:32,820 a lot of things with this. And basically this 439 00:18:32,820 --> 00:18:34,660 kind of builds the core for a lot of my 440 00:18:35,040 --> 00:18:36,960 tools that I just kind of create around my library. 441 00:18:38,460 --> 00:18:40,900 I actually don't have a Bluetooth library installed 442 00:18:40,900 --> 00:18:42,840 on my OSX operating system right here, so 443 00:18:42,840 --> 00:18:44,880 this part is not going to work. But this 444 00:18:44,880 --> 00:18:46,840 was me sampling, showing you 445 00:18:46,840 --> 00:18:48,940 that you can take this list and throw it 446 00:18:48,940 --> 00:18:50,880 through, like, throw all these addresses through 447 00:18:50,880 --> 00:18:51,500 a Bluetooth scanner. 448 00:18:52,980 --> 00:18:53,880 This works in Linux. 449 00:18:54,540 --> 00:18:56,720 I actually have never really been able to find a really 450 00:18:56,720 --> 00:18:58,440 good Python Bluetooth module. 451 00:18:58,820 --> 00:19:00,520 So if anyone knows of any, let me know. 452 00:19:02,480 --> 00:19:02,980 Let's go 453 00:19:02,980 --> 00:19:04,840 to another demo. So this is kind of the fun 454 00:19:04,840 --> 00:19:06,980 stuff. I do a lot 455 00:19:06,980 --> 00:19:08,820 of data analysis in my day-to-day work. 456 00:19:09,880 --> 00:19:11,000 So I took a lot 457 00:19:11,000 --> 00:19:12,940 of this data that I'm grabbing from these PCAP files 458 00:19:12,940 --> 00:19:14,940 and I can do a lot of really cool stuff with it, 459 00:19:15,000 --> 00:19:16,940 right? So anyone here 460 00:19:16,940 --> 00:19:18,800 familiar with Pandas, Python Pandas? 461 00:19:21,500 --> 00:19:22,800 All right. He's the Python. 462 00:19:22,980 --> 00:19:24,180 Guru over there. 463 00:19:26,000 --> 00:19:26,960 Python Pandas is 464 00:19:26,960 --> 00:19:28,920 basically like a data crunching library 465 00:19:28,920 --> 00:19:30,820 in Python. It's really awesome. You can do these 466 00:19:30,820 --> 00:19:32,900 in memory, like, database tables and you can do 467 00:19:32,900 --> 00:19:34,480 a lot of, like, group by operations and 468 00:19:35,380 --> 00:19:35,820 matplotlib 469 00:19:35,820 --> 00:19:38,800 graphs and stuff like that off 470 00:19:38,800 --> 00:19:39,400 all your data. 471 00:19:41,140 --> 00:19:42,440 So here I'm going to 472 00:19:42,440 --> 00:19:44,840 open up another simple PCAP 473 00:19:44,840 --> 00:19:46,800 file and I'm going to read it in with my 474 00:19:46,800 --> 00:19:47,220 streamer. 475 00:19:50,280 --> 00:19:50,860 I'm going to 476 00:19:50,860 --> 00:19:52,480 instantiate a whole list of packets. 477 00:19:53,160 --> 00:19:54,940 Rather than iterating through, which would be 478 00:19:54,940 --> 00:19:56,880 better memory, but not going to get 479 00:19:56,880 --> 00:19:58,760 into that right now. So basically 480 00:19:58,760 --> 00:20:00,740 here this gibberish is me 481 00:20:00,740 --> 00:20:02,780 going through my list of packets that I 482 00:20:02,780 --> 00:20:04,740 put in a PCAP 483 00:20:04,740 --> 00:20:06,880 file list and I'm just going to 484 00:20:06,880 --> 00:20:08,860 grab out some interesting information from within 485 00:20:08,860 --> 00:20:10,860 each packet, right? I'm going to grab if it 486 00:20:10,860 --> 00:20:12,180 had UAP and LAP, 487 00:20:12,820 --> 00:20:14,780 what type of packet type it was, is it going 488 00:20:14,780 --> 00:20:15,420 to the master, 489 00:20:16,640 --> 00:20:17,920 was there a payload associated, 490 00:20:19,360 --> 00:20:20,900 and in the time that 491 00:20:20,900 --> 00:20:22,740 I actually saw it from the PCAP metadata. 492 00:20:23,320 --> 00:20:23,960 And so 493 00:20:25,920 --> 00:20:27,140 when I do this, 494 00:20:27,280 --> 00:20:29,000 I never cleared all of my stuff, 495 00:20:29,200 --> 00:20:29,800 but either way, 496 00:20:30,520 --> 00:20:33,000 I already had the output pre-calculated on these, I guess. 497 00:20:33,880 --> 00:20:35,080 So here I'm just going to 498 00:20:35,080 --> 00:20:36,860 show you the head of my data set 499 00:20:36,860 --> 00:20:38,920 that I just created above, right? And basically 500 00:20:38,920 --> 00:20:40,840 this is just the first five rows of my table 501 00:20:40,840 --> 00:20:42,620 that I created in memory. And this is a 502 00:20:42,620 --> 00:20:43,920 Pandas table. 503 00:20:45,480 --> 00:20:46,760 So basically I can go through my 504 00:20:46,760 --> 00:20:48,700 data set, find the min and max date. 505 00:20:49,060 --> 00:20:50,500 I can see that this packet capture 506 00:20:50,500 --> 00:20:52,500 was only about five minutes long. 507 00:20:52,980 --> 00:20:55,000 And then I can just rip out some awesome graphs 508 00:20:55,000 --> 00:20:56,960 on all this stuff by doing a lot of group by functions, 509 00:20:57,120 --> 00:20:58,880 right? I can say, okay, show me 510 00:20:58,880 --> 00:21:00,760 all of my data for 511 00:21:01,620 --> 00:21:02,940 all my client, like all the 512 00:21:02,940 --> 00:21:04,280 LAPs I actually saw, right? 513 00:21:04,700 --> 00:21:06,920 And then, you know, I get this really cool graph here. 514 00:21:07,180 --> 00:21:08,960 I can, you know, with four more lines 515 00:21:08,960 --> 00:21:10,680 of Python, I can say, okay, well 516 00:21:10,680 --> 00:21:13,060 just show me all data that wasn't, 517 00:21:13,060 --> 00:21:15,000 you know, blank, right? Let's get rid of all of 518 00:21:15,000 --> 00:21:16,600 our ID traffic, and I can show this stuff. 519 00:21:17,200 --> 00:21:18,800 I can do type breakdowns by 520 00:21:18,800 --> 00:21:20,880 packet types for all this stuff with a couple 521 00:21:20,880 --> 00:21:21,440 more lines. 522 00:21:22,980 --> 00:21:24,420 I mean, this is just all, Python 523 00:21:24,420 --> 00:21:26,680 Pandas is really cool for this. With two lines of code, 524 00:21:26,840 --> 00:21:28,740 you can just rip through this data and do some 525 00:21:28,740 --> 00:21:29,660 really cool stuff with it. 526 00:21:30,540 --> 00:21:32,280 Here I'm just showing, you know, per LAP, 527 00:21:32,340 --> 00:21:34,920 here are the packet types we saw for each 528 00:21:34,920 --> 00:21:36,920 one. And I'm actually 529 00:21:36,920 --> 00:21:38,880 running out of time, so I'm going to kind of sum this 530 00:21:38,880 --> 00:21:40,700 up. I can also do a lot of really cool 531 00:21:40,700 --> 00:21:42,500 time series stuff on this, so I can see 532 00:21:42,860 --> 00:21:44,660 if I'm running this packet capture overnight, 533 00:21:44,820 --> 00:21:46,920 I can, you know, see at midnight I saw this big spike 534 00:21:46,920 --> 00:21:47,960 of traffic or whatever. 535 00:21:48,940 --> 00:21:50,540 We can break this out a lot of different ways. 536 00:21:50,620 --> 00:21:52,480 Per client, or per LAP, 537 00:21:54,360 --> 00:21:55,080 time series, 538 00:21:57,020 --> 00:21:58,800 cumulative sums of all the data they 539 00:21:58,800 --> 00:21:59,100 sent, 540 00:22:00,760 --> 00:22:02,900 you know, sub graphs of different 541 00:22:02,900 --> 00:22:04,500 types of data they sent, stuff like this. 542 00:22:04,760 --> 00:22:06,980 So it's really cool stuff. If you like Python Pandas, 543 00:22:07,000 --> 00:22:08,900 you can just kind of go through these tutorials and learn 544 00:22:08,900 --> 00:22:09,480 a lot from them. 545 00:22:11,860 --> 00:22:13,120 Alright, back to the slides. 546 00:22:20,320 --> 00:22:22,440 Okay, so what is the relevance of all of this? 547 00:22:22,980 --> 00:22:24,940 Obviously I created a way to do 548 00:22:24,940 --> 00:22:26,040 post-mortem and real-time 549 00:22:26,680 --> 00:22:28,220 data analysis on these 550 00:22:28,960 --> 00:22:30,620 Bluetooth baseband PCAP files 551 00:22:30,620 --> 00:22:31,240 in Python. 552 00:22:33,020 --> 00:22:35,040 I did it in a way where we're 553 00:22:35,040 --> 00:22:36,600 providing cross compatibility across 554 00:22:36,600 --> 00:22:38,400 different devices, which is really nice 555 00:22:38,760 --> 00:22:40,760 just for, you know, people using other 556 00:22:40,760 --> 00:22:42,100 tools out there, like the USRP. 557 00:22:43,520 --> 00:22:44,040 And 558 00:22:44,580 --> 00:22:46,840 a lot of these libraries can just be really 559 00:22:46,840 --> 00:22:48,840 easily incorporated into other 560 00:22:48,840 --> 00:22:50,920 tools you have, auditing tools, pen testing 561 00:22:50,920 --> 00:22:52,960 tools. There's a lot of cool stuff. 562 00:22:52,980 --> 00:22:54,640 You can do with this. I just 563 00:22:54,640 --> 00:22:56,860 I play with this stuff all the time while I'm 564 00:22:56,860 --> 00:22:58,660 drinking coffee in the morning and I can rip out a new 565 00:22:58,660 --> 00:23:00,640 scanner and try some new techniques and 566 00:23:01,420 --> 00:23:02,720 it's pretty easy stuff. 567 00:23:02,820 --> 00:23:04,720 In Python you only need a couple lines of code. 568 00:23:05,360 --> 00:23:06,960 So stuff I'm working on right now, 569 00:23:08,220 --> 00:23:08,820 I'm working 570 00:23:08,820 --> 00:23:09,680 on some 571 00:23:10,680 --> 00:23:12,640 Python libraries to directly interface 572 00:23:12,640 --> 00:23:14,800 with a lot of the Ubertooth functionality that you 573 00:23:14,800 --> 00:23:15,820 get out of their C libraries. 574 00:23:17,280 --> 00:23:18,840 Just recently, I think it was like this 575 00:23:18,840 --> 00:23:20,740 week, Dominic Spills made the 576 00:23:20,740 --> 00:23:22,780 main Ubertooth library a shared 577 00:23:22,980 --> 00:23:24,100 library, which is really nice for me. 578 00:23:24,740 --> 00:23:26,360 So now I can just kind of plug into that 579 00:23:26,360 --> 00:23:28,740 instead of me creating it in a Python setup.py 580 00:23:28,740 --> 00:23:28,980 file. 581 00:23:31,340 --> 00:23:32,940 I still want to build a direct 582 00:23:32,940 --> 00:23:34,900 stream into the Ubertooth now that I actually 583 00:23:34,900 --> 00:23:36,820 have a way for people with USRP to 584 00:23:36,820 --> 00:23:38,900 use it. Now I just kind of want to 585 00:23:38,900 --> 00:23:40,120 not run Kismet in the background. 586 00:23:40,820 --> 00:23:43,040 I mean, no offense to Kismet, I just, you know, 587 00:23:43,060 --> 00:23:44,980 resource consumption and stuff like that. I would 588 00:23:44,980 --> 00:23:46,740 just rather directly stream this stuff straight into 589 00:23:46,740 --> 00:23:47,040 Python. 590 00:23:48,860 --> 00:23:50,980 Bluetooth low energy layer, I had never created 591 00:23:50,980 --> 00:23:52,820 that layer, although it would be fairly 592 00:23:52,980 --> 00:23:54,660 simple for me to do now that I know my way around 593 00:23:54,660 --> 00:23:55,200 all this stuff. 594 00:23:57,140 --> 00:23:58,900 And we have no way of actually sending 595 00:23:58,900 --> 00:24:00,580 these packets out if I were to create them in 596 00:24:00,580 --> 00:24:02,800 SCAPI right now, but it would be really nice for me to 597 00:24:02,800 --> 00:24:04,880 just make sure it was all sane if 598 00:24:04,880 --> 00:24:06,680 we are building packets in SCAPI for 599 00:24:06,680 --> 00:24:08,820 in the future when we actually have a way of sending these 600 00:24:08,820 --> 00:24:10,740 out, we have a medium for actually creating a lot of 601 00:24:10,740 --> 00:24:11,140 these packets. 602 00:24:13,620 --> 00:24:14,820 And here's some references. 603 00:24:15,160 --> 00:24:16,940 You can, all my slides and content 604 00:24:16,940 --> 00:24:19,160 is on the conference DVDs. 605 00:24:19,540 --> 00:24:20,820 But if you want to get into this stuff 606 00:24:20,820 --> 00:24:22,840 or learn it, or if there was something I 607 00:24:22,980 --> 00:24:24,260 talked about that you weren't familiar with, 608 00:24:24,460 --> 00:24:26,080 I have links to all the stuff here. 609 00:24:27,300 --> 00:24:28,920 And you can find a lot of my 610 00:24:30,600 --> 00:24:31,000 tutorials 611 00:24:31,000 --> 00:24:32,880 and demo code online at 612 00:24:32,880 --> 00:24:33,800 hacknar.com. 613 00:24:34,880 --> 00:24:37,600 I actually don't have the code from this 614 00:24:37,600 --> 00:24:39,340 conference up there yet, but later this week 615 00:24:39,340 --> 00:24:40,000 I'll put it up there. 616 00:24:40,980 --> 00:24:42,460 Contact me at my email address. 617 00:24:43,200 --> 00:24:44,940 Don't be scared. I'm pretty nice. 618 00:24:46,100 --> 00:24:47,280 And follow me on Twitter, 619 00:24:47,400 --> 00:24:49,220 hacknar.com. I'll try to do any updates 620 00:24:49,220 --> 00:24:49,980 for the project there. 621 00:24:51,340 --> 00:24:52,140 Thank you. 622 00:24:52,980 --> 00:24:53,800 Thank you.