Re: Double encryption method



On Jun 13, 10:57 pm, "astral" <ast...@xxxxxxxxxxxxxxxxxxxxxxxxxx>
wrote:
I am just curious about double file encryption method. For example, we have
encrypted a PE executable with some algorithm, say AES-256, then have this
encrypted file repeatedly, using the same algorithm, for more protection. At
runtime, encrypted executable are rapidly decompressed in memory.

WTF? You're trying to obfuscate the executable, I mean, to protect it
against the user running it, right? In this case, there can be no real
security and there much easier ways to crack it than cracking AES.
Using AES-256 is a clear overkill, AES-128 is fine, even using AES-128
reduced to a broken variant (with 7 rounds, IIRC) would be good
enough.

How safe
is repeated encrypting for PE-executable data integrity?

Data integrity has nothing to do with encryption here. Using AES you
can encrypt it once or thousand times, the data doesn't get corrupt
and there's no way to decrypt it without knowing the key.

Sometimes, double
encrypted executable may not always work, or works incorrectly. What are the
factors that it depends on?

There are no such factors, it's a programming bug of yours (or your
crypto vendor), maybe something with padding. From the crypto POV I'd
say just don't do it, from the programmer's POV I'd say, find the bug
anyway.
.



Relevant Pages

  • Re: FUD about CGD and GBDE
    ... And Roland made the algorithm you use for encrypting your disk ... isn't someone cracking AES but key management issues. ...
    (freebsd-hackers)
  • Re: Indentifying crpytography algorithm
    ... Please help me list ways of "Indentifying crpytography algorithm" ... hope for an all ARC4 method of keying, encrypting, and authenticating. ... No. Pubkeybreaker is correct for properly encrypted messages. ... An example would be an IV/Counter for using with AES-CTR: ...
    (sci.crypt)
  • Re: Password encoding
    ... "ccrypt is a utility for encrypting and decrypting files and streams." ... > rently DES if it is available, or MD5 if not. ... > How the salt is used will depend upon the algorithm for the hash. ...
    (FreeBSD-Security)
  • Re: recompressing the deflate streams in a PDF
    ... public key cryptography involves an algorithm that uses two ... one for encrypting and another for decrypting. ... Anybody can then *decrypt* the signature using my public ...
    (comp.text.pdf)
  • Re: Checking a foolproof algorithm.
    ... > with a limited length of decimals which actually drives the algorithm ... cipher you certainly don't want to re-use your keys... ... if you're not encrypting it then you're ... supposed to decrypt the message without the key (which is in the ...
    (sci.crypt)