News:

MASM32 SDK Description, downloads and other helpful links
MASM32.com New Forum Link
masmforum WebSite

Encryption

Started by oracle_dfx, October 17, 2005, 08:54:39 PM

Previous topic - Next topic

oracle_dfx

Is there a way to  encrypt a program while it is passive and decrypt it while active, like hiding my clock,encrypted, then pressing F5, decrypt, clock shown for 2 secs?

bozo

You could do this in various ways.

First that comes to mind, would be a symmetric block cipher like DES/Blowfish used to encrypt code stored in a block of memory,
and on call to the routine, decrypt it, run it.

if you think about it, and can program already, its not that difficult, but why you want to do this is another matter.

for example, if its to protect your code from a cracker, then you have much work to do, as it is virtually impossible
to protect software today from being cracked.

and you will need to study alot of unorthodox programming methods, polymorphic/metamorphic engines, usually all by yourself.
however there are plenty of resources out there on the net, to get you started.

although, i can't provide any links. sorry!

oracle_dfx

Thanks for the info. Yes it is almost impossible to prevent software from being cracked.
I have a program that is run automatically at start up and whenever i play gunbound it gets detected as a game hack. but when I play ragnarok it doesnt get any errors. weird. so instead of not running my program i want it to be encrypted whenever im not using it and decrypted when i start typing passwords and chatting. or whenever i press a certain key, it gets decrypted and encrypts back 3 seconds after i let go of the key. I'm currently studying what this blowfish is anyway, hope it helps.

hutch--

oracle,

Try stuffing it through an EXE compressor and see if that works.
Download site for MASM32      New MASM Forum
https://masm32.com          https://masm32.com/board/index.php