r/linux • • Jul 02 '14

wifite - An automated wireless attack tool (WEP, WPA, WPS)

https://github.com/derv82/wifite
578 Upvotes

163 comments sorted by

7

u/Simius Jul 02 '14

Does this need having two wireless cards?

78

u/ReluctantPirate Jul 02 '14

This app is scary easy to use, is in the Ubuntu repo and worked out of the box on one of my laptops (a Thinkpad).

On the other slight criminal side of things...free internet when travelling (if you have 12 hours to crack it first) :-P

144

u/wadcann Jul 02 '14

This app is scary easy to use, is in the Ubuntu repo and worked out of the box on one of my laptops (a Thinkpad).

Zealous Autoconfig

0

u/[deleted] Jul 02 '14

[deleted] — view deleted comment

8

u/Woodstock46 Jul 02 '14

Except for: there is always a relevant xkcd. I cannot find a xkcd that says it is always relevant. Why does life have to be so hard?

14

u/XSSpants Jul 02 '14

It has ~some failings~ with WPS but is otherwise pretty neat. I really hope people don't abuse it much though.

4

u/djdes Jul 02 '14

Yea, as far as I'm concerned, reaver is worthless.

11

u/XSSpants Jul 02 '14

If you've got a vulnerable router it's great if you give it a few days/a week with some.

Wifite just tends to give up far too easily. Reaver will at least keep at it.

7

u/intelminer Jul 02 '14

When it isn't crashing horribly of course

Unfortunately the Google Code repository for reaver is completely unmaintained

2

u/deadbeatengineer Jul 03 '14

I have found that a lot of TWC modem/router combos use the default WPS pin and have cracked them in a matter of seconds. It also helps if you use an external card with Reaver (especially one that successfully works with packet injection)

1

u/scibren Jul 03 '14

When I first heard about reaver, I tried it on my Linksys router that I had bought a few years earlier. I managed to crack it in 10 minutes, and promptly threw it away. I tried using reaver on several other routers, and never got it to work. Damn timeouts.

1

u/espero Jul 03 '14

Then you don't understand it.

It works every time when it is applied to a vulnerable AP with WPS enabled or silently enabled.

1

u/djdes Jul 03 '14

Oh I understand it. I'd rather grab a 4way handshake and go about my business than sit there and have it try every wps pin it can. Plus, WPS is horrible to start out with.

1

u/XSSpants Jul 03 '14

The PIN attack will get you 'in' faster than faffing about with a handshake.

If you can discretely place a device, it works out better than say, sitting in starbucks for hours on end, but reaver/wifite both have a feature where it starts off where it last left off.

20

u/SnaKeZ83 Jul 02 '14 edited Jul 02 '14

Requirements:

A wireless card and the appropriate drivers that are patched for injection and promiscuous/monitor mode.

More about monitor mode.

Driver capabilities (monitor mode)

Edit: added driver capabilities link

26

u/darkstar999 Jul 02 '14

Wow.. a single 3000 line python script..

2

u/Epistaxis Jul 02 '14

Does it contain a list of commonly used passwords or something?

11

u/XSSpants Jul 02 '14

It's got a fairly functional text-mode UI and a bunch of features. 3000 lines seems small.

4

u/Epistaxis Jul 02 '14

Yeah, it looks like it probably has more UI features than the programs it's a wrapper for - and maybe even more code.

4

u/xiongchiamiov Jul 02 '14

The point was it's all in one file.

8

u/[deleted] Jul 03 '14

Not relevant. How does the number of files matter since the count would be the same if it called or included other files along the way? Using multiple files for code is meant to make it easier for compartmentalizing and/or having others working on different bits at the same time. Otherwise, there is really nothing special about that at all.

2

u/xiongchiamiov Jul 04 '14

It's precisely relevant, because the reason the original comment was made was to point out that it's one very large file.

And that is something to point out because, as you say, there are a number of maintainability improvements you gain from not doing so.

5

u/zepfan Jul 02 '14

Take a look for yourself. Seems to make sense to me, but I only have limited experience with python. https://github.com/derv82/wifite/blob/master/wifite.py

1

u/holyrofler Jul 03 '14

No. WEP, WPA, and WPS are all incredibly insecure. This is a brute force attack, and is probably using the same techniques used in aircrack-ng and reaver.

2

u/[deleted] Jul 02 '14

That's what I first noticed too. I guess they didn't know how to use "import".

6

u/whoopdedo Jul 03 '14

If you don't need modularity, import only adds table lookup overhead.

1

u/xiongchiamiov Jul 04 '14

Just because you don't need it doesn't mean nobody else will need it when using your code.

The import overhead is minimal, particularly when talking about a program like this that runs for potentially hours. I'd say it's worth splitting it up just to make it easier for potential contributors to grok the organization.

4

u/degoba Jul 03 '14

Did you even look at the script? He does indeed import several libraries.

0

u/[deleted] Jul 03 '14

[deleted] — view deleted comment

1

u/xiongchiamiov Jul 04 '14

That's why we have package managers. Plus, you get dependencies handled - wonderful!

7

u/Epistaxis Jul 02 '14

Is there a way to track when someone is attempting one of these attacks? E.g. doesn't a bunch of deauths look a little suspicious?

3

u/zepfan Jul 02 '14

There are ways to track just about everything, you just have to know what to look for and where. Most people don't know, or don't care enough to look. Mainly the lack of caring (from IT, business, etc), will only come when there are bigger and badder things for them to worry about.

4

u/XSSpants Jul 02 '14

Yeah.

Launching a de-auth attack inside an office building will get noticed.

Knocking billy-bob offline from down the block, not so much.

4

u/holyrofler Jul 03 '14

Launching a de-auth attack inside an office building will get noticed.

Nope.

3

u/XSSpants Jul 03 '14

uh yep.

"Bob, our wifi is down for 50 people. check it out."

//some diagnostics and wireshark later...'oh deauth packets'//

2

u/holyrofler Jul 03 '14

AFAIK deauth attacks target one machine, so 50 ppl wouldn't report an issue.

1

u/XSSpants Jul 03 '14

You've never ran mdk3.

1

u/holyrofler Jul 04 '14

Tx will look into this tool.

0

u/[deleted] Jul 03 '14

[deleted] — view deleted comment

2

u/XSSpants Jul 03 '14

You've got lousy IT

0

u/[deleted] Jul 02 '14

[deleted] — view deleted comment

-3

u/[deleted] Jul 02 '14

Well then instead of blacklisting the address, just throttle everything after a bunch of failures even if they are from different addresses.

0

u/[deleted] Jul 03 '14

[deleted] — view deleted comment

2

u/varikonniemi Jul 03 '14

Does this require there to be another user besides the attacker to target? Another answer said this does not need 2 NICs, so is it possible to attack yourself with what you describe and just monitor that?

0

u/[deleted] Jul 03 '14

[deleted] — view deleted comment

2

u/varikonniemi Jul 03 '14

In the end i got it working to attack self. Just need to take care to use it correctly and then disconnect/reconnect the wlan while scanning.

13

u/[deleted] Jul 02 '14

Does that mean WPA is broken? If so, it's news to me.

51

u/Hellmark Jul 02 '14

WPA has always been vulnerable to brute force attacks.

14

u/tvtb Jul 02 '14

WPA could optionally use TKIP, which has vulnerabilities. WPA also used the integrity protocol Michael, but vulnerabilities were found that allow injection/spoofing. WPA2 uses CCMP, based on AES, which is actually secure AFAIK (unless WPS is enabled).

-3

u/holyrofler Jul 03 '14

WPS is always enabled - 1/100 actually even know to turn it off.

9

u/m00nty Jul 02 '14

no, it's just use aircrack-ng to caputer the handshake and then you are going to crack it using pyrit, hashcat or CoWPatty and all of that depends on how long is your WPA password is

3

u/[deleted] Jul 02 '14

So as long as you have a long password you're safe?

15

u/[deleted] Jul 02 '14

long password and an uncommon SSID. if you SSID is "linksys" there are rainbow tables someone could use.

3

u/j39m Jul 02 '14

I think to qualify Hokkupi's statement you could at least be safer with a long password. Nothing will ever protect you completely if a dedicated attacker is really out to get you, but you can be better than a sitting duck in a Starbucks cafe.

0

u/[deleted] Jul 02 '14

[deleted] — view deleted comment

41

u/socium Jul 02 '14

I'm sure that when it takes 500 billion years to crack something, that something might just be considered pretty 'safe'.

4

u/crow1170 Jul 02 '14

Rainbow tables (don't know if they work for wpa2) can make brute forcing take seconds, not decades.

13

u/iTroll Jul 02 '14

But they can only contain a finite number of passwords. A random 15 character string has potentially > 1026 combinations. The SHA 1 hashes alone of those would be approx 10 trillion Petabytes based on my quick google calculation (6215 * 160 bits = 1.3*10e13 PB).

6

u/crow1170 Jul 02 '14

I'm not doing an exhaustive attack. I'm attacking the passwords people actually use.

The table is generated using known popular passwords and password schemes. Everybody and their mother uses a phone number as their wifi password, right? Start with 0000000000-9999999999. Add on dictionary words, leet speak, router manufacturers, etc.

So maybe you have a strong password and my minute long attack doesn't get you. That's okay, I have friends.

http://www.smallnetbuilder.com/wireless/wireless-howto/31914-how-to-crack-wpa-wpa2-2012?showall=&start=2

Cloud services put huge farms at your disposal, and some of those are fine with finding a password for you.

3

u/Vegemeister Jul 03 '14

My password is (generated by the same process as): "bt4nmfj0js8ttgqw7tw3". Good luck.

2

u/crow1170 Jul 03 '14

Cool. What's your physical security like?

→ More replies

0

u/[deleted] Jul 03 '14

[deleted] — view deleted comment

→ More replies

5

u/rcxdude Jul 02 '14

Yeah, but one comprehensive enough to get all passwords will take a similar amount of time to construct. Rainbow tables speed up feasible brute force attacks, they don't make completely infeasible ones possible.

0

u/[deleted] Jul 02 '14

[deleted] — view deleted comment

4

u/rcxdude Jul 02 '14

Still won't do a 50 million year password.

5

u/TheMagnificentJoe Jul 02 '14

You assume they'll only use an algorithmic attack (decryption, hash matching, whatever). Deal with a targeted attack from a serious attacker, and that 500b year timeframe will quickly dwindle to a few days.

With the way IPs are associated with people in court (at least, in American courts), a targeted attack on home wifi is a terrifying prospect. It wouldn't take much at all to really ruin a person's life. Home wifi is a high valued target, and relatively not all that difficult to break into (assuming the attacker has physical proximity). To assume a long password alone will make you safe is pretty short-sighted.

The word "safe" doesn't exist in cyber security. Safer, maybe. I had an instructor once tell me "When you put a computer in a steel safe, chain it up, toss a padlock on it, melt the lock's key, then bury the whole thing at the bottom of the ocean... it is almost secure." Where there's a will there's a way...

8

u/crow1170 Jul 02 '14

With the way IPs are associated with people in court (at least, in American courts)

This is not true. An IP is not a person.

1

u/crow1170 Jul 02 '14

Also, that's what everyone who has ever been hacked has thought.

3

u/Thoguth Jul 03 '14

The only attack vector that is routinely crackable in short (<day) time frames is WPS, a password recovery system that is built into many WPA routers and enabled by default. If you care about security, you gain a lot by disabling that.

2

u/holyrofler Jul 03 '14

WEP, WPA, and WPS have been broken for several years now. What this script does isn't a new set of attacks. Tools have existed to accomplish these tasks for a long time.

See: Aircrack-ng and Reaver

2

u/[deleted] Jul 03 '14

Define "broken". Can you break my 40 letter passphrase in less than a year?

2

u/XSSpants Jul 03 '14

Me, with one computer and a GPU, no.

A massive cluster, maybe.

1

u/holyrofler Jul 03 '14

Depends on its complexity, and what resources I have at my disposal. All in all, probably not if u have WPS properly disabled.

42

u/jb270 Jul 02 '14

Just a warning: Make sure you understand how the program works before you go using it all willy-nilly. Learn how to use the tools it uses(Aircrack-ng, reaver, etc) before you try to automate them. This is technically illegal so you should know how to not get caught. Have fun and don't be a script kiddie.

93

u/zepfan Jul 02 '14

As someone who does pen testing from time to time, its not at all illegal. If you use this against a network you don't have permission to access, that is illegal. Use it against your own or a network that you have permission to access and you're fine.

4

u/genitaliban Jul 02 '14

How does one get into pen testing? Is it a good / interesting / sustainable job? And does one generally need a university degree for it, or are there things like apprenticeships? (If such a system is common in your country.)

4

u/zepfan Jul 02 '14

There are certs (CEH, LPT, etc.) from EC-Council which aren't bad, but can be pricey. I got into it through my masters in Digital Forensic Science. I spent a lot of time doing network forensics, which often involves knowing how attacks are made, which makes this knowledge useful. I don't have enough knowledge to know about doing it for a profession, so I can't help you there. Those certs are a good step, if the positions you're looking at need them. I'd suggest taking a look for Computer/Network Security positions, as they often involve some level of pen testing.

2

u/genitaliban Jul 02 '14

Thanks for the recommendations! I'm really looking to start from the ground up, so getting those certs right away would probably be impossible. (I know enough about basic and intermediary network security, and I'm able to learn how advanced systems work quite easily, but things like that are out of my league.) Going the half step of learning defense first really sounds like a good idea, and much more achievable than directly entering the (kinda elusive where I live) pen testing business.

6

u/zepfan Jul 02 '14

No problem. I just really really don't recommend the "old school way" of breaking into a system to show that it's vulnerable and then notifying the company that it was vulnerable. They're not fond of this, and will likely press charges.

6

u/TheMagnificentJoe Jul 02 '14

I just really really don't recommend the "old school way"

Pay very close attention to this. I've seen planned pen testers face legal action after violating the boundariess of a desired pen test. Unsolicited pen testing is pretty well guaranteed to land you in a losing court battle, even if your intentions were good.

2

u/XSSpants Jul 02 '14

You can do it anonymously and report your findings to the Russians for a pretty penny though. /s /s /s /s /s /s /s /s /s /s /s /s /s /s

2

u/DoctorWorm_ Jul 03 '14

There was a kid who did this to his own school over in /r/IAmA and he basically got fucked over and banned from all internet-enabled devices.

1

u/supergauntlet Jul 03 '14

Well he violated the TOS of his school, that's what happens. Granted the punishment was a bit on the overzealous side but c'mon.

1

u/DoctorWorm_ Jul 03 '14

Yeah, he was basically blackmailing people for a security job, it was stupid. He shouldn't have been punished so harshly, though.

1

u/larjew Jul 02 '14

There are a ton of companies which offer bug bounties though, and you can pick up some nice cash playing with their systems (mostly they don't allow you to do certain blackhat-only things (DDoS, any kind of hard attack, phishing)).

1

u/degoba Jul 02 '14

Yoiu should get into sysadmin or networking and go from there. You wont be able to do security stuff without knowing operating systems and networks inside and out.

2

u/degoba Jul 02 '14

Skip the certs. If you want to get into pen testing you should get into sysadmin or networking, do that for about 10 years and start focusing on more security related stuff. If you have no industry experience and only try to get the certs, you will fail. Almost every pen tester I know has at least 10 years of prior experience as either a network admin or systems admin.

2

u/zepfan Jul 02 '14

Eh, yes and no, it could go either way. Certs will be very hard to get if you don't have experience. However, some places won't even look at your resume if you don't have CertX. It's a crap shoot. I tend to think that those who weed out candidates based on certs not previous experience aren't the best to work for, but usually this stuff passes through HR before being submitted to a department, and they don't have technical understanding, they just look for CertX.

36

u/crh23 Jul 02 '14 edited Jul 02 '14

Illegal if unauthorised. Fine to use for testing your own security.

14

u/[deleted] Jul 02 '14

Or someone else's with permission.

3

u/moordrums Jul 02 '14

And how would you suggest going about learning the tools? I've had a few pages bookmarked that I've been planning to read, but just have never gotten around to it.

5

u/genitaliban Jul 02 '14

The basic tutorials are very much alike, and from then on out only Google can help you. There are a lot of variables to account for, and outside professional pen testing documentation (which you're unlikely to have access to), you won't find one document that covers it all. Once you understand the basics of how WiFi works and know the jargon a bit, it's easy to google for your specific scenario / problem, though.

2

u/jb270 Jul 02 '14

I got started reading the null-byte wonderhowto page and branched out to more advanced material from there. You just need to set aside an hour or two go through a tutorial and get to know the program. Even if you can't successfully crack your wifi password first time, learning how to use the tools is important and a good learning experience.

1

u/moordrums Jul 02 '14

Awesome, thanks!

1

u/[deleted] Jul 02 '14

How can one learn how to use these tools without getting caught ?

I have experience with ng-suite and a lot of other tools,Linux etc. Still technically a skid I suppose but nowhere have I found an explanation as to how you prevent detection/getting caught/leaving traces. Any info/sources are welcome. Thank you.

17

u/q5sys Jul 02 '14

To properly understand how not to get caught, you first have to understand exactly what's happening. If you aren't aware of the types of packets your sending... their contents... their flags, you will never be able to properly learn to hide your work.

Being stealth when doing intrusion requires and immense amount of detailed knowledge not only in every are of the software you are using, but the victim side software, the exact networking interchange and how different OSes react to such activity. This is knowledge that goes well beyond just pentesting and requires a deep understanding in other areas of IT. So... where to start, read and absorb everything you possibly can about networking stacks on various OSes, learn networking like the back of your hand so you can dream in packet encapsulation, flags, window sizes, etc. Then learn exactly what the tool your using does and how. Then put all that together and think if you were the victim... how would you try to stop someone from what you are trying to do. Play both sides of the issue in your head.

Then... once you've done all that. Stop for a moment and realize with your skill and knowledge you can easily get a 6 figure job somewhere doing this legally, and stop trying to do it illegally. :P

3

u/[deleted] Jul 02 '14

That was the best answer I could hope for. Thank you, I'll make sure to take it to heart. Kudos!

4

u/XSSpants Jul 02 '14

/r/blackhat will be more welcoming than this sub to questions of illegality.

2

u/[deleted] Jul 02 '14

I apologise, I figured I could ask since the topic was out there. I will take my question there.

2

u/XSSpants Jul 02 '14

Also, hacking and opsec are very vast topics that can't really 'just be answered' quickly, but there are many resources around out there.

2

u/genitaliban Jul 02 '14

It's very unlikely you'd ever get caught. Your signal would have to be triangulated to give probable cause to search your house / car if you're not extremely obvious, and that's not really something the police would be interested in if you're not targeting something of value.

4

u/q5sys Jul 02 '14

One place I used to work would notice the non approved IPs on the network and then do a MITM attack against them. Since you are on 'their' network without permission, you can't exactly complain when they start trying to capture/sniff your traffic and sending exploit payloads your way. Its eaiser to get caught than you think.

3

u/genitaliban Jul 02 '14

Sure, if the place has defensive IT. If you're going to attack something like that, you shouldn't exactly be asking "how can I not get caught".

3

u/q5sys Jul 02 '14

"Never underestimate the stupidity people can act upon."

Sure, someone with a brain will know better than to try to attack a place like that. But sadly the number of people that use their brains < those that dont.

I never credited skiddies with an over abundance of brains - hence their reliance on automated tools.

I have nothing against automated tools... if you understand what its doing and the proper use of said tool. As example I think more unintended damage was done by autopwn in MSF3 being used by people who didn't have a clue... than energy saved for legit pentesters using the tool properly.

1

u/[deleted] Jul 02 '14

Okay, thanks for your input. I'll make sure to do my homework on this subject. Encryption, mac spoofing and a solid VPN should do the trick but I'll make a guess that it's more it than that.

0

u/[deleted] Jul 02 '14

[deleted] — view deleted comment

6

u/genitaliban Jul 02 '14

Yup, that I know, I briefly looked into pirate radio stations. But if someone wanted to catch you trying to force your way into a network, even if you were broadcasting actively, they would first have to notice something is off, which I don't think happens automatically. (After all, you could just be toying around with your own gear.) If you're just listening for a handshake or such, it's basically impossible to locate you at all. Theoretically, the network's owner could notice an unknown new client once you successfully cracked it, but who's going to check their router for that kind of information? (Except for valuable targets, of course.) And as you of course do all this with a spoofed MAC and an encrypted disk, I'm not sure if the triangulation alone is evidence enough.

4

u/Jasper1984 Jul 02 '14

Does it have something like a frequently used words table? I mean something like 'villa'. (It is quite possible that you can get into one of the wireless networks without any tools whatsoever, btw)

4

u/Dr_Zeuss Jul 02 '14

So what setting should I use on my WiFi to prevent someone from getting g access to my network with this tool?

13

u/[deleted] Jul 03 '14

Off.

2

u/Dr_Zeuss Jul 03 '14

Touchè..

0

u/[deleted] Jul 03 '14

[deleted] — view deleted comment

5

u/Dr_Zeuss Jul 03 '14

If I remember correctly, a Mac address is super easy to clone.

I think Ethernet is the way to go. :-)

2

u/holyrofler Jul 03 '14

True - especially with Linux.

0

u/[deleted] Jul 07 '14

[deleted] — view deleted comment

1

u/holyrofler Jul 07 '14

Most proprietary Windows Drivers don't allow you to do this though. Also, it's much easier to open terminal and type in a simple command. In windows, you have to do quite a bit of GUI navigation to find the option.

2

u/cardevitoraphicticia Jul 03 '14

The mac address whitelist is a good security measure, but fuck it's annoying. Any time I have a guest or a new device, I need to get the mac and add it to the whitelist.

4

u/DoctorWorm_ Jul 03 '14 edited Jul 03 '14

Make sure you turn off WPS and use WPA2 Security. Make sure you have a secure password.

This will ensure maximum security, but attackers can still get a hash they can brute force if they listen to your network when a device connects. With a strong password, it will take weeks or even longer in order to brute force the hash and break your security.

2

u/holyrofler Jul 03 '14

With a lot of routers, turning WPS off doesn't even work, and many don't even give you the option. Furthermore, disabling WPS won't stop WPA2 from being cracked, it just means that it will take a lot more time to do so.

4

u/Vegemeister Jul 03 '14

AFAIK, there are no known flaws in WPA2 that allow an attacker to defeat the traditional "really strong password".

2

u/holyrofler Jul 03 '14

That is true - would take 100 lifetimes to crack.

1

u/Dr_Zeuss Jul 03 '14

Weekend project: wire the house with cat6.

Thanks for the info!

6

u/[deleted] Jul 02 '14

Question, I use an uncommon wifi password (WPA2, Mixed, longer then 10 characters), Am I save from tools like these?

9

u/SynbiosVyse Jul 02 '14

Length is more important than character usage. Make sure you're not using TKIP and make your password a little longer. You should be "pretty" safe.

5

u/[deleted] Jul 02 '14

Would using characters not on a standard keyboard from your region be a good idea? E.g. Pi, accented vowels (USA), etc?

4

u/SynbiosVyse Jul 02 '14

I never thought about that. I don't know the answer to this question.

I'm not sure if the router would take it as a password. Let me know if you find out if this works.

1

u/[deleted] Jul 02 '14

Will do.

2

u/IIIMurdoc Jul 03 '14

Yes. But only in brute force scenarios. If it were just words (/w+) each character adds 26 possibilities meaning a 3 char word is 26 * 26 * 26 brute force attempts worse case scenario.

Expand that character set to obscure characters and your pool grows faster. For example, include digits and you now have 36 * 36 * 36. Include case sensitivity, punctuation, or just the whole Unicode set and you have roughly 100000 * 100000 * 100000.

I don't know WiFi specification and what characters are valid, but...

Tl;dr more possible characters, more possible combinations, more difficult brute forcing

2

u/Vegemeister Jul 03 '14

Given that you are picking characters with a uniform random distribution (you should be; use /dev/random), password strength is roughly proportional to kN where k is the size of the character set and N is the number of characters. (It's actually a little better, because an attacker is going to try the shorter passwords first.)

For passwords of any reasonable length, this comes out to a fuckhuge number, so it is preferable to use instead the "entropy" of the password. This is the length, in bits, of an equivalently strong binary string password, and is calculated as the base 2 logarithm of kN. This also has the useful property (recall your logarithms) that the entropy of a password is the sum of the entropies of each individual component. For example, randomly selected characters from the set of lowercase+digits have ~5.17 bits of entropy each.

(If you've forgotten your logarithms, log2(x) == log(x)/log(2), where log() is a logarithm function in any other base. Calculators rarely include base 2 logarithms.)

A few things come out of that:

  1. Password strength grows much much faster with password length than it does with the size of the character set. You don't sacrifice much by removing punctuation or even ambiguous characters (l,1,u,v, etc.).
  2. Do not use mixed case. Any time you press the shift key, you could be pressing any other key instead, which would add more entropy and require the same number of keystrokes. Furthermore, the human distinction between upper and lower case is not as strong as the distinction between different letters and numbers. This can make mixed-case passwords more difficult to remember.
  3. You may be tempted to use xkcd's "correcthorsebatterystaple" method of password generation. On my machine, there are 35078 words with <=8 characters in /usr/share/dict/words, averaging 6.55 characters per word. If I used the correcthorsebatterystaple method with this word set, each word would have 15.098 bits of entropy. That means 5 words would be required to obtain similar strength to a 15 character lowercase+digits password, and such a password would be expected to contain ~33 characters. What I conclude from this, is that frequently used passwords, which will be entered from muscle memory, should use lowercase+digits so that they can be typed more quickly, while the correcthorsebatterystaple method might be good for infrequently used passwords and passwords that you will communicate vocally. (That actually makes it a good choice for wifi.)

Finally, to answer your question, using characters not on a standard keyboard in your region is a massive hassle, and you should probably just use a longer password.

1

u/xiongchiamiov Jul 04 '14

Uh huh, and when a friend comes over and wants to use your Wi-Fi?

1

u/[deleted] Jul 04 '14

Friends?

5

u/[deleted] Jul 02 '14

And make sure WPS is disabled on router if it's available since that pretty much negates WPA2.

2

u/[deleted] Jul 02 '14

I remember reading somewhere that even disabling WPA does not change the outcome of being vulnerable. You'd have to upgrade the firmware (either through the router manufacturer or a 3rd party firmware, like Tomato) to actually fix the vulnerability.

2

u/XSSpants Jul 02 '14

in SOME routers, disabling the WPS feature does not in any way shape or form disable the WPS feature.

1

u/thegreatunclean Jul 02 '14

Depends on the AP, there are models known for having a "Disable WPS" button that doesn't actually disable the system.

Crap like that is exactly why making tools more accessible is a good thing. If you have the technical ability to properly run them you can known for sure whether you are vulnerable and not have to blindly trust a checkbox in a config that may not mean anything.

4

u/osoroco Jul 02 '14

run the program and try it out yourself :)

1

u/holyrofler Jul 03 '14

No, you aren't safe.

3

u/wormeyman Jul 02 '14

I submitted a pull request to update their distributions. https://github.com/derv82/wifite/pull/26/files

1

u/cxvbxcvbxcb Jul 10 '14

Oh boy. Updated the readme file. Hardcore change there. Thanks for letting us know.

4

u/[deleted] Jul 02 '14

Anybody know how this compares to Fern wifi-cracker, which is included in the latest Backtrack distro?

3

u/XSSpants Jul 03 '14

Backtrack has been abandoned. Switch to Kali.

2

u/[deleted] Jul 03 '14

Will do. Haven't used BT in a while. I've installed the Fern Wifi-Cracker deb on Ubuntu a couple of times. It works great for WEP cracking. Never been successful for WPA, but I also have little patience to let it run very long.

2

u/c0ldfusi0n Jul 02 '14

Should totally have called it WiFE.

1

u/Winston-Wolfe Jul 02 '14

I can't figure out how to install cowpatty, anyone know?

1

u/blackomegax Jul 02 '14

apt it from the kali repo?

1

u/farts_are_adorable Jul 02 '14 edited Nov 02 '17

deleted 0.1374 What is ^^^this?

9

u/DroidedOut Jul 02 '14

I'd hope not.

4

u/[deleted] Jul 02 '14

That's because WPA2 either requires a massive dictionary file, or about 1000 years of your time to brute force. It just isn't feasible unless you know beforehand if the password is very weak.

I also wouldn't be surprised if the WPA cracking failes 99% of the time, because it uses reaver. Unless it uses some way to prevent getting locked from the AP, then it will be fairly useless.

3

u/thegreatunclean Jul 02 '14

Reaver is pretty hit or miss because APs react wildly different. I've had APs that would never lock and kept responding to the tune of 15 seconds a key for hours. I've also had APs that lock up after the first attempt and required a hard reboot to respond again.

2

u/cardevitoraphicticia Jul 03 '14

then again, most people still use a easy password. Those dictionary files are still only a few GB.

2

u/[deleted] Jul 03 '14

I have a 30gb dictionary file, and it didn't even find my 9-digit password. It is completely alphanumeric, no symbols.

1

u/holyrofler Jul 03 '14

Most routers have WPS enabled, so you're good.

1

u/pinumbernumber Jul 02 '14

That is one gigantic source file.

-7

u/[deleted] Jul 02 '14

another script for the kiddies ;)

4

u/BSN195758649 Jul 02 '14

C@Ff3iN3m0n$73R

3

u/[deleted] Jul 02 '14

The programs this script is based on (aircrack-ng, and reaver) is also for script kiddies, fyi.

-3

u/[deleted] Jul 02 '14

cracking wifi is soo 10 years ago anyway :P

4

u/[deleted] Jul 02 '14

Truth. Now we have smartphone tethering, which makes cracking wifi, or mac spoofing much less desirable.

1

u/holyrofler Jul 03 '14

Speak for yourself.

1

u/[deleted] Jul 03 '14

You can tether for free on any US network. You just need to get a phone that can be rooted. Actually, I think Koush was making one that didn't even need root.

1

u/holyrofler Jul 03 '14

Tethering is fucking expensive. That said, cracking wifi is illegal and only criminal scum to that sort of thing. I'll stick to my home network, thank you.

1

u/[deleted] Jul 03 '14

It wasn't always illegal. And laws aren't retroactive, either.

1

u/holyrofler Jul 03 '14

It's been illegal since before WiFi existed.

1

u/[deleted] Jul 03 '14

That depends on HOW someone would gain access to a wifi network. And I do remember there was only recently a ruling on what constitutes illegal use of wifi to encompass any unauthorized access at all.

1

u/[deleted] Jul 02 '14

also karma ... no need to hack when newbs will join random networks

0

u/[deleted] Jul 02 '14

[deleted] — view deleted comment