Afrikaans
Akan
Albanian
Amharic
Armenian
Azerbaijani
Basque
Belarusian
Bemba
Bengali
Bihari
Bosnian
Breton
Bulgarian
Cambodian
Catalan
Cebuano
Cherokee
Chichewa
Chinese (Simplified)
Chinese (Traditional)
Corsican
Croatian
Czech
Danish
Dutch
English
Esperanto
Estonian
Ewe
Faroese
Filipino
Finnish
French
Frisian
Ga
Galician
Georgian
German
Greek
Guarani
Gujarati
Haitian Creole
Hausa
Hawaiian
Hebrew
Hindi
Hmong
Hungarian
Icelandic
Igbo
Indonesian
Interlingua
Irish
Italian
Japanese
Javanese
Kannada
Kazakh
Kinyarwanda
Kirundi
Kongo
Korean
Krio (Sierra Leone)
Kurdish
Kurdish (Soranî)
Kyrgyz
Laothian
Latin
Latvian
Lingala
Lithuanian
Lozi
Luganda
Luo
Luxembourgish
Macedonian
Malagasy
Malay
Malayalam
Maltese
Maori
Marathi
Mauritian Creole
Moldavian
Mongolian
Myanmar (Burmese)
Montenegrin
Nepali
Nigerian Pidgin
Northern Sotho
Norwegian
Norwegian (Nynorsk)
Occitan
Oriya
Oromo
Pashto
Persian
Polish
Portuguese (Brazil)
Portuguese (Portugal)
Punjabi
Quechua
Romanian
Romansh
Runyakitara
Russian
Samoan
Scots Gaelic
Serbian
Serbo-Croatian
Sesotho
Setswana
Seychellois Creole
Shona
Sindhi
Sinhalese
Slovak
Slovenian
Somali
Spanish
Spanish (Latin American)
Sundanese
Swahili
Swedish
Tajik
Tamil
Tatar
Telugu
Thai
Tigrinya
Tonga
Tshiluba
Tumbuka
Turkish
Turkmen
Twi
Uighur
Ukrainian
Urdu
Uzbek
Vietnamese
Welsh
Wolof
Xhosa
Yiddish
Yoruba
Zulu
Okay now that we have our website cloned modified and stored in our web server we're ready to go to
the next step which is creating our fake access point.
Now I've covered creating fake access points before I covered how to do that manually use an airbase
N.G. and I covered how to do that using a script that's called mine.
I took it both of these methods are good.
But what I want to show you today is a generic method that's first of all it's a manual method that's
first of all faster than airbase ngi and it's also what man a tool kit uses to generate it's fake access
point.
So why now.
Fluxion wife Fisher and all these scripts rely on the method.
I'm going to show you today to create their fake access points.
The reason why I'm kind of going low level on this is because first of all I want you to understand
how a wireless access point works and how to manually generate one so that in the future if any of these
tools broke and just didn't work or if you had a certain scenario or if you were just in a certain position
where you had to kind of customize your attack then you'll know how to do that yourself without being
limited to these tools.
So before we do anything I just want to give you an overview a simplified version of the components
used in an access point.
So first of all you need a wireless device that will broadcast a signal that's going to broadcast Wi-Fi
signal.
Now we have a wireless interface that's going to do that for us and we're going to use a program called
Host APD.
Now like I said this is the program that's used by Mynah toolkit so literally my tool kit runs this
program in the background to give you to broadcast the access point that it generates Fluxion and all
these other tools also use host APD to create their access point.
So we're basically removing a layer and we're literally going down layer two and we're going to be doing
this manually ourselves through the command prompt.
Then you'll also need a server that will give IP addresses to the client that connects to our fake access
point.
Now you can use a normal DTP server or you can use dnsmasq.
I like to use DNS mask because it's a two in one server because we can actually also use it as a DNS
server to handle DNS requests.
And and our particular example it's going to be very useful because we're going to use it to redirect
any requests that go to any Web site and redirect them to our logon page because we want this to work
as a captive portal so that if people try to go to any Web site they'll end up in our logon page instead
of actually giving them the website that they want.
So we have three main components.
We have a host APD that's going to generate our wireless network.
We have a DHP server that's going to give IPs to the people that connect to this network.
And we have a DNS server that's going to resolve DNS requests and in our example we're going to make
it redirect any request to the IP were our fake log in page is installed.
And that's usually our own IP.
Now let me do this manually and it'll become more clear to you.
So I have my Callimachi in here.
And the first thing that I'm going to do is install DNS mask and host APD.
So I'm going to go on my terminal and I'm just going to do up to get host APD DNS mosque so we've used
this command so many times by now all we have to do is just do apt get install the programs that we
want to install and we're installed and host a PDA which is the program that's going to generate the
wireless network and dnsmasq which is our DNS server and DHP server.
I'm going to hit enter.
And for me they're both already installed so it's not going to solve anything for me but for you it's
going to ask Who do you actually want to install that you're going to have to type why hit enter and
it'll install for you.
What's done with that.
I'm going to connect my wireless adapter through my U.S. port.
I'm going to go to devices.
Us be and make sure that the adapter is selected.
And as you can see mine is already selected.
So if I do it config it should be there now.
As you can see I have Landseer are already there.
So we're good to go.
Now the first step is going to be disable in network manager.
The reason why I do this because he usually manages this interface and it'll prevent it from working
properly and it's prevent it from being used to broadcast a Wi-Fi signal.
So we're going to do a service network manager stop and that's done.
And notice the network icon disappears from here from the top.
Now the next step is actually not a mandatory step.
It's an optional one.
Well I like to do it every time I've done something like this or try to become the man in the middle.
The reason why because I'm going to run a number of commands that's going to enable IP forwarding so
that the packets can flow through my computer without being dropped and it it'll also delete any IP
tables rules that might interfere with what I'm trying to do.
So it's going to flush IP tables.
Remove any redirections any chains that might interfere with packets that might be redirecting packets
to places that they shouldn't go.
So it's literally clearing any firewall rules that might be redirecting packets to somewhere else.
Now by default you shouldn't need to do this because there shouldn't be any rules at all.
But you never know what programs modify and add IP table the rules in the background.
So to be safe we're going to do that.
And I usually started this in a file in a bash script so I can just run it from terminal just to bash
and type in the name of the script.
But for now I'm actually just for the sake of completion I'm going to open it with a text editor and
I'm just going to copy all the commands here so you can see the first command just enables IP forwarding.
The second command will just flush IP tables will flush the table with the lead chains and will enable
forwarding an IP tables.
So again this is optional.
It's not mandatory but it's better to do it to make sure that your IP tables is clear.
There's nothing that's going to interfere with our attack and that it's going to work.
And so that if it fails we'll know it's something it's nothing to do with IP tables.
So I'm just going to paste everything here you can actually paste multi lines.
And as you can see all of them get executed without showing any errors which means that all of them
got executed successfully.
Now so far we actually haven't done anything to generate our fake access point.
We said we have two three main components.
First start fake access point using host APD second started the HGP server and third start DNS server.
We haven't done any of that.
We just stopped our eyeless adapter and then we deleted any rules that might interfere with our attack.
Now in the next lecture I'll show you how to properly configure all of these services start them.
So we have a fully functioning fake access point that people can't connect to and use just like normal
access point.
Can't find what you're looking for?
Get subtitles in any language from opensubtitles.com, and translate them here.