Free Web Hosting Forum
(#1 (permalink))
Old
dx4's Avatar
dx4 dx4 is offline
Member
dx4 is on a distinguished road
 
Posts: 95
Join Date: Mar 2012
Send a message via Skype™ to dx4
Default Password encryption - 06-05-2012, 08:42 AM

I noticed that our passwords aren't encrypted in the 000webhost login area.

This is very risky so I suggest our passwords to be encrypted with md5 or any other similar, discart the password reveal and replace it with password reset in case someone forget this password.


And when everything else fail, try reading the manual.
Reply With Quote
Sponsored Links
(#2 (permalink))
Old
Leder678's Avatar
Senior Member
Leder678 is on a distinguished road
 
Posts: 1,618
Join Date: Jan 2009
Location: Norway
Send a message via MSN to Leder678
Default 06-05-2012, 09:48 AM

May I ask you where it isn't encrypted/hidden?


Follow me on twitter @Mortenrb

W3Fools - Read and learn

Please AT LEAST read the 10 bolded lines of the TOS at:
http://www.000webhost.com/includes/tos.php
Reply With Quote
(#3 (permalink))
Old
dx4's Avatar
dx4 dx4 is offline
Member
dx4 is on a distinguished road
 
Posts: 95
Join Date: Mar 2012
Send a message via Skype™ to dx4
Default 06-05-2012, 10:30 AM

When you forget your password then after you verify yourself, your password is e-mailed to you. This means that the password isn't encrypted.


And when everything else fail, try reading the manual.
Reply With Quote
(#4 (permalink))
Old
Banned
pulpfiction is on a distinguished road
 
Posts: 62
Join Date: Jun 2012
Default 06-26-2012, 07:43 PM

Wow, this is ridiculous.

It's really not that hard to configure SHA1 or MD5 encryption.

Oh, and MD5 is totally insecure. It can be cracked within seconds, so I recommend sha1.
Reply With Quote
(#5 (permalink))
Old
Leder678's Avatar
Senior Member
Leder678 is on a distinguished road
 
Posts: 1,618
Join Date: Jan 2009
Location: Norway
Send a message via MSN to Leder678
Default 06-27-2012, 01:40 AM

SHA1 and MD5 both have the same security level, as the only way to get to know the password is by bruteforcing it.
It's recomended to use a salt for every password encryption mode.


Follow me on twitter @Mortenrb

W3Fools - Read and learn

Please AT LEAST read the 10 bolded lines of the TOS at:
http://www.000webhost.com/includes/tos.php
Reply With Quote
(#6 (permalink))
Old
Banned
pulpfiction is on a distinguished road
 
Posts: 62
Join Date: Jun 2012
Default 06-27-2012, 02:58 PM

Quote:
Originally Posted by Leder678 View Post
the only way to get to know the password is by bruteforcing it.
That's not necessarily true.

With sites such as md5decrypter.co.uk and pirax.de/md5 - you can paste and md5 hash and it will search through billions of decrypted hashes.

Specifically 8.7 billion hashes just on md5decrypter.co.uk.

There are barely any sites that do the same with SHA1 hashes.

But you do have a good point with salting the passwords before they're encrypted.
Reply With Quote
(#7 (permalink))
Old
Banned
pulpfiction is on a distinguished road
 
Posts: 62
Join Date: Jun 2012
Default 06-27-2012, 02:59 PM

Edit: That's why MD5 is so insecure compared to SHA1.
Reply With Quote
(#8 (permalink))
Old
Leder678's Avatar
Senior Member
Leder678 is on a distinguished road
 
Posts: 1,618
Join Date: Jan 2009
Location: Norway
Send a message via MSN to Leder678
Default 06-28-2012, 09:38 AM

@Pulpfiction:
Bear in mind that websites like that is kinda like "pre-bruteforced" passwords.
All of the hashes they've saved is just a script that generates code, hashes it and then puts it into a database.

I could make the same code for SHA1 within seconds (as I have a combination generator script), run the script for a few months, put the database on the internet, and people may search for hashed passwords the same way.

Ideally, I'd have a powerful VPS or dedicated server, so I wouldn't have to upload giga/terabytes of data after generating the code, but just real-time inserting and publishing it

And after that's done, they'd be at the same security level.


Follow me on twitter @Mortenrb

W3Fools - Read and learn

Please AT LEAST read the 10 bolded lines of the TOS at:
http://www.000webhost.com/includes/tos.php
Reply With Quote
(#9 (permalink))
Old
Banned
pulpfiction is on a distinguished road
 
Posts: 62
Join Date: Jun 2012
Default 06-28-2012, 03:09 PM

@Leder678

I completely understand your point, but I was just pointing out that there are a lot more existing resources for cracking MD5 hashes - so SHA1 would be more secure (as long as it's salted and the password is strong).

But thanks for your reply, you do have a point.
Reply With Quote
(#10 (permalink))
Old
Leder678's Avatar
Senior Member
Leder678 is on a distinguished road
 
Posts: 1,618
Join Date: Jan 2009
Location: Norway
Send a message via MSN to Leder678
Default 06-28-2012, 08:22 PM

If the password is salted
(a long salt with random characters)
and you have a strong password, then the MD5 databases wouldn't be enough (well, except if you have the salt)

When I make a script for saving password, I always do a simple base64_encode, then enter the password, then encode the pwd, inserts the salt, then I do a fair amount of encodings, something like this:
Code:
<?php
 $pwd = base64_encode ($pwd); // I tend to remove this line, as it has no use in most cases.
 $pwd = sha1($pwd);
 $pwd = sha1($salt . $pwd);
 for($x=1;$x<=10;$x++) { //10 is just an example, I change this for every website
  $pwd = sha1($pwd);
 }
?>
But don't take my word that this will be alot better, but it will slow down the hacker/cracker as he needs to figure out how I do my encoding.
If everyone used the same encoding method, a hacker/cracker would have no troubles cracking the code


Follow me on twitter @Mortenrb

W3Fools - Read and learn

Please AT LEAST read the 10 bolded lines of the TOS at:
http://www.000webhost.com/includes/tos.php
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.5.2
vBulletin Skin developed by: vBStyles.com