Hacking Bug in OpenSSL

If you are in this sub forum of hacking, do you even understand this thread?


  • Total voters
    18
  • Poll closed .

Bug_Checker_

Well-Known Member
Member
Joined
Jun 10, 2006
Messages
950
Reaction score
446
Trophies
1
XP
674
Country
United States
For those people who maybe messing around with naehrwert's gateway stuff, This is just a heads up. There appears to be a bug in the latest (11-Feb-2013) OpenSSL ver 1.0.1e (only tested on Win64 build).
the error is as follows:

bad decrypt
11016:error:06065064:digital envelope routines:EVP_DecryptFinal_ex:bad decrypt:.\crypto\evp\evp_enc.c:539:
error in enc

It will truncate the decrypted launcher file by 16 bytes. The work around is to pad the ENCRYPTED file by 16 null bytes(00). You will still receive the above error message but the file will be identical to release launcher_dec.bin.
 
Sorry, (just to amend my earlier post) simply adding the "nopad" switch seems to solve the problem w/o having to append any info to original file.
So for IV=00 :
openssl enc -d -aes-128-cbc -K <key> -iv 00 -nopad -in <infile> -out <outfile>
or
enc -d -aes-128-cbc -K <key> -iv 00 -nopad -in <infile> -out <outfile>
 

Site & Scene News

Popular threads in this forum