So we are now ready for our third presentation of the day, our third presentation of the day. Alex from, you're from Bulgaria, correct? From Bulgaria, right. So it is my pleasure to introduce to you, going to be giving a talk on WPAsec, Alex Donov. Thank you, guys. So today I will talk about the WPAsec, which is currently the largest known handshake, WPA handshake database. So what exactly is this? We are doing collection and processing of wireless network captures, which are submitted. By our users. Then we identify these handshakes. We maintain carefully crafted dictionaries to check it down. And there are contributors that are contributing their GPU power. So we can try to crack these handshakes and submit all the results in real time, which are available. So WPAsec works with several open source tools. WPAsec is also open source. And you can see over there, whenever you slide the live installation, and the GitHub repository for it. So we are using the HCX tools for handshake identification. HCX tools is a very interesting set of tools. It's pretty new, it's developed since one year, maybe a bit more. And the other is well known. It's called the WPAsec. It's really like an old gate. It's like an old It's done over in a very recent position on the PC. So we have a lot of work going on. CUDA,WPG. WordPress, you can also do a lot of work for our users. And we do this. We have a lot of work to do for our customers. location. So the brief stats about the service, we now have more than half a million handshakes submitted. As you see there, we're doing this since 2011, so this is a lot of, those are a lot of handshakes. You see the route capture data and our success is around 27 percent. No algorithm generation was hitting around 5 percent, but I'm sure we can do better there. And from our crafted dictionaries, it's around 10 percent of the case plates already cracked, because as you know, this is pretty greedy algorithm to crack and these are the good results there. Of course, we are striving for more. The geo distribution based on WeGO results, you can see that there is almost, there is no place where you can't have handshakes there. So a lot of people are submitting, our users are around 40,000. So this is pretty much very interesting to see how and what they're using in users using on different parts of the world. So, let's see what we're doing there. First, we have to get the handshake. We all know that how does this happen. We all have been using, back in time, the old-school AP attack to authenticate active clients and get the handshake, right? This is very good because we can extract the APBSCD and then we can geolocate that AP, but as you also know, in crowded areas, or do bad connections, transmission, et cetera, we maybe, in some places, have to apply the APNOS correction. Of course, we can do better and do APLS attack, so we can attack directly the client, which is also not so new thing, at least, and there is no need for an APNOS correction since we control the workflow with that client, and here, we have to be very fast. We have to work better and there is no need for APNOS correction, and of course, we can leverage some more interesting attacks on high levels. The tool that we are suggesting to use for submissions in WPSX is HCX dump tool, which is part of HCX tools, and since, last week, it have a lot of more interesting features. And of course, before submitting to the database, please don't clean, work on this, and do anything with these captures because you may destroy some valuable information that's in there. The cracking part is also very well known. You know, I don't think that I have to explain that, but basically, PBKDF2, it is HHA1, and after that, depending on the version of the WPA, we're using the HMAC-MD5, HMAC-HCA1, or with WPA2-CMAC, we're using OMAC. So this is all implemented in John the Ripper and Hashcat, and of course, it's implemented in WPA6, a server-side, so we can do it better. About the NANDs correction. We all know about the NANDs correction, and we are very much using it because we don't know to spend years or many GPU power to crack something that can be cracked in the end. We can also try to rely on replay counter feed, so we have to know what exactly is correct. the non-correction we'll use, but this is not a very good solution because often the APs keep the same play counter field. So from the database, around 5% of all these half a million handshakes that were cracked, because not every one of this half million was cracked of course, just 27%, so we needed the non-correction in 5% of these handshakes. The non-correction can be negative or positive if you see the persons, and can be implemented as a mathematics with the Bikendian and Lohinian. Here you see the results of course, a lot of the routers are MIPS based. So Bikendian, and it's normal to see around 90% of them. Now, again of course, the HCX tools can deal with the situations and can reduce this a lot. So, the new kit on the block, the PNKID, I believe Atom wrote on the forum post about that, and the last version of Hashcat has these additional modes. It was released just before DEVCON. So the idea here is that if you have networked with Roaming enabled and it computes in the I standards, we all have this PNKID which is part of erysen information element. Here you see the values that, that is, how is PNKID value calculated. So, here we just need the Mac AP macacd Mark STA, and which come from the association requests, the association request prop response, and you need the message one from the ear pool. So there is no need for all this heart to get parts of the handshakes like before. Of course, there is no need for loss correction, so if you get the PNKID, you'll be on the safe side that you're cracking if you have this dictionary, this password in the dictionary, you'll get it. So next part is the hardware, what we're using to collect that. Of course, everybody builds his favorite GURN. We're using Raspberry Pi's. Like this one, what you see here is A-ink display, e-paper display, that is not using any more power that we need. And with this, it's a rather big battery. We can run this for around two or three days, without stopping. The adapters we're using, these are running based, or anything that works better. On the ACX tools, you can see, you can find different types of adapters that we have tested and know that they're working. Here you see the OpenVRT-based device with hardware antenna mode. It's just a link battery power through the, all this is very cheap. And of course, here, it's again a Raspberry Pi-based solution. But with way better antenna, that gives us a lot more power. Of course, you can use whatever you want for this. So, when you already have the captures, and the first thing that you have to do is to issue your own WP-AXX key. There is no, some stride registration process. You just go, hit the issue key, and that's it. But with this key, you can access the results when they're cracked. On the server side, we're processing with the HDXP cap two, we check with duplicates. Of course, we're doing a lot more, like trying to crack via PNKey, so if we already have this network with this ESID, we will get the hit and, there is no need for for this whole thing to go to the crackers to exhaust their energy. We're doing the Wiggle APG location, and of course, if we are not having the results from router gig in PC, this goes to NG crackers. So, the guys that previously mined coins, or I don't know their favorite cryptocurrency, they can spend one of their GPUs to run a help crack. This downloads the handshakes and dictionaries and feeds them to cracker. It starts with the oldest handshakes and with those dictionaries that are with fewer words, and this gives some fair results for most people. What we're doing here, is because we have so much handshakes, we are doing the ESAD combined. So, we are fetching all networks that have one and the same ESAD. So, we are doing the heavy part, the PBTDF2, just once, and we are attacking with our dictionaries. The other part is automatic dictionary count, because if you have very powerful GPU, for one of these small dictionaries, that we see for our one million word count in it, you are spending around 30 seconds to initialize the GPU, and after that, for example, three or four seconds to push the full dictionary there. So, we are combining dictionaries automatically. So, it's scaling depending on the number of GPUs we have, and the GPU power. When something is cracked, you're accepting one or more PSK by hash of the network, or the BSAD. We are doing the validations as far as we can, and in real time, we generate these cracked TXTGZ dictionaries over there. Okay, it's over there, so it's real time. You can get every password that has been cracked there. And there is a separate dictionary that is for those that are coming from router KGN. They're separated because most of the time, they look very random things. Of course, they are not so random. That's why they get to the router KGN. But they are not really interesting if you want to use this dictionary for your own assessments. So, what we've learned up to now. There are a lot of vendors and ISPs that are still using default BSAD, SAD-based algorithms. In database, there are a lot of these hidden, and we hope to get them revealed. We'll identify this and continue with that. There is a lot of going to in this path. A lot of people get the router firmware, catch it, and try to find these default algorithms. And with this, with the WPA sec results, we are validating their results, and it gets pretty interesting. Of course, developing such a tool like HCX Tools, gets, we hit a lot of Linux kernel and driver bugs. We try to fill as much as possible bugs. A lot of them are already fixed. So, this is a good thing for everyone that is using such a hardware. We also identified some optimizations and improvements in the hashcat in Jam.Wripper. And the help you will get, it also does better. And in the end, WPA sec is very useful as an awesome source. Because, for example, you're doing a remote penetration test on some bank. You also can go on WPA sec and on Wiggle, see what are the networks there. After that, go to WPA sec and see if somebody already captured some network hash there. So, from now on, you will be, wait for until you already have something to work on and to try for password reuse, and et cetera. And, what's next with this project? It's running some years. Sorry. But I'm sure that there are a lot of more hidden algorithms, and we'll be very glad to check those out. The interesting thing about these default algorithms is that there is info on them, on different forums, wikis, etc. Very, very spread, and not really useful when you look for something. And I think this will be a nice place to collect them all and to improve it. Of course, the web interface, I really don't have a full screenshot because it's really awful. But this has to be gone from 19, so we have to do something better. Of course, it will be nice to introduce an API for dbQuery, so a lot of guys will have the possibility to dig in this database. But for now, if you have some ideas, I'll be very happy to discuss them. Just drop me a mail. And thanks. And we'll work it out. And, of course, prepare for WPA3. There are some speculations, and I'm sure that we will think of something. But let's see the first client implementations and server calls. So we'll see how this happens. But since in 2018, we still file out WEP and WPA, the first version. So I'm sure this will not go. Around soon. So thank you, guys. Thank you.