Giter VIP home page Giter VIP logo

aes-encoder's Introduction

AES-Encoder ๐Ÿ”’

PowerShell Crypter

Make your own crypter

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
  • Unicode Encoding
  • Math Obfuscation
  • HTML Encoding

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

aes-encoder's People

Contributors

chainski avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

aes-encoder's Issues

Not working

Dude this crypter is not working. i encrypted my executable by this crypter and now i can't able to run it.

Detection

Bro can this really bypass av engines ?? does this crypter still work ??

What after encryption ?

I have encrypt file as mentioned in your README.md file, but what after that, how I can run the script after encryption ? it will be useful if you add it in the README.md file.

its not working

i believe it may be because of my powershell version but idk

At C:\Users\YO\Desktop\enc.ps1:140 char:22
+         Write-Host "[*] Reading '$($infile)' ..."
+                      ~
Array index expression is missing or not valid.
At C:\Users\YO\Desktop\enc.ps1:233 char:40
+             $code_alternatives += '    for (${48} = 0; ${48} -lt ${43 ...
+                                        ~~~
Unexpected token 'for' in expression or statement.
At C:\Users\YO\Desktop\enc.ps1:234 char:44
+             $code_alternatives += '        ${45}[${47}] -bxor ${43}[$ ...
+                                            ~~~~~
Unexpected token '${45}' in expression or statement.
At C:\Users\YO\Desktop\enc.ps1:234 char:75
+ ... de_alternatives += '        ${45}[${47}] -bxor ${43}[${48}]' + "`r`n"
+                                                                ~~~~~~~~~~
Unexpected token '' + "`r`n"
            $code_alternatives += '' in expression or statement.
At C:\Users\YO\Desktop\enc.ps1:235 char:44
+             $code_alternatives += '        ${47}++' + "`r`n"
+                                            ~~~~~~~~~~~~~~~~~
Unexpected token '${47}++' + "`r`n"
            $code_alternatives += '' in expression or statement.
At C:\Users\YO\Desktop\enc.ps1:235 char:51
+             $code_alternatives += '        ${47}++' + "`r`n"
+                                                   ~~~~~~~~~~
Unexpected token '' + "`r`n"
            $code_alternatives += '' in expression or statement.
At C:\Users\YO\Desktop\enc.ps1:236 char:44
+             $code_alternatives += '        if (${47} -ge ${45}.lENGTh ...
+                                            ~~
Unexpected token 'if' in expression or statement.
At C:\Users\YO\Desktop\enc.ps1:237 char:48
+             $code_alternatives += '            ${48} = ${43}.lENgth'  ...
+                                                ~~~~~
Unexpected token '${48}' in expression or statement.
At C:\Users\YO\Desktop\enc.ps1:237 char:68
+ ...     $code_alternatives += '            ${48} = ${43}.lENgth' + "`r`n"
+                                                                ~~~~~~~~~~
Unexpected token '' + "`r`n"
            $code_alternatives += '' in expression or statement.
At C:\Users\YO\Desktop\enc.ps1:238 char:44
+             $code_alternatives += '        {18}' + "`r`n"
+                                            ~
Unexpected token '{' in expression or statement.
Not all parse errors were reported.  Correct the reported errors and try again.
    + CategoryInfo          : ParserError: (:) [], ParentContainsErrorRecordExcepti
   on
    + FullyQualifiedErrorId : MissingArrayIndexExpression

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.