Microsoft-Windows-Security-Auditing › Event 4647

Event ID 4647 — User initiated logoff.

Provider
Microsoft-Windows-Security-Auditing
Channel
Security
Audit Policy
Logon/Logoff → Logoff
Collection Priority
Recommended (Palantir, others)
Opcode
Info

Description

User initiated logoff.

Message #

User initiated logoff:

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

This event is generated when a logoff is initiated. No further user-initiated activity can occur. This event can be interpreted as a logoff event.

Fields #

NameDescription
TargetUserSid SID[Subject] Security ID.
TargetUserName UnicodeString[Subject] Account Name.
TargetDomainName UnicodeString[Subject] Account Domain.
TargetLogonId HexInt64[Subject] Logon ID.

Example Event #

{
  "system": {
    "provider": "Microsoft-Windows-Security-Auditing",
    "guid": "54849625-5478-4994-A5BA-3E3B0328C30D",
    "event_source_name": "",
    "event_id": 4647,
    "version": 0,
    "level": 0,
    "task": 12545,
    "opcode": 0,
    "keywords": 9232379236109516800,
    "time_created": "2023-11-05T22:31:33.526113+00:00",
    "event_record_id": 3363,
    "correlation": {
      "ActivityID": "59A0D65F-1037-0001-A7D6-A0593710DA01"
    },
    "execution": {
      "process_id": 808,
      "thread_id": 8392
    },
    "channel": "Security",
    "computer": "WinDev2310Eval",
    "security": {
      "user_id": ""
    }
  },
  "event_data": {
    "TargetUserSid": "S-1-5-21-1992711665-1655669231-58201500-1000",
    "TargetUserName": "User",
    "TargetDomainName": "WINDEV2310EVAL",
    "TargetLogonId": "0x580c6"
  },
  "message": ""
}

Detection Patterns #

References #