Can also I will show you how to crack a WPA to net you first.
Go to terminal and issue this command airman dash and G so it will list the wireless interfaces you
currently have on your computer.
The interface here is wireless LAN 0.
So what we need to do is to let this interface listens to the wireless networks connections around us.
We need to enable that by using the same command airman dash and G storage.
So start monitoring on this interface w lan do so now enable that.
But we have some errors here we have two processes that we need to kill in order to continue with our
attack.
So use kill and then kill 1 1 2.
So no if you show the same command again you will see that the interface now name has changed from W
land zero to w land zero mon.
So now what interface is in monitoring mode.
The next thing we need to capture the traffic of the wireless networks around us and dump this traffic
in a file.
The command to go for is a dump dash and G then we need to specify the interface name which is w land
0 model.
So no we will be able to see all the traffic around us and this would be SS I.D. the Mac address of
access point or Wi-Fi the c h here represents the channel and where the connection is running on the
encryption here says it's mostly or it's WPA to for all and this is the the name of the hotspot or name
or the connection.
So I'll do this attack on my network which is an AJ or I just need to press control C to stop that.
So now we have this information related to the connection or the spot that I need to attack.
Next thing is to dig more deep and see who are the stations that are associated with this access point.
So the next command to do is dump so now we will write this information into effect so use a comment
on dash n g then the W parameter which specifies the filing that we need to run or to capture the traffic
to let's name it attack one and then for the channel which is Channel 5 and then B assess a d based
here and specify the interface.
So currently only two stations are associated with my hotspot here.
This is the Mac address of the station and this is or is the Mac address of the house.
So now the capped file is capturing the traffic everything but an order for us to do that attack.
We need one key thing we need to capture a handshake.
So if we don't capture it a handshake will be able to attack.
So we have two options here either you could do this manually since you're since we are testing on our
local spot here.
So you disconnect one of these stations and reconnect again and you will be able to capture the handshake
or we inject a authentication packet so that the client will authenticate again and we were able to
capture the handshake to do that.
You have to go to a new terminal make sure to keep that running.
So go to a new terminal and issue this command which is airplay.
We use its command to inject packets minus 0 is 4 d authentication and specify the number of packets
that you need to send maybe 10 packets then minus a which is the source Mac which is the mark of the
spot and then we need to send this these packets to the station.
Let's say the station and then we specify our interface.
And here you go.
AWP a handshake should appear here hopefully.
Great.
And we were able to get a WP a handshake here so we can close this now and we can stop this here by
doing controlled c.
So now we've got a handshake we got a cat father has a handshake and the next thing to do is to crack
into this Wi-Fi network.
We use the command a crack and G and minus W stands for a word list so the thing here is that WPA networks
know the bay two networks are very strong and we cannot just crack them by trial and error like we do
for.
For example in.
So we need to use word list and depending on the if you have a strong word list you'll be able to crack
this hotspot better.
If you have a weak word lists you might be able to crack that.
So let's see here.
Let's try to get a word list.
So for the sake of this example
just try to see a word list on my computer here so maybe.
So let's let's use this wordless for example.
Okay.
Open it in the least bad command.
Here you will be able to see maybe this is not the right to file to go for for another file.
Maybe this one so leave fed and then open the file and you'll be able to see this is a small file actually
but the will go through all these passwords and try them.
So let's continue with issuing this aircraft comment so the W stands for the word list.
I can just drag it from here.
Make sure to remove all logs.
So this is the word list that I were using then minus B is for the USS I.D..
Copy it again.
Then we need to use the cap file that we already captured.
Again you just drag it and make sure to clean the path and the filing.
We're just ready to just press enter.
And here we go.
Was found and you were able to crack into this Wi-Fi network.