Skip to content

Impacket SMBExec

Impacket SMBExec - A similar approach to PsExec without using RemComSvc. The technique is described here. This implementation goes one step further, instantiating a local SMB server to receive the output of the commands. This is useful when the target machine does NOT have a writeable share available.

Installation

Donwload from: Impacket PsExec -

Basic commands

# Get help 
impacket-smbexec -h

# Connect to a remote machine with a local administrator account
impacket-smbexec administrator:'<password>'@$ip
Last update: 2023-11-28
Created: November 28, 2023 21:35:42