Windows event log · Microsoft-Windows-TerminalServices-Gateway/Operational313 Remote Desktop Services: User has initiated an inbound connection
- Remote access
- 3 fields
Microsoft-Windows-TerminalServices-Gateway%4Operational.evtxMicrosoft-Windows-TerminalServices-Gateway
Fields EvtxECmd extracts
3 columns in the EvtxECmd CSV
- UserName
%Username%- %Username% = /Event/UserData/EventInfo/Username
- RemoteHost
%IpAddress%- %IpAddress% = /Event/UserData/EventInfo/IpAddress
- PayloadData1
%Username% on client computer %IpAddress% has initiated an inbound connection that has yet to be authenticated- %Username% = /Event/UserData/EventInfo/Username
- %IpAddress% = /Event/UserData/EventInfo/IpAddress
Sample event
Event XML from the map file
<Event>
<System>
<Provider Name="Microsoft-Windows-TerminalServices-Gateway" Guid="4d5ae6a1-c7c8-4e6d-b840-4d8080b42e1b"/>
<EventID>313</EventID>
<Version>0</Version>
<Level>4</Level>
<Task>5</Task>
<Opcode>30</Opcode>
<Keywords>0x4020000001000000</Keywords>
<TimeCreated SystemTime="2021-05-16 20:13:17.4272057"/>
<EventRecordID>1251305</EventRecordID>
<Correlation ActivityID="3fb80caa-2356-43c8-9991-b852526f2500"/>
<Execution ProcessID="2040" ThreadID="1888"/>
<Channel>Microsoft-Windows-TerminalServices-Gateway/Operational</Channel>
<Computer>HOSTNAME.domain.com</Computer>
<Security UserID="S-1-5-20"/>
</System>
<UserData>
<EventInfo>
<Username>username@DOMAIN</Username>
<IpAddress>172.16.2.13</IpAddress>
</EventInfo>
</UserData>
</Event>References
2 links
Source: evtx/Maps/Microsoft-Windows-TerminalServices-Gateway-Operational_Microsoft-Windows-TerminalServices-Gateway_313.map(opens in new tab) by Andrew Rathbun and Matt Arbaugh and contributors(opens in new tab), MIT License(opens in new tab)