• caglararli@hotmail.com
  • 05386281520

How to decrypt a file to memory and run it from memory?

Çağlar Arlı      -    15 Views

How to decrypt a file to memory and run it from memory?

How someone might run an encoded executable, mp3, or any other file safely in memory after being decrypted.

A use case might be someone trying to make code or a file only usable through their service or software, which is my case, I don't want a user to simply steal my code so when stored on their filesystem my goal is for it to be encrypted. But the big problem with that is that I'm not sure how to decrypt it and run it without it touching the disk.

I have done some research and haven't really found a clear or well explained solution to the problem, the only solution I found was outdated and turned out the decrypted file was actually written to the disk at one point in the process of the "solution".

So if anyone has any solution to this problem I would very much appreciate it as my research has failed me.