09.02.2014 Views

Windows sysinternals

Create successful ePaper yourself

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

276 Part II Usage Guide<br />

is explicitly denied any access to the object. Note that the legacy folder junctions described<br />

in the AccessChk section deny Everyone the List Folder permission. AccessEnum reports<br />

Access Denied if it is unable to read an object’s security descriptor.<br />

When AccessEnum compares an object and its parent container to determine whether their<br />

permissions are equivalent, it looks only at whether the same set of accounts are granted<br />

Read, Write and Deny access, respectively. If a file grants just Write Owner access and its<br />

parent just Delete access, the two will still be considered equivalent because both allow some<br />

form of writing.<br />

AccessEnum condenses the number of accounts displayed as having access to an object<br />

by hiding accounts with permissions that are duplicated by a group to which the account<br />

belongs. For example, if a file grants Read access to both user Bob and group Marketing,<br />

and Bob is a member of the Marketing group, then only Marketing will be shown in the list<br />

of accounts having Read access. Note that with UAC’s Admin-Approval Mode on <strong>Windows</strong><br />

Vista and newer, this can hide cases where non-elevated processes run by a member<br />

of the Administrators group have more access. For example, if Abby is a member of the<br />

Administrators group, AccessEnum will report objects that grant Full Control explicitly to<br />

Abby as well as to Administrators as granting access only to Administrators, even though<br />

Abby’s non-elevated processes also have full control.<br />

By default, AccessEnum shows only objects for which permissions are less restrictive than<br />

those of their parent containers. To list objects for which permissions are different from their<br />

parents’ in any way, choose File Display Options from the Options menu and select Display<br />

Files With Permissions That Differ From Parent.<br />

Because access granted to the System account and to other service accounts is not usually of<br />

interest when looking for incorrect permissions, AccessEnum ignores permissions involving<br />

those accounts. To consider those permissions as well, select Show Local System And Service<br />

Accounts from the Options menu.<br />

Click a column header to sort the list by that column. For example, to simplify a search for<br />

rogue Write permissions, click on the Write column, and then look for entries that list the<br />

Everyone group or other nonadministrator users or groups. You can also reorder columns by<br />

dragging a column header to a new position.<br />

When you find a potential problem, right-click the entry to display AccessEnum’s context<br />

menu. If the entry represents a file or folder, clicking Properties displays Explorer’s Properties<br />

dialog box for the item; click on the Security tab to examine or edit the object’s permissions.<br />

Clicking Explore in the context menu opens a <strong>Windows</strong> Explorer window in that folder. If the<br />

entry represents a registry key, clicking Explore opens Regedit and navigates to the selected<br />

key, where you can inspect or edit its permissions. Note that on <strong>Windows</strong> Vista and newer,<br />

AccessEnum’s driving of the navigation of Regedit requires that AccessEnum run at the same<br />

or a higher integrity level than Regedit.<br />

www.it-ebooks.info

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

Saved successfully!

Ooh no, something went wrong!