Skip to content
SOC Analyst Role
  • Loading index…

↑↓ navigate · ↵ open · Esc close

en

Security · Logon

4624 · An account was successfully logged on

Event 4624 is written on the machine that was logged on to whenever a logon session is successfully created, whether interactive, network, service, batch or RDP. It is the single most important authentication event in Windows because it tells you who got in, how (LogonType, AuthenticationPackageName) and from where (IpAddress, WorkstationName). SOC analysts use it to confirm whether a brute-force or spraying attempt actually succeeded and to trace lateral movement host by host.

medium prioritySecurity logLogonMITRE T1078

Where it is logged

Security log on the target machine: the workstation or server being accessed, and the domain controller only for logons to the DC itself. Requires the Audit Logon subcategory (Logon/Logoff) for Success, which is enabled by default on modern Windows.

Key fields to read

FieldWhat it tells you
TargetUserNameThe account that logged on (with TargetDomainName). Machine accounts end in $.
LogonTypeHow the logon happened: 2 interactive, 3 network, 4 batch, 5 service, 7 unlock, 9 NewCredentials, 10 RDP, 11 cached.
IpAddressSource IP of the client for network and RDP logons; - or 127.0.0.1 for local logons.
WorkstationNameNetBIOS name the client reported. Attacker tooling often leaves it blank or uses odd names.
AuthenticationPackageNameKerberos or NTLM (or Negotiate). NTLM where Kerberos is expected can indicate pass-the-hash.
LogonProcessNameLogon process, e.g. User32 (interactive/RDP), NtLmSsp, Kerberos, Advapi, or seclogo for runas /netonly.
TargetLogonIdSession identifier (e.g. 0x3E7A12F) used to pivot to 4672, 4688, 4634 and 4647 for the same session.
ElevatedToken%%1842 (Yes) when the session received a full admin token.

Sample event

4624 — synthetic example
EventID: 4624
TimeCreated: 2026-03-14T02:17:43.512Z
Computer: NW-FIN-WS07.northwind.local
SubjectUserName: NW-FIN-WS07$
TargetUserName: m.okafor
TargetDomainName: NORTHWIND
TargetLogonId: 0x3E7A12F
LogonType: 10
LogonProcessName: User32
AuthenticationPackageName: Negotiate
WorkstationName: NW-FIN-WS07
IpAddress: 203.0.113.45
IpPort: 0
ElevatedToken: %%1843

How to triage it

  1. 1Read the LogonType, IpAddress and AuthenticationPackageName together and decide if the combination makes sense for this account and host (e.g. a finance user should not RDP in from an external IP at 02:17).
  2. 2Look back 30–60 minutes for 4625 events from the same IpAddress or against the same TargetUserName; a success after a burst of failures means the password was guessed.
  3. 3Check the account's baseline: usual source hosts, usual logon hours, usual logon types. Geo-locate external IPs and check them against threat intel and VPN egress ranges.
  4. 4Pivot on TargetLogonId to 4672 (was it privileged?), 4688 (what processes ran in the session) and 4634/4647 (when did it end).
  5. 5Look for the same account or source IP logging on to other hosts afterwards (type 3 or 10 fan-out) to spot lateral movement.
  6. 6If unexplained, confirm with the user or their manager and escalate with the session timeline; consider disabling the account and resetting credentials.

Benign vs suspicious

Usually benign

  • Machine accounts (NW-DC-01$) and SYSTEM/ANONYMOUS LOGON type 3 and 5 logons, which generate huge volumes of routine 4624s.
  • Users accessing file shares or mapped drives (type 3) and admins RDPing to jump servers from approved admin workstations (type 10).
  • Scheduled tasks and services starting under service accounts (types 4 and 5).
  • Remote workers logging on via VPN, where the source IP is an internal VPN pool address.

Red flags

  • Type 10 (RDP) from an external or never-before-seen IP, especially directly after many 4625s from that IP.
  • Type 3 NTLM logons with an admin account to many hosts in a short window (pass-the-hash or lateral movement).
  • Type 9 with LogonProcessName seclogo, a known indicator of sekurlsa::pth-style credential injection.
  • Logons by disabled-then-re-enabled, newly created, or long-dormant accounts, or at hours the user never works.
  • Workstation-to-workstation RDP or interactive logons to domain controllers by non-admin accounts.

Hunt for it: Splunk & KQL

Splunk SPL
index=wineventlog EventCode=4624 Logon_Type IN (3,10)
| where NOT match(user, "\$$")
| stats dc(host) AS hosts values(host) AS targets values(Logon_Type) AS types count BY user, src_ip
| where hosts >= 5
| sort - hosts
Sentinel KQL
SecurityEvent
| where TimeGenerated > ago(24h)
| where EventID == 4624 and LogonType == 10
| where not(ipv4_is_private(IpAddress)) and IpAddress != "-"
| summarize Logons = count(), Hosts = make_set(Computer) by TargetUserName, IpAddress
| order by Logons desc

Field names depend on your add-on and table. More translations in the Splunk vs KQL cheat sheet.

Interview question

“You see a 4624 for a user from an IP you don't recognise. How do you decide whether it is malicious?”

✓ Strong answer sketch

First I read the LogonType and AuthenticationPackageName, because a type 3 Kerberos share access means something very different from a type 10 RDP logon from outside. Then I check the source IP against our VPN ranges, geo and threat intel, and look back for 4625 failures from the same IP or against the same account in the preceding hour. I compare it with the user's baseline of hosts, hours and logon types, and pivot on the TargetLogonId to 4672 and 4688 to see whether the session was privileged and what it actually did. If it is still unexplained I confirm with the user and escalate with the timeline rather than guessing.

More SOC interview questions

See it in a real investigation

Frequently asked questions

What does Event ID 4624 mean?

Event ID 4624 means an account successfully logged on to the computer that recorded the event. The LogonType field tells you how (for example 2 interactive, 3 network, 10 RDP) and the IpAddress and WorkstationName fields tell you where the logon came from.

Is Event ID 4624 logged on the domain controller or the workstation?

4624 is logged on the machine being accessed. If a user RDPs to a server, the 4624 is on that server; the domain controller records the Kerberos tickets (4768/4769) or NTLM validation (4776) instead, unless the logon was to the DC itself.

How do I find RDP logons in Event ID 4624?

Filter for LogonType 10 (RemoteInteractive). Note that RDP reconnections can appear as type 7, and with Network Level Authentication you will also see a type 3 logon from the same IP just before the type 10.