Okay now that we know the methods that we can use to gain access to WPA Enterprise Networks and this
lecture I want to show you the more advanced method the one where we create a fake WPA enterprise network.
So the first method.
Like I said it just uses a traditional fake access point.
And I covered this before in details I covered each aspect of learning this attack in details so that
you can adapt it to any scenario.
And this is a perfect example where you can use tools like Fluxion and wife fishier and you'll have
to do it manually.
And I covered how to do it manually before.
That's why I'm going to be covering the more advanced method in this lecture.
So I'm going to go to Cali and the first thing that I'm going to do is all need to install a modified
version of host APD.
So we use to host a PDA to generate the normal fake access point.
Now there is a modified version called Host APD WPB and that version of host a PDA is designed to run
a fake access point with WPA enterprise with free radius server.
So first of all I'm going to have to update my sources so I'm going to do apt get update now that my
sources are updated.
I'm going to do apt get install followed by the program that I want to install which is called Host.
AP The WP.
So we always use apt get.
We're just telling it to install on the package name or the program name it's called Host APD W.P..
I'm going to hit enter and that will automatically download the program all the needed packages and
configure it for me.
OK now that's all done.
So I'm going to clear the screen.
And the next thing that we want to do is very similar to what we used to do with host a PDA.
We want to modify its configuration so to do that we're going to do a live pod which is my text editor
and I'm going to put the location of the configuration file and that's stored in ATC host APD WP and
again host APD the blue dot com.
So we're doing Lafond which is our text editor and then we're given at the location of the configuration
file for host.
APD WPEC.
I'm going to hit enter and the main things that you want to make sure are set correctly is first of
all the interface.
This is your wireless adapter.
So in my case it's actually called Line 0.
If you don't then what it's called You have to do if config as you should know by now and then you can
get the name of it.
The next thing that I want to modify is the SS ID.
This is the name of the fake access point and it's set by default to be called Host APD WPEC.
Now my target is called company network.
So I'm going to call this company network as well because as you know this is an evil to an attack.
So you want your fake access point to have the exact same name as the target access point.
So call an IT company network you can also modify the channel and here if you want but I'm going to
keep that the same.
And I'm actually going to leave everything else here the same.
Now if you scroll down you'll actually see after this point and it says is it.
And it says it here and the comment everything that comes after here is literally just the normal host
APD configuration.
So like I said this is just a modified version of host APD which is modified so that it can use WPA
a enterprise with free radius server.
So I'm going to save this control apps and quit it.
Control.
Q OK.
Now we're done.
We're ready to run the attack.
But before we do that like we did with host APD we have to stop the network manager because it's managing
my wireless interface.
And if it stays running it won't let me use it to create a fake access point.
So I'm going to do service network manager stop this or stop the network manager for me.
And now I can run the fake access point with WPA enterprise to do that.
We're going to host a PDA WPEC followed by the location of the configuration file which is an ATC host
APD WPEC host AP DWP either or CANF.
So this command is actually very similar to the host APD command that we use to use.
You just put the name of the tool followed by the location of the configuration file.
I'm going to hit enter and as you can see right now it's still in me that the network is working its
broadcast and under the name company network.
And now you can just go ahead and run the authentication attack as I showed you before you can do authenticate
all clients or some clients.
Again as shown before clients will not be able to access their network they won't be able to use the
network.
So they'll think Oh maybe I can just connect to the other company network.
So let's go to a Windows machine and see what we have.
So I have my company network in here.
I'm going to connect to us.
And I'm going to put my user name as zayd and my password as one two three four A B C D.
I'm going to connect.
Now this is just a warning saying that if you expect to see this network then connect to it.
Otherwise don't.
Most people would just connect to it because like I said WPA enterprise is usually used in large organizations.
So people are used to see a number of routers and connecting to a number of routers and if you're on
the authentication attack and they can't connect to their own router then there is a very high chance
of them trying to connect to the other router or the other to the other access point that has the exact
same name that they're used to.
Therefore I'm going to click on Connect now saying it can't connect to this network because I actually
use the wrong username and password anyway.
But if we go to the Kalli machine you'll see that we captured the username we captured the challenge
and we captured the response.
Now I know this is not the password that I put so you still can't see one two three four a b c d and
that's because the password is encrypted.
That's why I said the basic evil twin method that we showed before has an advantage over this method
because the password will be sent in plain text overhasty TTP.
The problem with that method was the logon screen wasn't very convincing with this method.
You'll get a proper system log in box because we are implementing a proper WPA enterprise network.
So there's nothing fake about it.
The only problem is because this is a proper WPA a enterprise network the password will be sent.
Based on the authentication method used which is a challenge response method where there either sense
a challenge and then the client sends a response based on that.
Now in the next section I'm going to talk more about this and I'm going to show you how to crack the
response and get the key for the network.
But for now our attack is done.
We managed to capture the username and the hash for that password.
And in the next lecture I'm going to show you how to crack that password.