Skip to content
SIEMBench
100% Client-Side Tool • Inputs Never Sent to Our Servers

Event ID 4624

Event ID 4624: Successful Logon

An account was successfully logged on

Log source
Security
How to enable it
Logon/Logoff > Audit Logon (Success)
Category
Authentication
Priority
Medium
Typical volume
Very high
MITRE ATT&CK

What Event ID 4624 means

Windows writes 4624 on the computer where a logon session is created. A user who opens a file share produces the event on the file server, and not on the workstation in front of them. That detail decides where to look: to find out what an account reached, collect 4624 from the destinations.

The event is constant background noise, because machine accounts, services and scheduled tasks log on all day. Its value comes from combinations. The same account that arrives by type 3 on twenty servers within a minute, a local administrator used across machines, or a type 9 session whose process is seclogo, each tells a story that the raw count hides.

TargetLogonId is the thread that ties an investigation together. The same value appears in process creation (4688), privilege assignment (4672), share access (5140) and logoff (4634) on that host until it restarts, so one successful logon can be expanded into everything the session did.

Key fields to inspect

FieldMeaningSuspicious when
TargetUserName Account that logged on. Built-in Administrator over the network, a disabled employee, or a service account in an interactive session.
LogonType How the logon happened, as a number. 9 on an ordinary workstation, 10 from outside your management network, or 8 anywhere it is not expected.
IpAddress Address the logon came from. A dash or loopback means local. An address from the VPN pool or internet on a server that should see only internal clients.
AuthenticationPackageName Kerberos, NTLM or Negotiate. NTLM between domain members where Kerberos is normal.
LogonProcessName Component that submitted the logon. seclogo together with type 9, which is how sekurlsa::pth and runas /netonly appear.
KeyLength NTLM session key length. Zero for Kerberos. 0 with NTLM and type 3, a weak but classic pass-the-hash hint.
ElevatedToken Whether the session is elevated. %%1842 (Yes) for a user who is not an administrator on that host.

Logon types

TypeNameTypical cause
2InteractiveKeyboard and screen, or a VM console
3NetworkSMB, WinRM, RPC, and RDP with Network Level Authentication before the session starts
4BatchScheduled task
5ServiceService started under an account
7UnlockWorkstation unlocked
8NetworkCleartextPassword sent in clear to the server, such as IIS basic authentication
9NewCredentialsrunas /netonly, and pass-the-hash tools
10RemoteInteractiveRemote Desktop session
11CachedInteractiveDomain logon with cached credentials, no domain controller contacted

Detection queries

Find NewCredentials sessions, and accounts that reach many computers over the network in a short time. Adjust names and thresholds to your environment. About these queries.

Splunk SPL

index=windows source="XmlWinEventLog:Security" EventCode=4624
| where (LogonType=9 AND LogonProcessName="seclogo") OR (LogonType=3 AND NOT match(TargetUserName, "\$$"))
| bin _time span=10m
| stats dc(Computer) AS hosts values(IpAddress) AS src values(LogonType) AS types BY _time TargetUserName
| where hosts >= 10 OR mvfind(types, "^9$") >= 0

Microsoft Sentinel KQL

SecurityEvent
| where EventID == 4624
| where LogonType in (3, 9) and TargetUserName !endswith "$"
| summarize Hosts = dcount(Computer), Sources = make_set(IpAddress, 20), Types = make_set(LogonType), Processes = make_set(LogonProcessName) by TargetUserName, bin(TimeGenerated, 10m)
| where Hosts >= 10 or set_has_element(Types, 9)

PowerShell

Get-WinEvent -FilterHashtable @{ LogName = 'Security'; Id = 4624; StartTime = (Get-Date).AddDays(-1) } |
  ForEach-Object { $d = @{ Time = $_.TimeCreated }; ([xml]$_.ToXml()).Event.EventData.Data | ForEach-Object { $d[$_.Name] = $_.'#text' }; [pscustomobject]$d } |
  Where-Object { $_.LogonType -in '9','10' -and $_.TargetUserName -notlike '*$' } |
  Select-Object Time, TargetUserName, LogonType, IpAddress, AuthenticationPackageName, LogonProcessName | Format-Table -AutoSize

Attack scenarios

Pass-the-hash

The attacker injects a stolen NTLM hash into a new logon session. On the source host this is type 9 with logon process seclogo. On each target it is type 3 with NTLM, often followed at once by 4672 because the account is an administrator there.

Lateral movement with a shared local administrator

The same local account and password on many workstations lets one compromise spread. TargetDomainName equals the name of the destination computer instead of the domain, and IpAddress is another workstation.

Remote Desktop with valid credentials

With Network Level Authentication, a successful connection creates a type 3 logon first and then type 10 for the desktop. A reconnection to an existing session can appear as type 7, so searching for type 10 alone misses some access.

Investigation checklist

  1. Pivot on TargetLogonId on the same host to list processes, shares and privileges for the session.
  2. Resolve IpAddress to a host and owner, then check which user was active on that machine at the time.
  3. Compare with the account's usual logon types, hosts and hours over the last 30 days.
  4. Look for failed logons (4625) or NTLM validation (4776) from the same source just before.
  5. If pass-the-hash is likely, isolate the source host and reset the account's password.

Common benign causes

Event ID 4624 FAQ

What does logon type 3 mean in event 4624?

A network logon. The account authenticated to this computer over SMB, WinRM, RPC or a similar protocol, without an interactive desktop. The user's credentials are normally not left in memory on the destination.

Is 4624 logon type 9 always pass-the-hash?

No. Type 9 also results from runas /netonly, which administrators use legitimately. Both show seclogo as the logon process. Judge it by who started the session, which process created it and which NTLM logons follow on other hosts.

Why is IpAddress a dash in some 4624 events?

The logon was local, or the component that submitted it did not supply a network address. Service starts, scheduled tasks and console logons commonly show a dash, 127.0.0.1 or ::1.

Techniques follow MITRE ATT&CK® v20.1. © 2026 The MITRE Corporation. This work is reproduced and distributed with the permission of The MITRE Corporation (license). Field names were checked against Microsoft documentation and provider schemas.