Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/chainski/aes-encoder

PowerShell Obfuscator. A PowerShell script anti-virus evasion tool
https://github.com/chainski/aes-encoder

aes-encoder amsi-bypass av-evasion cobalt-strike crypter cryptography ctf-tools encrypt-powershell-script encryption fud hacking penetration-testing powershell powershell-bypass-amsi powershell-obfuscator powershell-tools red-team security security-tools xencrypt

Last synced: 4 days ago
JSON representation

PowerShell Obfuscator. A PowerShell script anti-virus evasion tool

Awesome Lists containing this project

README

        







AES-Encoder 🔒




## PowerShell Crypter

[Make your own crypter](https://netsec.expert/2020/02/06/write-a-crypter-in-any-language.html)

## Original Features

- Bypasses All modern AVs in use on VirusTotal
- Compresses and encrypts powershell scripts
- Has a minimal and often even negative (thanks to the compression) overhead
- Randomizes variable names to further obfuscates the decrypter stub
- Randomizes encryption, compression and even the order that the statements appear in the code for maximum entropy!
- Super easy to modify to create your own crypter variant
- Supports recursive layering (crypter crypting the crypted output)
- Supports Import-Module as well as standard running as long as the input script also supported it
- GPLv3 - Free and Open-Source!
- All features in a single file so you can take it with you anywhere!

## Added Features
- AMSI Bypass
- Math Obfuscation

## Usage

```
Import-Module ./AES-Encoder.ps1
Invoke-AES-Encoder -InFile invoke-mimikatz.ps1 -OutFile aesmimi.ps1
```

You will now have an encrypted aesmimi.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 ./AES-Encoder.ps1
Invoke-Mimikatz
```
It also supports recursive layering via the -Iterations flag.

```
Invoke-AES-Encoder -InFile invoke-mimikatz.ps1 -OutFile aesmimi.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.**

### DISCLAIMER !!!

**This tool is for educational use only, the author will not be held responsible for any misuse of this tool.**

## Credits
- [Xentropy](http://twitter.com/SamuelAnttila)
- [SecForce](http://twitter.com/SECFORCE_LTD)