Skip to content
WETNav
SecurityAuthentication

Event ID 4778: A session was reconnected to a Window Station

A session was reconnected to a Window Station.

Channel
Security
Logged by default
No
Written on
Target host
Volume
Low
Audit subcategory
Other Logon/Logoff Events
Needs a SACL
No

To have this event

  • Enable Other Logon/Logoff Events: auditpol /set /subcategory:"Other Logon/Logoff Events" /success:enable /failure:enable

Key fields

Exact XML field names, as they appear in <Data Name="…"> and in SIEM field extractions.

AccountNameAccount that reconnected
AccountDomainDomain of the account
LogonIDLogon ID for correlation
SessionNameName of the session (e.g., RDP-Tcp#0)
ClientNameClient computer name
ClientAddressClient IP address
Have one of these events? Paste it into the decoder

Pull this event

Retrieval queries for a live host, a collected .evtx file and common SIEMs. Filter further on the key fields above.

Get-WinEvent -LogName 'Security' -FilterXPath "*[System[(EventID=4778)]]" -MaxEvents 50 |
  Select-Object TimeCreated, Id, MachineName, Message

-FilterXPath supports exact matches only. For substring matching, filter in Where-Object.

Where it shows up

Investigations, attack signals and lateral movement techniques that rely on this event.

ATT&CK mapping

Techniques this event can help detect. Most of these depend on specific field values; the event alone does not mean the technique happened.

Common questions

What does Windows event ID 4778 mean?
A session was reconnected to a Window Station. It is written to the Windows Security log (Security).
Is event 4778 logged by default?
No. It must be enabled before it is recorded. It is controlled by the "Other Logon/Logoff Events" Advanced Audit Policy subcategory (Logon/Logoff).
Where is event 4778 recorded?
In the Security channel on the target host.

A session was reconnected to a Window Station. Needs the "Other Logon/Logoff Events" audit subcategory. Key fields, logging requirements, ATT&CK mapping and ready-to-run queries.