19.04.2013 Views

2KKUU7ita

2KKUU7ita

2KKUU7ita

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

214<br />

Part IV: Hacking Operating Systems<br />

Checking Share Permissions<br />

Windows shares are the available network drives that show up when users<br />

browse the network in My Network Places. Windows shares are often misconfigured,<br />

allowing more people to have access to them than they should. The<br />

casual browser can exploit this security vulnerability, but a malicious insider<br />

gaining unauthorized access to a Windows system can result in serious security<br />

and compliance consequences, including the leakage of sensitive information<br />

and even the corruption or deletion of critical files.<br />

Windows defaults<br />

The default share permission depends on the Windows system version.<br />

Windows 2000/NT<br />

When creating shares in Windows NT and Windows 2000, the group Everyone<br />

is given Full Control access in the share by default for all files to<br />

✓ Browse files<br />

✓ Read files<br />

✓ Write files<br />

Anyone who maps to the IPC$ connection with a null session (as described<br />

in the previous section, “Null Sessions”) is automatically made part of the<br />

Everyone group. This means that remote hackers can automatically gain<br />

Browse, Read, and Write access to a Windows NT or Windows 2000 server<br />

after establishing a null session.<br />

Windows XP and newer<br />

In Windows XP and newer (Windows Server 2008 R2, Windows 7, and so on),<br />

the Everyone group is given only Read access to shares. This is definitely an<br />

improvement over the defaults in Windows 2000 and Windows NT. However,<br />

you still might have situations in which you don’t want the Everyone group to<br />

have Read access to a share.<br />

Share permissions are different from file permissions. When creating shares,<br />

you have to set both. In current versions of Windows, this helps create hoops<br />

for casual users to jump through and discourage share creation, but it’s not<br />

foolproof. Unless you have your Windows desktops completely locked down,<br />

users can still share at will.

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

Saved successfully!

Ooh no, something went wrong!