The highest form of ignorance is when you reject something you don't know anything about.

Wayne Dyer (b 1940)

Create a Real Password! You Dummy!

Here we go again... 

Some time ago, TJMAXX companies woke up with a hangover: 130 million Credit Card number stolen.  The Reason?   Obsolete security and pure greed. They used "WEP", WPA was "too expensive". 
Then, The Hotmail hack and the Rockyou list: 32 million users passwords stolen

As it was not enough, some genius of CEO is using obsolete technology to protect your data.
Please Welcome Nick Denton, (Gawker media) in due course for the Dummy Award of the year.

At the light of the Gawker Hack, one could think that the CEO of an internet media company would be a bit more enlighten than my grandmother when it comes to passwords & internet security,  Huh?
Well, guess what?  nope!
So, dear Nick Denton, CEO of Gawker.com,  You are one of a hell of a dummy!

The Gawker Network was hacked, compromised, owned, and pawned! Releasing a database of 1,300,000 users, as well as their source code and another bunch of juicy stuff! On the top of that, most users names & emails were also published with the corresponding hash.  John The Ripper ripped through the hashes with amazing ease...
 

The Main Issue?
-Money!
To probably save few bucks, Gawker never updated the level of security: They used DES to encrypt your data. DES is broken, obsolete and should not be used: After all, it's only 34 years old.

Using DES was only the tip of the iceberg: after few days of digging into the Gawker Hack, it appears that:
  • "They" were aware that something was wrong, but as it only concerned "peasants" it was not a top priority. The word "peasants" seems to be a code name for you, users of Gawker. 
  • They taunted and provoked few people on the 4chan board. As a tip, I would suggest Gawker not to taunt people that seems to know much more about computers than you do.
  • The hack or infiltration seems to have been on for at least 4 months before the panic mode was set "on"
  • Gawker was alerted when the front page of the site displayed some very weird stuff, including links to the full source code(!)

That didn't come as a surprise to HD Moore, chief security officer at Rapid7.
"The DES crypt hash can be broken with ridiculous ease," said Moore in an e-mail reply to questions late Monday about the strength of the encryption used by Gawker to safeguard its users' passwords. "John the Ripper, along with most other tools, are well-equipped to brute-force these."
Moore pointed out that the 56-bit DES (Data Encryption Standard) encryption used by Gawker had been broken more than a decade ago, when the Deep Crack machine built by the Electronic Frontier Foundation (EFF) won a 1998 contest sponsored by RSA after breaking a DES key in just 56 hours. Six months later, EFF and distributed.net collaborated to lower that time to just over 22 hours.
"These days, [graphics processor unit]-based cracking makes this even easier," noted Moore.
computerworld.com Dec 2010


So thank you Gawker for putting my security so low ...
 
 

From the Gawker Hack, by Gnosis.

"Let's start with our good friend Nick!
You would think someone like Nick Denton who likes to run his mouth and taunts such an unforgiving mass like Anonymous, would use a more secure password than "24862486".
The sad thing is he probably believes this password is "secure" because he likes to use it everywhere! " Gnosis Hack Group

Gnosis goes on and publish in clear multiple accounts of the above named dummy.















 Nick Denton and his crew taunted that group of hacker, and bragged a little bit too much.
You can brag Nick, but when you do so, you need to have ~at least~ some knowledge of what does what.

Gawker.com assured their users, shortly after that the Hack was publicly available (mind you) that:

"We'll continue to look into this, but as I commented on your site earlier, we have no evidence that any of our readers' user accounts/passwords have been compromised. They are not stored in plain text and are on entirely different systems than the third-party hosted Campfire screenshots that appear in this article.
  There's no evidence to suggest any Gawker Network user accounts were compromised, and passwords are encrypted (not stored in plain text) anyway, so stealing passwords isn't even possible."

- Well done Scott!  
The 200,000 accounts cracked so far are probably just an illusion:

"After gaining access to gawkers MySQL database we stumble upon a huge
table containing ~1,500,000 users. After a few days of dumping we
decided that 1.3 million was enough.

Gawker uses a really outdated hashing algorithm known as DES (Data Encryption Standard). Because DES has a maximum of 8chars using a password like "abcdefgh1234" only the first 8 characters "abcdefgh" are encrypted and stored in the database. If your
password is longer than 8 characters you only need to enter the first 8 characters
to log in! "


The main issue here is 1.3 million users login, emails and password in the wild. Not too bad for something that was "not even possible"

"Gawker uses DES to obfuscate your password, which is pretty much worthless. With an application of supercomputing power, the plaintext passwords could be revealed very quickly for all 1.3 million usernames." Jed Smith, Dec 2010

The second main issue is that most of those people are using the same password for a lot of things. I hope that Gawker users are using different email accounts:
Gnosis was taunted by Nick Denton, making them prove their point (And they did so deep that Nick must have a headache that originated from his rectum. No lube used.)
But at least, Gnosis are not that bad, gray-hish hackers: They published the all shebang, including source code, database, etc but they did not used it to hack people.
It would have been a massacre if they had phished the entire db without publishing it first.
That list was subsequently hacked and some of the Twitter Accounts linked started to see spam appear.

On the top of showing their absolute ignorance to the world, and being pawned, owned, covered with shame  by a group of "script kids" Gawker.com had the great idea to advise their subscriber, after the hack, to use strong password. What an irony, specialy when we look at the great password of their CEO. with this fantastic article on how to create a great password.

Gina Trapany lately said something that I applause, in regards to the Gawker hack:





So, you read that! huh? , No readable words found in a dictionary !!!!

 Well... if you look at the database of cracked password, you'll note that almost all passwords cracked where composed of:
  • Only numbers  (Yes Nick Denton, slap yourself here)
  • Only letters    (Yes, Gina Trapani, your advice is bad)
  • Used the email as password (Great Job! about 27% of the list....)
  • Were short
  • And finally, almost none used a sign, confirmed by Duo Security:
"Duo Security uncovered other interesting tidbits during its analysis, including the fact that nearly all of the cracked passwords — 99.45% — were composed of alphanumeric characters only, and did not contain any special characters or symbols."

    Why? Ok, then I am going to repeat again....

    If you use numbers only, you have 10 possibilities per character: 0,1,...8,9
    When your password is 3 characters long, and made only of numbers.., that's 1,000 possibilities and roughly 0.001 sec "resistance time"
    The Great Nick Denton had a password able to resist a bruteforce attack for less than an hour.
     Now, if he had used a single sign, i.e "&" the possibilities would have jumped from 9^10 to 9^127 or 8,594,754,748,609,400,000 compared to a mere 1,000,000,000
    Adding a sign would have made it 8,594,754,749 times more difficult to crack (that's 8.5 billion)

    Password?
    I DO NOT LIKE THE WORD "PASSWORD"
    Password makes people use "words", and it implies that it is a "single" string. 
    Hence, when you ask people to generate a password, they do! they create one single word!

    Think passphrase instead!
    One of the good point of the article of  Gina Trapani is the mention of an simple way to generate multiple and easy to remember password.   Password   Dang! Passphrase 

    As for the rest, here are my 2 cents: 
    • If you can find it in a dictionary, it's not good! 
    • Minimum 10ch long. 15 is highly regarded
    • Have you considered a space? 
    • Use Lower cap and UPPER cap, along with Signs and Numbers
    • Did you know that you can use accented latin characters?  é å ü (e-option-e)
    • Can't remember a string of signs? Use numbers with the shift key: 1234 = !@#$
    Example:   Use the birth day of your mom, i.e 1960-09, and type it with the Shift Key "on"
    You'll get "!(^)_)(" 
    so, any type of password such as "1960 Mommé!(^)_)(" will keep any hacker occupied for a while. 
    Add a "dot"+website, and "1960 Mommé!(^)_)(.gmail" is becoming seriously stupid strong. 

    So, using a phrase, that include the above mentioned tips and a solely 10 ch long Passphrase will generate  1,091,533,853,073,390,000,000 possible combination.  
    That number simply means that if you were to give each person on planet earth a computer able to crack 1 Billion keys per second, you'll still need about 78 years to crack it. 
    Make it 11 Ch long and it goes to 9,000 years. 


    One key factor to understand, is the famous "Faster than the bear" logic. 

    Imagine an hungry grizzly running after a group of people: somebody is going to be eaten!

    Most people believe that to escape a Grizzly bear, you need to be faster than the bear. 
    Logic dictates that in order to NOT be eaten by the bear, you simply need to be faster than the slowest guy:  He'll be the one being eaten by the bear. 

    The same theory applies with your passwords: If a hacker tries to crack your password, and can not succeed in a timely manner, he will most likely attack the next weak one. 
    You just need to be faster than the slowest guy....  

    One Last Thing: 
    Gawker hack or not,  you should not use a "good" email account to post comments, play games, tweet or facebook: use disposable email or reserve some addresses for the "junk"

    If one is compromised, it will not compromise the good stuff: Keep ham and spam separated.  


    lil recap:

    Numbers only:                         10 per Ch.
    Letters, lower case                   26 per Ch.
    Letter, lower and upper case    52 per Ch
    Numbers + Letters                   62 per Ch
    Numbers + Letters + Shift       74 per Ch    !@#$%^&*()_+
    Printable Characters                127 per Ch   0123...abc..ABC..!@#$%
    Full ASCII                               255 per Ch   (including "space")

    If you want to learn more, I highly suggest to read one of the following.
    I highly recommend "Hacking Wireless Exposed"

    Best Value Antivirus For Mac?


    Antivirus For Mac : The Scary Results






    Why An AntiVirus For Mac?

    What Is The Best Value Antivirus  For Mac?   Get all the Facts, Tests and Sometimes SCARY bugs From this "brother"  blog


    Good Reading, Stay Safe...

    Excerpt: 

    " .....Here comes the surprise
       
    ClamXav was unable to detect a downloaded infected file, either .com or .zip or to find a threat in a disk image" 
    ....It also deleted an entire iPhoto Library for a single file infected:  1 file infected, deleted 19,000 files.   Best to Avoid,  Stay away from it...." 
      ... " iAntiVirus, Intego and Norton were choked by a 49 KB (KiloBytes, not MB or GB) file "

    KisMAC Deep Digging: WPA Challenge Received

    I am under attack? 
    Is Someone Trying to Break Into my Network or Crack My Password? 


    WPA Challenge Received 
    ATTENTION! Received deauthentication frame. You might want to check for other WiFi people

    This Topic is For Advanced KisMAC users.   The Reading and Understanding of KisMAC basics are a prerequisite.
     
    The message "WPA Challenge Received" displayed if you have Growl installed,

    The other message "ATTENTION! Received deauthentication frame. You might want to check for other WiFi people" is the warning message on the Console log.








    Both are telling you one thing: During the scanning, a WPA Challenge was received: Deauthentication frames were sent in order to force an AP to give a response and capture the necessary 4-way EAPOL handshakes to start an "audit" of the WPA network key.

    I am under attack? Is someone trying to break into my Network or Crack My Password? 



    Not necessarily, Deauthentication Frames are broadcast with KisMAC in two ways:
    1. Direct Attack against a defined SSID (Deauthenticate)
    2. Broad Attack against all Networks     (Deauthenticate All Networks) (within the same channel)


    There is no sure way with KisMAC to be 100% sure that a Deauthentication attack is directed DIRECTLY against you; Only few hints.

    Hints: 
    • You have Channel hopping "OFF" and you are monitoring a single channel. i.e 6
    • You are monitoring your own channel. i.e 6
    • You are the sole AP on this precise Channel number. All other AP's are on different channels 
    When ALL of those conditions are there, you could be fairly certain that somebody is playing with your Network. 



    To the contrary, if you have Channel hopping enabled, you are listening to multiple Channels and can not be sure that it was directed against you.


    What is a "Deauthenticate attack"?

    No need to re-invent the wheel, here it is:
    Excerpt from 802.11 standard, 802.11-2007   © IEEE

    "... 5.4.3.2 Deauthentication
    The deauthentication service is invoked when an existing Open System or Shared Key authentication is to be terminated. Deauthentication is an SS.

    In an ESS, because authentication is a prerequisite for association, the act of deauthentication shall cause the STA to be disassociated. The deauthentication service may be invoked by either authenticated party (non-AP STA or AP). Deauthentication is not a request; it is a notification. Deauthentication shall not be refused by either party. When an AP sends a deauthentication notice to an associated STA, the association shall also be terminated."

    © IEEE , all rights reserved.
    Source: http://standards.ieee.org/

    In Plain English, it explains that a Deauthentication attack is kinda like a Denial of Service Attack (DoS). KisMAC spoofed packets force (Flood) an AP with authentication frames and creates a series of tries to force the AP to respond. Those response are then captured (handshakes)
    Deauthentication is very effective at revealing a hidden SSID (De-Cloaking) or capturing 4-way EAPOL handshake.

    Deauthentication is an active attack, hence when performed you will leave the comfort and stealth of Monitor Mode. You'll go from solely listening to screaming.  Hence, you can be revealed.


    How Can I Tell if I am Under Attack?

    3 ways:  From simple to not that simple 


    Console 
    (Console.app in Applications   Utilities >> Console)

    If you use Console.app , it's more General Messages and you have to look into Console Messages, it does not pop up on your screen
    You have to look for the message "ATTENTION! Received deauthentication frame. You might want to check for other WiFi people"  AND it does not gives you the guarantee that you are a target. Solely the fact that a Challenge was broadcast.
    A second type of message form Console log is a bit  more precise  : "KisMAC[14891]    Detected WPA challenge for 00:xx:xx:xx:B7:61!"  
     In this case, we can clearly see that the BSSID xxxxB7:61 was the target.  If you are xxxxB7:61 Then it's fairly clear that you are under attack. Still, you can not guess who sent you those Deauthentication frames...



    Growl
    Beside the fact that I highly recommend Growl, Growl notifications can give you a hint on the fact that,  if your screen is filled with notifications, there is a good chance that the attack is against you.  Or fairly close.  Let's say that "they" are aiming in your direction....
    On the other side, if you see a "WPA Challenge received" every 2 minutes, there is a chance that one SSID is trying to play with another one, and you are in the middle and just hear the conversation. 
    Just look at the message, take note of the MAC Address and BSSID , and search around you...


    Multiple Growl Notifications 



    Possible Attack against a single channel (you!)
    In some case, you'll receive so many notifications that you will have to stop Growl.
    Console Log Message: "Could not display Growl notification; no screen space available" is a hint that you have just received a bucket of Deauthentication frames.
    it's hard to miss such a hint....
    KisMAC sends a Deauthentication  frame every 100 ms by default, hence 10 per second, this is why it can flood Growl fairly easily.



     The Big Gun .... 

    If you really want to know if it was directed against you, you'll need to take out the "Big Gun"
    On the Preference Pane >> Driver >> the box "keep everything" was of course, checked.
    On the same pane, you have noted that the file(s) were saved as  ~/DumpLog %y-%m-%d %H:%M

    Note:  The Decrypt PCAP Dump Feature on KisMAC 0.3 has a bug (TKT #371) in order to use that feature you have to return to KisMAC 0.2.99.   The Dump Filter works on 0.3 



    Ok ?
    Then Go to your ~ folder and locate that DumpLog.
    Take a deep breath.... and ... 









    And.... be ready to Download WireShark from a trusted source*

     WireShark
    •   Is the "World Foremost Network Analyzer"
    •   Is something that will pull the guts out of any packets, frames or anything that was send via airwaves. 
    •   Is NOT for beginners
    •   Is NOT User Friendly unless you know what you do.

    1. Read the Wiki, Documentation and FAQ. 
    2. Read Again,  or Watch the Videos
    3. Open your Dumplog File with WireShark 
    4. select  proper filters and expressions... click apply .... and discover ... 
    Then, you'll see that the attack was not directed against you, for sure.
    The source of the Deauthentication  was a Cisco AP BSSID xxxxx:83 and the target another Cisco AP BSSID xxxx:61


    More details ...












    You can now save that file, return to KisMAC , and find who's playing ...
    Plug your directional antenna , and you'll get a direction
    Plug your GPS, lock on the SSID and you'll find who's playing with you.
    If you don't have a GPS, here is a good one for ~$30, working with KisMAC.  It's on the RIGHT side, under "I recommend"


    Decrypting Packets

    In order to decrypt packets, you'll need the Network Key. In Wireshark, you can plug up to 7 keys.  Assuming that you have a capture file (DumpLog, PCAP or CAP) ,  Open Wireshark, and open your capture file.
    Go to Edit >> Preferences >> Protocols
    Then select IEEE 802.11 and on the right, enter up to 7 network keys.
    Note: You HAVE TO check the box "Enable decryption"












    Notes:

    * WireShark should be downloaded only from trusted sources, Links here as well as other trusted and tasty wifi downloads

    There is a piece of Malware called "WireShark Antivirus" that is NOT related to WireShark. it's a fake Antivirus for Windows
    In case of doubt:
    a) You have a Mac, and not Windozes
    b) Google before Install
    c) Use an Antivirus on your Mac too! Some very good ones are Free for Mac 












     WARNING!!! Received a Probe flood from xx:xx:xx:xx:2E:BC. This usually means that this computer uses a cheap stumbler such as iStumbler, Macstumbler or Netstumbler!




    4-way EAPOL handshake

    KisMAC Dumplog
    KisMAC PCAP File
    KisMAC
    KisMAC GPS feature