the_open_door
coffee
ESEN
← Tools

smbserver.py

Spins up an SMB share to move files or capture NTLM hashes.

Stands up your own SMB server with impacket. It is used to move files to/from Windows with no Internet egress and, set as the target of a coerced authentication, to capture NetNTLM hashes.

Family Access, shells & transfer

Flags -smb2support -username -password

Concepts Pass-the-Hash

Cheatsheet File transfer

Installation

# All of Impacket's *.py tools ship in the same package:
pipx install impacket
# invoke them as impacket-<tool> or <Tool>.py depending on the packaging

Useful commands3 commands

Appears in

Some machines where its use is documented; not an exhaustive list.