Windows IT Pro is the leading independent community for IT professionals deploying Microsoft Windows server and client applications and technologies.
  
  
  Advanced Search 


March 20, 2006

Locating the User Causing Failures on a Folder

RSS
Subscribe to Windows IT Pro | See More Security Articles Here | Reprints | Or get the Monthly Online Pass—only $5.95 a month!
Main Article    Access Denied, April 2006

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.

End of Article



Reader Comments

You must be a registered user or online subscriber to comment on this article. Please log on before posting a comment. Are you a new visitor? Register now




Top Viewed ArticlesView all articles
WinInfo Short Takes: Week of November 23, 2009

An often irreverent look at some of the week's other news, including some post-PDC some soul searching, a Google Chrome OS announcement and a Microsoft response, Windows 7 off to a supposedly strong start, the Jonas Brothers and Xbox 360, and so much more ...

2009 Windows IT Pro Editors' Best and Community Choice Awards

Picking a favorite product from an impressive crowd of competitive offerings is never an easy task, and such was the case with our Editors' Best and Community Choice awards this year. ...

Command Prompt Tricks

One reader shares his tip for setting up the command prompt to reflect a remote path. ...


Security Whitepapers Reducing the Costs and Risks of Branch Office Data Protection

Solving Desktop Management Challenges in Healthcare

Solving Desktop Management Challenges in Education

Related Events The Easiest Way to Save Time and Money on E-mail and SharePoint Management

Introduction to Identity Lifecycle Manager "2"

PCI Requirements for Windows and Active Directory: Straight from a Certified Auditor

Check out our list of Free Email Newsletters!

Security eBooks Spam Fighting and Email Security for the 21st Century

Understanding and Leveraging Code Signing Technologies

A Guide to Windows Certification and Public Keys

Related Security Resources Introducing Left-Brain.com, the online IT bookstore
Looking for books, CDs, toolkits, eBooks? Prime your mind at Left-Brain.com

Discover Windows IT Pro eLearning Series!
Clear & detailed technical information and helpful how-to's, all in our trademark no-nonsense format


Windows IT Pro Home Register FAQ for Windows WinInfo News
Europe Edition About Us Contact Us/Customer Service Media Kit Affiliates / Licensing  
SQL Server Magazine Office & SharePoint Pro DevProConnections IT Job Hound
Left-Brain.com Technology Resource Directory asp.netPRO ITTV Windows SuperSite 
 
 Windows IT Pro is a Division of Penton Media Inc.
 © 2009 Penton Media, Inc. Terms of Use | Privacy Statement