How can I hack WiFi using


Answer Wiki

11 Answers
Rupish Sharma
Rupish SharmaLearning to breathe
120.5k Views
Cracking WEP with aircrack-ptw in Windows with AirPcap and Cain

 

Every time you deploy a WEP Access Point, a fluffy kitty dies.
Recently a team of German cryptography researchers perfected methods to recover a WEP key faster than ever before. The older Weak IV attacks generally needed  between 500,000 and 2,000,000 packets to recover a 128-bit WEP key. In  contrast, the new PTW method needs a mere 85,000 packets to have a 95%  chance of recovering the WEP key.
Unlike the Weak IV attack, instead of collecting weak IVs, the PTW  method collects ARP requests and responses to attack the encryption. ARP  requests can either be collected naturally, or can be generated via  packet injection. Until recently, packet injection was only possible in  Linux. With the advent of the AirPcap USB adapter, and some unsupported beta drivers, it’s possible to inject packets in Windows. Update: CACE have released AirPcap Tx, which features fully supported packet injection, for an added premium.
In this tutorial, I’ll guide you through the process of recovering a  WEP key, via the PTW attack, in Windows. For this you’ll be using the  AirPcap USB adapter, Cain, aircrack-ptw, and the aircrack-ng suite.
Legalities
It’s important to point out that these methods should only be applied  with permission from the owner of the target AP. You should either be  auditing, penetration testing, or demonstrating the weaknesses of WEP in  a Test Lab environment. You should not be using these methods to get  “Free internet”!
Preparation
You’ll need:
Now you’ll need to prepare the environment:
  • Install the beta drivers (or if you have AirPcap Tx, install the drivers from the CD-ROM)
  • Plug in the AirPcap
  • Install Cain
  • Extract aircrack-ng to c:\airpcap\
  • Extract aircrack-ptw to c:\airpcap\
  • Move aircrack-ptw.exe to the bin folder (this is no longer required – see my notes)
  • Optional: To make things easier, move the contents of the bin folder to c:\airpcap\. You’ll then be able to run aircrack-ptw.exe with just c:\airpcap\aircrack-ptw.exe mycapture.cap
Let’s get cracking
I added narration to the video this evening at 20:36. It’s my first  attempt at narration, and a little noisy, but I’m sure things will  improve as time goes on!
Samanata Kene
Samanata Kene
128.4k Views

Complete Source : How to Hack Wifi Password using Command Prompt








Hello  Friends, In this article we will share some tricks that can help you to  hack wifi password using cmd. You can experiment these trick with your  neighbors or friends. It’s not necessarily that this trick will work  with every wifi because of upgraded hardware. But you can still try this  on with wifi having old modems or routers.
Its quite easy to hack  if you follow our steps carefully. This trick will work with most of  the wifi devices that has old hardware( modems and routers). For general  knowledge, there are two types of wifi keys WEP and WPA. Both are  explained here.

How to Hack Wifi Password using Command Prompt






.
Sameer Satapathy
Sameer SatapathyBeing sarcastic is Natural but being natural is not Sarcastic.Love all hate none
39.9k Views
Thanks for the A2A
You asked "How can I hack WiFi using a command prompt?
Steps to Hack Wifi password using cmd :
1: Open command prompt by going to start and click on run command or enter windows+r, then type cmd and hit Enter
2: In command prompt window, type
netsh wlan show network mode=bssid
3: This command will show all the available WiFi network in your area
4: This is the last step. Just type :
netsh wlan connect name=(wifi name )
netsh wlan connect name= e.g Myname Sata1
and you will be connected to that WiFi network.
5: To disconnect it, type
netsh wlan disconnect
How to hack a wifi password?
1st: open COMMAND PROMPT
2nd: type WMIC
3rd: type QUIT
4th: type NETSH WLAN SHOW PROFILES
5th: choose a wifi server name
6th:type NETSH WLAN SHOW PROFILES wifi name
7th:type NETSH WLAN SHOW PROFILES wifi name key=clear
Courtesy: Google
Courtesy: www.youtube.com
EDIT:  Also note that these tutorials are for educational purpose only.
Disclaimer: All characters appearing in this work are fictitious. Any resemblance to real persons, living or dead, is purely coincidental.
=========================
Hope this ans will help you...!.!.!
=========================
Nishant Sharma
Nishant SharmaWiFi Security Researcher, Consultant, Firmware developer
87.5k Views
This question has already received multiple answers. But, many of these answers are wrong/misleading/hard to follow. So, I will try to conclude everything in my answer.
I am open for discussion and if you think I am wrong then please point out the same in the comments. :)
First, lets define what Hacking a WiFi means. Hacking a WiFi network means that you can connect to a secured (WEP/WPA/WPA2) network without knowing its password. Please note that it shouldn't be considered hacking if
  • You have already used this network before.
  • The network is unsecured/open.
Samanata Kene provided a source which dictates how to connect to an open WiFi network. Remember, secured networks are encrypted and you can't just connect to those without providing the pass-phrase.
Shyoji Meena have mentioned some steps but these steps are not for getting password/pass-phrase for new secured network. These steps can only reveal the pass-phrase of those networks to which you already connected in the past. Your computer is able to show the pass-phrase because it already knows that. It is not hacking but just plain information retrieval.
Two other people have pasted some steps which may work but either don't explains about basic things or are hard to follow.
William Emmanuel Yu rightly mentioned that Aircrack-ng can be used to break the password of secured WiFi network. There are some constraints (depending on password length and scheme), but it is possible.
I can explain in detail, how you can attack WEP/WPA/WPA2 network. But it will be better, if you learn from the best. :)
The following link points to WiFi megaprimer of Security Tube. Mr. Vivek Ramachandran is a  renown researcher and security guru. He explains everything from scratch.securitytube.net
Watch these videos to learn about WiFi security in depth. Remember, there are no shortcuts for through learning. You can ask any doubts in comments.
Edit: As you are interested in this question, you may also like to read
Thanks :)
Edit 2: Questions asked in comments
Q. If a network is protected by WPA2 and a secure enough password, one might as well as stop trying hacking it.
A. You should stop attacking the WPA security directly but there are others ways to hack such networks.
You can lure the user to enter the details for you. Search for
1. Karma (to create evil twins)
2. AP phishing
These methods can get you password (when used properly).
Feel free to ask doubts after reading about these approaches.  :)
Q. So do you mean to say that there is no possible way to create a strongest non-hackable wifi network??
A. I never said that. The security of WPA/WPA2 PSK depends on the password strength. Choose a random, long password and you will be relatively safer ( I won't say completely safe because I am not fixing the attacker here. It Depends on the power of attacker i.e. a script kiddie in neighbourhood or NSA.)
PS: Just remember to turn the WPS setting off.
If you are referring to my response in above question then yes, you can attack WPA2 networks using other attacks but they don't offer definite success. These other attack depend on multiple factors i.e. AP phishing is a social engineering attack to lure the victim to enter password in wrong place. So, its not like that all networks are insecure but just that perfect security is not there. There are attacks for every defense and vice versa. 
Saifur Rahman Mohsin
Saifur Rahman MohsinLoves to write good code :)
78.9k Views
cmd.exe (Command Prompt) does not contain any code or tools that allow interaction with a wireless stack. So it's impossible for you to hack wifi with cmd.

You could however use some command line tools such as aircrack (for WEP based Wireless networks) or wifite to achieve this!
Top Stories
Share on Google Plus

0 comments:

Post a Comment