bruteforce-salted-openssl icon indicating copy to clipboard operation
bruteforce-salted-openssl copied to clipboard

aes-256-cbc: is not a salted openssl file

Open blshkv opened this issue 6 years ago • 4 comments

Hi,

I have an encrypted file which supposedly can be decrypted with the following command: openssl aes-256-cbc -K my_key -iv my_iv -in my_key.enc -out my_key -d

However, then I run the bruteforcer (bruteforce-salted-openssl -t 4 -c aes-256-cbc my_key.enc), I'm getting the following: Error: my_key.enc is not a salted openssl file

Any ideas?

blshkv avatar Jan 06 '19 00:01 blshkv

Currently, user supplied raw IVs are not implemented.

Two types of openssl encryption are supported so far:

  • files encrypted with e.g. openssl enc -aes256-cbc -in clear.dat -out encrypted.dat, these encrypted files start with Salted__
  • files encrypted with the -nosalt option, in which case the -n option must be passed to bruteforce-salted-openssl

glv2 avatar Jan 07 '19 14:01 glv2

I guess, this bug will be about implementing such support. This is something like good to have and not urgent

blshkv avatar Jan 07 '19 15:01 blshkv

Hi, how to put the nosalt option ? bruteforce-salted-openssl -t 4 -c aes-256-cbc my_key.enc how do i modify this cmd ?

JasonLeeWeiHern avatar Feb 25 '20 20:02 JasonLeeWeiHern

@JasonLeeWeiHern bruteforce-salted-openssl -n -t 4 -c aes-256-cbc my_key.enc

glv2 avatar Feb 27 '20 19:02 glv2