Filter for explicit loging

We only have access to AD logs for an exrecise to try and tie users to physical log on events:

We have filtered on successful log in events and are finding a sea of network logins and are looking specifically for signs of when a user logged in via keyboard on workstation verses other network logon events associated to regular checkins to domain controller.   Is there a simple way to filter down for only events where the user logs in explicitly verses activity that might happen in the background that is also registering as network log on events?


Thanks
Bill BurrIT AdminAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Tony JohncockLead Technical ArchitectCommented:
That would be login type 2 in event ID 4624 in the security logs. The various login types can be found here: https://www.ultimatewindowssecurity.com/securitylog/encyclopedia/event.aspx?eventID=4624 along with a lot of other detail but in summary they are:


Logon Type                      Description
2                                       Interactive (logon at keyboard and screen of system)
3                                       Network (i.e. connection to shared folder on this computer from elsewhere on network)
4                                       Batch (i.e. scheduled task)
5                                       Service (Service startup)
7                                       Unlock (i.e. unnattended workstation with password protected screen saver)
8                                       NetworkCleartext (Logon with credentials sent in the clear text. Most often indicates a logon to IIS with "basic authentication") See this article for more information.
9                                         NewCredentials such as with RunAs or mapping a network drive with alternate credentials.  This logon type does not seem to show up in any events.  If you want to track users attempting to logon
                                         with alternate credentials see 4648.  MS says "A caller cloned its current token and specified new credentials for outbound connections. The new logon session has the same local identity, but uses
                                         different credentials for other network connections."
10                                       RemoteInteractive (Terminal Services, Remote Desktop or Remote Assistance)
11                                       CachedInteractive (logon with cached domain credentials such as when logging on to a laptop when away from the network)

This is a manual query that will find them (type 2):

<QueryList>
  <Query Id="0" Path="Security">
    <Select Path="Security">
     *[System[(EventID='4624')]
     and
     EventData[Data[@Name='LogonType']='2']
     ]
    </Select>
  </Query>
</QueryList>
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Bill BurrIT AdminAuthor Commented:
Thank you!
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Extended Events

From novice to tech pro — start learning today.