Re: Scan for Windows (SMB) Shares

[email protected]
Newsgroups gmane.comp.security.nessus.general
Message-ID <OFC0155215.CB63D104-ON072574CE.0071ECEB-072574CE.007264EE@cityofmesa.org>
Just a guess -- but I would try enumerating the shares via null session 
(see foundstone/superscan free tool) to see if the share is visible to 
everyone without any authentication.

Remotely, you can "learn" the shares on a windows box in a few ways:

a) You set it up/someone told you -- obviously, Nessus can't find that.
b) Null session -- the box will tell everyone about the shares
c) Credentials: You can log in and enumerate the shares.

So I'm guessing that on your linux box, you use a) above -- your knowledge 
that the share exists, to connect/access it.  Nessus only finds B and C, 
as far as I know.  Finding any random/open share that may have been 
created, without logging in/null sessions, would require brute forcing, 
with \\target\<dictionaryword/brute force sharename>.  Not feasible.

Make sense?






<[email protected]> 
Sent by: [email protected]
09/24/2008 01:25 PM

To
<[email protected]>
cc

Subject
Scan for Windows (SMB) Shares






I am attempting to scan the network for open SMB shares. The only plug-in 
I have enabled is ?SMB shares access.? I have set up a shared test folder 
with some mock data in it on two of my boxes and given ?Full Control? to 
?Everyone.?
 
When I scan with credentials that have local admin privileges on the box, 
I retrieve a list of the shares. 
 
When I scan without credentials or with credentials that do not have local 
admin privileges on the box I retrieve no results; however, if I try to 
access the shares from another windows box using the same (non admin on 
other machine) credentials, I am able to view and edit the share (as they 
are set to full control to everyone). 
 
Why would the results not be showing when I am purposely adding unsecure 
permissions? Is there another plug-in I should enable?
 
Thanks for your help!
Steven Moore 
       Enterprise Security Unit 
       Information Systems and Services Divistion
       Orange County Government, Florida 
 _______________________________________________
Nessus mailing list
[email protected]
http://mail.nessus.org/mailman/listinfo/nessus

_______________________________________________
Nessus mailing list
[email protected]
http://mail.nessus.org/mailman/listinfo/nessus
(unnamed) (image/gif, 2.4 KB) - not displayed
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.