Exetools  

Go Back   Exetools > General > General Discussion

Notices

Closed Thread
 
Thread Tools Display Modes
  #1  
Old 11-03-2005, 03:56
Janus68
 
Posts: n/a
This can be true in the case of very small archives and short passwords -
just after decompression a whole archive you can see, if you use right password -
so only very short archive can be unpacked in responsible time.
  #2  
Old 11-03-2005, 06:54
cbs
 
Posts: n/a
Talking Rectothermal cryptanalysis rulez!

Quote:
Originally Posted by Janus68
This can be true in the case of very small archives <...> -
just after decompression a whole archive you can see, if you use right password
Really? I don't think so.
File is being encrypted after it's compressed!
So when you are trying to decompress encrypted archive the sequence is smth like this:

1). Decrypt file/block with given password (or hash of password, or hash(hash(password)), etc);
2). Calculate hash of decrypted file/block; // I think WinRAR uses for this only few bytes from the beginning of the archive, may be one block
3). Compare with valid hash (that valid hash is calculated when file is being archived/encrypted);
4). If bad hash - "Wrong password!";
5). Else - decrypt other blocks and decompress decrypted file.

There is NO need to decompress or decrypt the WHOLE file to check if password is valid. One block is enough.
So there is no difference what is being bruteforced - tiny or huge archive.

BTW if you try to encrypt file before compressing it, that encrypted file will have very "bad" entropy and file compression ratio will be ~0% [ (decompressed_size - compressed_size) / decompressed_size ]

@Sten
Yes, this method really works! RSA-8192 or true AES-256 in few minutes

Last edited by cbs; 11-03-2005 at 06:58.
  #3  
Old 11-03-2005, 17:37
Dr.Golova
 
Posts: n/a
Quote:
Originally Posted by cbs
There is NO need to decompress or decrypt the WHOLE file to check if password is valid. One block is enough.
So there is no difference what is being bruteforced - tiny or huge archive.
Wrong. There is no "blocks" - winrar compress whole file at once, and known checksum (crc32) is for whole uncompressed file too.
Ofcourse you can try bruteforce smaller file in archive, or try found "stored" (uncompressed, only encrypted) files, but if such files absent in arc? =)

Last edited by Dr.Golova; 11-03-2005 at 17:41.
  #4  
Old 11-03-2005, 20:58
hosiminh hosiminh is offline
Friend
 
Join Date: Aug 2004
Posts: 202
Rept. Given: 2
Rept. Rcvd 1 Time in 1 Post
Thanks Given: 0
Thanks Rcvd at 4 Times in 4 Posts
hosiminh Reputation: 1
Exclamation

@cbs

Lets find out if you statement is true ; here is small rar archive packed with Winrar 3.x (max. compression , solid archive +password (encrypt file names) (14 chars long , chars are numbers+small letters)

Give me what is inside and i will believe you.
Attached Files
File Type: rar what_is_inside.rar (12.8 KB, 8 views)

Last edited by hosiminh; 11-03-2005 at 21:01.
Closed Thread

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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Best way to get a rar password? Rhodium General Discussion 4 01-27-2004 22:57
Help with 60 minutes timelimit on a plugin crille General Discussion 4 08-23-2002 03:42


All times are GMT +8. The time now is 04:11.


Always Your Best Friend: Aaron, JMI, ahmadmansoor, ZeNiX, chessgod101
( Since 1998 )