Read and write the remote registry over SMB to query keys or dump SAM, SYSTEM, and SECURITY hives
Command: Linux copy
impacket-reg $DOMAIN/$USER:$PASSWORD@$IP query -keyName 'HKLM\SOFTWARE' -s
References: