I'm going to talk about a freight work that I've been developing over the past couple years, at least when I have the free time to develop it. I've been the sole developer on this project since it started, and it's kind of my contribution to the open source community. I'm very passionate about open source development and believe that it is the right to everybody to be able to have this knowledge and share that knowledge, because knowledge is the freedom of man, and we want to get that out there. And if I can get something out there that inspires someone else younger or someone new coming into this field that they can go from or they can take it a new direction just by sparking a new idea, that's my goal, and that's why I love to produce some off-sec software in the open source community and what gives me my passion for continuing our involvement in InfoSec. You can find me in all of these channels listed. I run Hack All the Things on Freenode. It's a very basic IRC channel. It's a channel based for pen testers. There's a lot of really good guys there, and there's a lot of new people there, and our involvement is we didn't want to have an IRC channel that was based solely on a project because all the ones we see are project-based, set, metaspoly, beef, whatever. They have an IRC channel for hacking, and it's based on that project. While we will support N4P and Pen2 as things are developed from Pen2, and I like to work within that community and help develop for Pen2, we just wanted to leave it open to help out, but you can always get any information you have. Don't feel free like, oh, maybe I don't know enough to be there. You do. We want everyone new and just to enjoy the experience of this community and be able to get with the right people in the community right away. The GitHub is where you can follow my live builds until they get pushed down, until I release a new copy, a stable or unstable, and it gets pushed into the Pen2 repo, so you can watch live builds. Anything that's going on and talking about is in my blog at WordPress. A lot of it is talking about what we're doing with N4P and where it's going. But now that N4P, the SDLC, I feel in this project is really starting to come together at a sound position. So we're going to actually start doing a lot more training tutorials on that blog so you can catch some great attacks and new attack vectors that you can utilize not just with N4P, but in pen testing. So my vision through my development cycle has been, how do I fill voids or things that I miss? They almost solely based on, while I'm on engagement pen testing, what do I see is wrong? What's taking me too long? How can we create a scenario that we can perform our job more efficiently and effectively and produce a better product for our clients or whoever we work for at that time? The second portion is, I like to be a functional developer. By that way, I make that software functional, but how do I fill a void? If I see a void in the industry, we want to fill that void. And I did not see anything. And to get rid of the void, we had to find a way and we had a way. I had to deal with it first and definitely not having any choice, And then finally I thought, if we can do stuff where we can have like a large kind of more like self mentoring training, like working from home. our infrastructure level and we have set covering our social engineering and we have grown to really rely and depend and like these tools because they hold everything together into a nice package framework for us to search build from and it allows the community to contribute with new ideas and modules based on their research and proof of concepts so that was actually a goal design that I had in this project it's gone a lot further into becoming a full-blown framework and because of that the community can get involved now and create modules of their own design and use them through this framework that's why my mouse wasn't working so the original proof of concept was far beyond wireless when I decided to come up the proof of concept for this project it was based on sales exchange vulnerabilities POC the sales exchange vulnerabilities I wanted to see what I could do with a lot of point-of-sale services and it had been around for a lot of years so I had a really long time working in the web and I came across a bunch of great software that was all over the internet and they were doing a lot of work on the aika-byte system and this is a lot of things that we were doing and the overall issue was how how do we make sure that we deliver features andstarter to our customers and then we were really looking at doing some self-regulation to the system a lot of us and we were thinking about how do we create the features and the infrastructure for our customers that we're gather packets forward by never changing any mac addresses and then adjust ours on a different interface they will clone their mac addresses and then we can do packet injection through scapey after we've modified what's in a scenario for that might be if you went to a point else there was terminal and sniffed what was going on and you put enough packets together to figure out how tickets were printed the table numbers the food into what printer you could just you know you could just push that you can sometimes you can uh flood the printer with ncat a netcat flood that or you can use scapey and change that packet and send it over and basically what would happen is a receipt would print in the kitchen with a with a table number and it go on the go on the service on the line and someone would deliver to your table and there would be no track record to pay for so you've exfiltrated free food if you're ever hungry you can do this or go further than that and think about well can we assign any information back to the data database back in a lot of places you use like quickbooks is that information secure coming across the wire if if it's not it's going to be using ssl more than likely we can run ssl strip right from where we're at because that tag vector is built in the firewall controls for controlling the port forwarding are also built in so now we can maybe even think about injecting us a paycheck through their quickbooks it goes through payroll properly it would take a lot of investigation to get down to it so these are some more experiments exploit vectors and attack structures that aren't thought about within the pci model and shows why information is broken and the ways that we can have fun exploiting it that we couldn't exploit based on saying application processes through metasploit because we wouldn't have that so i started this project and this is pretty much my theory how it went i start writing this code i automate process this is exfiltrate all kinds of great stuff and have a lot of extra free time at work to go snowboarding because hey it's all automated now the bottom is what really actually happened during this project a lot of bugs and then it became an ongoing development i've yet to go snowboarding or find any free time but it's okay because when i started this i saw that the the potential would more likely make me feel like i could add some more leetness to my name in my handle and i could kind of look like boris and think i was completely invincible and everything i promise you guys there's no cat pictures in this slide don't worry the reality of what started happening after that was oh crap cat picture rick did you put cat pictures in my slide hackers so i remember having 99 little bugs my code and i got rid of some then i had 127 bugs so the past two days we've been in the con completely just writing code and i think it really got at a great place now we can have some some real fun with it the reason the bugs happened was most likely i was watching swordfish and you can understand why the bugs got interjected and the exfiltration process now let's try to understand why this framework is so much different what we're going to be looking at is on our osi we're going to be looking at the same framework that we were going to use on our osi model of how n4p controls our system state we're going to be operating mainly between layers one through five but more often two through five so we're not really concerned about the application the presentation layers or layer seven and six which is where most of the frameworks rely on for exploitation for web exploitations and general data expectations through metasploit that's its main concern so we're creating a framework that is designed in an entire different osi level that we're not seeing yet in the industry so if we can get this to keep going and taking off it opens up a whole new level of attack vectors and thought processes that companies can use internally for internal penetration teams or for a lot of vulnerability research processes this is great because while we're controlling network level adapters the softwares can also demonstrate that we're not seeing a lot of vulnerability in the industry so we're not seeing a lot of vulnerability in the industry so we're not seeing a lot of vulnerability in the industry how the firewall configurations are based between the structures and attacks that we need for different osi based attacks or the osi levels that we're going to participate in that attack it also allows you to control like ssl strip and editor cap and you can adjust the options based on the configurations for whatever type of work and reconnaissance you're doing and if it's going to be very incognito or not but because of what we had laid out because this is the main concept as i was creating this framework we're going to be using the ssl strip and editor cap as we're creating the poc i really found that this was very vulnerability research and niche it was difficult and it's very hard to constantly manage your states bridging the adapters which n4p does it will bridge everything for you it can call a vpn that you have predefined and pull things to the vpn and route it through the firewalls all automatically as well so the process of us remembering all the commands of everything all the time and then typing it up bringing it down changing the interface bringing it back up and the ips and the routes is very daunting so we wanted to cover that for us and get that done i looked at it what can we do from here what is also really awesome that we can deliver and fun and i can also that could get people interested in in using these products and the answer was wireless wireless is based initially on these layers one through five and controlling the access points spoofing them in the mac addresses and how we're going to capture packets and crack them so i was like okay let's start implementing and we slowly started implementing it first started with wpa2 but we got some extras and uh why don't we take a look at what type of attack vectors you could expect that is built into this framework already from the start based on the lower level of the osi models that we're going to do we have packet capturing injections we can circumvent ssl now that we are ran in the middling most of these situations we can control our dns servers locally we can spoof dns we can redirect people and through that that means hey i can spin up a coffee shop ap and i can run my own dns server and and forge facebook or make when they go to facebook come to my 127 because i'm running a patchy local service i can even get a self-signed cert like a third-party ca cert so that you don't get as many error messages or you know people think that it's more secure and it's more secure and it's more secure and it's more secure and it's more secure there's a whole lot there in that realm that we can control and have fun we can set up applications for beef hooks and go after more application exploit levels and then because we also have that wireless ability and we're bringing that wireless point you you can't bridge a wireless adapter but if you put it in the monitor mode we can bridge the at0 interface with like our e0 interface our wlan interface that we you can bridge wlan sorry our e0 interface that we have internet from and we can redirect it either through bridging and then run a vpn to that if we want or through packet forwarding and n4p knows how to set all those things up automatically based on the configuration structures that you set now if we're not going to run that way we can go a little bit further in our wireless attacks we can crack wps built in we can crack web wpa2 eip enterprise or the wpe which is the tkip enterprise those are using the host apd we can track wpa2 through airbase and we can also choose to bring up that basic access point through using host apd if we rather prefer that or airbase if we prefer that we have all the attacks at our disposal between that we can possibly do with host apd and airbase a lot of those tacks are already built into modulars that i've given you but i like to encourage anyone if they have a different way of doing it they have another module structure that they find usable and they can use that as a module structure and they can use that as a module structure there is an example module packed in the software that you can use look at and to say hey i need to add a few variables this is the code structure i need and copy it into the modules folder of m4p and now you have produced a new module for whatever engagement you found it useful then you can contribute that to the community and everyone else can start using that as well which i think is what's really gonna set things off and make it fun the great thing about the structure of how the modules work are they are they are not language dependent m4p is written solely in bash at the current moment but you could write your module in c python pearl bash whichever you choose as long as you follow the configuration structures and parse that information the same way that we are doing it it'll work so let's take a look at what we're going to see when we open up m4p initially there's two modes there's a basic mode and there's an advanced mode and the basic mode is i have set up several options and abilities that you can just press one key and it goes ahead and completes the whole process without you having to do anything else and other than the main things they're like capturing or sorry doing recon scans of the network finding the finding the mac addresses of the stations and the sids of the network we're going to attack then we can dump that in we can use like air dump for that information for capturing the handshakes just by running option three in this case and or if we change our attack vectors you know it would do um it could run wash and bully if we're trying to crack wps you know those functions are are right there and i'll i'll show you how you set that and for p it differentiates between that we can just go ahead and bring up a basic access point right here with hitting one button because the configuration file already knows like where we have our host apd config or what we're going to be setting up with airbase and then we have the firewall control when we go through the configuration structures the firewall browse looks through your environment setups saying what type of attacks am i doing what type of interfaces are am i using and what am i going to what am i going to be doing with them and then allows the rules to be used just for those it initially drops everything it then allows just those rules so while you're performing these tags you're also securing your box behind a fully stateful firewall you don't have to always hack naked now okay we can de-auth everyone right from here we can start like SSL strip if we want at any time when you start editor cap at any time and we can ARP the network at any time and all these functions are built a part of or they utilize the adapters that we have pre-defined and we'll move into that in just a little bit but I just want to give you an overview of what the interface is going to look like when you initially start and 4p and what to expect and 4p also uses a temporary file called temp and 4p so any type of information while we're doing a wireless hacking capturing doing cap files or capturing the handshakes or catching IVs on WEP web encryptions it's going to save them in this log file based on the client's MAC address that you are attacking as we see the macaddress.cap there's also recover passwords and logs if anything's going wrong there's logging available and there's also verbose logging available that UA you can get more log information if you're debugging during this during the process that it will provide all right this is getting pretty complicated as you can see the project has evolved and it covers a lot of attack surfaces and these attack surfaces they really aren't simple they do take a lot of experience and knowledge and and fighting so I tried to keep things real easy but I didn't want to make it script kitty I wanted you to still have to have an understanding of what you're doing but because we've added so much functionality and capability the configuration structuring structure has gotten pretty intense and I don't have a way of fixing that yet so it's gonna be hard to see from here but this is our configuration file and I'll try to give you an overview of what you're going to expect in this configuration file I really need a laser pointer all the way at the very top box that we have separated I try to separate things in boxes this is to designate what type of operating system we're going to be running on OS is pentu right now we're designed to work on pentu because we utilize the OpenRC in its system eventually you know there is some functionality that will work in Cali so you need to change that option as it will say options available to Cali and then it will know how to handle the interface structures through the init system network manager manages a network interfaces oh you are a wonderful man all right comfy mode all right if you're familiar network manager it can manage your adapters and interfaces in X environment it's really good it's really cool for the sense that it can manage keys if you have VPNs it can handle the key structures for you you don't have to type your 90 character password in there if you're as paranoid as me 90 characters in the interface that we're launching n4pn as we said there's basic in an advanced mode you can switch these at any time just by being basic and advanced in the software but we initially started as a basic out of out of the box if you're not using network manager you can just set that to false it's not needed but sometimes I found that it picks up on wires cards that I couldn't get to initiate it just picks up the module but there is also a lot of issues it's caused and there's a ton of redundancy checks and loop checks in n4p that does everything it can to try to recover the system States when Nilagice Text I've just uploaded a embed some services and we love merge mumble MARC so I'm not sure what's the process interface that we have like our internet connected to. That way, if we spin up an AP and we do the port forwarding for people to connect to and do the DHCP assigning, it will forward it through that interface. That's how the firewall knows what interface to use. If you're using WLAN 1, you would change that to WLAN 1. All right, I phase one. It's the next one. That's the interface we're using for our attacks. That is the main one we're concerned about when performing an attack. Now, if we're going to spoof anything, because we can control the ESID or the SSID, whichever you're more familiar with, the name of the access point that's coming up right there, we named it PEN21. If you just bring the access point up, that's fine. But if we're doing an evil twin attack, we want to make that the name of the SSD or the access point that we are trying to impersonate. This is the channel. Channel equals, you know, channel 1 through 11. Add the channel that you want to be on. That's also important for impersonating. And then there's monitoring modes. Monitoring modes, because we can custom monitor or monitor who's connecting to us. So if we're just launching an access point to see who's coming on or we can use SSL strip, if we have monitor mode enabled, there's an interface that will pop up. It tracks the IP addresses of everyone next to your access point. This IP range is held in a DHCP file that's provided. And when we call DHCP, it calls that particular confile and gets your DHCP leaf range. If we want to call some bridging for our interfaces, if we're going to do multiple Ethernets, like we have a switch and some USB Ethernets, we plug them all together like we talked about, if we're doing some POC stuff on the app, we can do that. If we're going to do a bridge, true. The name of the bridge, and if we're going to use a VPN in this process. All right. Likely that should be false in those scenarios. Before we do anything and type of tack, we need to go through and familiarize yourself with what type of tack you're doing and how to understand the configuration file. We're not bridging. So we'll make sure that's false on your setup. Now let's get into like some really fun processes. So of hacking and attacking wireless networks. And this is where the fun comes in here. We can see our attack options are set for null, which would bring an access point, handshake attacks for WPA2, if we want to use Karma, if the attack's going to be using SSL strip, if we're going to do a WS attack, WPA attack, or EAP attack. So under attack, we just say what we're going to use. And this, when we launch the situations, it, the environment or N4P knows what configurations need to be set and what flags can be called within Airbase or host APD, as well as within the firewall, based on what you choose. Now, if we're doing a handshake, which is one thing where we will be doing the panel, our attack for that is handshake attack is Z for WPA2, right here is Z. And then the encryption type for that is four CCMP. So our encryption down here is going to equal four. So when we do our recon, it's going to tell you on the access point, we choose what encryption is using. So we just need to adjust for the encryption we're using. And then we're going to copy in that victim's BSSID from our recon, as well as their station. That's going to allow us to do our WPA handshake. If we're on an enterprise network and we're going to hack WPE or EAP, we have our configuration files down here for host APD. So we would just change our attack to WPE and would automatically use this location, which you need to adjust to whatever location you have your host APD file for WPE attacks. Any questions so far? That's a lot of information. Yes. There's no way to make that slide bigger, is there? No. But when you follow along, when you launch the application, you'll definitely see it and it will make sense. Yeah, it is. I've noticed that. My theme is pretty dark. This is, I wrote this theme. It's based on the movie Tron. It's on my GitHub. So if you like it outside of the slide, you can download and use that theme as run the installer. So we have packet options. This is what we talked about. I'm more lower level like OSI 2 model and it's going to be using Ettercap. The options that we use Ettercap are right here. The interface we're on and TKZ we're choosing. And if we're going to ARP this network and right now we're not ARPing the network, but if we were, we could add the IP address or the gateway of the target to get some ARP packets back. But if we had SSL strip running and we want to launch Ettercap, it will do that and then automatically view off of that interface that we told it and it will save it in the temp folder. We talked about recovered passwords so that way you can retrieve some sniffed passwords. Getting more complicated. What do we do after? Could we really get more complicated? I know. Yes. What can we do with these capture files and how do we retrieve passwords out of them if it wasn't throughout the entire process? Well, we can do that with the SSL strip. Maybe it was hashed or maybe it's a capture packet and it's AES. Really, there is no exploit vectors for wireless access once using WPA2. It's not a crack or a flawed method of security, but it is vulnerable to guessing the password or brute force attacks. So I have two options built in. We can use Aircrack. Aircrack is what's originally set up and it can just run off a dictionary, but there's no GPU support. It works really well for web. If we captured IVs and if our attack's web, it knows this when Aircrack runs and sets it up just to crack some IVs and get a web key. But if we're using WPA2, it's more complicated and it's just going to use a word list. And that word list is based right here. Word list equals share dick crack lives words. This is a dictionary that is predefined in Pentoo. So you're going to be ready to go and our test lab is set with a key for that. Okay. We've got our log files. But that's not cool enough. We're trying to add some more strangely characters to my name. So I built in Hash cap. This was kind of hard. The syntax link for this is daunting. And anything wrong completely messes up and there's log files go, hey, Hey, it just messed up. Whew, thanks. Detailed logs. So, Hashcat has several options, like OCL Hashcat 64, Hashcat 32 Klee, depending on, you know, what type of hardware we have. I have it pre-set up for OCL Hashcat 64 for using GPU cracking. Obviously, no one in here is probably going to have a GPU unless you're, like, a crazy person gamer on your laptop in here. So, it doesn't make as much sense for us to use this feature right now. So, we're just going to be basing off the air crack. But, anyways, as we set the Hashcat system we're going to use, we set the Hashcat location because it's time-bombed. It's a time-bombed binary, and I can't rely on you just having it on your system. So, you're going to know where you install it, and you're going to need to know where that link location is. So, here it's in the home, your user directory, OCL Hashcat, and then you just call the binary. So, just change the location to wherever you have dumped the binary install. Because we're focusing on WPA2 authentication here, our modes are going to be dash M2500. We're going to do this on three threads. And then we set the rule sets of what kind of rules are we going to be using based off of this word list. So, I'm going to use rules rock you dash 3000 and also use the rules best 64. You can change it to whatever you want. The cool thing about the way it's designed is you might not want to use that, and maybe you're hacking like an AT&T two-wire network, which an older one, which you knew was 10-digit numerical only. You can just change the rule set based on what it tells you in here to use, hey, use this string here, word list, or word list equals A3 question D question D based on the wildcard values. Increment of up to 10 and start at sector choice. So, that option is still in here. I'm not restricting you from hashcat. I'm just trying to keep the functionality you need and can utilize in a concise manner that could benefit you the best I can. Further down is just information about how you need to utilize this config file. Because you can't just comment a line, but maybe I want to have three different rules. I use a lot. I can just, as it says here, add a backslash or something right before the equal sign. Now I can have hashcat rules backslash equals A rule, again with a different rule, again with a different rule, and then just uncomment it with that backslash. That way I know what it's using the next time I run it to make it the best I could. So, all of these little blurbs should help walk you through the configuration file. And the bottom one just tells you how N4P is going to handle it. How it's going to handle custom modules for their variables. The module that is provided for you has a little feature, and if you read it, it's saying, create my custom module equals here. And it will check if those variables are in this configuration file already. If they aren't, it'll go ahead and put them in for you the first run and tell you, hey, you need to go back and adjust the configuration files before this module works. That's mostly it for the config. It'll make a little more sense as you guys boot and you can see it. If you don't have a laptop and you want to see it, we'll do it over here as well on my system and help walk you through it. So, now let's talk about the advanced features. It works a lot like Metasploit. So, now that I want it in advanced, I can actually run shell commands directly from here. Any shell command I want, IP add or whatever, it can start coming up. And you don't ever have to leave the interface. But I can run list modules. This tells me the list of modules that are pre-established or packaged right now with N4P, which is air-based for bridging utilities, for cracking, if I want to bully, if I need to assign my DHCP. This allows you to handle individual processes. The key features up top are just saying, I know what you need to have happen, so I'm just going to call these modules as they need it. This goes with this module, then this module, then this module. And it makes the attack happen that you need. But if you're really cool and you're trying to do something more unique, you might need to have the ability to manually control this. So, we're just going to be concerned with the recon module. So, I'm just going to say use recon. And then it confirms that we're using the recon module at this point. If you typoed, it would tell you that you're confused. And when I want to run that module, I'm going to type run, and that module will run. And at any time, I can also type show options. And if you type, after you call it use recon, to use this module, you can show the options of that module, and it will show you a list of all the variables that that module is going to rely on for the config file. So, you can go back to the config and know that you need to be concerned about these exact variables. We can exit at any time with zero. As in this interface, we can see that we were using network manager during this time. So, it knew that I needed to kill network manager to free my interfaces to run. But now that I'm leaving, I need to go ahead and bring that back up. And any interfaces that I changed, broke, had crazy configurations in the process, it remembers, and it will go ahead and try to bring your system back to an original state, unbroken, just like it was before you even opened N4P. . So, where has N4P taken us, and how has this project changed the entire script land space of wireless hacking? The reason I think this has continued to change this landscape is we are now offering a module-based design, we are packaging all these attacks in, and you can rely on the community to say, a Caffe Latte attack, anything random that someone's figured out, they can just publish for you. Now, we're able to do that, we're not just continually reading this help file and this man file to figure out why things are broken. We're doing a really good job of putting it together. And I think providing a framework that we have now going forward, it covers all of information security as we have it. We have MSF covering, you know, the application layer infrastructures and exploit vectors. We have SET covering our social engineering projects. Where were we lacking? Now we have N4P continuing to close that gap and bring us in an environment where we can have wireless and lower-level infrastructure exploitations available to us. And it's also worked really well for the reverse engineering process. So we're touching quite a few bases, you know. And Rick has proposed, and it is an option for this year, that we want to evolve it even better. So we're probably going to, like, add some different languages, maybe the interface on Python to make it stronger, understanding list and dices more, instead of cumbersome and bashed, as it's getting a little hard to write and bash at this point. And we're also going to start, you know, pulling code that Pony's written, some of the Pony Express code, revamping it, and EasyCred's code. So the work that EasyCred has done that was previously deprecated. We're going to start bringing it in as modules and building an even bigger platform for you guys to move on for. So I think this will really help improve wireless and new framework for everybody. As it starts coming to Kali, it's going to bring more recognition and catch more traction. But the main focus is to hope to really enlighten and bring people to see Pentoo, because not many people know of Pentoo or they think it's so much complicated because it's based on Gentoo. But Rick really has done a fabulous job of making Gentoo work out of a box and give you penetration software. So we're going to utilize that and make sure it works as best as I can right now out of the ISO for you. Yes? What was your take on Pentoo versus Kali? Unbiased or biased? Really unbiased. I started on Gentoo, and I was actually scared when I started, when I moved from a Debian-based system. Like, man, this is going to be really hard. You know what, it was pretty hard, but it had such a good community. Like, everyone in the community was so brilliant that they would help, and the documentation was excellent. And about six months later, as we started getting the hang of it and understanding, and another year goes by, the amount of control and aspects I have over my system now, it does what I want and only what I want. There's nothing interfering. Because everything's compiled. If I don't want functionality, I don't have to compile it in. It reduces attack vectors on my system based from that. Plus, I get a hardened kernel out of the box. So my system is much more manageable. It's more secure, in my opinion. And all of the code that is very rigorously gone through by Rick and BLSKVR, that nothing comes in our package list, that is not sane. If we reviewed an application, even if it's in Kali, something, I think, I want to share with Reaver, another one, the code just was not very sane. Like, this isn't done right. We're not putting in the project until it's sane. So we really make sure that what you're getting for a code-based structure and attack works the best it can. The other really cool feature is that all the developers, the main developers for Pentoo are live in the IRC channel. So when you have issues, you want to talk, they are right there directly helping. Say, hey, I found an e-build issue. It's not building Python use flags change. We need to set targets to use Python 2.7 because our system's on 3.4. They will go ahead and fix it and move it off for you. So I think the community, the more we get involved, will really help out in that aspect. That's my opinion on using it. I'm trying to get this to Cal user just because I want them to have the ability. I think this is great for everyone to use. But because I relied so much on infrastructure layer, it was hard to use systemd. When they went to systemd and were on OpenRC, it made it pretty difficult for me. But Rick says he's got some magic in his hat that he hasn't told anybody about that we can really make this work. So that is the future of why I think it's going to be even great because we can make it cross-platform and independent. That will really help out. So that's it for slides. And I think it's time to play some games and hack some stuff. Is everyone ready to hack? Still downloading. Rick, your network sucks. I'm telling you. What I can do... I have the ability to show you a little bit and walk you through why I was downloading. And we're going to go ahead and I'm going to keep this AP up so if you can't actually get things hacking while we're going at it right now, I'll be here and I'll go ahead and help you answer it as it needs. Thank you, brilliant person. All right. All right. I'm actually running Network Manager at the moment as we can see our wireless information. So let's go ahead and take care of that and we'll go ahead and look at my interfaces, what I have going on. I'm using WLAN 2, 1, and 0 on my interfaces. As we can see, nothing has IPs. Nothing is going anywhere. The interfaces are all down. So let's ask 744P what to do. All right. It knows I'm using Network Manager so it killed everything that it needed that would interfere with our application. And we can go ahead and as foremost understand the configuration file. All right. Network Manager is true. We're good. We're using the basic operating systems correct because I'm using Gen2. We're going to use host APD. Our attack interface is going to be WLAN 2. That is correct. We're going to spin up the APN4P. Let's make it live. Here's the random VSID. Channel 1, it's all good for most logs. I'm just going to do an AP. Our attack does need to be empty. So our attack is null at this point. And that pretty much means nothing else matters for this. So we can control X, Y, get out and save. All right. Let's go ahead and bring up that AP. Oh, no. Yeah. Yeah, we'll bring up that AP. Yeah. All right. My phone is already set to connect. So we brought up that AP. And I don't know if you guys can see, I cannot make that font bigger. Hopefully highlighting helps. There's a victim pool that comes up and we have moderator enabled. So as it came up, we can see already that this victim has it logged onto our service after creating that access point. But we can go ahead and close. Close the access point. All right. So the access point shut down now at this point. I'm going to do a little bit more. Oh yeah, that's why because it was host APD. Let's do So now let's do this with Airbase. Because Airbase is a little bit different because you have to bring up monitoring interfaces. And we don't just have to launch host APD like we did. Host APD is very quick and easy I think. So let's keep Airbase there. And we'll keep our attack still at nothing. And see the difference what happens with Airbase. Airbase needs to initiate a monitoring interface. That's what it's just doing on the top left. And now we've just launched our Airbase with verbose logging. And we just got a victim associations over here. So anyone that wants to connect to this interface N4PLive You won't get anything. Why won't you get anything? Because I have not called DHCP. Yeah. So how can I call DHCP from here? I can just go Advanced Advanced Okay I'm going to list our modules here. Alright good so use DHCP Alright Alright let's also do Is there any options in this one? Oh see those are show options. So we can set our AP and our interface. Are the options required for this? We're on it. Now our DHCP is ran. And try to connect again. The uh The wireless in this room is highly congested. It is so congested. 2.4 does not like congested areas. Just saying. So we're going to set our AP and our interface. We're going to set the AP and the interface. And then we're going to We're going to set the N and N you're right, it will it's still trying to get an IP from this environment we'll probably at least see the client association coming up from over here because I'm getting probes from everybody alright there was the m4plive client authentication there of where it's tried to authenticate it's just not authenticating at the moment that's okay, that's just a basic airbase infrastructure it's really hard to see off of this structure anyway, so I just killed it let me see we just killed it we just killed the interface and at any time if I check my IP you can see it's already brought the interfaces back down and it controlled them it does it fine and it's hard to do that so I want to go back through a little bit more and I really wanted to try to do a handshake attack but I didn't so we do have airbase we're gonna go into that's fine for now so we need to understand the reconnaissance alright so now we're already reconing the environment this is really difficult with how busy this is alright so we need to understand the reconnaissance And so if anyone's familiar, you know watch for the BSID and the SSID of who we want Try to match their station down here And the one we're looking for is n4p hackable Okay, there it is But I don't have the station yet I So I can't read it over here quickly I can read it I can't read it on my screen perfectly All right I just hit ctrl C and paused it that way I can go over here and read it and modify What I need they can figure out your figuration file for what we're doing here We're not going to do an evil ap because You can because during this attack you can just bring up airdome and try to capture it or you can also run a Evil twin AP where you can copy the BSID and that would be done here as well So you make sure I all of these features match But in this case we don't so it's since it's just the attack We have handshake for that attack that we want to do both of these are right But we are going to be concerned about this You You You You You You You You You You You You You You You You You You So this is our VSSID. Okay, who we're attacking, and the name of who we're attacking is... Hackable. Okay. Hopefully, it works without the station, because I couldn't let that run long enough to capture the... Okay. Hopefully, it works without the station, because I couldn't let that run long enough to capture So we're going to go with it like that. So now I'm prepared to do the attack. We can just run arrow dump right here by three. But if you were in Advanced, you could just use dump like that. Oh, I'm confused. Oh, it didn't go in. There we go. I can run it right from there or go back. So we're going to try to stay in the easy mode and just run a dump. Our monitor interface has been brought up and we're scanning and waiting for a handshake. Now let's try to be a little more expeditious on capturing a handshake. How can we do that? We can just kick everyone off the network. I hope I had the channel right. I don't remember if I had the channel right. But we can continue to keep kicking them. Oops, that was the firewall. Not needed. Seven kicks. Not capturing the handshake. Why? I'm going to dump down and bring a recon down. Let's just try to recon one more time. Normally this would be a lot of work bringing up air monitor and airbase each time back and forth. So this is a lot of, believe it or not, time value to the situation. No, I had the channel right. Okay. No, no, no. Oh, oh, oh, I got the station. Yeah, that made me excited. That time it loved me more. It loves me. It loves me more. It loves me. unlike rick seven demo got you love me weeks we've already done a recall me so we don't need a recall anymore we set up the stage the channel in the SSID dispute for the dump and we can go ahead and try and do it now alright we bought up got a handshake right there about that see now sexy fastest handshake anyone's ever done so now let's just go ahead and forces temp force and 4p and in a log file here you can see we've already captured the handshake this handshake which is the MAC address that we just attacked based on this router here that we set up to be attacked so great we're here to go already to go so we don't need to be out hanging out here anymore we got it only hang out here anymore either because we got we came for so let's think about cracking this wireless network option for crack it that says so it wasn't a valid handshake so much have to go back and and do it again to get that handshake back and Oh, okay, never mind, I got it. Let's see what happens now. There we go. And it actually already says key found. So we basically just hacked the wireless access point in less than five minutes, and that's probably a new world record for hacking a wireless access point. What happened, I had previously had the MAC address file in the temp folder with that existing MAC address. So when you do that, it enumerates it to the next number up, 01, 02, 03, as you capture more. And when I call it, it's only looking for 01, and that was invalid, so I had to go back and remove 01, rename it, and then it worked right away. That was our key feature. So that was WPA hacking. Do we have any questions on how to perform that or go through the config file a little bit? No? Everyone's WPA2 hacking experts now. Yeah, the way it's, the way Airbase names that is pretty confusing. The ESSID would be what we normally see as the SID, but it's actually ESSID, so that's just the name of it. Then the... Go back through. Okay, right, so our ESSID is just the name of the access point we are attacking or utilizing. The BSSID would be the MAC address to that device, and then the station is the address of what that particular access point is operating under. So if you were an enterprise network and they were spanned, you would see the same type of MAC addresses. But you would see a different station between different rooms. So if we wanted the access point that was just in this room and not the next one down, we would adjust our station to go through there. And there might not be clients on that, so when you're on a pen test in a bigger environment, you can walk around like a spectrum analyzer and start seeing how much traffic is there. Or when you're just running Airmon and viewing what's coming through there, you'll see how much traffic's on which one. And then you want to just wait until you find that station. When you see the one with the highest traffic and highest station, that's the one you want to go to and utilize and attack that particular AP. It would be much more likely that you get a handshake right away. And we did all that without a clientless handshake. We did that with a client handshake that wasn't clientless. The other option is at the same time, after we brought the air dump up, if we weren't catching anything, we can just also launch our access point at the same time. So that brings us up an evil twin, which people can also connect to. So not only were we likely to catch a handshake that way, we can now infiltrate their traffic structure that's coming through the network. So that can even be useful for many reasons, corporate environments. I didn't really want it. I'm not really going to get into the enterprise because I don't have anything set up or we don't have a radius server set up for that structure. Thank you. . The other thing we just want to understand, and I'll probably show you some of the rule structures here on enumerating the firewall. If I brought that access point up just as a basic access point, our firewall is going to need to understand how we're going to utilize that. And I'll show you how it uses that. . If you're waiting and waiting on it, there might not be anyone on the network. If you're not getting it, then you can't kick them. One thing you can try is a lot stronger antenna, because maybe someone's further in the building that does have authentication, and if you appear stronger, they'll want to connect to you. You can use IW config and adjust the Tux power. Excuse me. If you change the region. . If you change the region to bump the power up to 30, that way it's exponentially stronger than what the standard wireless controller is going to give out, making your clients more susceptible to connecting to you. It's just about making yourself feel more appealing to the environment that we're working on here. Let me just go ahead and try and show you the firewall. firewall. I purposely used a white background. The initiation process is it starts to understand everything that we're using, what interfaces we're using, the access points, the bridges. If we're using VPNs, you know, it starts by dumping the tables and flushing the system. We just allow our forwarding and we set our default policies for the chains that we're going to utilize. If we have a VPN enabled, it's going to change the rules. If there's no VPN set, it's not going to do some basic traffic for the DHCP server, for the DNS servers. If you're running all of that locally, if you're running Samba, maybe somebody connects to the network and you want to run an NTLMNR listener to get their information. Like if you know someone travels a corporate network, you can get them to connect and run NTLMNR listener. You're going to want these ports open. So, those are there. If you bridge the interface, or if you don't bridge the interface and you need port forwarding, it controls the rules differently. So, if we're using an access point like Airbase, it knows that, and it's going to allow the post-routing masquerading and accept the package through. But what's allowed down here where it's commented, if you go in here, if you're doing a lot of reverse engineering on applications, so you have a Windows box or reverse engineering, web authentication of the software to crack, you're going to have a lot of problems. So, you can go here and uncomment these lines, and then comment these lines up, and then you can control only the ports that you want to have access through your AP. That way, it really reduces the noise in your traffic while you're running Wireshark to capture how the web authentication is working for cracking that piece of software. So, that's some more control that you're getting inside when we're talking about the infrastructure layer. And this is just if you use a host APD, it allows the rules differently. So, if you're using a host APD, it allows the rules differently. So, if you're using a host APD, it allows the rules differently. So, if you're using a host APD, it allows the rules differently. And then we have a lot of incognito things if we're going to allow ICMP or not or port scans. That way, if we're doing vulnerability research on a network, we want to stay incognito. These situations will keep us invisible to the network and not allow any traffic to leave until you designate it based on an interface that can only go out and can't receive. So, those are some of the strengths that we're receiving with inside the firewall controls. And either it's best to schwierily hyphenate, being able to protect on the web from your Tel Ethereum existed or sticking somewhere else like fan mail server channels. That would really just be if an application itself is vulnerable to it, to a buffer overflow on a hardening kernel because Gen2 is compiled. If you're compiling it with checks in different canaries and in the memory structure where a buffer overflow wouldn't happen to the system if it was vulnerable. So, that's just why hardening is a little bit more secure. I don't know if anyone will respond to my question. one's gotten it downloaded yet or not. Yeah. It is a single global de-off. And then if you didn't get a handshake, wait a second, you can do it again. Just keep going ahead and doing it as you want. Who will? That who kicked you off? Well, that would be pretty weird because you're just flooding the beacons of that and they're not really able to block. You're still flooding it. It is a single global de-off. If it just theoretically, if that happened, I mean, I'm not the end all be all and everything wireless. Try changing your identity, like your Mac address of your device and do it again because obviously we can set it here. So just change it while you're doing the de-off and you should be back running. Anything else that anyone would like to cover? I know. know it's a really in-depth application. I kind of understand. I've only kind of touched the surface of actual attacking. Yes, I will absolutely go ahead and keep this AP running for you. That way you can have practice. I'm going to be around. So when everyone does get things set up, I was trying to do it while we're in the panel that way people can follow along and actually get some handshakes together. I'll be happy to help anyone there and push you through the software and understand how to get it and crack some WPA if you haven't done it before. You're going to need to use the Pen2VM right now because it's the only way you can get the software. When you update it, as I said in the initial slides, I should probably bring this back up. All right, there we go. Weird. That's how I set a timer. How do you do that? Okay. Weird. Weird. That's fine. I can just leave it up like this. I'll just leave it like that. I don't know what the heck it's doing at this point. Yes, all of that will be available all day while you're here for the rest of the con. You can download it off of where the red instructions are and try it. And I will leave this AP up and it's N4P hackable. It's the name. The password to the dictionary is in the Pen2 already in our dictionary folder. So that's part of the reason. I just made sure that, you know, the dictionary file that I'm going to be tackling with would have a valid crackable key. But we're almost out of time. Who's ever a lovely person that gave me this pen? Thank you. Thank you. It's appreciated. All right. Well, we have a few minutes. And I thank you guys so very much for coming to the panel. And I hope you learned something, want to be involved in the community or follow the project from here on out. Because I'm kind of tired of being the only developer. Let me rephrase. The only developer. We're done. We're done. Yeah. Not everyone's gotten to download it in time. So I kind of had a breeze through it on my own. Yeah. It is what it is. It's Rick's fault. Yeah. I had IPv6 running. Well, I have to say, it doesn't really affect it too much. What happens, I had IPv6 running on one of my routers, and I was having a really hard time with things just being flaky. So I think it's just going to have me take some research. And understand how to handle IPv6 within this attack vector. Yeah. But, I mean, it will come. It will come. Right now, I've got to finish implementing the EAP technology. You can do it now if you know how to configure the host APD confile. Just make a couple adjustments in the stutter radius server on the back end. But to make it more usable, I'll add the radius server as a dependency in the eBuild package. When we install packages on Gentoo, we use eBuilds. And because it's compatible. It's valid by source. We can associate dependencies with applications and configuration files. So in the next update, when that's available, I can require that if you choose to use, tell it, use EAP technology for hacking, then go ahead and associate radius. So that way, the radius server will install, and then I can package a confile for that already with you. Sure. If you have a good site that you know of that you want to parse, yeah, and you have online activity, this does kill your interfaces constantly. It makes it difficult. So if you kill your – I knew I'd need it like that. So what you can do around that is you can run a wired interface, just launch your DHCP server in OVNIR ETH0 or ETH1. Then you'll have an internet connection on your base. And N4P is only at that point going to kill your wireless structure. Right. Utilize it. So if you want to have a module that says upload hashes that parses this site, it can take it from the temp folder, send it up, and automatically parse and pull it down. So that could be a module that could very easily be implemented. App and hash in. Yeah. One of the good things that happens while we're using a hashcat in here, as we saw the cap file, that doesn't work with hashcat. It has to be converted. So it does. It does that conversion already for you and removes all the junk behind you and starts the hashcat going. So it's a lot of work to do that on your own. If you've ever used all that stuff, it's hard. If you can use one button in me to get things done, I'm like, in, out, you're hacked. See ya. Like, who else gets hacked that quick? Nobody. I actually just hacked AC. This is my end. I have an AC over here, and I was using the AC interface to do that. Now, I know this is the car to go to. I found it, since I used the AC one, this is much flakier. I've had a lot more issues with the modules. You know, the car dropping, the driver, the interface, it just disappears in bringing it up, or it would get hung. It would get hung in PIDs. So I had to add a lot of extra redundancy checks in N4P right now when it rebuilds a network or it tries. I'll launch a new monitor interface. If it's not doing it, it throws it in a loop. And then if it resets, like, network manager, the monitors can come back on. It resets for the PID. There's the PID there. It kills the PID and loops back through. Basically, if you just call PS-A and you get a list of all the PIDs, you can grip that for the applications I'm using, like Airbase. And if I see Airbase come up as a positive, then I know that the PID's locked, and I can just parse out the PID number and kill it. And then go back into the loop. It's just forcing a way to kill it down. Yeah, that's what I did. I immediately started using it to finish this coding after I got it and ended up finding that it's been the best card that I've used so far. So I recommend it. Yep, very welcome. It's about our 10 minutes that we had to goof off. But thank you very much, guys, for coming to the panel. Thank you.