0

I have an application that use EXE file in it. I want to secure EXE file, I encrypt file but it should be decrypted to use in the program, so I have to create temporary EXE file in to hard disk.

my questions are:

1) How can I create it in memory that no one can access to it? (EXE file uses commands to run)

2) How can I run this file from locked folder without unlocking folder?

Sil3nT
  • 53
  • 1
  • 5
  • Check [this](https://stackoverflow.com/questions/3553875/load-an-exe-file-and-run-it-from-memory) question. – Xaqron Dec 09 '19 at 07:03

2 Answers2

0

One thing you can do is to change its permissions such that only administrators can access the file.

Then run the program as administrator.

alshaboti
  • 643
  • 8
  • 18
0

Use VeraCrypt (or another TrueCrypt clone). Create an image and put the file into it. It will be encrypted this way. If you want to use it, mount it as a drive and run the exe file inside.

Marek Puchalski
  • 3,286
  • 2
  • 26
  • 35