In kali linux you can create a fake AP or AP's very easily which
is seen by the clients trying to connect to wifi.
To do this kind of process you need a wifi adapter
which is capable of
running in monitor mode , mdk3
and airmon-ng
tool. the basic idea is to transmit beacon frames
.
if you don't have the above tools download it using the below commands.
###### Download Packages ######
user@kali~$ sudo apt-get install mdk3
user@kali~$ sudo apt-get install aircrack-ng
About Beacon Frames
In computer networks, beacon frames management frames used in IEEE 802.11 based wireless local area networks (WLANs). A beacon frame contains network information needed by a station before it can transmit a frame. They are used for announcing the presence of devices in a WLAN as well as synchronisation of the devices and services.The APs transmit beacon frames periodically so that the devices know the status of the network channel.
Step 1
select your network card, yor wireless card is named as wlan*
###### check your interface ######
user@kali~$ sudo airmon-ng
i am having two wireless adapter present here in the output
#Output
PHY Interface Driver Chipset
phy0 wlan0 8188eu Realtek Semiconductor Corp. RTL8188EUS 802.11n Wireless Network Adapter
phy1 wlan1 8188eu TP-Link TL-WN722N v2/v3 [Realtek RTL8188EUS]
Step 2
i am selecting wlan1
interface
###### turn your interface in monitoring mode ######
user@kali~$ sudo airmon-ng start wlan1
your interface name may change to wlan*mon
Step 3
create a file of names you wnat to show up as wifi networks, and save it
#fake.txt
Dare to Connect
Mart
Medical
Step 4
finally use the mdk3 command to show up the result
###### use fake.txt and mdk3 ######
user@kali~$ sudo mdk3 wlan1 b -c 1 -f fake.txt
# ^ ^ ^
# interface channel file
now you can check the result ...