Image
 
linkedin_logo.png rss_logo.jpg
twitter_logo.png youtube_logo.jpg
Latest Additions
 
EH-Net Login
Welcome Guest.






Lost Password?
No account yet? Register
Who's Online
We have 81 guests and 1 member online
 
Free Business and Tech Magazines and eBooks

You are here: Home arrow Ethical Hacking Discussions and Related Certificationsarrow Otherarrow Hash Help
EH-Net
May 19, 2013, 11:19:52 AM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Go back to The Ethical Hacker Network Online Magazine Home Page
 
   Home   Help Calendar Login Register  
Pages: [1]   Go Down
  Print  
Author Topic: Hash Help  (Read 3166 times)
0 Members and 1 Guest are viewing this topic.
Seen
Full Member
***
Offline Offline

Posts: 134


View Profile
« on: August 04, 2012, 12:29:45 AM »

Can anyone help me with this hash?  I was trying to check the strength of the hashing algorithm my friend uses on his site, and it must be amazing because JTR can't crack it Wink

This hash is supposed to be "password"

04c2bb68c40e147048aeaf319ff00c3a609bd50f

And here is the salt:

d5f58c19ade4233e3eb2478c489ebd171992f514

JTR recognizes it as raw-sha, but I went through all the formats and it couldn't crack it.

Can anyone else crack this?  Am I doing something wrong?

Thanks
Logged

Sec+, eCPPT
unicityd
Full Member
***
Offline Offline

Posts: 156

Bored IT Manager, Crypto Nerd


View Profile WWW
« Reply #1 on: August 04, 2012, 01:03:54 AM »

It's now raw SHA.  It could be some form of salted SHA, but I tried hashing it a few different ways (salt in front, salt in back, etc) and it didn't match up for me. 

The solution is to either get the code or to spend some time exhausting the possibilities. 
Logged

BS in IT, CISSP, MS in IS Management (in progress)
Seen
Full Member
***
Offline Offline

Posts: 134


View Profile
« Reply #2 on: August 04, 2012, 05:06:49 PM »

Thanks, as long as you and I can't crack it easily, I'm going to tell him it's secure  Smiley  For now anyway.
Logged

Sec+, eCPPT
unicityd
Full Member
***
Offline Offline

Posts: 156

Bored IT Manager, Crypto Nerd


View Profile WWW
« Reply #3 on: August 04, 2012, 06:09:43 PM »

I wouldn't say its secure; it's just obscure.  I only spent about 5 or 10 minutes on it.  Someone who is willing to put in more time may figure it out.  And if someone gets a hold of the source code, they won't have to figure it out.

Your friend should just use scrypt, bcrypt, or PBKDF2 and not try to roll his own crypto implementation.

Logged

BS in IT, CISSP, MS in IS Management (in progress)
ajohnson
Recruiters
Hero Member
*
Offline Offline

Posts: 1056


aka dynamik


View Profile WWW
« Reply #4 on: August 04, 2012, 06:10:31 PM »

Why don't you just ask him what he's using? Is this supposed to be a custom algorithm? You shouldn't assume something's secure just because it's not recognized by a tool.

The plaintext with the salt doesn't match the output of any of these algorithms: http://www.insidepro.com/hashes.php/ He could performing multiple passes and/or using multiple algorithms though.
Logged

WIP: GCFA | www.infosiege.net | @infosiege

The day you stop learning is the day you start becoming obsolete.
unicityd
Full Member
***
Offline Offline

Posts: 156

Bored IT Manager, Crypto Nerd


View Profile WWW
« Reply #5 on: August 04, 2012, 11:11:29 PM »

The site you just linked is pretty awesome.
Logged

BS in IT, CISSP, MS in IS Management (in progress)
Seen
Full Member
***
Offline Offline

Posts: 134


View Profile
« Reply #6 on: August 05, 2012, 12:29:43 PM »

Why don't you just ask him what he's using? Is this supposed to be a custom algorithm? You shouldn't assume something's secure just because it's not recognized by a tool.

He doesn't know what algorithm he's using, someone else handled making the site.  And I'm not assuming it's secure, I'm just going to finish testing the rest of the site and THEN go back to the hash.
Logged

Sec+, eCPPT
unicityd
Full Member
***
Offline Offline

Posts: 156

Bored IT Manager, Crypto Nerd


View Profile WWW
« Reply #7 on: August 05, 2012, 01:47:11 PM »

If it's his site, can't you look at the code?
Logged

BS in IT, CISSP, MS in IS Management (in progress)
ajohnson
Recruiters
Hero Member
*
Offline Offline

Posts: 1056


aka dynamik


View Profile WWW
« Reply #8 on: August 06, 2012, 02:35:28 AM »

The site you just linked is pretty awesome.

Completely random Google find. I was impressed and bookmarked it as well Smiley

He doesn't know what algorithm he's using, someone else handled making the site.  And I'm not assuming it's secure, I'm just going to finish testing the rest of the site and THEN go back to the hash.

I wasn't trying to be rude, so I'm sorry if I came off like that. This review you're doing just seems to have unnecessary unknowns in it. Like Unicityd said, just review the code.
Logged

WIP: GCFA | www.infosiege.net | @infosiege

The day you stop learning is the day you start becoming obsolete.
Seen
Full Member
***
Offline Offline

Posts: 134


View Profile
« Reply #9 on: August 06, 2012, 03:00:05 PM »

I didn't take it as rude.  The guy who designed the site is an ass.  I found a way to bypass the login to the database a month ago, and it took him a month to fix it!  So he's not really good about getting back to my friend or me.  In his defense, he probably realizes once he gives us all this stuff, he's going to get fired!

So right now the plan is just to make a list of all the problems and things we need and hopefully get it eventually so someone else can handle the site.
Logged

Sec+, eCPPT
unicityd
Full Member
***
Offline Offline

Posts: 156

Bored IT Manager, Crypto Nerd


View Profile WWW
« Reply #10 on: August 06, 2012, 06:02:13 PM »

That's a recipe for disaster.  Does your friend have access to the site or is this guy the only admin?

There's no point in continuing to work with someone who is "an ass", does shoddy work and is unresponsive.  Get control of the site and hire someone else. 
Logged

BS in IT, CISSP, MS in IS Management (in progress)
Seen
Full Member
***
Offline Offline

Posts: 134


View Profile
« Reply #11 on: August 07, 2012, 12:08:52 PM »

There's no point in continuing to work with someone who is "an ass", does shoddy work and is unresponsive.  Get control of the site and hire someone else. 

I'm on it, that's why I'm doing this test.  Figuring out what works and what doesn't, what we can reuse and what we need to get rid of.  Once that's done, then we'll have a better understanding of what we need the new admin to be able to do.
Logged

Sec+, eCPPT
Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines
Joomla Bridge by JoomlaHacks.com
Valid XHTML 1.0! Valid CSS!
Page created in 0.069 seconds with 22 queries.
 
Exclusive Deal

sansfire13_245x90_cw90.jpg
SANSFIRE 2013
June 15 - 22

5% Off w/ Code: EHN_5

SANS Deals 4 EH-Netters
5% OFF Any SANS Course in Any Format!
Coupon Code: EHN_5 Including SANS Rocky Mountain 2013 & SANS Boston 2013
Polls
Compared to this year, 2013 will be:
 
Recent Forum Topics
EH-Net News Feeds
Latest Additions
 
         
Free Business and Tech Magazines and eBooks

© 2013 The Ethical Hacker Network
Joomla! is Free Software released under the GNU/GPL License.