Event ID 4624

An account was successfully logged on

An account was successfully logged on.

Subject:
    Security ID:           %1
    Account Name:          %2
    Account Domain:        %3
    Logon ID:              %4

Logon Information:
    Logon Type:            %9
    Restricted Admin Mode: %22 [Windows 10+]
    Virtual Account:       %25 [Windows 10+]
    Elevated Token:        %27 [Windows 10+]

Impersonation Level:       %21 [Windows 8/2012+]

New Logon:
    Security ID:            %5
    Account Name:           %6
    Account Domain:         %7
    Logon ID:               %8
    Linked Logon ID:        %26 [Windows 10+]
    Network Account Name:   %23 [Windows 10+]
    Network Account Domain: %24 [Windows 10+]
    Logon GUID:             %13

Process Information:
    Process ID:             %17
    Process Name:           %18

Network Information:
    Workstation Name:       %12
    Source Network Address: %19
    Source Port:            %20

Detailed Authentication Information:
    Logon Process:            %10
    Authentication Package:   %11
    Transited Services:       %14
    Package Name (NTLM only): %15
    Key Length:               %16

This event is generated when a logon session is created. It is generated on the computer that was accessed.

The subject fields indicate the account on the local system which requested the logon. This is most commonly a service such as the Server service, or a local process such as Winlogon.exe or Services.exe.

The logon type field indicates the kind of logon that occurred. The most common types are 2 (interactive) and 3 (network).

The New Logon fields indicate the account for whom the new logon was created, i.e. the account that was logged on.

The network fields indicate where a remote logon request originated. Workstation name is not always available and may be left blank in some cases.

The impersonation level field indicates the extent to which a process in the logon session can impersonate.

The authentication information fields provide detailed information about this specific logon request.
    - Logon GUID is a unique identifier that can be used to correlate this event with a KDC event.
    - Transited services indicate which intermediate services have participated in this logon request.
    - Package name indicates which sub-protocol was used among the NTLM protocols.
    - Key length indicates the length of the generated session key. This will be 0 if no session key was requested.


This event generates when a logon session is created (on destination machine). It generates on the computer that was accessed, where the session was created.

Auditing:     Conditional

Audit on servers and workstations, on domain controllers if possible.


Volume:     LowMediumHighVery High

Volume may be high on busy domain controllers.


Security recommendations

CJIS 5.4.1.1.1
ISO 27001:2013 A.12.4.3
HIPAA: 164.308 (a)(5)(ii)(C)
NIST SP 800-53: AC-2
NIST 800-171: 3.1.1
CMMC v2 L1: AC.L2-3.1.16


Microsoft Documentation

Event ID - 4624



NameFieldInsertion StringOSExample
Security IDSubjectUserSid%1Any S-1-5-18
Account NameSubjectUserName%2Any ComputerName
Account DomainSubjectDomainName%3Any WORKGROUP
Logon IDSubjectLogonId%4Any 0x3e7
Security IDTargetUserSid%5Any THEDOMAIN\JohnDoe
Account NameTargetUserName%6Any JohnDoe
Account DomainTargetDomainName%7Any THEDOMAIN
Logon IDTargetLogonId%8Any 0x3e7
Logon TypeLogonType%9Any View Codes
Logon ProcessLogonProcessName%10Any ProcessName
Authentication PackageAuthenticationPackageName%11Any View Codes
Workstation NameWorkstationName%12Any ComputerName
Logon GUIDLogonGuid%13Any {00000000-0000-0000-0000-000000000000}
Transited ServicesTransmittedServices%14Any -
Package Name (NTLM only)LmPackageName%15Any NTLMv2
Key LengthKeyLength%16Any 0
Process IDProcessId%17Any 0x1f8
Process NameProcessName%18Any C:\Windows\System32\services.exe
Source Network AddressIpAddress%19Any 192.168.0.2
Source PortIpPort%20Any 44555
Impersonation LevelImpersonationLevel%218/2012+ View Codes
Restricted Admin ModeRestrictedAdminMode%2210+ Yes
Network Account NameTargetOutboundUserName%2310+ -
Network Account DomainTargetOutboundDomainName%2410+ -
Virtual AccountVirtualAccount%2510+ No
Linked Logon IDTargetLinkedLogonId%2610+ 0x0
Elevated TokenElevatedToken%2710+ %%1842


Lookup Audit Policy Configuration Settings

C:\> AuditPol.exe /get /subcategory:Logon



LEFT/RIGHT arrow keys for navigation

Back to List