Written by Ruben Selby, founder and penetration tester at Wolfcore. Last reviewed 17 November 2026. Part of the Detection and response library.
In one sentence: Event 4624 is the entry Windows writes every time someone or something logs on successfully, and it is how you find out who got in, from where and how.
What it is
According to Microsoft Learn, event 4624 is generated when a logon session is created. It is written on the computer that was accessed, so a file server records the logons to the file server. It sits in the Security log under the Audit Logon subcategory.
Most 4624 events are boring. Services start, people unlock their screens, scheduled jobs run. The value is in the odd one: an account used at 03:00, a finance user logging on to a server, a disabled account that suddenly works.
How it works
Each event contains fields that answer the questions an investigator asks first. Microsoft documents these:
- Who: the “New Logon” account name and security ID. This is the account that got in. The “Subject” fields show the account that asked for the logon, which is often the system itself.
- How: the Logon Type. Type 2 is interactive, someone at the keyboard. Type 3 is network, for example a file share. Type 10 is RemoteInteractive, meaning Remote Desktop. Type 5 is a service starting, type 4 is a batch job and type 7 is a screen unlock. Type 8 means the password was passed to the authentication package in unhashed form, though Microsoft notes the built-in packages hash credentials before sending them over the network.
- From where: the workstation name and source network address. Microsoft notes these fields depend on the protocol, so Kerberos network logons may have no workstation name and NTLM logons may have no TCP/IP details.
- With what: the authentication package, such as Kerberos, NTLM or Negotiate.
- How powerful: the Elevated Token field says whether the session has administrator privileges.
- Which session: the Logon ID, which lets you join this event to others, for example 4672 (special privileges assigned) or 4648 (logon with explicit credentials).
Who it affects and how badly
Every organisation that runs Windows has these events. The question is whether anyone reads them.
- Sole trader to 10 staff: no one watches the logs. A stolen password gives an attacker a quiet logon that nobody sees. Worst case is mailbox or file access, then fraud against your clients.
- 10 to 50 and 50 to 250 staff (accountancy, legal, construction, recruitment, MSP-managed): logons from the wrong place or hour are visible, but only if logs are kept. Worst case is an attacker moving from one machine to a server and encrypting it.
- Regulated and 250 plus (healthcare, fintech, insurance, councils): you need to show who accessed what. Worst case is being unable to answer a regulator or client because the logs were not kept long enough.
The UK angle
The NCSC’s Introduction to logging for security purposes lists authentication and access as a priority log source. It asks questions such as whether there have been incorrect authentication attempts on internet-exposed services, how domain and end user devices have been accessed, and who has logged in remotely out of hours. It also says Windows Event Forwarding can securely forward client logs to a central store, and recommends holding logs for at least 6 months, noting that logs need to be protected from tampering. Source: https://www.ncsc.gov.uk/guidance/introduction-logging-security-purposes
How to detect it
Microsoft’s own monitoring recommendations for 4624 are a good checklist:
- Watch high-value accounts: domain admins, database admins, service accounts and the built-in local administrator. Alert on every logon by these.
- Alert on use of accounts outside working hours, and on accounts that should never be used: disabled, guest or dormant.
- Check that service and batch logon types (4 and 5) are not used by human administrator accounts.
- Compare the source address for a service account with a list of addresses it should come from.
- Where Remote Desktop must be used with Restricted Admin mode, check logon type 10 events and the Restricted Admin Mode field.
- Check for NTLM where your organisation does not use it, using the authentication package field.
You can read events in Event Viewer under Windows Logs, Security, using Filter Current Log for 4624. For many machines, forward them centrally. Auditing must be on: the Audit Logon policy has to record successes for the event to appear.
What we check on a test
Method only, not findings.
- Whether Audit Logon success and failure logging is enabled, and whether the Security log is big enough to hold more than a few days.
- Whether logs are forwarded off the machine, so an attacker cannot simply clear them.
- Whether administrator-level logon types and accounts are reviewed by anyone.
- What a logon with a stolen password would look like in your logs, and whether it would raise an alert.
How to fix or prevent it
- Turn on Audit Logon (success and failure) on servers and workstations through Group Policy, and increase the Security log size.
- Forward Security events to a central place using Windows Event Forwarding or a monitoring service, as the NCSC suggests.
- Write down which accounts may log on where, and alert on anything outside that list.
- Use multi-factor authentication and unique admin accounts so one stolen password does not open every door.
- Keep logs for at least the NCSC’s recommended 6 months, protected from tampering.
- Train staff to spot credential phishing, which is how most stolen passwords start. A phishing simulation shows you who is most at risk: https://wolfcore.co.uk/phishing-simulation-software/ and the trial at https://wolfcore.co.uk/phishy-free-trial/
FAQ
Which log is 4624 in? The Windows Security log, on the computer that was accessed.
What does logon type 10 mean? Microsoft lists it as RemoteInteractive: a logon through Terminal Services or Remote Desktop.
Does 4624 mean something bad happened? No. It records every successful logon. It only matters when the account, time, place or type is unexpected.
Related terms
windows-event-id-4625-failed-logon, windows-event-id-4740-account-lockout, password-spraying, credential-stuffing, indicators-of-compromise, ntlm-authentication
How Wolfcore helps
Wolfcore’s vulnerability management and SOC monitoring keep watch for this after the test is over. See SOC and SIEM monitoring.
Wolfcore
Would your staff click a phishing email?
Run a real, safe phishing test on your team with Phishy. Free for 14 days, up to 10 staff, no card. We help you set it up.
Start a free phishing testFree website security scanor book a 30 minute call