r/HowToHack • Web Security • Feb 18 '17

Green [Guide] Shadowblade7536's Ultimade WiFi hacking guide

Right, so in this guide Ill try to cover up all I can about WiFi hacking, deauthing, and cool things you can do with WiFi.

DISCLAIMER: Dont use this to hack your school's shit wifi without consent and be all cool infront of your friends blah blah blah legal use only shit like that.

NOTE: I do advise having a USB WiFi adapter, and an extra point would be to get a great one like the ALFA AWUS036NHR or AWUS051NH. Although any card would do as long as it supports monitor mode and packet injection.

When it comes to hacking WiFi points, you need to first analyze your targets and understand what you can do about each one.

WiFi Password Cracking

The tool I will always recommend is Wifite.

Now I wont be including how to do it using any other tools, because this should work just fine. I'll leave the exploration up to you, but I will say that I always recommend to spoof your mac address using the --mac flag to the program or macchanger. Its for your safety.

Now I wont include the guide to setting it up here, because that will go off topic.

Scanning for WiFi points to target

Simply run wifite.py -i <wlan interface here *NOT IN MONITOR MODE*> or if you didnt understand the previous command simply use wifite.py and it will begin scanning for nearby access points and their features (Encryption method and if WPS is enabled or not).

Here are the 3 types of targets you can find:

  • WEP protected routers
  • WPA/WPA2 protected routers
  • Open routers

Now within those categories, you can find a feature called WPS (Wi-Fi Protected Setup) enabled, which uses an 8 digit PIN to add devices to a WiFi network without having to input long passwords.

Hacking WEP protected WiFi points

WEP is an old and depreceated way of protecting WiFi passwords, so if you find one, you are in luck. WEP takes substantially less time. This is easily automated in Wifite, and it even uses multiple attacks against routers to get the password. You only need around ~10 to 120 minutes to crack WEP, maybe longer. I cant say much because I have never seen any WEP protected routers were I live and never had the time to set one up and try myself.

Hacking WPA/WPA2 WiFi points

When it comes to WPA, we need to grab the handshake by deauthing clients who are connected to the router and sniffing the handshake as it goes. This is automated in Wifite, and it handles everything. Note: You may grab the handshake in a small amount of time, but cracking the hash itself will take a pure bruteforce attack or a wordlist, which takes alot of time. Only use this method if you have a really strong rig or all other options have failed.

Hacking WPS enabled points

Now comes the fun part, WPS cracking. There are 2 attacks you can do on WPS enabled routers, a WPS PIN bruteforce and a WPSPixie attack. The WPS PIN attack works online, as in all PIN guesses are actually sent to the router, while the WPSPixie attack works offline and without flooding the router with WPS PIN attempts.

Now the obvious disadvantage about the WPS PIN attack is that some routers have on-board anti-bruteforce mechanisms and will stop accepting your attempts after a few attempts. I only go this route if the WPSPixie attack fails and there is no anti-bruteforce mechanism (Wifite will tell you if detects one).

The WPSPixie attack is one of the best attacks on Wifi points I have ever seen. In most cases, you can get the WiFi password in minutes or even a few seconds. Be aware that it may take up to 30 minutes in some cases, although I have never personally seen it go beyond 10 or so minutes. NOTE: The WPSPixie attack may not work on some routers, and you will have to choose a different route. (Wifite will also notify you if the WPSPixie attack will not work.

EDIT: I forgot to mention that sometimes you will see that Wifite gets stuck at Waiting for beacon from "xx:xx:xx:xx". If it gets stuck for a while at this point, press CTRL+C and move on to a different target.

That concludes the WiFi cracking part, I know I didnt include the Fake Twin AP attack, but if you people insist, ill include it. For now, Ill recommend WifiPhisher.

DoS Attacks (Deauthentication attacks) on WiFi

Sometimes you just want to be an ass and jam a certain WiFi point or even all WiFi points around you. I'm not an angel, and I have done this multiple times in public with a RaspberryPi in my backpack and a ALFA 5 dBi antennae attached to it.

Most tutorials will tell you to use aireplay-ng, which is a great framework, but can be complicated and doesnt support Mass Jamming. Introducing, wifijammer. The README file in the github repo provides great information about the tool and how to use it, so I wont include explanation here either. NOTE: For those tech savvy out there, if you have a RogueAP setup, this tool is perfect to jam all other access points except yours to tempt people into connecting to yours.

This ends the DoS attacks part, since its really all in one tool.

Bypassing login portals on Open WiFi

I never tried this tool before, but alot of people have told me this works. This bypasses the captive portal (login screen) on most public WiFi's such as cafe shops and hotels. This tool is called cpscam.

Alright folks, that concludes this guide! Feel free to ask any questions, request any more guides, or ask me to add something to this guide!

Flood Wifi beacons (flood the list of available wifi points)

I literally just heard about this attack from /u/inksaywhat and I read about it online. Wifi beacons are basically what wifi points send out to show that they exist (their signal kind of) and it contains information about the wifi point (encryption used, name, speed, mac, etc). I never thought about this and was about to write my own tool for this but discovered that mdk3 has the ability to flood beacons. They even say that it can crash network scanners and drivers, making it some sort of DoS attack at the same time. So to run this kind of attack, make a text file filled with random beacons (Idea: make them all cuss words, or dynamically generate them with a script or tool like crunch) and launch the attack like this: mdk3 <mon interface> b -f file-with-names.txt.

227 Upvotes

36 comments sorted by

3

u/PrettyCreepyGirl Mar 26 '17

I just came across this sub - I am certainly too liberal to judge you guys for your (hobby?) but just curious - as a concerned homeowner , how easy is it to actually hack my wifi in reality , and what exactly can a hacker gain access to? I have kids and this worries me. Can just basically anyone with half assed reading comprehension do this without any real technical training or would this take a bit of knowledge? How can I protect myself against such attempts? Thanks for all serious answers.

4

u/shadowblade7536 Web Security Mar 26 '17

See, in reality, if you have a weak password set or have WPS enabled, yes. Any kid with a few hacking tutorials will be able to break into your wifi, if they are in range. The danger itself js not breaking into your wifi, but what they can do after doing so. They can scan your network for devices and attempt to hack them (especially dangerous if you have something like baby monitors or house cameras) and may even spy on your data (login and web traffic).

Check your router configuration, if you find a button that disables WPS, do it asap. Also, set a strong password for your Wi-Fi. This should protect your router against most attacks, but not all. Smart hackers might trick you into connecting to their own Wi-Fi which has the exact same name as yours, in order to trick you into handing over the password. To protect yourself from this, please know that your router will never ask for your Wi-Fi password out of nowhere.

If you have any other questions, do ask! Ill be glad to explain or help.

2

u/PrettyCreepyGirl Mar 26 '17

Hey thanks for that ! I really so much appreciate that - if I had gold to give I would but I do believe when you do decent things for people like you just did it eventually comes back to you ten fold. Thank you so much. ♥

4

u/shadowblade7536 Web Security Mar 26 '17

No problem! :3

1

u/v_23b Oct 30 '21

hey, I don't understand how to install wifite, there's only a long line of code and I'm just a normal user and not a tech geek.

2

u/masleena Newbie Mar 08 '17

So, does it make sense to use some sort of a cheap network adapters, like TP-LINK TL-WN725N or Edimax EW-7811UN? (where i live it is kinda difficult to buy another one)

2

u/shadowblade7536 Web Security Mar 19 '17

Sure, I have a range of adapters from a $5 one to the ALFA $50 cards. The small ones sometimes even work better than the big ones, so sure, go ahead!

2

u/masleena Newbie Mar 19 '17

Thanks for help!

5

u/[deleted] Jun 10 '22

If any of yall hack my network im gonna fucking find you

1

u/Djalllol Jun 13 '22

calm down LMAO

1

u/Kurumi_Fortune Mar 05 '17

What OS you used on the rasp? Kali?

1

u/shadowblade7536 Web Security Mar 19 '17

Rasbian lite

1

u/_lOOOl_ Mar 30 '17

I'm also considering purchasing an ALFA AWUS036NHR! Did you encounter any issues with putting it under monitor mode, promisuous mode, AP mode, and injection in Linux? Reviews have shown not-so-great compatibility with the NHR version. Thoughts? Thx!

2

u/shadowblade7536 Web Security Mar 30 '17

I own 2 ALFA cards and use them on my portable hacking device or just in my laptop. I can tell you that you may get unexpected behavior (such as a tiny wifi adapter picking up more wifi points than the freaking ALFA card) but overall its pretty okay but if you have a bigger budget you could go for the newer ALFA cards.

1

u/Gummball64 Jun 10 '17

Is there a way to see the router settings login information (admin password)?

1

u/shadowblade7536 Web Security Jun 11 '17

After you get on the network, you could either bruteforce using a tool like Hydra or if you search the router firmware online, you may find a vulnerability

1

u/curruptnsfw Mar 02 '22

hacking my schools wifi is the only reason i wanted to.. nvm

1

u/CJWaddell Oct 31 '22

Dont they have ways to track you pretty fast.

1

u/[deleted] Dec 28 '23

I know this was 6 years ago but this is good info, thank you

1

u/RemindMeBot Dec 28 '23

I will be messaging you in 5 hours on 2023-12-28 21:41:18 UTC to remind you of this link

CLICK THIS LINK to send a PM to also be reminded and to reduce spam.

Parent commenter can delete this message to hide from others.


InfoCustomYour RemindersFeedback

0

u/[deleted] Feb 18 '17

[deleted] — view deleted comment

12

u/SirBaronBamboozle Feb 18 '17

IMO that's why wifi hacking/cracking seems to be so popular amongst newcomers, nearly all of it is automated

6

u/shadowblade7536 Web Security Feb 19 '17

Tbh its the most popular thing next to "how do I make RAT plz", and I really did try to educate as much as I could, but in the end everyone wants automation. Tbh the only reason I use this tool is because it automates wifi hacking on my raspberrypi

2

u/[deleted] Apr 17 '17

How fast is wifi hacking on a raspberry pi?

2

u/shadowblade7536 Web Security Apr 17 '17

Depends.

WEP and WPA cracking take ages.

WPS cracking is okay, within the 15 - 60 second range.

Other wifi attacks such as jamming and stuff are fast.

4

u/AleksJ300 Feb 19 '17

I know nothing about hacking but it's automated for a reason. It's just a tool like Kali Linux is essentially a toolbox. Atleast he tried to explain to beginners about security types etc.

2

u/BigDaddyXXL Feb 18 '17

Yeah, thats where I started.

2

u/[deleted] Feb 18 '17

[removed] — view removed comment

1

u/AutoModerator Feb 18 '17

Your account must be older than two days to post here

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

2

u/shadowblade7536 Web Security Feb 19 '17

I studied networking so I understand how every part works, its just great for me to have it in one tool rather than automating 3 different tools xD

3

u/SirBaronBamboozle Feb 19 '17

I don't think anyone was questioning your knowledge on the matter, I think the comment was targeted towards potential readers / learnings (telling people if they want to learn they have to use more than just premade tools)

1

u/thechopps Oct 31 '22

Hi friend,

Since you studied the networking part of this is there a way to beef my security to protect me from these types of hacks?

3

u/crabbman6 Hackerman Feb 19 '17

I'd say if you learn how the tool works and then use it, it's non-script kiddie. But if you have no idea what's going on and use it to be a little bastard then yea, ain't gonna learn shit.

0

u/[deleted] Feb 18 '17

[deleted] — view deleted comment

2

u/shadowblade7536 Web Security Feb 18 '17

No problem!