Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

rar pw

Name: Anonymous 2010-08-24 11:14

well yes,I admit, I don't know a shit about programming
and, worst of all, i have a problem
everyone of you knows the famous rar files
and that you can put a password on it
now, i lost a password so i can't enter the file
how can i find this password?

Name: Anonymous 2010-08-24 12:09

>>4
What kind of idiot designs "secure" archive formats like that?
The standard and correct way to do it is to:
1) Use the user-entered password to generate keys for your crypto algo of choice, usually using a cryptographically secure hash algorithm, possibly with some salt and padding involved.
2) Encrypt the data after packing, or the entire archive after packing using a strong crypto algorithm using the keys previously generated from the passphrase.
Thus there are 2 ways to break this assuming the hash and symmetric block crypto algorithms are secure enough and the key is long enough. One is to bruteforce the key, which in the case of AES128,AES256+ and more is not very feasible, unless there are weaknesses in the key generation algorithm, however if the hash algorithm was good enough, it should not be a problem. The other way to to guess the passphrase, in which case one would use dictionary or bruteforce attacks, but that would only work on weak passwords.

Some popular formats actually had dumb designs, like earlier .doc password protection and some others, but it'd be pretty stupid to do something so broken for modern archives, and they don't (see specifications and source code to confirm for yourself).

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List