Hide your powershell script in plain sight! Invisi-Shell bypasses all of Powershell security features (ScriptBlock logging, Module logging, Transcription, AMSI) by hooking .Net assemblies. The hook is performed via CLR Profiler API.
git clone https://github.com/OmerYa/Invisi-Shell.git
Project was created with Visual Studio 2013. You should install the Windows Platform SDK to compile it properly.
- Copy the compiled InvisiShellProfiler.dll from /x64/Release/ folder with the two batch files from the root directory (RunWithPathAsAdmin.bat & RunWithRegistryNonAdmin.bat) to the same folder.
- Run either of the batch files (depends if you have local admin privileges or not)
- Powershell console will run. Exit the powershell using the exit command (DON’T CLOSE THE WINDOW) to allow the batch file to perform proper cleanup.
Copyright (c) 2018 Javelin Networks
Copyright (c) 2016 .NET Foundation