Subscribe to Windows IT Pro

 

Get Newsletters

  • Get the Latest News
  • Product Updates
  • Helpful Tricks
  • Productivity Tips

Subscribe Now!

March 20, 2006 12:00 AM

Locating the User Causing Failures on a Folder

Windows IT Pro
InstantDoc ID #49196
Rating: (0)

We have auditing enabled on a certain folder, and we're seeing frequent access failures—event ID 560 (object open)—for a certain user account. But we don't know what system this user is logged on to or what he or she is doing to create the access failures. How can we find out?

The best way to determine what the user is actually doing to cause the access failure is to find out what program she's using to try to open the object. Event ID 560 provides both the ID of the user's logon session (Logon ID) and the ID of the process attempting to access the file (Process ID). Find the corresponding logon event to find out the type of logon session (e.g., interactive, Terminal Services, network share, service). The logon event on Windows Server 2003 also provides the IP address of the user's client computer if the user isn't already logged on at the console of the local system.

First, make sure Audit logon events is enabled in Local Security Policy\Local Policies\Audit Policy or within an applicable GPO under Computer Configuration\Windows Settings\Security Settings\Local Policies\Audit Policy. (If it isn't, you'll need to turn it on and wait until a few more event ID 560s show up before proceeding.) Then take note of the Primary Logon ID and Client Logon ID fields in event ID 560. Use the Client Logon ID value if there is one, otherwise use the Primary Logon ID.

Next, look for a previous instance of event ID 540 (successful network logon) or event ID 528 (successful logon) with the same logon ID. The time of the event is the time when the account logged on. The Logon Type field in the event will tell you how the user logged on. For a list of Logon Type values and their meanings, go to https://www.ultimatewindowssecurity.com/logontypes.html. The logon type helps you determine where the user is. For example, a Logon Type value of 2 tells you that the access attempt originated on the local system. If the logon type value indicates a logon from somewhere else on the network, such as Logon Type 3 (Network) or Logon Type 10 (Terminal Services), look further down the event description and you'll find the Source Network Address field, which reveals the IP address of the computer from which the user logged on to the system that generated the event.

On Windows 2003, event ID 560 adds the Image File Name field, which identifies the executable that attempted to access the file. If you're running Windows 2000, you can discover the executable by enabling Audit process tracking, then looking for an event ID 592 (a new process has been created) that precedes the event ID 560 that you're interested in and that has the same Process ID value. Event ID 592 reports the full path of the executable.

Related Content:

ARTICLE TOOLS

Comments
    There are no comments to display. Be the first one!
You must log on before posting a comment.

Are you a new visitor? Register Here

advertisement

advertisement

White Papers

Get your Windows 7 deployment off to the right start by implementing PC lockdown. A locked-down environment is easier and cheaper to support since users are less likely to make unnecessary changes to the core system configuration - read more here!

Essential Guides

Is your iSCSI "lossy"? The reality is that most off-the-shelf Ethernet hardware deployed for iSCSI can lose packets, resulting in slow performance or application downtime. Learn how to assess your current iSCSI infrastructure and engineer an advanced iSCSI SAN infrastructure.

Web Seminars

What's the best way to keep your network safe from malware? In this web seminar, security expert Greg Shields suggests an alternative method to the traditional blacklisting approach that is common with anti-virus and anti-malware solutions.

eLearning Series

We bring the experts direct to you to share their real-world perspective and expertise. During each event, three sessions stream in real time, so you can learn, ask questions, and get solutions.
Upcoming event: Getting the Most with Exchange 2010 with Paul Robichaux

Subscribe to Windows IT Pro!

Windows is a trademark of the Microsoft group of companies. Windows IT Pro is used by Penton Media Inc. under license from owner.