Obfuscation When Creating an EXE?

This forum can be browsed by the general public. Posting is limited to current SAPIEN license holders with active maintenance and does not offer a response time guarantee.
Forum rules
DO NOT POST LICENSE NUMBERS, ACTIVATION KEYS OR ANY OTHER LICENSING INFORMATION IN THIS FORUM.
Only the original author and our tech personnel can reply to a topic that is created in this forum. If you find a topic that relates to an issue you are having, please create a new topic and reference the other in your post.

Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
This topic is 2 years and 6 months old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.
castillocaleb
Posts: 4
Last visit: Wed Sep 01, 2021 7:34 am

Obfuscation When Creating an EXE?

Post by castillocaleb »

Product, version and build: PowerShell Studio 5.8.193
Operating system: Windows 10 64-bit
PowerShell version(s): 5.1.19041.1023

Does anybody have a way to obfuscate their code when creating an EXE through PowerShell Studio?
User avatar
brittneyr
Site Admin
Posts: 1654
Last visit: Wed Mar 27, 2024 1:54 pm
Answers: 39
Been upvoted: 30 times

Re: Obfuscation When Creating an EXE?

Post by brittneyr »

At this point in time, this is no direct built-in support for obfuscation. This may change in the future.

After some quick research, there seems to be some open source projects for this:
https://github.com/JoelGMSec/Invoke-Stealth
https://github.com/klezVirus/chameleon

To use something like this with PowerShell Studio, you would have to obfuscate the script to a second file and then use the obfuscated file to create the packaged executable.

It is possible to create some custom menu action that accomplishes this:

https://www.sapien.com/blog/2016/05/23/ ... -the-menu/
Brittney
SAPIEN Technologies, Inc.
This topic is 2 years and 6 months old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.