Re: Anonymous Enumeration of accounts and shares

Tech-Archive recommends: Speed Up your PC by fixing your registry

From: Steven L Umbach (n9rou_at_nospam-comcast.net)
Date: 02/22/05


Date: Tue, 22 Feb 2005 13:54:10 -0600

You can't lock down anonymous access any more than that for a Windows 2003
Server. You might want to check Local Security Policy on your Windows 2003
domain controller via secpol.msc to make sure that those security option
settings are being applied. I know that Windows 2000 had a security option
for additional restrictions for anonymous access that could be set to no
access without explicit anonymous permissions. That setting definitely did
block anonymous access so much so that domain networking did not sometimes
work correctly when configured on domain controllers depending on domain
makeup. That option was removed from Windows 2003 probably due to the
experience with Windows 2000. Supposedly do not allow anonymous enumeration
of SAM accounts/Shares was supposed to be as restrictive but I have not
found that to be the case as I can create a null session to Windows 2003
when that security option is enabled via [ net use \\dc1\ipc$ "" /user:"" ].

 In my opinion as long as your perimeter firewall is correctly configured
which will prevent users from untrusted networks from using null sessions,
the risk is very low if you enforce complex passwords, etc. The whole null
session vulnerability used to be a big deal a few years back when users had
their computers and networks exposed to the internet without a firewall and
did not enforce strong passwords or did not use passwords at all. Firewalls,
complex password enforcement, and the use of technologies such as ipsec on
the network can effectively mitigate the risk of null sessions. --- Steve

"greg" <Goo@tuxiecomputing.com> wrote in message
news:6431c9ad.0502220625.649ae983@posting.google.com...
> "Steven L Umbach" <n9rou@nospam-comcast.net> wrote in message
> news:<#c7zUW4FFHA.392@TK2MSFTNGP14.phx.gbl>...
>> By default Windows 2003 will only restrict access allow anonymous
>> enumeration of sam accounts. You might also want to enable the security
>> option for do not allow anonymous enumeration of sam accounts and shares
>> in
>> Domain Controller Security Policy. Also make sure that you are indeed
>> using
>> a null session. You could verify that by going to the domain controller
>> and
>> using Computer Management looking at shared folders/sessions to see how
>> the
>> IPC$ connection is being authenticated.
>>
> Hello Steve,
>
> Thanks,
>
> I already have the following in both domain controller policy and
> doamin policy.
> Allow Anonymous SID/Name translation: DISABLED
> Do not allow anonymous enumeration of SAM accounts: ENABLED
> Do not allow anonymous enumeration of SAM accounts/Shares : ENABLED
> Let everyone permissions apply to anonymous users: DISABLED
>
> Which is why I cant understand what is happening here.
>
>> While restricting access for anonymous access to sam/shares makes sense
>> when
>> it can be done it is part of security through obscurity. A properly
>> configured firewall will not allow users from untrusted networks to use
>> null
>> sessions to enumerate user accounts/shares. Ultimately you need to rely
>> on
>> enforcing strong password policy in the network, share/ntfs permissions,
>> group membership, user rights, the use of auditing, etc. to protect your
>> recourses.
>
> I could not agree more, Group policy protects all the workstations,
> but the DC is a potential source of failure here. Teh firewall can be
> tightened to prevent this happening. SP1 for 2003 is supposed to
> implement the WinXP SP/2 firewall so we already have a rule set that
> we can apply to the DC's then,
>
> Thanks for your comments,
> Dave.



Relevant Pages

  • Group Policy Case Solved
    ... I began with the "Security Options" under the Computer ... I modified the group policy from my Windows XP Pro workstation using ... many more settings than Windows 2000 does; ...
    (microsoft.public.win2000.security)
  • Re: Viewing Local Security Policy on Windows 2003 Member Server?
    ... Windows ships with a default security set up that is defined by regular security templates, ... Those templates can be view using the Security Templates editor MMC snap-in and can show you what the default settings are prior to joining a domain. ... Script Group Policy Settings with the GPExpert Scripting Toolkit for PowerShell! ... Visit the GPOGUY: http://www.gpoguy.com -- The Windows Group Policy Information Hub: ...
    (microsoft.public.windows.group_policy)
  • Re: what is reset account?
    ... No I don't think that policy value was available in Windows 2000. ... I believe the policy was added in K3, but the reg value works in 2K as well as NT. ... windows 2000 server security options. ... deployed based on computer account. ...
    (microsoft.public.win2000.active_directory)
  • Re: Locked out of Computer - "Deny logon locally = Administrator"
    ... Windows 2000 on it. ... How do I access the NTFS security dialog? ... to use Local Security Policy utility to change that XP ...
    (microsoft.public.win2000.security)
  • Re: How to prevent "null sessions" to XP Workstation?
    ... Take a look at the various security options for restricting anonymous access in ... granular control to anonymous access which may be necessary in certain network ... other security options. ... > I'd like to know how to prevent Windows XP workstations ...
    (microsoft.public.windowsxp.security_admin)