decoration decoration
Stories

GROKLAW
When you want to know more...
decoration
For layout only
Home
Archives
Site Map
Search
About Groklaw
Awards
Legal Research
Timelines
ApplevSamsung
ApplevSamsung p.2
ArchiveExplorer
Autozone
Bilski
Cases
Cast: Lawyers
Comes v. MS
Contracts/Documents
Courts
DRM
Gordon v MS
GPL
Grokdoc
HTML How To
IPI v RH
IV v. Google
Legal Docs
Lodsys
MS Litigations
MSvB&N
News Picks
Novell v. MS
Novell-MS Deal
ODF/OOXML
OOXML Appeals
OraclevGoogle
Patents
ProjectMonterey
Psystar
Quote Database
Red Hat v SCO
Salus Book
SCEA v Hotz
SCO Appeals
SCO Bankruptcy
SCO Financials
SCO Overview
SCO v IBM
SCO v Novell
SCO:Soup2Nuts
SCOsource
Sean Daly
Software Patents
Switch to Linux
Transcripts
Unix Books

Gear

Groklaw Gear

Click here to send an email to the editor of this weblog.


You won't find me on Facebook


Donate

Donate Paypal


No Legal Advice

The information on Groklaw is not intended to constitute legal advice. While Mark is a lawyer and he has asked other lawyers and law students to contribute articles, all of these articles are offered to help educate, not to provide specific legal advice. They are not your lawyers.

Here's Groklaw's comments policy.


What's New

STORIES
No new stories

COMMENTS last 48 hrs
No new comments


Sponsors

Hosting:
hosted by ibiblio

On servers donated to ibiblio by AMD.

Webmaster
Partially cracked hash??? | 111 comments | Create New Account
Comments belong to whoever posts them. Please notify us of inappropriate comments.
Anatomy of a hack: How crackers ransack passwords like “qeadzcwrsfxv1331”
Authored by: Winter on Wednesday, May 29 2013 @ 05:32 AM EDT
"they are difficult to convert back as the hash functions are of a
many-to-one type of function - many originals map into the same hash-value: this
is what makes them [effectively] one-way."

As I understood, an ideal message digest functions convert a block the length of
the output into a new bit pattern one-on-one. That is, running an N bit hash in
reverse would return an N bit block of bits. For N bit messages, this might be
reversible in theory. That is why cryptographic hash algorithm tend to use
functions, e.g., a modulus over prime factors, that when run in reverse have
been chalked down as "difficult" by mathematicians, i.e., "NP
hard". Which is another way to say the function cannot be run in reverse.

http://diovo.com/2011/01/why-it-is-hard-to-break-hash-functions/

Indeed, when a message is longer than the N bits of the output hash, you lose
information. For a x*N bit message, there are 2^[(x-1)*N] (2 to the power of)
originals for each digest (hash). If N=128 (16 byte) and x=4 (64 bytes), you end
up with 2^384 ~ 4 × 10^115 possible messages per hash.

However, this is the ideal. Practice is different. There seem to be tricks to
coach MD5 to get fitting inputs on easier terms. MD5 is called broken for that
reason.

But in a password cracker, you do not need to find the real original sequence.
Any sequence that generates the hash will do. It is a pity most password forms
simply do no accept full binary sequences.

In the end, it is easier to simply try out all reasonable inputs. That is what
password crackers do.


---
Some say the sun rises in the east, some say it rises in the west; the truth
lies probably somewhere in between.

[ Reply to This | Parent | # ]

Anatomy of a hack: How crackers ransack passwords like “qeadzcwrsfxv1331”
Authored by: Anonymous on Wednesday, May 29 2013 @ 05:39 AM EDT
But is the conversion "mathmatical"?

My impression is that the conversion is discovered by guessing -- creating
passwords, putting them through a hash function, then comparing the results.
This isn't a mathmatical (reverse hash) function.

[ Reply to This | Parent | # ]

Partially cracked hash???
Authored by: Anonymous on Wednesday, May 29 2013 @ 05:53 AM EDT
that would explain the relative ease of finding a long password.

[ Reply to This | Parent | # ]

Anatomy of a hack: How crackers ransack passwords like “qeadzcwrsfxv1331”
Authored by: Christian on Wednesday, May 29 2013 @ 04:32 PM EDT
"They are difficult to convert back as the hash functions are of a many-to-one type of function - many originals map into the same hash-value: this is what makes them [effectively] one-way.

Not exactly. Being "many-to-one" is what makes it a hash, rather than an encryption. "One way" means there is no known way to easily recover the original text (or a possible original text). If you have the key, decrypting a 3DES encrypted text takes about the same amount of time as the original encryption. In contrast, there is AFAIK no way faster than brute force to find a text that has a particular SHA256 hash.

[ Reply to This | Parent | # ]

Groklaw © Copyright 2003-2013 Pamela Jones.
All trademarks and copyrights on this page are owned by their respective owners.
Comments are owned by the individual posters.

PJ's articles are licensed under a Creative Commons License. ( Details )