Hi. Welcome back to the course. And the last module we covered sequel injection at a very high level
in Marshall 12. We're gonna talk about hacking WiFi and Bluetooth.
So what is a wireless network? Well, basically, it's a wireless data connection between two network nodes.
So instead of us plug it in like a cable into our machine. You know, from the computer to the router, we would basically just kind of being a single, so to speak, from the router to or wireless access access point to our particular device.
One of the main advantages of this is cost reduction.
So different types of wireless standards for your surf unethical hacker examination. You just want to be familiar with the frequencies of each standards. So, for example, 802.11 n. You want to know that it's 2.4 to 5 gigahertz
S s i d So service that identify where this helps identify the wireless networking, mostly the wireless access point. So,
for years, Sam, you just want to understand on this particular thing that it doesn't provide any security all so just keep in mind that s s I d does not actually provide security.
So where are the South indication? We've got a couple of different protocols here, so open set of some authentication and then a shared key authentication methods.
So open system authentication. So basically, it's gonna make the network available to a wide range of clients.
The authentication frame. It's gonna be sent from the client to the access point. And once an access point verifies the S S I d, it's gonna then send a verification frame to the client to say, Okay, I recognize who you are
shared kill authentication. So each client knows ahead of time that Hey, here's my key. Here's my key, and this is what we're gonna use.
And so it allows us to connect as needed because we both understand the key
Three different forms here and we actually have W W P. A three here in 2018 that's come out as well of a Web W p A. In W. P. A. To
so wet or wired equivalent privacy. It's very vulnerable, basically uses in the initialization vector for the integrity and con tradition reality,
and then it also uses a 32 bit integrity check value,
so as you mentioned flaws and so basically, we're just very, very small amount of modification. Packer Kinta, an attacker Excuse me, can take control on modified different packets on a consistent basis.
So it's susceptible of that plane. Texted taxes. Well, a denial of service attacks.
So everyone got concerned over that. So they came out with a w p A.
So why fight protective access? So one of the key things here is that uses temporal key integrity Protocol S O T kit,
which basically make make should change out the key after every single frame
and the keys are transferred back and forth during the extensible authentication protocol. Now. So flaws with this or users choose and weak keys, right? And then also we can have weaknesses like packet spoofing.
So then we got W p A. To now this one uses a E s encryption
and it's complying with Fitz 1 40 dash to and also use a CCMP, which is a cipher block chaining message, authentication, code protocol. Say that three times fast for the integrity check.
And then there's a couple different forms, like the personal or the enterprise version of it, which uses a server for key management in authentication.
And one of the major flaws here is that you could do a diesel authentication attack with a tool like Why fight? So basically, all that means is that you use this tool. It's gonna transmit a bunch of packets that are intended to kick all the clients off of the wireless network access point and that once those clients try to really authenticate,
you're gonna be able to monitor the handshake that they undergo with that
while it's access point.
So risk mitigation for weapon W p A. We can use complex passwords or even passed phrases as a key for the access point. We also can use things like server validation on the client side that's going to allow the client you have a positive i d on the access point that is gonna be connecting to it. So that way, we know we're not
connecting to a rogue. Jack has access point or something like that.
We want to eliminate the user of weapon Excuse me, the use of weapon w p. A. And also and move into W p. A. Two. Or even as I mentioned, W. P. A. Three has come out
and then also use encryption
so wireless, hacking some of the things we want to keep in mind for the exam or Rogue Access point, Miss Configuration Client, Ms Association and then Honey Spot as well. You may or may not have to worry about ad hoc or jamming attacks.
So a rogue asked Excess point, especially where the attacker installed some kind of new access point behind the company's firewall. So it could be that they snuck their way in is like a janitor to the building. And they put one, you know, somewhere in the bathroom on. And that's you know, of course, that's behind the company's firewall. In some capacity, they figured out how to get past that.
So what it does is it allows the attacker access to the network so far in this example here of the Attackers out in their car. But you could be still in the building and the, you know, sitting in the bathroom, hacking and hacking and getting information. You could even be around the corner, whatever the case might be. But basically a lot of that inner point behind the company's firewall.
And also the attacker wants to discourage, right? So, like if we were hiding in the bathroom, we wouldn't set it on top of the toilet, See, for everybody to find we want maybe you reach up in the ceiling and put in in one of the ceiling panels and then close the panel back where nobody knows that we messed with it.
So Mac spoofing just like anyone, anywhere else with Max moving. This is where the Attackers gonna spoof the Mac address of an approved clients. So that way, they can get past any type of filtering we have in place so some to their several tools you can do out there. But some tools are smack ff config and then change Mac
so ad hoc. So basically, this relies on the attacker using a WiFi adapter to directly connect to another wireless system. So basically, most users are going to be unaware that this is gonna be some kind of malicious connection. So they might just connect to this wireless access point,
Miss configuration. That's pretty much common sense, right? So if you if you don't set things up properly, that's gonna be a vulnerability
Climates association. Another thing, as I mentioned you're gonna want to know for the exam. So basically, the client attaches to an access point That's not a part of their network. So it could be something that the attacker is kind of boosting their signal or something, but the user doesn't understand that. Hey, that's not really your network. And a lot of times the attacker is gonna put a similar name. So let's just say you're
your company Network was, You know, we'll just pick on Microsoft again. So Microsoft
Ah, you know, underscore one is a company wireless network name.
So all the attacker does It says, Well, okay, well, you know, Microsoft underscore too, you know. So if you're a new user user, that doesn't really pay attention. You may connect to this that second network there, which is actually the Attackers, more or less Access boy.
And so what? This can lead to If people do that, the attacker can actually gain access to the protected company network,
and then we have jamming attacks. So essentially, this is a denial of service attack on the goal Here is the overwhelming deny the availability of that particular access point by the legitimate users.
So the honey spot attack. And basically the attacker sets up a rogue access point with a stronger signal than others. And so that with the the users are like, Oh, this is the best WiFi out there, you know, let me go ahead and connect to this. So that's another way they can do that.
You'll see this a lot actually
out there. You know, if someone sitting out like a Starbucks or something like that in their car and attacker, and they will boost the signal. So people said that the Starbucks jump on their axis pointed in the attacker could start harvesting data.
So different types of wireless hacking tools out there Air, crack and G and kiss MIT are kind of more popular. Ones on, of course, can enable as well from a sniffing standpoint.
So air crack. Angie, this is kind of what it looks like here. A CZ. You're getting data out of it.
Same with can't enable again, I mentioned it gives you the ability to kind of sniff and capture packets,
and then we also have wife. Fight is well,
and if you remember wife eyes when I mentioned when we were talking about that de authentication attack or the attacker sending a bunch of packets to bump off everybody from the network connection and then capturing the handshake as they reconnect.
So I just want a quick post assessment question. So t campus scene in which one is that gonna be wept? W p a door W p a to
So you're correct If you said w p a again that one of the specialties t kip W p A to uses a s.
So hacking Bluetooth So Bluetooth itself could be in different modes so discoverable that allows devices around you to be scanned The devices that are Bluetooth enabled to scan your device I'm limited discoverable. So basically, you're you're discoverable for purity time by other Bluetooth enabled devices. But then it stops
and then, you know, for a period time and then it starts again
for another purity Time stops again, et cetera, et cetera,
and then not discoverable. So the device can't be located, however, if it's already been located by another device before. So let's say you and your friend are sitting in the room, and you you make your device not discoverable. If your friends you know wants to discover you they can, because you've been located already by that device.
So different types of Bluetooth threats that we have a blue blue jacking. This basically you know where I can send through through a Bluetooth message. I can send anonymous techno text messages to whatever victim I want. So it's it's Ah, it's not necessarily a fun thing to do, like in a crowded room, but it is something you could do in kind of a crowd
blue snarfing that's gonna extract information at a distance from a Bluetooth device. So that's essentially somebody taking your information on Bluetooth Honey pots and I'm in a tool like blue pot can be used to draw in malware and also blew different Bluetooth devices.
So in this module we talked about WiFi hacking a little bit about wireless networks, and then also we talked about Bluetooth as well.
In the next month, we're gonna talk about a mobile hacking and mobile security