Skip to content

Logon type

noun · Microsoft Learn: 4624(S) An account was successfully logged on

A number in Windows logon events (4624, 4625) that says how the logon happened: at the console, over the network, as a service, by Remote Desktop and so on.

Every Windows logon event records a logon type, a number that describes how the session was created. The most common are 2 (Interactive, at the keyboard), 3 (Network, such as a file share), 4 (Batch, a scheduled task), 5 (Service), 7 (Unlock), 9 (NewCredentials, as with runas /netonly), 10 (RemoteInteractive, Remote Desktop) and 11 (CachedInteractive, cached domain credentials).

Example

A 4624 event for a domain admin account with logon type 3 on a file server may be routine administration. The same account with logon type 10 on an ordinary workstation, from another workstation's IP address, suggests someone is using Remote Desktop with admin credentials where they should not.

Why it matters for a SOC analyst

The logon type turns a raw count of logons into something you can reason about. Always split logon events by type, and compare it with the account: a service account logging on interactively, or a human account logging on as a service, are both worth questioning.

Articles that use this term

  • Windows event log

    Windows' built-in record of system activity, organized in channels such as Security and System, where each event type has a numeric ID.

  • Lateral movement

    The techniques attackers use to move from the first compromised system to other systems and accounts inside a network.

  • NTLM

    An older Windows challenge-response authentication protocol, still used as a fallback to Kerberos and a frequent target of relay and pass-the-hash attacks.

  • Kerberos

    The ticket-based authentication protocol used by Active Directory, in which a domain controller issues tickets that prove a user's identity to services.