Event 4624: what 424 real events say about logon types
402 out of 424.
That’s how many of the 4624 events in the dataset behind this post are type 3 (Network). Twelve logon types exist on paper; the data has two. And of those 402 network logons, 307 belong to machine accounts, the ones ending in $.
Nobody who has opened a domain controller’s Security log will be shocked. But that ratio is the first thing to understand before writing any rule on 4624: the event is overwhelmingly legitimate noise, and what matters hides in a handful of fields most people never look at.
Where the 424 events come from
I don’t have a Windows estate I can dissect in public, and I wouldn’t be allowed to anyway. So I used an open dataset: OTRF Security-Datasets, MIT-licensed Windows logs recorded in labs during documented attack simulations. I pulled the 29 datasets under lateral_movement/host, extracted every 4624, and ended up with 424 records across 10 hosts.
Big caveat: this is a lab, during lateral movement simulations. The mix looks nothing like a real network on a Monday morning. No unlocks (type 7), no RDP (type 10), hardly any humans. What the data is good for is showing what the fields actually contain, and that’s the part I care about.

Logon types, and what they mean in triage
Microsoft’s documentation for event 4624 lists the possible values. These are the ones you’ll actually meet, with the note I keep in my head when an alert lands:
| Type | Name | What it means | In triage |
|---|---|---|---|
| 2 | Interactive | Logon at the machine’s own keyboard | On a server, someone was physically (or via a VM console) in front of it |
| 3 | Network | Network access: shares, RPC, WMI, PsExec… | The bulk of it; drop machine accounts first |
| 4 | Batch | Scheduled task | A privileged account as type 4 deserves a question |
| 5 | Service | Service started by the SCM | Same, when it’s a domain account |
| 7 | Unlock | Workstation unlocked | Handy for rebuilding a user’s day |
| 8 | NetworkCleartext | Password reached the auth package unhashed | Needs an explanation every time |
| 9 | NewCredentials | Local identity kept, other credentials for the network | What runas /netonly produces; look closely |
| 10 | RemoteInteractive | Remote Desktop | Check the source and RestrictedAdminMode |
| 11 | CachedInteractive | Cached credentials, no DC contacted | Roaming laptop, or an unreachable DC |
Two notes. For type 9, Microsoft describes the mechanism without naming a tool; the link to runas /netonly is spelled out by Ultimate Windows Security, which I’d keep bookmarked anyway. And Microsoft explicitly recommends watching for a domain admin account showing up as type 4 or 5. A privileged account doubling as a task or service account is a misconfiguration at best and persistence at worst.
Kerberos, NTLM and the missing fields
This is where I learned the most. Tucked into the docs is a note on the network fields: they’re populated “depending on the authentication context”, and network logons with Kerberos likely have no workstation information, while NTLM logons have no TCP/IP details. I checked that against the 402 type 3 events.

On Kerberos, the docs are right: WorkstationName is empty in 385 of 390 events. There’s an IP a little over half the time, and 73 of those are ::1, i.e. the host talking to itself.
On NTLM, the data disagrees with the note: all 12 NTLM logons carry an IP and a workstation name. Twelve out of twelve. Not a lot of events, but enough to break an assumption. I wouldn’t generalise from twelve lab records; I do take a rule of thumb from it. Never ship a detection that assumes a field will be empty or populated until you’ve checked your own data.
In triage terms: a Kerberos type 3 with no IP and no workstation won’t tell you where the connection came from. You’ll need the service ticket requests on the domain controller (event 4769), which the docs say you can tie back through LogonGuid.
NTLM V1: the line that should bother you
The last column in that capture is LmPackageName, the NTLM sub-package used. Of the 12 NTLM logons in the dataset, 11 are NTLM V1, across three hosts including the domain controller. I don’t know the lab configuration behind that, and I’m not going to make one up.
Microsoft’s monitoring advice for this event is unambiguous, though: if your organisation standardises on one NTLM version, alert on 4624s where the sub-package isn’t NTLM V2. NTLM V1 is old, and seeing it almost always points at a device, an application or a setting that needs fixing.
The Sigma rule is short:
title: Successful Logon Using NTLM V1
id: 24999cc5-07cb-459c-aa02-be5b83cbd903
status: experimental
description: |
Detects a 4624 event whose LAN Manager sub-package is NTLM V1.
Microsoft recommends monitoring 4624 events where "Package Name (NTLM only)" is not NTLM V2.
references:
- https://learn.microsoft.com/previous-versions/windows/it-pro/windows-10/security/threat-protection/auditing/event-4624
author: PurpleLog
date: 2026-10-27
logsource:
product: windows
service: security
detection:
selection:
EventID: 4624
AuthenticationPackageName: 'NTLM'
LmPackageName: 'NTLM V1'
condition: selection
falsepositives:
- Legacy devices or applications that can't do better than NTLM V1
level: medium
It passes sigma check cleanly, and replayed against the 424 OTRF events it fires on exactly 11. I left the ATT&CK tags off on purpose: NTLM V1 is a configuration weakness, not an attack technique, and a sloppy mapping is worse than none.
Sentinel and Defender don’t speak the same dialect
One last trap, and everyone falls in it at least once. In Sentinel’s SecurityEvent table, LogonType is an integer, just like in the Windows event. In Defender XDR’s DeviceLogonEvents, it’s a string: "Network", "Interactive", "RemoteInteractive" and so on. Copy a query from one to the other with LogonType == 3 and you get nothing back, with no error to tell you why.
// Sentinel: last 24h of 4624s by type, machine accounts excluded
SecurityEvent
| where TimeGenerated > ago(1d) and EventID == 4624
| where not(TargetUserName endswith "$")
| summarize Logons = count() by LogonType, LogonTypeName, AuthenticationPackageName
| sort by Logons desc
// Sentinel: NTLM V1 logons over 7 days
SecurityEvent
| where TimeGenerated > ago(7d) and EventID == 4624
| where AuthenticationPackageName == "NTLM"
// the docs describe two candidate columns: check which one your workspace fills
| where LmPackageName == "NTLM V1" or PackageName == "NTLM V1"
| summarize Logons = count(), Sources = make_set(WorkstationName, 20) by TargetUserName, Computer
// Defender XDR: LogonType is a string ("Network", "RemoteInteractive"...), not a number
DeviceLogonEvents
| where Timestamp > ago(1d)
| where not(AccountName endswith "$")
| summarize Logons = count() by ActionType, LogonType, Protocol
| sort by Logons desc
The or PackageName in the second query is deliberate. The SecurityEvent reference describes both an LmPackageName and a PackageName column, and the definitions overlap awkwardly. Without a workspace at hand to settle it, the query checks both. If you know which one gets populated, trim it.
All three queries pass Microsoft’s official KQL parser against the documented schemas of both tables. I haven’t run them on real data.
Takeaways
You don’t monitor 4624 as a whole. You filter it hard (machine accounts first), then ask it pointed questions: an unexpected logon type for a given account, a protocol that shouldn’t exist anymore, a privileged account somewhere it has no business being. Public datasets let you test those instincts without exposing a single production log, and that’s a luxury worth using.
If I could only run three queries on Monday morning in an environment I’d never seen: logon types without machine accounts, 4624s over NTLM V1, and privileged accounts showing up as type 4 or 5. Everything else can wait.
References
- Microsoft, 4624(S): An account was successfully logged on
- Microsoft, SecurityEvent and DeviceLogonEvents
- Ultimate Windows Security, Event ID 4624
- OTRF, Security-Datasets,
datasets/atomic/windows/lateral_movement/host(MIT licence)