When I run the winexe tool in order to remote executes commands on WIN systems from Linux
Which protocol winexe tool used ?
Not clearly from winexe doc how winexe works ( ssh protocol or RDP …etc )
winexe uses the admin$ and rpc (
The access to the admin$ share and rpc uses the normal SMB protocol (SMB1 and SMB2 in more recent versions due windows 8.1 not supporting anymore SMB1)
This is also the way that psexec work (but it uses SMB2 with fallback to SMB1 for several years)