Event ID 4624: An account was successfully logged on
Event ID 4624, "An account was successfully logged on", is written to the Security log of a Windows computer every time a logon session is created on it: at the keyboard, over the network, through Remote Desktop, or by a service or scheduled task.
What event 4624 records
Every logon on Windows creates a logon session, and every logon session starts with a 4624. The event names the account that logged on, the type of logon, the address it came from, the authentication protocol that was used and a Logon ID that ties the session to everything that happens inside it.
That makes 4624 the most useful single event in a Windows intrusion, and also one of the noisiest. A busy file server can write thousands an hour, most of them type 3 network logons from ordinary file access and type 5 logons from services starting. The skill is in filtering: by logon type, by source address, by account and by time.
The event is written on the computer that was logged on to. If an attacker uses RDP from workstation A to workstation B, the 4624 for that RDP session is on B. A records the outgoing side with 4648 (explicit credentials) and in the RDP client log, which is why lateral movement is always investigated on both ends.
The logon types
The Logon Type field says how the session was created. It is the first field to read, because the same account logging on as type 3 and as type 10 means very different things. The full list, with the events that accompany each type, is on the Windows logon types page.
| Type | Name | What it usually means |
|---|---|---|
| 2 | Interactive | Someone at the keyboard (or a console session in a hypervisor). |
| 3 | Network | Access to a share, a remote service or WMI; also the first step of RDP with Network Level Authentication. |
| 4 | Batch | A scheduled task running under a stored account. |
| 5 | Service | A service started under its configured account. |
| 7 | Unlock | A locked session was unlocked, locally or by an RDP reconnect. |
| 8 | NetworkCleartext | Network logon with the password sent in clear, for example IIS basic authentication. |
| 9 | NewCredentials | runas /netonly: the local session keeps its identity, network access uses other credentials. |
| 10 | RemoteInteractive | Remote Desktop (RDP) session. |
| 11 | CachedInteractive | Interactive logon with cached domain credentials, no domain controller reachable. |
Types 12 (CachedRemoteInteractive) and 13 (CachedUnlock) also exist, and type 0 appears only for the SYSTEM account at start-up.
When Windows writes it
Successful logon auditing is on by default on current Windows versions, under Advanced Audit Policy › Logon/Logoff › Audit Logon. The Security log is limited in size (20 MB by default on client Windows), so a busy machine may hold only days of 4624 history. Check the oldest record in the log before you conclude that something did not happen.
Two 4624 events with the same timestamp are normal for an administrator signing in interactively when User Account Control is on: Windows creates a filtered token session and an elevated one, and links them through the Linked Logon ID field. Fields such as Elevated Token, Restricted Admin Mode and Linked Logon ID were added in Windows 10 and Windows Server 2016; older systems do not write them.
Event 4624 fields
The fields an investigator reads first, what they mean, and where Arcsentry stores them.
| Field | Meaning | Arcsentry field |
|---|---|---|
| Subject: Security ID, Account Name, Logon ID | The account that requested the logon. For network and RDP logons this is usually NULL SID or the computer account; for a service it is SYSTEM. It is not the user who logged on. | event data |
| Logon Type | How the session was created (see the table above). | event_log_logon_type |
| Restricted Admin Mode | Yes when RDP was used in Restricted Admin mode, which does not send reusable credentials to the target. Only filled for type 10. | event data |
| Elevated Token | Yes when the session has a full administrative token. | event data |
| New Logon: Account Name and Domain | The account that logged on. This is the field to group by. | user_target_name |
| New Logon: Logon ID | Hexadecimal identifier of the new session. Every later event in the session (4672, 4688, 4663, 4634) carries the same value. | event_log_logon_id |
| Linked Logon ID | The paired session when UAC split the token into two sessions. | event data |
| Network Account Name and Domain | Only for type 9: the credentials used for outgoing network access. | event data |
| Logon GUID | Kerberos logons only: the same GUID appears in the 4769 on the domain controller, which ties the two together. | $logonguid |
| Process ID and Process Name | The local process that handled the logon, for example C:\Windows\System32\winlogon.exe or lsass.exe. | event data |
| Workstation Name | The name the client gave. Easily forged, often blank for RDP and Kerberos network logons. | event data |
| Source Network Address and Source Port | The client's IP address. "-" or 127.0.0.1 for local logons. | source_ip |
| Logon Process | User32 for interactive and RDP logons, NtLmSsp for NTLM network logons, Kerberos for Kerberos network logons, Advapi for logons by API (services, runas). | event_log_logon_process_name |
| Authentication Package | Negotiate, Kerberos or NTLM. | event_log_logon_auth_package |
| Package Name (NTLM only) | NTLM V1, NTLM V2 or LM. NTLM V1 or LM on a modern network is worth a look. | event data |
| Key Length | 0 for most NTLM network logons; 128 for NTLMv2 with session security. | event data |
Arcsentry stores the main fields in its common schema (right-hand column) and keeps every other field of the event readable by its Windows name in lower case, for example source_domain.
What event 4624 proves, and what it does not
It shows
- That a logon session was created for the named account on this computer at this time.
- How it was created (logon type), and over which protocol (Kerberos or NTLM).
- The source address of network and RDP logons, as seen by this computer.
- The Logon ID that connects the logon to the processes, privileges and file access inside the session.
It does not show
- That a person was at the keyboard. Types 3, 4 and 5 are made by software all day long.
- Who typed the password. Valid credentials used by an attacker look exactly like the owner's logon.
- Where the logon really came from if the address is a jump host, a VPN concentrator or NAT. The Workstation Name field is supplied by the client and can be anything.
- How long the session lasted. Pair it with 4634 or 4647 (logoff) through the Logon ID, and expect logoff events to be missing for sessions that ended with a disconnect or crash.
Attacker activity it reveals
Logon after a burst of failures
A run of 4625 failed logons from one address followed by a 4624 for one of the targeted accounts is password guessing that worked. Check the gap between the last failure and the success, and what the session did next. MITRE ATT&CK T1110
RDP from an unusual source
Type 10 logons from addresses that are not the usual admin workstations or jump hosts, especially outside working hours. With Network Level Authentication on, an RDP logon shows as a type 3 followed seconds later by a type 10 (or a type 7 on reconnect). MITRE ATT&CK T1021.001
Admin share access
Type 3 logons by a privileged or newly created account, followed by 4672 and 5140 share access to C$ or ADMIN$. This is how PsExec, file copying to admin shares and many remote execution tools look on the target. MITRE ATT&CK T1021.002
Pass the hash
Type 3 logons with NTLM authentication for an account that normally uses Kerberos, with Logon Process NtLmSsp and Key Length 0, especially from a workstation to other workstations. Type 9 with Logon Process seclogo is the pattern of tools that run a process with injected credentials. MITRE ATT&CK T1550.002
An account that should not log on
Service accounts logging on interactively (type 2 or 10), disabled-looking accounts suddenly active, or a brand-new account created minutes earlier with 4720. MITRE ATT&CK T1078
In a real investigation: Halden Freight office intrusion
In our Windows lab case, an attacker guessed passwords against workstation HF-WS01, got in as a.berg and moved to a second workstation. The 4624 events tell the story in five lines (times UTC, from the case's Security logs):
| Time | Host | Type | Account | Source | What it shows |
|---|---|---|---|---|---|
| 22:05:03 | HF-WS01 | 3 | a.berg | 10.211.55.2 | First success, 43 seconds after the last of 35 failed logons from the same address |
| 22:05:05 | HF-WS01 | 10 | a.berg | 10.211.55.2 | The RDP session itself (Network Level Authentication made the type 3 first) |
| 22:10:59 | HF-WS02 | 3 | m.lund | 10.211.55.6 | Arrival on the second workstation from HF-WS01, with credentials stored minutes earlier |
| 22:11:01 | HF-WS02 | 7 | m.lund | 10.211.55.6 | The RDP connection took over m.lund's existing session (unlock) |
| 22:12:18 | HF-WS01 | 3 | svc_backup | 10.211.55.7 | The attacker's new account used over SMB, back from HF-WS02 |
Read alone, none of these rows is alarming. Read in order, with the 4625 burst before them and the 4720 account creation at 22:09:40 between them, they are the intrusion. Arcsentry's AI investigator reconstructed this sequence from a single question and cited each event; the full run is in the video library.
Finding event 4624 in Arcsentry
Arcsentry parses every channel in Windows\System32\winevt\Logs, whether it comes from an Arcsentry Collector archive, a KAPE or Velociraptor collection, or a disk image. Security log records are the event type evtx_security. In Hunt, with that event type selected:
filter event_code == "4624" && event_log_logon_type != "5 - SERVICE"
group {user_target_name, source_ip, event_log_logon_type} (aggregate {
n = count this,
first_seen = (earliest timestamp),
last_seen = (latest timestamp)
})
sort {first_seen} Every account, source and logon type, with first and last seen, service logons removed. On a single host it fits on one screen and shows the odd ones out. Arcsentry also rebuilds sessions from 4624, 4634, 4647 and the Remote Desktop events automatically, so the sessions view shows each logon with its duration and source without a query.
Or ask in plain English, for example "show event 4624 on every host, oldest first", and Arcsentry shows the AQL it wrote before it runs. The AQL reference lists the operators used here, and the AI investigator reads the same events, citing each one by its event ID when it reports a finding.
Related event IDs
- Event ID 4625: Failed logon
- Event ID 4634: Logoff
- Event ID 4648: Explicit credentials
- Event ID 4672: Admin logon (special privileges)
- Event ID 4768: Kerberos TGT request
- Event ID 4769: Kerberos service ticket
- Event ID 4776: NTLM credential validation
- Event ID 4720: User account created
All events by investigation question: Windows security event IDs for incident response. Logon types in full: Windows logon types. The log files themselves: Windows event logs.
Frequently asked
What is the difference between event ID 4624 and 4625?
4624 records a successful logon; 4625 records a failed one. Both carry the logon type, account and source address. A run of 4625 events followed by a 4624 for the same account from the same address is the signature of a successful password guess.
What does the logon type indicate in event ID 4624?
How the session was created: 2 at the keyboard, 3 over the network (shares, remote services), 4 a scheduled task, 5 a service, 7 an unlock, 9 runas /netonly, 10 Remote Desktop, 11 cached credentials. Investigators filter on it first.
What is the User32 logon process?
User32 in the Logon Process field means the logon came through the Windows logon user interface (Winlogon), which is what interactive (type 2) and Remote Desktop (type 10) logons use. Network logons show NtLmSsp or Kerberos instead.
Why are there two 4624 events at the same time?
When an administrator logs on with User Account Control enabled, Windows creates two linked sessions: one with a filtered token and one with the full administrative token. Both are logged, and each names the other in the Linked Logon ID field.
How do I find RDP logons in the Security log?
Filter 4624 on logon type 10 (and type 7 for reconnections). With Network Level Authentication, each RDP logon is also preceded by a type 3. Confirm with the TerminalServices-LocalSessionManager log (events 21 and 25) and RemoteConnectionManager (1149).
Where is event 4624 logged for domain accounts?
On the computer the account logged on to. The domain controller records the authentication instead: 4768 and 4769 for Kerberos, 4776 for NTLM. To follow a domain logon you need both.
Sources
- Microsoft Learn: 4624(S) An account was successfully logged on
- Microsoft Learn: Audit Logon (advanced security audit policy)
- MITRE ATT&CK: T1078 Valid Accounts; T1021 Remote Services; T1550.002 Pass the Hash
- Venema Labs lab case: Halden Freight office intrusion (Windows 11, two hosts), Security logs
Checked 1 December 2026 by Venema Labs against Microsoft's audit documentation and, where an example is shown, the named lab case. Field availability varies by Windows version.
Find event 4624 across every host in minutes.
Load your collections, ask what happened, and check every finding against the event behind it. Free for 7 days.
Request a trial