/FullBypass

A tool which bypasses AMSI (AntiMalware Scan Interface) and PowerShell CLM (Constrained Language Mode) and gives you a FullLanguage PowerShell reverse shell. Feel free to DM if you find some bugs :)

Primary LanguageC#GNU General Public License v3.0GPL-3.0

FullBypass

A tool which bypasses AMSI (AntiMalware Scan Interface) and PowerShell CLM (Constrained Language Mode) and gives you a FullLanguage PowerShell reverse shell. Feel free to DM if you find some bugs :)

P.S Please do not use in unethical hacking and follow all rules and regulations of laws

Usage:

First, Download the bypass.csproj file into the victim machine (Find writeable folder such as C:\Windows\Tasks or C:\Windows\Temp). After that just execute it with msbuild.exe.

Example: C:\windows\Microsoft.NET\Framework64\v4.0.30319\msbuild.exe .\FullBypass.csproj

After that the code will do 2 things.

  1. Firstly code will bypass AMSI using memory hijacking method and will rewrite some instructions in AmsiScanBuffer fuction. With xor instruction the size argument will be 0 and AMSI cannot detect future scripts and command in powershell.

image

  1. Finally it will ask you your attacker IP and port to give you a powershell FullLanguage Mode reverse shell.

image

image

As you can see we catch powershell FullLanguageMode reverse shell.