When running the following from the command line in Windows XP (to another XP machine):

net use "\\IP\c$" MyPassword /user:TheUser

Is the password passed securely? If not, is there a secure way?

link|improve this question

71% accept rate
feedback

1 Answer

up vote 2 down vote accepted

No, that will be seen by any packet sniffing tool out there. However, Net Use "\ip\c$\" should attempt to authenticate you as the current logged in user. if that does not work, (or you manually specify a different user with /user:theUser) a password prompt should pop up. That should be secure. Just click "remember this password"

link|improve this answer
Out of interest: How does Windows hide the password when it passes it from the password prompt? – Umber Ferrule Feb 23 '11 at 18:47
1  
it does not actually pass the password, but a 'hash' of the password. It can then compare the hash it received to the one that is stored for that user. (see en.wikipedia.org/wiki/Cryptographic_hash_function) for an explanation of hashes. – Brian Feb 23 '11 at 21:31
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.