So it is now 10 a.m. and we are ready for our first talk. And I know you've been waiting, but both of you have been waiting to do this talk for a while. And it's my pleasure to introduce you, Essem and John. Hello. Backside, can you hear me? Okay, thank you. Today, we will talk about Wi-Fi Threat Modeling and Monitoring with my co-worker. But firstly, I want to introduce myself and my co-worker. But before I begin, I want to say we love Wi-Fi hackers. I am Besim. We come from Turkey and this is a lot of information about me. And for now, I'm working as a security engineer in Barikat Cybersecurity in Turkey. And I am developer of the Wi-Fi Hunter Project. Wi-Fi Hunter Project can detect a lot of Wi-Fi attack and can monitor a lot of Wi-Fi threat. And today, I will talk about the Wi-Fi Hunter. And I am founder at Pentester Training about Wi-Fi. Now, I am a student in Turkey in computer security at Suleyman Demiral University. And before that, I will attend a lot of conferences in Black Hat and Defcon. Before that, I did a presentation in Black Hat Arsenal. And I have a book in Turkey about wireless attack and monitor defense. Just now, just Turkish. And if you learn a secret information from my book, you should learn Turkish. Maybe next year. And I have a hobby for fight against the Wi-Fi hackers. And now, my co-worker will go on and I will come back again and we will enjoy with Wi-Fi Pineapple and Karma attack. Thank you. Hello, everyone. Hello, everyone. Is it clear? Great. I am John Kurnas. Actually, I'm originally from Turkey. We worked together. Then I moved to Netherlands two years ago, and I'm now working for KPMG Netherlands. I already presented on Black Hat this year, and also last year's Defcon and this year's Defcon on IoT Village, etc. My hobbies are IoT and ICS security. I'm working as a penetration tester, and I'm also contributing to Wi-Fi Hunter. We are also discussing each other for ideas, etc. Also, this project come up with collecting the ideas when we are discussing. So, today's agenda, we will talk about, of course, Wi-Fi networks. We will try to profile Wi-Fi hackers. Then, after doing this, we will try to create some sort of threat model about the Wi-Fi hacking. Then, we will try to fight against Wi-Fi hackers. And, of course, at the end of the presentation, we will discuss about the recommendations. So, about the Wi-Fi networks. Besim was developing a tool called Wi-Fi Hunter. Basically, the idea was trying to see the Wi-Fi pineapple around your company or around your environment if you run as an individual. So, after that, we come up with an idea that we can maybe create some sort of a tool that we can do every single step to catch Wi-Fi pineapples. And then, we started trying to implement some tools in order to have some sort of protection for the Wi-Fi hackers. And, as you can see in here, mostly, if you're already connected to a Wi-Fi with your phone, after that, basically, your phone will take a look on everywhere. If your Wi-Fi is open on your phone, it will take a look everywhere by just sending the probe request to the air if the access point is still over there. Yeah, your phone or your laptop will constantly send this. Then, it will be looking for an answer as a probe response from an access point. So, if an access point that you already provided the password or if you have been connected to an open, let's say, access point, with the same SSID with the same name, if any of, any other access point will answer to that, answer to your phone, it will try to create an authentication request. It will, your phone, your device, will send authentication request to the access point. Then, access point will send back to your authentication response. Then, the connection will start. And also, the association request and association response, after that, you will be connected, basically. So, your access point, yeah. So, the access point is just sending the beacon frame and your device will try to find, uh, try to find, uh, the SSID that already knows. So, uh, we tried, we tried to create, uh, a profile of the Wi-Fi hackers. We take a look to the, uh, to, let's say, field what, uh, what they are using at the moment. And mostly, we've seen that they are creating open Wi-Fi networks in order to prevent, yeah, in order to prevent any, any password authentication because it's really easy to connect for you. And, and a lot of stores, a lot of places, malls, et cetera, are providing these kind of, uh, open networks. So, it makes sense, right? I mean, you can, you can just connect and you have free internet. That's why attackers use that. We realize that's important, uh, for them. And also, they are, they are tend to use interesting SSIDs for rogue access points because it will also bring your attention to these access points and you will try to connect them like, I don't know, coffee break, like, if you, if you sit on Starbucks a lot of time, you will see, uh, SSID names related with the coffee, et cetera. So, they are just creating a smart and catchy, uh, access point names. Then, of course, it's really easy to create rogue access points by using Wi-Fi Pineapple. Uh, they also, they're also selling it in here, I think. Uh, it's quite famous. It's really easy to use. So, we've seen a lot of Wi-Fi hackers are using this device. So, they are collect, uh, basically, they are performing, performing automated attacks, automated Wi-Fi attacks, like collecting SSID information, creating SSID pool, and creating rogue access point with this SSID pool. So, basically, they are trying to catch you by using, uh, the smart names. And they are also using host APD mana, uh, to perform auto, also to perform automated Wi-Fi attacks, like GTC, GTC downgrade, which is basically on the enterprise networks. By using this downgrade method, you can get the password on clear text. They are also using this technique, and also they are using karma attacks, uh, that this one, basically, we'll explain it later, on details. And then after collecting these kind of profiles, we try to create the threat modeling for the Wi-Fi. Uh, because, of course, security of an object is quite, uh, associated with the, uh, the other objects that, that, uh, the other objects that it's used. So, I mean, if there's a weak chain, a weak point on a chain, it will be a problem for you. So, we come up with this map. We are, of course, open to, open to, let's say, develop this with you guys. If you have any advices, or if you want to discuss anything on this, please be, uh, please don't hesitate. So, we focused on, uh, let's say, roughly three points. First, the access point, of course. The second one, your Wi-Fi ideas and IPS, intrusion prevention and intrusion detection system. And, of course, the environmental threats. So, for the access point, we realized, uh, there are some open source tools, or open source, let's say, um, uh, sources that you can find your SSID, your geolocation, your passwords. Basically, uh, some, some tools, right, on, on Android or something, on iOS. Basically, when you go somewhere, if you get the password, then you're just writing there and providing everyone the password and the location. So, someone else after, after, uh, someone else will come there and then, then they can check if the password is over there and they can use, connect and for the free internet. So, we are checking, uh, Wi-Fi map leak. We basically download it by using the API. So, yeah, it's also risk, of course, the other open source, uh, open source, let's say, source, open source places are also risk. And also, we are considering, is it, we are considering the version of your access point and also brand of your access point as a, uh, threat because it could be, I mean, it could be vulnerable to a certain type of attack or it could be vulnerable to a, I don't know, some sort of an exploit. So, we also need to be aware of that. We are also considering that as a risk, as a threat. And of course, uh, broadcast denial of service is a risk that could affect your access point and it would be a, uh, it won't build, it won't be available when this attack comes. And also for the access point, uh, pretty sure we are also considering the password is a threat because if you are using weak password, which is quite easy to crack, it's also a risk, right? And of course, for this access points, we have users which are connected to the access points and also the user devices are a threat for, uh, for the Wi-Fi environment because basically your phone, your, uh, laptop, et cetera, are saving the password of the access point. And also for the users, um, if someone else sends prop requests for the user, uh, sorry, so user sends prop requests to the air, then it might leak some sort of information about it, uh, about the access points or about anything else. Yeah, some location like a hotel name, et cetera. So it's sort of, uh, uh, I mean, what can I say here? I mean, last year you stayed in Vegas and you didn't tell your wife, but your phone connected once, then when you go home, your phone will try to send it again, try to find the access point of the Caesars Palace, then it would be a threat if it's detected, right? So you can think about something like this. And also the karma attacks are a risk and for the Wi-Fi intr- intrusion detection systems and intrusion prevention systems, we also wanted to know how secure are them or, or how mature are them because yeah, you are having them, you are setting this up, but you don't know if you set it up securely or if you, uh, I mean, if you are not sure if it's correctly implemented. That's why we are also considering this as a risk. And of course, rogue access points are quite a big threat for this environment in the corporate or in, in your environment, uh, inside of your company, et cetera. And on the, all of the corporate or outside, uh, environmental threats, we will discuss it later, but basically we come up with this threat map. So we will try to fight against Wi-Fi hackers and Besim will continue after that point. Thank you. I come back again. Everybody ready for enjoy for Wi-Fi pineapple and karma attack and some deception techniques. Before fight against Wi-Fi hacker, we must know all solution don't need be complex. So we will think as basically and, uh, think basically and apply basically. Firstly, uh, I will explain some technique for the tech, uh, karma attack. And, uh, in this, uh, techniques, uh, we will use FF methods like fake probe request, probe response and beacon packets. But, uh, before, uh, detect karma attack, we should know, uh, what is the going on around here during karma attack in environment. If you know, uh, what happened in, uh, during karma attack, you can solve everything. So, uh, karma attack generally, uh, use a lot of probe response for all probe request. If you, your devices want to connect, uh, another network and send probe request and if, uh, there is a attacker in environment, uh, like karma attacker, always generate probe response and want to, uh, trap, uh, client, uh, for collect a lot of information. And this is a detection method and I collect, uh, I collect a lot of information from AIR and, uh, did some analysis about this packet and, uh, I see, I see some, uh, interesting information. Uh, karma attacker sent a lot of probe response from just one MAC addresses. This technique, uh, first method for us and I created a tool name of tool P-Karma and P-Karma can detect, uh, uh, karma attacker, uh, with, uh, first method. Like this, I want to say, show you. Firstly, uh, I run my tool with help option and I check my interface name. It is monitor mode or not because I need monitor mode interface and I set for the, send the authentication attack. When I detect, uh, a lot of probe response from one MAC addresses, I, uh, send the authentication attack for save all clients from karma attacker. And as you see now, collect information from AIR and detect karma attack. As you see, this is karma attack activity, one MAC addresses and five probe response for create a fake access point and send a lot of the authentication packet as you see in Wireshark, uh, and save all clients. This is the first method for us. And, uh, like same, uh, with, uh, previously methods, but, uh, I did, uh, show, uh, difference. This is a fruit Wi-Fi, uh, different tool and create a, and generate a probe response like karma attack and I can catch again with this method. And another method for us, if attacker creates a lot of probe response with different MAC addresses, first method doesn't work for us. So we know if send a probe request to environment and if, uh, there is a karma attacker in our environment, send to us a probe response. So if generate a probe response, generate a probe request with fake SSID, uh, firstly and send to environment, uh, if, uh, some devices send to us again probe response with same SSID, we can say, yes, we catch karma attacker in environment. So for this, uh, you can use SCAPI and generate fake probe request. Uh, in other methods, uh, if, if no, uh, how does work access point and how does work karma attack, we can solve everything. As you know, access point always send beacon packet and probe response and beacon packet and probe response same. So generated by access points. Uh, beacon packets include the SSID, SSID and target information as a broadcast and probe response same, the SSID, SSID and broadcast information. So if see, uh, if I, if I see some, uh, information like probe response and, uh, I want to show you, I did, uh, I run a karma attack with my, this computer and I catch a lot of packets and I save, I save for analyze. Uh, this is host APD mana activities for karma attack and, uh, I want to show you from Wireshark. If you want to analyze from Wireshark, uh, some, uh, WiFi threat activity, you can use wireless and wireless local network traffic and you can see in here a lot of information like this. One MAC address created, uh, with, uh, add room SSID, a lot of beacon packet, but a same MAC address sent a lot of probe response from just when I got MAC addresses. And if you choose this and click and apply as a filter selected, create for us, uh, step a link. I will create some special filter with Wireshark and this is a probe response and I want to see if this access, this real access point, uh, I must show, I want to see a beacon packet with this SSID. But if I cannot see a beacon packet with this SSID, I can say this is fake and this is karma attacker because karma attacker cannot generate beacon packet, generate just probe response. Yes. As you see, I can see just probe response with this SSID and, uh, I cannot see beacon packet so I can say this is a karma attacker because, uh, there is no any beacon packet related with this SSID. Okay? And, uh, now I will show something about, uh, WiFi Pineapple detection technique and, uh, firstly we must know, like karma attacker, how does work WiFi Pineapple and what happen when doing attack in environment, uh, WiFi Pineapple in environment. So, uh, we will, we, uh, we will show, uh, three methods, firstly same SSID, uh, analyzes, secondly beacon packets and, uh, fingerprint techniques for WiFi Pineapple. And, uh, this is a first method for detect WiFi Pineapple and, uh, generally WiFi Pineapple, uh, collect all SSID information from air, uh, and, uh, parse beacon packet and probe request and collect all SSID information and create a SSID pool. After create a SSID pool, generate beacon packet, uh, for create a fake access point. So, if you see, uh, two access points, two beacon packets, uh, one of them, uh, encrypted and another one unencrypted with the same SSID, you can say, yes, this is, uh, this is, uh, WiFi Pineapple activity. What, but, uh, you should see, uh, one more done. Yeah. Okay. And I will show demo and write tool. Uh, this tool, uh, analyzes, uh, PK file, uh, for detect WiFi Pineapple activity, uh, use first method with same SSID and different encryption. And now running and read PK file. Before then I create a, I run a WiFi Pineapple and generate some activity, generate some packets for activity and save it for analyze. Now reading PK file and we should wait, uh, just one minute. This is a real demo live. Backside, can you see? Okay. Now reading, uh, all PK file and I want to show, uh, my codes. Analyze all packets and, uh, give us some information. I write with this copy, uh, and I copy it and find total packets and found an unencrypted WiFi PK file and found encrypted WiFi networks. And as you see, uh, find, uh, same SSID but different encryption in a lot of WiFi broadcast. And now we can say, yes, this is WiFi Pineapple activity in the environment. Yeah. And I will share this tool after our presentation. You can access from GitHub. And I want to explain another method about the WiFi Pineapple activity, same Karma attack. This is same Karma attack but, uh, different, uh, with this point. Karma attack generally send probe response from one MAC addresses, but, uh, WiFi Pineapple generate, uh, from one MAC addresses. A lot of beacon packet from just one MAC addresses. And if you see a lot of SSID broadcast from one MAC addresses, you can see this is a WiFi Pineapple activity or another, uh, hacker tool activities. Okay. And same method with the, uh, Karma attacker. And finally, uh, we can detect WiFi Pineapple with the fingerprint. As you know, uh, before I begin, I say, I say, uh, all solution don't not, don't need to be complex. This, uh, basically, but, uh, does work for us every time. And for fingerprint WiFi Pineapple, firstly, create a one fake access point. If attacker create one access point, first method and second method doesn't work. But if you use this method and fingerprint when connect the network, you can detect WiFi Pineapple. And, uh, how many people use WiFi Pineapple? No? I did see your sticker in your phone. Yeah. Okay. And when I connected WiFi Pineapple, I did see some interesting information like port number in, uh, over HTTP and, uh, clients and users, uh, cannot change port number from web UI. And as you know, WiFi Pineapple is automatically devices for WiFi, WiFi attacks. And if users cannot change port number from web UI, don't change every, every time. Use with same port. And when you connect to WiFi Pineapple, if you check, when you connect to, uh, sorry, when you connect to, uh, network, WiFi network, if you check port number, maybe you can find WiFi Pineapple. And, uh, another item for WiFi Pineapple use default host name and a lot of users don't change this feature. You can detect from this. And when you connect the network, if you check DNS proof, you can, maybe you can say, yes, it could be fake access point or WiFi Pineapple. And I have a demo for this. I developed tool, name of tool, Pfinger. And as you see, firstly, I will check my interface as a client mode, not monitor mode. And I write, I type my interface, sorry. And as you see, I find a port number as a true and manufacturer information and other check, check it, uh, information for detect WiFi Pineapple and fake access point. When I detect port number is true, I visited from website like this. Yes, we catch WiFi Pineapple. It's correct for us. You can try, if you have a WiFi Pineapple, you can try, uh, or if you don't have any WiFi Pineapple, just connect one WiFi, open WiFi network and check this features, this options. And we think if attacker use another WiFi Pineapple, uh, techniques and, uh, to, uh, machine, uh, we develop new WiFi Pineapple, uh, to detect fake access point. And, uh, in this, uh, screen, as you know, firstly, P open detect all open network in environment. After detection, we can connect automatically with external or internal WiFi adapter. And after connection, we must do some, uh, fingerprint techniques. And firstly, but firstly, you should know some, uh, WiFi hackers, uh, profile information. Generally, WiFi Pineapple, WiFi hacker, when want to create a fake access point, use DNS spoof and or, uh, open Wireshark and or use ARP spoofing like this. And, uh, generally access, all access point has, uh, one web interfaces with username and admin. Okay. When I connected network with P open, after uh, detection, open networks, I checked this information like WiFi Pineapple. If I want to check WiFi Pineapple, firstly check default configuration, uh, with same P finger techniques. And check other, uh, another information like DNS spoof. If there is a DNS spoof ARP, you can say, yeah, it, it could be fake access point because it is unnormal, not normal. It is unnormal because it is not normally if you, uh, see DNS spoof or ARP in WiFi networks. And, uh, this is another techniques for deception. If there is a attacker in environment, you can, uh, run this deception technique, uh, for hackers. And as you know, uh, generally WiFi hackers use host APD dash WPA for create, uh, enterprise fake access point. When create a fake access point enterprise, you can send a lot of information fake with the fake username. And when attacker see all, uh, users want to connect to fake access point, wow, what the fucking? You can say what the fucking? And I have a demo for this. As you see, this is a attacker mission and create a fake access point with host APDW dash WPA. And this is a blue team mission and create a fake, uh, fake connection request to enterprise access point. And as you see, always send, always send fake connection request. And in attacker mission, you can say, you can see, uh, fake request. And we, yeah, name of tool p-trap. Uh, as you see, uh, this is a, this is a, uh, you see, create a, a lot of, uh, fake request to, uh, enterprise network. If there's an attacker in environment, you can, uh, confuse mind. Yeah, you can confuse the hacker. And another deception technique for Wi-Fi pineapple and, uh, for karma attacker. This is a pinocchio. John, if it's possible, can you explain pinocchio? No. Okay. Uh, pin, this is tool. Firstly, collect all SSID information, uh, in air from air and, uh, part can parse, uh, all MAC addresses and SSI on MAC address SSID information from probe request. After parse all information, you image it. This is a proxy on air and collect all information and change all SSID and send again to environment, to air. And if attacker in environment, you can, uh, put a lot of fake probe request like, I'm Roge, turn off Wi-Fi, I'm fake access point, dangerous Wi-Fi to SSID pool in Wi-Fi pineapple, you know. And, uh, if you generate like this SSID probe request, uh, you can, uh, no, a karma attacker always generate probe response with this. And when you check your phone like this and check your computer, you can see a lot of info, uh, information and attacker inform to you. I'm attacker. Always inform to user in environment this model. Just collect SSID information and change all SSID information and send with the same MAC addresses to environment. And if there is a attacker in environment, you can see like this and info attacker inform to you about attack. And another, uh, threats for us and as you know, John explained something when, uh, talk about the Wi-Fi at the attack map. This threat for us, uh, the authentication attack, hidden Wi-Fi network, SSID brute force, similar SSID, open network, interesting SSID. All of them threat for us and, uh, we create tool, name of tool PDANCE. PDANCE can, uh, detect and monitoring all environmental threat. Not a direct threat for your company. This, uh, um, we can, we can, we should think it could be threats maybe next time, but not, not now. Okay. So, uh, if you see a lot of the authentication packets in your, in the environment, you can say maybe hacker try collect handshake. Yeah, it could be. And maybe hacker try jamming for disconnect all client from networks and maybe hacker try trap clients with the Roja access point and always disconnect client from real access point. Yes, it could be. This, it could be threat for us. Not now, but maybe next time. Another threat for us, interesting SSID. And as you remember, John explained this feature when talk about, uh, Wi-Fi hacker profiling and hacker generally use interesting SSID and, uh, sorry. If you see a lot of information with interesting SSID in environment, not directly to your threat, you can say, yeah, it could be threat and it could be hacker here because we see a lot of interesting SSID in environment. And another threat for us, similar SSID. If you have a company and broadcast some SSID like barricade, can you explain this John? So basically, basically if you are using a name with the capitals and if someone else will create with the some of the lower, lower characters or if someone else would use a four instead of a, or I don't know, at instead of a like, like this and yeah, it's quite likely that you, you might connect on these networks because you already know the original name and if you're drunk or if you, if you have, if you are not having attention, it's, it's likely to connect to these networks. Thank you. And, uh, final threat for us in environmental threat, uh, how many people know malicious cable and VHID injector? How many people? Okay. And as you know, like this, uh, devices, uh, when, when you plug to your computer or, uh, uh, some client, uh, computer, uh, create for you hidden networks and you can say, you can connect to hidden network and hack clients. But this is, uh, so this is threat for us. We should, uh, monitoring all hidden, uh, network, all hidden WiFi network for detect this activity. If you detect some hidden network in your, uh, in your environment and maybe if you analyze and detect a real name of the hidden SSID, uh, you can, maybe you can detect malicious cable in your company or malicious, uh, malicious VHID injector like USB rubber ducky like this. This is just example. Uh, it could be another devices. And as I said, uh, we create a tool in double, uh, Wi-Fi hunter can, if you use this tool, can detect, uh, all of them, hidden SSID information, same SSID, different encryption and the authentication attack density like this. And, uh, now we have no any recommendation. Yeah. If you have a pineapple, please turn Wi-Fi pineapple, please turn off your Wi-Fi pineapple and get us. Okay. Thanks to all Wi-Fi hackers. Thank you for listening to us.