Skip to content
WETNav
SecurityAuthenticationIn-depth analysis

Event ID 4624: An account was successfully logged on

Event 4624 records every successful user authentication and logon to a Windows system. For security monitoring, focus on the LogonType field to identify suspicious authentication methods, unusual logon times, and potential lateral movement patterns across your network.

Channel
Security
Logged by default
Yes
Written on
Target host
Volume
Very high
Audit subcategory
Logon
Needs a SACL
No

To have this event

  • Enable Logon: auditpol /set /subcategory:"Logon" /success:enable /failure:enable

Key fields

Exact XML field names, as they appear in <Data Name="…"> and in SIEM field extractions.

LogonTypeType of logon (2=Interactive, 3=Network, 4=Batch, 5=Service, 7=Unlock, 8=NetworkCleartext, 9=NewCredentials (runas /netonly; also the pass-the-hash pattern when LogonProcessName = seclogo), 10=RemoteInteractive, 11=CachedInteractive, 12=CachedRemoteInteractive, 13=CachedUnlock)2 Interactive3 Network4 Batch5 Service8 NetworkCleartext9 NewCredentialsAll LogonType values
TargetLogonIdLogon ID of the new session. Main pivot to the same session's 4672 (SubjectLogonId), 4688 (SubjectLogonId) and 4634 (TargetLogonId)
TargetUserNameAccount name that was logged on
TargetDomainNameDomain or computer name of the account
TargetUserSidSID of the account that was logged on
SubjectUserNameAccount name that initiated the logon
SubjectDomainNameDomain of the account that initiated the logon
WorkstationNameSource workstation name from which logon was attempted
IpAddressSource IP address of logon attempt
IpPortSource port number
LogonProcessNameName of the logon process (e.g., User32, Advapi, Kerberos, NtLmSsp, seclogo)AdvapiNtLmSspseclogo (Secondary Logon)SchannelAll LogonProcessName values
AuthenticationPackageNameAuthentication package used (e.g., NTLM, Kerberos, Negotiate)
LmPackageNameNTLM version when NTLM was used (NTLM V1, NTLM V2, LM; '-' otherwise). 'NTLM V1' means weak, crackable and relayable authenticationNTLM V2NTLM V1LMAll LmPackageName values
KeyLengthNTLM session key length (typically 128; always 0 for Kerberos). Type 3 NTLM logons with KeyLength 0 for non-anonymous accounts are a common pass-the-hash hunting filter
ImpersonationLevelImpersonation level the token allows (Identification, Impersonation or Delegation), stored as a %%18xx message ID (e.g., %%1833 = Impersonation). Delegation lets the server reuse the client's credentials against other systems
RestrictedAdminModeWhether an RDP (Type 10) logon used Restricted Admin mode: %%1842 = Yes, %%1843 = No, '-' for other logon types. Restricted Admin accepts NTLM hashes, so an unexpected Yes can mean pass-the-hash over RDP
TargetOutboundUserNameFor Type 9 (NewCredentials) logons, the account whose credentials are used for outbound network access (the runas /netonly user); '-' otherwise. Pair with TargetOutboundDomainName
ProcessNameFull path of the process that requested the logon (e.g., C:\Windows\System32\lsass.exe, winlogon.exe, svchost.exe); '-' for most network logons
LogonGuidUnique GUID for correlating with other logon-related events
ElevatedTokenWhether the logon has an elevated (admin) token. Stored as %%1842 (Yes) or %%1843 (No), not the literal strings Yes/No
Have one of these events? Paste it into the decoder

Analyst notes

  • 01Logon Type 2 (Interactive) & 10 (RemoteInteractive) indicate user console/RDP logins.
  • 02Logon Type 3 (Network) often relates to accessing network shares or service auth.
  • 03Logon Type 5 (Service) indicates service startup.
  • 04Logon Type 7 (Unlock) indicates workstation unlock.
  • 05Monitor for unusual Logon Types, high frequency, off-hours activity, or logins from unexpected sources/accounts.
  • 06Correlate Logon GUID with 4634 (Logoff) and 4672 (Privilege Assignment).

In an investigation

Event 4624 is generated whenever a user account successfully authenticates to a Windows system, making it one of the most frequently logged security events in any Windows environment. This event captures critical authentication details including the account name, logon type, source network address, authentication package used, and the process that handled the logon request. Security analysts rely heavily on this event to establish baseline user behavior patterns, detect credential theft attempts, and identify unauthorized access to systems. The LogonType field is particularly valuable as it distinguishes between interactive console logons (Type 2), network resource access (Type 3), batch jobs (Type 4), Windows services (Type 5), and remote desktop sessions (Type 10). Understanding these logon types helps analysts differentiate between legitimate user activity and potential attack scenarios such as Pass-the-Hash attacks, which typically manifest as Type 3 network logons with NTLM authentication from unusual source addresses.

What it can reveal

  • Credential theft and Pass-the-Hash attacks typically appear as Type 3 network logons with NTLM authentication
  • Lateral movement across the network generates multiple 4624 events from the same source to different targets
  • After-hours logons or access from unexpected geographic locations may indicate compromised credentials
  • Service account logons from workstations (rather than servers) often signal malicious activity
  • Golden Ticket use cannot be spotted from ticket lifetime in 4624 (the event has no ticket-lifetime field); look for DC-side signs instead, such as a 4769 service-ticket request with no earlier 4768 TGT request from that client, or account and domain field anomalies (an account name that does not exist in AD, or a domain field that does not match the domain's normal NetBIOS or DNS name)

How to detect with it

Monitor for logon patterns that deviate from established baselines. Look for multiple failed logons (Event 4625) followed by successful logon, which may indicate brute force attacks. Track logon type changes for the same user account, such as service accounts suddenly performing interactive logons. Alert on logons from privileged accounts outside normal business hours or from unexpected source IP addresses. Correlate 4624 events with process creation (Event 4688) to identify post-exploitation activity.

Attack patterns

  • Lateral movement attack pattern: after stealing credentials, intruders authenticate from one internal host to many servers, producing Type 3 network logons for the same account across many targets in a short window
  • Ransomware pre-deployment attack pattern: operators use stolen domain administrator credentials for Type 10 (RemoteInteractive) RDP logons to servers shortly before deploying encryption payloads
  • Service persistence attack pattern: a newly installed service configured to run as a domain account produces Type 5 (Service) logons for that account on hosts where it never ran before; correlate with 7045 or 4697 for the install

Compared withCompare with Event 4625 (Failed Logon) to detect brute force attempts. Event 4672 (Special Privileges Assigned) often follows 4624 for administrative accounts.

Pull this event

Retrieval queries for a live host, a collected .evtx file and common SIEMs. Filter further on the key fields above.

Get-WinEvent -LogName 'Security' -FilterXPath "*[System[(EventID=4624)]]" -MaxEvents 50 |
  Select-Object TimeCreated, Id, MachineName, Message

-FilterXPath supports exact matches only. For substring matching, filter in Where-Object.

Where it shows up

Investigations, attack signals and lateral movement techniques that rely on this event.

ATT&CK mapping

Techniques this event can help detect. Most of these depend on specific field values; the event alone does not mean the technique happened.

Common questions

What does Windows event ID 4624 mean?
Event 4624 records every successful user authentication and logon to a Windows system. For security monitoring, focus on the LogonType field to identify suspicious authentication methods, unusual logon times, and potential lateral movement patterns across your network.
Is event 4624 logged by default?
Yes, a default Windows installation records it. It is controlled by the "Logon" Advanced Audit Policy subcategory (Logon/Logoff).
Where is event 4624 recorded?
In the Security channel on the target host.

Event 4624 records every successful user authentication and logon to a Windows system. For security monitoring, focus on the LogonType field to identify suspicious authentication methods, unusual logon times, and potential lateral movement patterns across your network.