Nmap Development mailing list archives

psexec failing against XP and seven


From: Brahim Sakka <brahim.sakka () gmail com>
Date: Mon, 23 May 2011 16:10:51 +0100

Hello list,

I'm trying to use the psexec script against Windows XP :

*# nmap -n -p139,445 --script=smb-psexec
--script-args=smbuser=user,smbpass=password,config=network target_IP* *-d*


   - user/password are credentials of an admin user.


   - Attacker machine is a fully updated ubuntu 10.10.


   - I'm using Nmap v5.51.

Here is a snippet from the output:

*NSE: SMB: Added account 'user' to account list
NSE: SMB: Extended login as \user failed (NT_STATUS_LOGON_FAILURE)

PORT    STATE SERVICE      REASON
139/tcp open  netbios-ssn  syn-ack
445/tcp open  microsoft-ds syn-ack
MAC Address: 08:00:08:8C:FB:1E

Host script results:
| smb-psexec:
|_  ERROR: Couldn't find a writable share! (May not have an administrator
account)


*I got the exact same error against Windows 7.


Anyone knows how to solve this or am I missing something obvious here?
_______________________________________________
Sent through the nmap-dev mailing list
http://cgi.insecure.org/mailman/listinfo/nmap-dev
Archived at http://seclists.org/nmap-dev/


Current thread: