Welcome. Thanks for coming out. My name's Aaron Peterson. I'm going to be talking this morning about penetration testing Wi-Fi. So, I'm going to kick things off, get right into it, and make sure everything works here. Can everybody see that all right? It was a little blurry earlier. I've got two laptops in sync here, so if whatever I'm talking about doesn't match up the slides, let me know, and I'm probably off a slide or something. So, who am I? What am I going to be talking about? Again, my name's Aaron Peterson. I'm going to be talking about pen testing Wi-Fi. Here's just a general outline of what we're going to be talking about, general pen testing. One of the tools I'm going to be talking about today is Y-Crawl. So, who am I? Again, my name's Aaron Peterson. I'm the project manager and developer for Y-Crawl. Test? Is that better? Okay. I'll try to scoot over here a little bit. Also, the founder of Midnight Research Labs. That's the research labs that this project came out of. Also, the co-founder of Alpha Defense, along with Bill Terwilliger, who's around here somewhere. My day job, I work on the network security incident response team at Harvard, and kind of a general network security by day, pen tester by night. Here's a little blurb on both Alpha Defense and Midnight Research Labs. Alpha Defense is based out of Boston. Just a standard quick disclosure here, and on the views, you can read it. So, picture's a little dramatic here, but here's kind of what I view to be the current state of Wi-Fi scanning. Wi-Fi's everywhere. I think in my hotel room last night, without an antenna, internal card, I had about 30 different access points. Probably only about two of those access points were, you know, real open access points, and it takes a little bit of work to drill down to get to something that's usable. We don't really care about, you know, all the extra access points, that, you know, won't do anything for us. A couple, a couple of points. Again, WEP, you know, it doesn't mean, just because it's WEP doesn't mean that we can't get on an access point, or use an access point, and also, just because it's open, doesn't mean that, you know, we can get on that access point. You know, WEP, you can put lipstick on a pig, but it's still a pig. So, moving forward, some of the different use cases for some of the different groups. This release is really focused more on the penetration testing side of things. Y-Crawl is a little bit more of a generic framework that we can use for doing a lot of different things, finding rogue access points, just getting on the internet, things like that. Talking about rogue access points, what's behind that access point? Magical land of Narnia, or the soft, chewy underbelly of my corporate network being exposed. We want to try to find those types of things. So, what we want to do is search through these access points methodically to try to find the ones that we care about or are relevant to us. So, a few slides here on penetration testing with Wi-Fi. Generally, there's kind of two different types of penetration testing, and one may or may not be considered penetration testing, but it's two of the types of engagements that I mostly see. The more traditional... The more traditional penetration testing follows, you know, of Wi-Fi specifically, is very similar to other types of penetration testing. We have a similar methodology. We're going to start with some type of reconnaissance phase. We want to do, you know, from there we move on to discovery, you know, footprinting, enumeration, scanning, those types of things. Then move on to some type of vulnerability assessment phase, and then potentially some type of penetration testing itself. And then there's all the reports that come after that. But, there's a... There's a lot of individual tools that will help us with those different types of things. But, they're kind of scattered about, and some work and some don't. And one of the things that we try to do with Wi-Crawl is to wrap those up into one usable interface. The second thing I want to talk about with regards to penetration testing is rogue access points. Like I mentioned before, you can take a $20 device, stick it on your network, and completely subvert, you know, all the security that you've put in place on the network. So a lot of these things lead to some kind of... I'm not, you know, I'm not sure that they are the exact same, but I'm sure that in some cases, the security that you can put in is And, of course, we try to interrupt the environment, and we try to sort of, you know, really open the interface a little bit so that it's not... I'm not sure if this is accurate. I think it's a bit of a... We want to keep this in mind. We want to make sure that, you know, we don't have any kind of problem with the as, you know, what you're seeing in the way it's being seen. So, you know, you could see that there are some really, really small lines of screen, like the screen that is a little bit more distant... it really takes a long time to really sit down and do a real scan. In the field it often takes longer than sort of the lab cases that you see of cracking WEP or WPA, things like that often times maybe you won't see enough clients or you won't see WPA handshake, things like that can really contribute to the length. So you really just want to sit something down and let it sort of thoroughly scan through the entire AP space. Hackers have a lot more time than pen testers. Pen testers typically have a week on site at most, maybe an engagement to last a month but a hacker can sit in his house and let WEP crack run or whatever it is, cow patty run for months. Again there's tons of tools to do this kind of stuff. General geographic issues with any type of business park, things like that, you're gonna see hundreds and hundreds of access points in any large building, you know any type of downtown area. So it's really difficult to distinguish between what you're actually testing and what's available, especially in the case of the rogue access point. It's really difficult to tell whether you're actually authorized to scan through these different access points because just because a new access point, you know, appears somewhere on the network, you know, it doesn't mean that you're authorized to, you know, crack it and see if that's on, you know, your network. So it's kind of difficult. And again with rogue access points, you're never gonna be able to prove a negative. You can never prove that an access point isn't on your network. There are, you know, you can catch the 80% case by, you know, catching the Linksys open devices that are on the network. But you're never really gonna be able to prove. So it's kind of a difficult difficult thing to really do well. Again, there's lots of different tools. I think a lot of you guys probably know most of these tools. I bet a large percentage of the people have used most of these things. The discovery side of things, everybody's familiar with Kismet and Net Stumbler and those are pretty common things. WEP, Aircrack's pretty much the gold standard these days. It does a dozen different attacks. We try to wrap up, again, probably the 80% case in Y-Crawl, but you can do all sorts of things with Aircrack. There's a couple newer tools. Has everybody seen Westside yet? Has anybody played with Westside? No? It's pretty cool. You should check it out. It's in the Aircrack development tree. But with the testing that I've done, you can... You can crack WEP. I mean, the difference between six minutes and three minutes, I guess, isn't too big of a difference, but it's really a cool tool that you should check out and we're going to be adding a plug-in for it. And then some of the other tools for WEP there. More of the common things for WPA, of course, there's Cowpatty. Aircrack can now do WPA, pre-shared key brute forcing. There's a whole other side of things of attacking the client and that's very cool. We'd like to add some support for that within Y-Crawl, but right now we're mostly focused on kind of the, I guess you'd say, server side of things or access point side of things, but there's tools for that. Karma is probably the best known and most usable one. And then there's a whole bunch of other tools that... Some of these here are directly related to wireless, but you're still going to run a lot of the common pen testing tools for a wireless engagement. Once you get on that network, you're going to run a lot of the that work, you're still gonna, you know, probably run an Nmap scan, an SS scan, or whatever VA tool that you have. You're probably gonna use those types of things as well. And there's, you know, hundreds of those things. A couple of random notes that I wanted to put together. Probably the most important one that I wanted to get across is that word lists are more important than you'd think. A very large number of companies that I've gone to, you know, once we've finally gotten in and cracked whatever password it is, that password has been based off of some type of corporate information, whether it's, you know, product data, the name of the company, or some derivative, or even a derivative of the default password that you'd see on that system. People will look at you funny. Security guards will, you know, try to detain you, so make sure you get access. Okay. All right. I'm running out of time, so I'm gonna go pretty quickly through the rest of the slides. But the point of this is that YCrawl can really help with penetration testing in this aspect. We're, again, with this release, we're really trying to focus more on the penetration tester. We've added support for FPGA acceleration through some of the work that Hikari's done. If you've, probably a lot of you have seen his talk, and if you haven't, just check it out because it's very cool. Better filtering, bunch of new plug-ins. We're adding new reporting like PDF reporting that should look more like a, you know, a general corporate report. It's not actually there yet, but it'll be soon. Again, it's really just a logical approach to penetration testing. You have a lot of the same things that you're gonna do every time. So you wanna just step through those different types of events in a logical fashion, you know, with a bunch of different tools. You can paralyze your attacks with multiple cards. Okay, so here's YCrawl. Alright, thanks. More goal-oriented checks. What do I really want? Am I trying to, you know, penetrate a network? Do I really just want access? Am I trying to get to the internet? What types of things? So here's kind of a market-y type blurb. Simple Wi-Fi scanner and auditor with a flexible and simple plug-in, blah, blah, blah, blah. Something that's pretty important too, I guess, is that really the power of YCrawl comes in the different plug-ins. You saw me mention a bunch of different tools. You guys are probably all familiar with those tools, but really what we wanna do is wrap and automate those tools so that we don't end up doing the same things over and over again, because that gets boring. Skip the rest there. Some basic examples of what we can do. General discovery, try to associate, get an IP address, get to the IP address, you know, get to the IP address, the internet. That's sort of the default operation. Then you can do more advanced things for penetration testing, things like that. Under the hood we've got these different sections. Here's the general architecture. Not too important. The discovery engine. This is really similar to what we have today in something like Kismet or something like that. Just something that finds the access points. We can do multiple different radio header types. Bunch of different things there. This is written by Jason Spence, who's here somewhere. Wave your hand. He's right here in the front. This is actually kind of an outdated architecture overview. We've added some things like splitting channels. When we're running with multiple cards, we can have one channel per card or a couple different channels or whatever overlap there is. The plug-in engine. This is really like the master scheduler. It takes all the different plug-ins, runs them at the appropriate time. This is written by me. We've added some plugins. All kinds of different plug-ins here. I'm going to try and skip pretty fast. One other important point is it's really based on event levels. Those event levels take us through from a new access point all the way to having internet access. We want to try to get from having an access point to associating with that access point to getting an IP address, getting to the internet. Then there's hooks based around all those different event levels. The workflow is really just to escalate through that and get as far as we can through the plug-ins as we can on a given access point. We've got different types of plug-ins. There's the interface. Here's some of the plug-ins that we have. I've talked about a lot of these already. I wanted to just walk through a couple of them. The Aircrack one is kind of neat. We start, just put in monitor mode, start gathering traffic, look for clients, try to de-auth those clients, start running fake-auth and running ARP injection, and then really start trying to get to those clients. We have a lot of different ways to crack web. That's all sort of automated. FPGAs, again, this is one of the new things that we added. This is some pretty cool stuff. You can really accelerate how quickly you're able to crack a web or a WPA, pre-shared keys, things like that. You should check it out. For a penetration tester, I think this is a pretty cool feature. It's worth the money to try and get one of these things because, again, hackers have a lot more time than we do to do these things. To have any leg up on that is great. Here's right from Hikari's talk some of the performance increases you'll see. Plug-ins. Here's an example plug-in. Profiles. This really allows you to select what you're going to run when, that kind of thing. It's really just a description of that. I'm just going to skip through this. Here's some examples of how you can set up those profiles based on the different use cases. The UI. Peter, is Peter here? Peter, wave your hand. Peter did a really good job. He's been adding a lot to this in the last few days. There he is right down in the middle. Comrade Peter. It's really come a long ways. I have to skip through this. That's actually old. Here's the new UI. I'm going to show a demo, so I'm not going to go into these. Profile selection. General status. We're releasing here a new release at DEF CON. We've been adding a ton to what we probably added, I don't know, a few thousand lines of code in the last three or four years. We're adding a ton to what we probably added, I don't know, a few thousand lines of code in the last three or four years. We're adding a ton to what weeks. There will be some bugs, but we'll try to fix those as quickly as possible. There's a new Curses interface that we're testing. There's a bunch of stuff we want to do in the future, but I want to get to the demo. One actually really important slide. Scanning and liability. As in any other type of penetration testing, really, you know, ultimately you're responsible. The case law on what you can and can't do and can't, with point that's not yours isn't entirely clear that the general thing is to you know never use an access point that's that's not yours but the point for penetration testing is always get permission you know always get lawyers involved you know get contracts insurance all those types of things just to make sure that you're covered there's a good white paper by Sands that covers a lot of this stuff oh I guess I was a slide off here so there's the liability slide thanks to all the midnight research guys Vanessa my wife for putting up with me the last few weeks Maddie aircraft guys Akari a bunch of different people so what we're gonna do is go straight into the demo to run another time here well one minute okay okay okay sorry guys this the demos kind of of the most important part of this. I just ran out of time here. Where's my cursor? So here's YCrawl. We can again run with multiple different types of cards. We can select our profile. We're just going to go through this. Here's an open profile. Actually, we're going to do... What's that? We'll start it. Here's running in discovery mode here. This always turns into advertising. Everybody puts up their own access points. Thanks, guys. Alright, so we've got a bunch of different access points there. That was just running discovery. So what I'm going to do is only select my access point. Alright, well. Alright, we'll select this one, too. But we're just going to do a default profile here. Let's do the default. Then we're going to run in manual mode. So there's automatic mode, which is just try to do everything I can on all the access points I can based on the profile. But right now, what we're trying to do is discover just these different access points. So we can see here that... Some basic information we can see right now. If we look at the plug-ins for this. Let's look at which one it's running on right now. Right now, it's trying to associate. It's trying to run DHCP. It identified the access point. Let's look at what that was. It's an Aruba access point. So what it's going to do is just sit and try to crawl through these. And I think I have it configured to run... I can look right here in the plug-ins that we have selected. Come on, Aaron. In the plug-ins that I have selected... So these are all the different plug-ins that we have here. And I have, based on the profile, I have a certain number of them selected. And it's just running through those sequentially to try to DHCP. And we can click on each access point, click in the plug-in to see what the output for that is. Right now, it's running DHCP. Tried to associate. We were able to associate. And then after this, we'll try to run through and map everything. Okay, so I think I'm running out of time. I guess there's a room that I have to answer questions. QA and... Where is it? Q&A and track one. I do have live CDs. Okay. So... Applause Yeah. Laughter