F.A.Q - PowerShell Script Obfuscation (Obfuscate, Protect PowerShell Script Source Code)
- Online Submissions
- This is an ideal option if you wish to simply upload your powershell scripts to the enscrypt.io web interface. With this option, you can submit up to the number of unique scripts allowed under the plan you purchased.
- OnPrem Licenses
- This option allows for the usage of the powershell script Obfuscator on your own private hosts. No need to upload any script to our web portal.
- This is a great option for users who do NOT wish to externally upload scripts they believe to be extremely sensitive. It is also the ideal choice for businesses with a large, increasing number of powershell scripts to obfuscate.
- You will be permitted to use the AtShai PowerShell Obfuscator for as long as the license period is valid. And yes, there is currently NO limit to the number of scripts you can obfuscate using the OnPrem license.
While this has a modicum of truth to it, the reality is, no matter how smart the "hacker" is, no matter how much time they have on their hands, there is only a finite number of tactics they can employ to try to hack an obfuscated script, especially one equipped with dynamic intelligence.
So long as it remains true that there is only a limited number of ways to hack a script, our obfuscation will always prevail. We can always develop counter measures to counteract whatever loopholes a persistent hacker is able to discover. That is what we do. That is precisely what we specialize in and we have spent years perfecting the many different methodologies used in our obfuscation process.
Experience has taught us that source code security is an absolute must. It is important you, as a company or developer remain informed on where your code is being used and how it is being used. Not only will this provide you with insights on how to make your software more useful to your users, it'll also reveal the identity of any nefarious entity seeking to gain unauthorized access to your intellectual property and the frequency of such misbehaviors.
As of November 2021, when you search for the term 'powershell obfuscator', most of the results you'll be confronted with are very misleading. Thus, its important we clarify precisely what powershell obfuscation means.
In the context of protecting source code, powershell obfuscation is the process by which any plain text (.ps1) powershell script is converted into an illegible, unreadable but executable form, which still qualifies as an actual powershell script.
In other words, powershell code obfuscation is generally done for the purpose of accomplishing one or more of the following goals:
- Prevent modifications to commercial powershell scripts
- Permanently retain the ability to sell or share powershell code, without having to worry about theft of intellectual property
- Gathering usage metrics on protected powershell code, once it is shared with the external/outside world
- Regulate how long the commercial powershell scripts can be used
- Regulate the list of users who are authorized to run/execute the protected powershell scripts
- Regulate where (on which hosts) the obfuscated powershell scripts can be used
- It has either expired or had its name changed to a name different from the name given to it during obfuscation.
- Once a script is obfuscated, you cannot rename the obfuscated script. If you do, it will not function.
- Once a script expires, to regain the functionaility it provides, you must re-obfuscate it and be mindful of the expiration date.
- An attempt was made to tamper with it in order to figure out how it works.
- We are quite aware that our obfuscation methodology is unique and there is absolutely nothing like it anywhere else on the internet. For this reason, there will be many hackers who will try to break it apart in an effort to replicate it or for some other nefarious reason.
- To successfully combat this, a series of sensitivity checks are included in all AtShai.com protected scripts. What that means is, whenever our obfuscation mechanism detects that a user is performing hack attacks on an obfuscated script, we will automatically cause the script to self destruct.
5). After obfuscation, will my powershell script operate exactly as it did before it was obfuscated?
- The name of the interpreted language your script is written in
- A sample code written in this interpreted language
- How you normally go about running the script
- The OS(es) you intend to run the obfuscated scripts on
- Date Management - Assign expiration dates to your .ps1 powershell scripts
- License Management - Regulate the redistribution of all scripts
- User Management - Restrict usage of your powershell scripts to specific Users
- Host Management - Restrict usage of your scripts to specific Hosts and Servers
- Duplication Prevention - Prevent multiple copies of your scripts, Safeguard the name given at the time of obfuscation.
- Instance Management - Restrict simultaneous or multiple running instances of your scripts
- Tamper Resistance - Auto self-destructs whenever a user tries to figure out how it works
- We monitor for this and we block them at every turn.
- Access Management - Remotely disable script usage if user is found to be in violation of licensing terms.
- Some users have nefarious intentions when they purchase online software. Upon purchasing a software, these users typically request a refund immediately after. And after the refund is given, they continue to use the software.
- AtShai.com puts an end to this. Our customers have the option to make their script require internet connectivity.
- If a customer opts to make her script require internet connection, then users of the script will NOT be able to run it if they're not connected to the internet.
- Report Generator - Get a dashboard that details where your script(s) are being used.
- If your script(s) were meant to be used at the office in San Francisco but you find out they are now being used in France as well, you might want to know how that happened.
-
a) Ensures an obfuscated script does not function if it detects that a necessary tool on the system has been altered
-
Example:
-
Some users may build a modified version of a binary and then try to use that version to investigate our obfuscation/obfuscation algorithm.
-
- The tamper resistance feature will detect this and will stop the script from working!
-
b) Ensures that a protected script never works if the user is doing anything other than running it.
-
- There are many interesting ways users can attempt to break a protected script.
-
c) Ensures it is impossible for any user to modify a protected script
-
- This provides script owners control of their commercial scripts in case a user misbehaves.
-
a). Know when your script is being illegally used
- If you are actually able to successfully unlock any of our obfuscated scripts in under 60 days.
- Under this scenario, to qualify for the refund, we'll need to see proof.
- Protect sensitive information and intellectual property
- Eliminate the ability of others to keep tabs on you, if you work in a lab-like environment where everyone has root access
-
Our obfuscation tool ensures even those with root privileges cant view your scripts
- Hide passwords from public view, make it impossible for anyone to access them
- Sell your scripts to a third party without giving away any proprietary information
- Get alert notifications - Create records of attempts of intellectual thievery
-
Our obfuscation tool ensures even those with root privileges cant view your scripts
- A script obfuscated by AtShai.com is protected under the expectation it is only to be executed, not inspected. When a user of an obfuscated script tries to break it apart to see how it works, a record of such attempt will be logged.
- This option will allow you to upload powershell scripts of all types to our web interface for immediate obfuscation
- This option will enable you to avoid submitting any extremely sensitive scripts to our website
-
It allows you to obfuscate as many scripts as you need, right from your own private host.
- Rely on permissions/ownership as your only means of protection
- Use an open-source obfuscation method - which makes your scripts more likely to be successfully hacked!
Code Obfuscation
A FREE online portal for uploading and obfuscating PowerShell scripts (.ps1) is now available!
- Click here to go directly to the Upload portal.
Online Solution (Basic)
Developers / Engineers
- Online access to the AtShai PowerShell Obfuscator
- Upload the list of .ps1 scripts you wish to obfuscate
- Resubmit the same scripts as many times as needed
On-Prem Licenses
- Licensed copy of the AtShai PowerShell Obfuscator.
- Designed for use on private hosts / servers.
- Command-line friendly - Just feed it a script/dir
- Easy integration with CI/CD pipelines
- Designed specifically for clients who do not wish to externally upload extremely sensitive scripts
Custom Solutions
We provide custom options for clients with specific requirements. Contact us for more information if any of the following applies to you:
- Your preferred programming language is not listed. Reach out to us to submit an obfuscator development request
- You require custom modifications (change of existing features) to the Obfuscator to better accommodate the needs of your company
- You wish to formally submit a support ticket for a feature request which currently isn't available