Impacket — smbexec
How It Works
- Creates a service on target via SMB
- Service executes command, output redirected to file
- Reads output via SMB
- Deletes service
cmd.exe /Q /c.
SMBExec lateral movement: command execution via SMB service creation without binary upload.
cmd.exe /Q /c.