Previously we've seen how we can use river to crack the WPX spin and from it get the WPA key.
We've seen the basic usage against a router that's not very secure.
Now like I said that router was given to me by the Internet provider with these default settings so
most people will actually leave it at the settings and it'll be as easy as that to exploit all the networks
that use these routers unless the user went and manually changed the settings.
Now with this lecture I want to show you another example of a more secure router.
So this is another matter that I have in here and I want to run very very against it and we will see
how we can crack it spin and get the password.
So first of all we're going to have to run wash to see all the WPX enabled routers against me.
So we're going to do wash I mean zero.
So this is exactly the same command that we were running before my 0 is my wireless adapter in monitor
mode.
I'm going to hit enter
and as you can see I have all the WPX enabled routers around me.
Now my target in this video is going to be this one which is called Test AP 2 and it has this MAC address.
So like we did before.
I'm going to first copy this and I'm going to run the basic griever command that we used previously.
So it's just going to be reversed.
B.S. ID then divide the channel which is 11 and then we'll give it my wireless adapter in monitor mode
which is 1 0.
So a very basic command that we've seen before we're just doing River.
We're given a society of the target network then we're giving it the channel of that network as well.
And then we are given that my wireless card in monitor mode.
I'm going to enter now I've actually executed this command before.
So it's asking me do I want to continue from where I left in the last time do I want to restart my session.
I'm going to say no because I want you to see what's going to happen.
So we're assuming that we're starting from scratch.
And as you can see it keeps saying failed to associate with my mac address and this message will keep
continuing to show in here.
So it will be it will basically just be stuck in here and we're just not going to get any results at
all.
So I'm going to first Control-C out of this now to fix this issue we're going to manually associate
with this access point.
So I actually covered before in a full lecture how to run a fake authentication attack.
This is exactly what they mean here by association.
So what we're going to do we're going to manually associate with the target use an airplay ngi and then
we'll run river again and tell it not to associate because we're going to do that manually.
So we'll just revert to do the rest of the things that we usually do but don't associate this time because
I'm going to do that manually so I'm going to split the screen
and I'm going to run airplay ngi here to associate with my target.
So I'm going to do airplanes you I'm going to do dash dash fake Auth. to associate with the target to
do a fake authentication attack then I'm going to have to give the delay.
And previously we used to give this at zero because we don't do this for a long period of time so we
usually don't need to stay associated with the target for a long period of time.
And this example we want to be associated with the target for as long as the time when River is working.
So I'm going to send this to 100.
And what this is going to do it'll basically set a delay of 500 seconds between the association attempts
between the time when airplay and you send the fake authentication packets next.
I'm going to have to give the Mac address of the target access point.
So we're going to do a dash 8 and give the Mac address then I'm going to have to give the Mac address
of my own wireless card and we'll do that using the dash Hage option and to get my mac address.
I'm going to have to split the screen again.
And do ifconfig 1 0.
So we're doing ifconfig followed by the name of your wireless adapter in monitor mode.
I'm going to her and turn and under the UN spec this is your MAC address.
So it's the first 12 digits of the unspayed field.
So in here to type it this is going to be 0 0 0 see a 8 2 8 2 9 8.
Finally we'll type the name of my wireless adapter in monitor mode which is zero.
So I'm going to close this here.
And I'm just going to go over the command one more time.
So the whole idea of doing this command is so that I can manually associate with my target because as
you can see here river is failing to associate it can't associate with my target therefore it can't
go and start brute forcing the pin.
So we're going to do this manually here.
We're doing it use an airplay and you were told on G that I want you to do a fake authentication attack
to associate with my target.
I want you to use a delay of a hundred seconds between the association attempts.
I want the MAC address of the target access point to be this one and my own MAC address is this one.
And this is my wireless adapter and monitor mode.
Now this is all good.
Now we need to go back to River and whenever we're going to run river we're going to use the exact same
command that we were on previously.
The only thing is I'm going to do a dash till a.
Now I didn't discover this myself if you just do reverse dash dash help.
You'll see all the options that you can use with the river including the dash 8.
And you'll see a description that you can use this to tell the lever not to associate with the target.
So we're run river like that now.
And this is asking me if I want to restart my session I'm going to say no.
And then as soon as I hit Enter I'm going to go down here and start the fake authentication process.
So I'm going to hit enter here go down here hit enter and let's see what's going to happen.
And perfect.
Now we managed to bypass this issue.
We managed to bypass the association issue because as you can see it seemed that it's associated and
it looks like it's trying to get trying to get it.
But for some reason we're not moving ahead.
We're still stuck at zero point zero zero percent.
So for now we actually bypassed the association problem and in the next lecture I'll show you how to
debug and tackle the other problem that we're facing.