Author Topic: Wordpress passwords encryption ?  (Read 5580 times)

0 Members and 1 Guest are viewing this topic.

Offline sensor

  • /dev/null
  • *
  • Posts: 5
  • Cookies: 0
    • View Profile
Wordpress passwords encryption ?
« on: July 15, 2011, 02:15:10 pm »
Does anyone here know what type of encryption Wordpress uses ?
It used to be plain MD5.

Here is one sample password: $P$BsaP.8zr.ZeT2ktfTfJkgOAhNm3RJB/
All of them starts with: $P$B
Does it use some sort of salt ? Is it possible to crack it, etc.
Can you give me a hint ?

Thanks in advance,
Alex
« Last Edit: July 15, 2011, 02:16:09 pm by sensor »

Offline ande

  • Owner
  • Titan
  • *
  • Posts: 2664
  • Cookies: 256
    • View Profile
Re: Wordpress passwords encryption ?
« Reply #1 on: July 15, 2011, 02:30:24 pm »
Does anyone here know what type of encryption Wordpress uses ?
It used to be plain MD5.

Here is one sample password: $P$BsaP.8zr.ZeT2ktfTfJkgOAhNm3RJB/
All of them starts with: $P$B
Does it use some sort of salt ? Is it possible to crack it, etc.
Can you give me a hint ?

Thanks in advance,
Alex

Possibly of interest: http://www.stottmeister.com/blog/2009/06/30/new-wordpress-password-hasher-tool/
Its from 2009, it says wordpress use PHPASS, a function from some framework.

Anyway, download Passwords Pro, it got a unbuilt wordpress password cracker ;)
if($statement) { unless(!$statement) { // Very sure } }
https://evilzone.org/?hack=true

Offline sensor

  • /dev/null
  • *
  • Posts: 5
  • Cookies: 0
    • View Profile
Re: Wordpress passwords encryption ?
« Reply #2 on: July 15, 2011, 03:17:20 pm »
Thanks a lot!


I already started up Passwords Pro, but noticed big performance drop, cracking MD5(Wordpress), rather md5() from PasswordsPro.
 
The best was 600 p/s, on 2 cores probably 1000 p/s.


Found Extreme GPU Bruteforcer again from InsidePro using CUDA GPU.
The results from CUDA performance from their site:
MD5                 - 420 million p/s
MD5(Wordpress) - 0.05 p/s


Which is 8400x slower.
Thanks again, I'll further investigate & if I have valuable info i'll keep you posted ;) 
« Last Edit: July 15, 2011, 03:17:43 pm by sensor »

Offline sensor

  • /dev/null
  • *
  • Posts: 5
  • Cookies: 0
    • View Profile
Re: Wordpress passwords encryption ?
« Reply #3 on: July 15, 2011, 03:36:55 pm »
The reason for the slow cracking of these passwords is so called: key stretching incorporated in PHPASS.
Here is more info on key strengthening:
http://en.wikipedia.org/wiki/Key_strengthening,
http://www.schneier.com/paper-low-entropy.html


Basically the time to generate the hash is increased by hashing the password multiple times - making Bruteforce ineffective method or slowing it down enough.
« Last Edit: July 15, 2011, 03:42:48 pm by sensor »