0

is there any software that can be used to pack credentials into an EXE file and hide them? The executable file should then start a PowerShell script with the stored access data.

I saw something like this 15 years ago and need it today to deploy a script via Citrix VAD.

Thank you very much.

  • 3
    This sounds like an [X/Y problem](https://xyproblem.info/). What are you actually trying to achieve? – vidarlo Dec 13 '22 at 09:16
  • Requests for products are off-topic, however native executable obfuscation has been a feature of AutoIT forever. There are also open source projects that provide similar functionality. https://github.com/PELock/AutoIt-Obfuscator https://www.pelock.com/ – Greg Askew Dec 13 '22 at 12:09

2 Answers2

3

is there any software that can be used to pack credentials into an EXE file and hide them? The executable file should then start a PowerShell script with the stored access data.

If you consider this security, you're delusional. The user can easily access the content of an EXE file, either by deassembling it or using tools such as PE Explorer - or running it in a debugging environment.

You should probably figure out a better way to handle credentials.

vidarlo
  • 6,654
  • 2
  • 18
  • 31
2

credentials into an EXE file and hide them ... start a PowerShell script with the stored access data.

If you're planning to "add" the credentials into the Powershell command line then you're not "hiding" anything at all. They will still be visible to anyone with access to the server's process list.

You don't actually say what it is but, presumably, your Powershell script invokes something that needs these credentials. Whatever that is, you need to find a [better] way of getting it to handle these credentials.

Phill W.
  • 1,479
  • 7
  • 7
  • You don't understand the point – CptRetro Dec 13 '22 at 09:23
  • 2
    And what would that point be, exactly? Please don't just restate your current train of thought - tell us what you want to /achieve/ (your desired End State) and we might be able to suggest what you actually need. – Phill W. Dec 13 '22 at 09:37