Passwords Quickly Hacked With PC Graphics Cards

Discussion in 'other security issues & news' started by JRViejo, Aug 17, 2010.

Thread Status:
Not open for further replies.
  1. JRViejo

    JRViejo Super Moderator

    Joined:
    Jul 9, 2008
    Posts:
    98,095
    Location:
    U.S.A.
    InformationWeek Article by Mathew J. Schwartz.​
     
  2. chronomatic

    chronomatic Registered Member

    Joined:
    Apr 9, 2009
    Posts:
    1,343
    Does this really require university researchers to figure out? This has been known by everyone who knows anything about computer security for years. In fact, there is software out there designed to utilize GPU's for this very purpose. I guess these "researchers" have been living under a rock for the past several years? :rolleyes:

    Must be a very slow news day.
     
  3. chiraldude

    chiraldude Registered Member

    Joined:
    Jul 3, 2010
    Posts:
    157
    TrueCrypt has recommended passwords with 20 or more characters for years.
    A 20 char pw is not brute force(able) using any currently known technology.
     
  4. Carbonyl

    Carbonyl Registered Member

    Joined:
    May 19, 2009
    Posts:
    256
    I understand the need for strong passwords, but in reality, how dangerous are brute-force guessing attacks, like the one described in this article? Surely online accounts for Email / Commerce / Services have some measure of delay imposed between login attempts. I would also assume that repeated failures would temporarily "lock" an account.

    Even in a best case scenario, wouldn't network latency limit the efficacy of this method of 'cracking'? Obviously you can't send nearly as many requests to a remote server as you can perform on a local machine in the same period of time.

    Additionally, I can't find anything in the article about this: What characters composed the passwords that were cracked so easily? Were numbers, mixed case, symbols, and ASCII code characters included?
     
  5. chiraldude

    chiraldude Registered Member

    Joined:
    Jul 3, 2010
    Posts:
    157
    You are correct that high speed brute force is useless for a remote attack.
    This sort of attack only applies in the case where your adversary has access to the encrypted data. (file, container, OS encryption such as PGP, TrueCrypt, bitlocker, etc...)

    All possible 12 character passwords can be tested on the encrypted data using GPU acceleration. Not just simple ones but ALL possible passwords. "#3Df.vB%^saj" may be guessed as easilly as "mypasswordis"
     
  6. chronomatic

    chronomatic Registered Member

    Joined:
    Apr 9, 2009
    Posts:
    1,343
    Yeah, as the other guy said, this works fine for remote attacks where the adversary doesn't have direct access to your encrypted password file (hash). If he has direct access to the password file itself, he can brute force it as fast as his hardware will allow. The only variable will be with what hash the password is protected with. Some hashes can be brute forced faster than others.

    One would probably want at least an 80 bit password (80 bits as in entropy) in order to protect against just about any brute force. If you use all ASCII characters, you can achieve 80 bits with a 13 character password (85 bits to be exact). Of course, this is assuming the password is completely random. If you want really strong protection you can aim for 128 bit entropy, which will be a password of 20 random characters (which results in a password with 131 bits of entropy to be exact). 128 bits is not crackable by anyone from this planet and wont be for a long time. Again, this assumes the password is chosen at random. If you use phrases or words, it significantly reduces your password's strength.
     
  7. JRViejo

    JRViejo Super Moderator

    Joined:
    Jul 9, 2008
    Posts:
    98,095
    Location:
    U.S.A.
    Carbonyl, in the article, there is this mention (blue highlight mine):
    Here's the link to Georgia Tech:

    Teraflop Troubles: The Power of Graphics Processing Units May Threaten the World’s Password Security System

    From these quotes, I gather that they see lots of 7 words or less, lowercase passwords at Georgia Tech.
     
  8. chrisretusn

    chrisretusn Registered Member

    Joined:
    Jun 16, 2004
    Posts:
    1,672
    Location:
    Philippines
    Darn, I just went through and recently changed all of my weak passwords, some were dictionary words others were "decent" 8 character ones, but used across several places. I changed them all to unique and at least 12 characters in length except for a few critical ones, those I made 15 characters. Guess I am going to have to rethink this over again.
     
    Last edited: Aug 19, 2010
  9. Searching_ _ _

    Searching_ _ _ Registered Member

    Joined:
    Jan 2, 2008
    Posts:
    1,988
    Location:
    iAnywhere
    To crack your passwords someone has to gain entry to your system first and dump your password hashes.
    After that it's just about how much cracking power is available to you.

    I know of someone with a 7 Teraflop cluster who can crack Linux hashes in under 15 minutes.
    Is currently adding Blowfish to the list of hashes he can crack.
     
  10. chronomatic

    chronomatic Registered Member

    Joined:
    Apr 9, 2009
    Posts:
    1,343
    7 Teraflops is only like 2 GPU's nowadays.

    And when you say "in under 15 minutes" that's sort of vague. I will put my passwords up against his cluster any day and guarantee he wont crack them in 15 minutes, hours, days, years or centuries. :cool:
     
  11. wearetheborg

    wearetheborg Registered Member

    Joined:
    Nov 14, 2009
    Posts:
    667
    How big is your password? :D
     
  12. Searching_ _ _

    Searching_ _ _ Registered Member

    Joined:
    Jan 2, 2008
    Posts:
    1,988
    Location:
    iAnywhere
    @ chronomatic

    One node in the system has 4 Nvidia Tesla's other nodes contain gtx280's and gtx480's.
    If he needs more Teraflops he just adds more nodes, up to 260 nodes capable.
    It wasn't just one password hash, it was several pilfered from a live network.

    What algorithm are you using to hash your passwords?
    I'm guessing you changed yours from the default md5. Probably something like sha256.
     
    Last edited: Aug 19, 2010
  13. Ocky

    Ocky Registered Member

    Joined:
    May 6, 2006
    Posts:
    2,713
    Location:
    George, S.Africa
    Sort of an addendum to this thread - may be of interest.

    1978 Cryptosystem Resists Quantum Attack

     
  14. chronomatic

    chronomatic Registered Member

    Joined:
    Apr 9, 2009
    Posts:
    1,343
    That should be more than 7 Teraflops. I know some of the higher end cards nowadays run at 4+ teraflops a piece (single precision).

    Depends on what the password is used for. If it's my root password on Ubuntu it uses a salted SHA512, which is the default on Ubuntu now. My router WPA password is 60 random characters. It looks like this:

    Code:
    yH)k1%MQ!p8$/uVMdb~,&j4SaR+JP(iAJ}^<2`~x*M-pysPlJAq+7^fmn`R~
    That's 393 bits of entropy. If you put an nvidia tesla on every square inch of the earth's land surface, it would take it 2 X 10^84 years to crack.
     
    Last edited: Aug 19, 2010
  15. Doritoes

    Doritoes Registered Member

    Joined:
    Jul 2, 2010
    Posts:
    56
    You post on Wilders and you don't generate long random passwords for all your accountso_O
     
  16. chrisretusn

    chrisretusn Registered Member

    Joined:
    Jun 16, 2004
    Posts:
    1,672
    Location:
    Philippines
    Read my post again. :)

    I'd be willing to bet a lot of users here at one time or another used the same password for more than one account. Whether they will admit to it or not is another story. ;)
     
  17. wearetheborg

    wearetheborg Registered Member

    Joined:
    Nov 14, 2009
    Posts:
    667
    I admit it, I'm doing it right now :oops: :p

    As a control freak with poor memory who uses different computers, and uses linux, I kinda use 3-4 passwords for my accounts. I'm in the process of a major security overhaul now (cross platform password manager, new longer papsswords etc)
     
  18. Searching_ _ _

    Searching_ _ _ Registered Member

    Joined:
    Jan 2, 2008
    Posts:
    1,988
    Location:
    iAnywhere
    1 Tesla card = 1 Teraflop (and $1200.00 per)

    Tesla cards are the first video cards to reach 1 teraflop.

    They do make consumer boards with 7 PCI Express slots, so it's possible to have a single 7 teraflop node.
    $1000 for the system and $8400 for the cards.

    That's some serious cracking and rendering
     
  19. chrisretusn

    chrisretusn Registered Member

    Joined:
    Jun 16, 2004
    Posts:
    1,672
    Location:
    Philippines
    You know I still use the same passwords (for root and my personal account) when logging in to my home computers. ;)
     
  20. Enigm

    Enigm Registered Member

    Joined:
    Dec 11, 2008
    Posts:
    188
    If you already have the hashes, what's the point in "cracking" anything,
    you just look them up in the rainbow-tables and bingo, 2 hashes become
    one windows-passwords ..
    If they are talking about encrypted systems .. WHAT hashes ?
    There are no hashes to dump on a properly encrypted system .
     
  21. Searching_ _ _

    Searching_ _ _ Registered Member

    Joined:
    Jan 2, 2008
    Posts:
    1,988
    Location:
    iAnywhere
    Rainbow tables, a precomputation attack, is for LM and NTLM hashes and therefore Windows.

    I was talking about cracking Linux hashes which use a minimum of salted MD5.
    Rainbow Tables - Wikipedia
     
  22. wearetheborg

    wearetheborg Registered Member

    Joined:
    Nov 14, 2009
    Posts:
    667
    If you have a long enough passwords (15 chars, with at lease one special char), then there ARE NO rainbow tables for them. Too much space required.
    Linux automatically uses salts, so rainbow table based attacks are rendered useless.

    Background on salts. Given a password "password", the stored hash is
    hash(salt.password), where salt is some random (but known and visible) string.

    Windows unfortunately use salts, but the user can add his own salt. Eg, if the password I have in mind is "password"; I would instead use the password
    "wearetheborg.password" or "password.password"
    It prohibits rainbow table based attacks.
     
  23. chronomatic

    chronomatic Registered Member

    Joined:
    Apr 9, 2009
    Posts:
    1,343
    Depends on if you're talking about single or double floating point precision.
     
  24. Searching_ _ _

    Searching_ _ _ Registered Member

    Joined:
    Jan 2, 2008
    Posts:
    1,988
    Location:
    iAnywhere
    @ chronomatic

    Checking ATI and Nvidia, ATI has a faster card than Nvidia.
    The Radeon 5970 does 4 teraflops @ 32bit, while the Tesla does 1 teraflops @ 32bit.

    Cuda has dominated the market with 90% of the HPC systems.
    Cuda made it possible to utilize all the shaders for computation tasks.
    Programmers could now port computationally intensive programs to the GPU.
    ATI has only recently became involved in parallelized porting compared to Nvidia.
    Nvidia has a big headstart and it doesn't look like ATI is doing much about it.

    Pathscale has mentioned adding support for ATI, but there target is Cuda.
    If they add support for ATI then ATI will have a chance to beat Nvidia FLops for FLops.

    Also the program he uses to crack hashes with is cuda based.
     
Thread Status:
Not open for further replies.
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.