Re: File sharing, major security issue
From: Jeff Cochran (jcochran)
Date: 11/04/02
- Next message: GibMaster: "Re: problem with client certificates"
- Previous message: Michael Laing [MS]: "RE: Multiple password problems"
- In reply to: JMclaren: "File sharing, major security issue"
- Next in thread: Karl Levinson [x y] mvp: "Re: File sharing, major security issue"
- Reply: Karl Levinson [x y] mvp: "Re: File sharing, major security issue"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
From: jcochran at naplesgov dot com (Jeff Cochran) Date: Mon, 04 Nov 2002 19:40:09 GMT
>I have discovered that each file directly under my
>document root is shared via windows file sharing (kind
>of) its not like the drive (I use a separate partition) is
>shared but each folder right under the root of the drive
>is shared. So as you can see this is very bad, anyone
>who knows to type "\\IP" will see the directory listing
>and have full read write access. I have played with
>windows file sharing for hours with no luck. I even
>removed the protocol from the system, but it didn't
>help.
Closing ports 137-139 in your firewall will help. :)
Properly configuring your system to eliminate the shares is part of a
normal hardening process. Use the checklists at
http://www.microsoft.com/security/ to help.
>I came to notice that each drive is shared using a
>name that starts with a special character. I have seen
>this before and figured it was just how IIS worked, but
>if I disable it (after being alerted that the share was
>created by an administrator) the file sharing will stop,
>BUT regular web access continues, this doesn't help
>me though because it will be back on the next time the
>server re-boots. The permissions for the file sharing
>seem to be set by IIS though, so if I disable write
>access, you cant write via the file sharing.
This is the admin share. Check the Windows Admin groups or a Google
search, disabling the automatic admin share is a simple registry
change.
>The only thing I have to go on is a 'proclaimed hacker'
>defaced a site i host, i keep a regular backup system
>going, so that wasn't a problem, but still if this is a
>hacker, how did it happen and how can I prevent it
>again?
It happened because there was a hole. Plug the hole and it won't
happen again. At least through that hole.
Check log files for access to see how they got in. It could be any of
a number of hacks, including the Windows
>I'm not sure if I'm crazy or if this is a real issue, but I
>really want to thank anyone who is willing to help.
It's a real issue, but one that's easily fixed.
Jeff
- Next message: GibMaster: "Re: problem with client certificates"
- Previous message: Michael Laing [MS]: "RE: Multiple password problems"
- In reply to: JMclaren: "File sharing, major security issue"
- Next in thread: Karl Levinson [x y] mvp: "Re: File sharing, major security issue"
- Reply: Karl Levinson [x y] mvp: "Re: File sharing, major security issue"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|