19.04.2013 Views

2KKUU7ita

2KKUU7ita

2KKUU7ita

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Figure 11-9:<br />

Default local<br />

security<br />

policy settings<br />

in<br />

Windows 7<br />

that restrict<br />

null session<br />

connections.<br />

Chapter 11: Windows<br />

✓ Disable File and Printer Sharing for Microsoft Networks in the Properties<br />

tab of the machine’s network connection for those systems that don’t<br />

need it.<br />

✓ Restrict anonymous connections to the system. For Windows NT and<br />

Windows 2000 systems, you can set HKEY_LOCAL_MACHINE\SYSTEM\<br />

CurrentControlSet\Control\LSA\RestrictAnonymous to a<br />

DWORD value as follows:<br />

• None: This is the default setting.<br />

• Rely on Default Permissions (Setting 0): This setting allows the<br />

default null session connections.<br />

• Do Not Allow Enumeration of SAM Accounts and Shares (Setting 1):<br />

This is the medium security level setting. This setting still allows<br />

null sessions to be mapped to IPC$, enabling such tools as Walksam<br />

to garner information from the system.<br />

• No Access without Explicit Anonymous Permissions (Setting 2): This<br />

high security setting prevents null session connections and system<br />

enumeration.<br />

High security creates problems for domain controller communication<br />

and network browsing, so be careful!<br />

Microsoft Knowledge Base Article 246261 covers the caveats of using the high<br />

security setting for RestrictAnonymous. It’s available on the web at http://<br />

support.microsoft.com/default.aspx?scid=KB;en-us;246261.<br />

For later versions of Windows, such as Windows Server 2008 R2 and<br />

Windows 7, ensure that the Network Access anonymous components of the<br />

local or group security policy are set as shown in Figure 11-9.<br />

213

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!