Skip to content
CyberSimStart training

Windows Security log

4634 An account was logged off.

A logon session ended. On its own it says little; matched to its 4624 by the logon ID it tells you how long a session lasted.

Fields to read

FieldWhat it tells you
TargetUserNameThe account whose session ended.
TargetLogonIdThe session ID, the same as in the 4624 that started it.
LogonTypeThe type of the session that ended.

Normal

  • Constantly, on every computer: most logons end with a logoff.

Suspicious

  • Rarely suspicious by itself. Many very short network sessions to many hosts can be a scanning or remote-execution tool.

Find it

Microsoft Sentinel (KQL)

SecurityEvent
| where EventID == 4634

Splunk (SPL)

index=wineventlog source="XmlWinEventLog:Security" EventCode=4634

Table, index and source names as CyberSim uses them; your workspace may name them differently.

Where you meet it in CyberSim

It is also part of the background activity of every investigation window: the noise you search through.

Other Security events

Source: Microsoft Learn: event 4634