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


January 20, 2004

Access Denied: Identifying Logon Attempts That Use Disabled Accounts

RSS
Subscribe to Windows IT Pro | See More Active Directory (AD) Articles Here | Reprints | Or get the Monthly Online Pass—only $5.95 a month!

In the Security log, which events identify attempts to log on with a disabled account?

Event ID 531, event ID 676 with failure code 0x12, and event ID 681 with error code 3221225586all indicate that someone tried to log on with a disabled account. Which event is logged depends on which versions of Windows you're using; whether you're using a domain or local account; whether you're looking at the log of a domain controller (DC), a server, or a workstation; and the computer's audit policy.

Event ID 531, which Web Figure 1 (http://www.winnetmag.com, InstantDoc ID 41276) shows, is part of the Audit logon events audit category. The Audit logon events category records attempts to log on to the local computer. For example, when you log on to your workstation's console, you generate one or more audit logon events in your workstation's Security log. When you access a shared resource on another computer on the network (e.g., map a drive to a shared folder on a file server), you generate audit logon events on that other computer regardless of whether you're using a local or domain account.

Don't confuse theAudit logon events audit category with the Audit account logon events category. You generate events in the Audit account logon events category on the computer that actually authenticates your username and password—in other words, on the computer on which the account that you're using resides. For example, when you log on to your workstation with a local user account in the workstation's SAM, you'll generate audit account logon events on that workstation. When you use a domain account to log on to the workstation, you generate audit account logon events on the DC that authenticates you. When you access a server over the network, you generate audit account logon events on the local server if you're using one of the server's local accounts, such as Administrator, to log on. But if you're using a domain account to log on, you generate audit account logon events on the DC.

Event ID 676, which Web Figure 2 shows, is a Kerberos event, whereas event ID 681 reflects the NT LAN Manager (NTLM) authentication protocol. Windows typically uses Kerberos for authentication, so you'll see event ID 676 on the DC when someone tries to log on with a disabled Active Directory (AD) domain account.

However, Windows can use Kerberos only when the account is an AD domain account and all the computers involved in the logon (i.e., a workstation, a DC, and possibly a server) run Windows 2000 or later and are in the same AD forest. If the user is using a local SAM account or if one of the computers involved in the logon is pre-Win2K or not part of your forest, Windows falls back on NTLM authentication. In that case, the DC logs event ID 681 when someone tries to log on with a disabled account. Because local accounts are always authenticated using NTLM, Windows also logs event ID 681 when a user tries to log on with a disabled local account from the SAM of a workstation or server.

Note that Kerberos events, such as event ID 676, include the IP address of the computer from which the user tried to log on. This information might help you track down security incidents.

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
Command Prompt Tricks

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

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. ...

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 ...


Active Directory (AD) Whitepapers Meeting Compliance Objectives in SharePoint

Email Controls and Regulatory Compliance

Solving Desktop Management Challenges in Education

Related Events Troubleshooting Active Directory

Concrete Ways to Make Sure Your SharePoint Deployment Doesn't Blow Up

Introduction to Identity Lifecycle Manager "2"

Check out our list of Free Email Newsletters!

Active Directory (AD) eBooks The Essentials Series: Active Directory 2008 Operations

Keeping Your Business Safe from Attack: Monitoring and Managing Your Network Security

Windows 2003: Active Directory Administration Essentials

Related Active Directory (AD) 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