Ethical Hacking

Learn to find vulnerabilities before the bad guys do! Gain real world hands on hacking experience in our state of the art hacking lab. Course designed and taught by expert instructors with years of penetration testing experience. 12 student maximum in every class. Certification attempt included in every package.
Computer Forensics Training at InfoSec Institute

Gain the in-demand skills of a certified computer examiner, learn to recover trace data left behind by fraud, theft, and cybercrime perpetrators. Discover the source of computer crime and abuse at your organization so that it never happens again. All of our class sizes are guaranteed to be 12 students or less to facilitate one-on-one interaction with one of our expert instructors.




Network Security Pen-Test
[Top] [All Lists]

Re: Password secured using???

Subject: Re: Password secured using???
Date: Wed, 26 Apr 2006 08:43:01 -0500
On 4/24/06, Robert J. Kraus <rkraus@telcomtex.net> wrote:
To me it does look like a hash of some sort. Now that you have the known
password and the hash you can take that information and reverse engineer
the hashed answer.

I am curious to see how they hashed it and what algorithm they used.
Once you have the hashing algorithm you can use that to unencrypt any
passwords in the file.


Hashes are one way functions.  You cannot work backward (or even
reverse engineer - what would be the point?) from a hash and "decrypt"
password.  Even if the the hashing algorithm is MD5, SHA-0/SHA-1
(which have been shown to have collision weaknesses), finding a
collision is unlikely.  Reverse engineering is really not the answer
(sort of).

The most likely course would be to use a rainbow table or a dictionary
attack.  Use the known password and generate hashes using the
different algorithms (MD5, SHA-0, SHA-1, TIGER, etc).  When you find a
match with the stored hash, you know the algorithm in use.  Then all
that is needed is start slamming a dictionary against the rest of the
hashes, try some brute force variants.  It gets a little more
difficult if it turns out they are using a salt to XOR the password
before the hash.  Sometimes you can discover the salt by tracing the
program execution in a debugger - but it's a real pain.

I would also take images of the machine's memory.  You would be
surprised how many plaintext information floats around there.  In my
work I have found a few systems that use strong hashing/encryption
algorithms vulnerable due to poor protocol implementation.

------------------------------------------------------------------------------
This List Sponsored by: Cenzic

Concerned about Web Application Security? 
Why not go with the #1 solution - Cenzic, the only one to win the Analyst's 
Choice Award from eWeek. As attacks through web applications continue to rise, 
you need to proactively protect your applications from hackers. Cenzic has the 
most comprehensive solutions to meet your application security penetration 
testing and vulnerability management needs. You have an option to go with a 
managed service (Cenzic ClickToSecure) or an enterprise software 
(Cenzic Hailstorm). Download FREE whitepaper on how a managed service can 
help you: http://www.cenzic.com/news_events/wpappsec.php 
And, now for a limited time we can do a FREE audit for you to confirm your 
results from other product. Contact us at request@cenzic.com for details.
------------------------------------------------------------------------------


<Prev in Thread] Current Thread [Next in Thread>