Skip to content

Run Command Modules

Alexander edited this page Oct 17, 2018 · 1 revision

Run Command

Overview

Runs a command as new process;

PowerShell

[WheresMyImplant.Run]::RunCMD("Command", "Args")

rundotnetdll32

rundotnetdll32.exe WheresMyImplant.dll,WheresMyImplant,Run,RunCMD "Command","Args"

Run Powershell Command

Overview

Runs a powershell command in a new runspace;

PowerShell

[WheresMyImplant.Run]::RunPowerShell("CommandAndArgs")

rundotnetdll32

rundotnetdll32.exe WheresMyImplant.dll,WheresMyImplant,Run,RunPowerShell "CommandAndArgs"

Run XP_CmdShell Command

Overview

Runs a command via XP_CmdShell;

PowerShell

[WheresMyImplant.Run]::RunXpCmdShell("Server", "Database", "Username", "Password", "Command")

rundotnetdll32

rundotnetdll32.exe WheresMyImplant.dll,WheresMyImplant,Run,RunPowerShell "Server","Database","Username","Password","Command"