Subscribe to Windows IT Pro

 

Get Newsletters

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

Subscribe Now!

January 20, 2004 12:00 AM

Access Denied: Identifying Logon Attempts That Use Disabled Accounts

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

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.

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.