From 79669ae1b8d1b2eb43fd858dd0e3bc9425287325 Mon Sep 17 00:00:00 2001 From: Andrew Rathbun Date: Sat, 22 May 2021 14:04:52 -0400 Subject: [PATCH] Create Microsoft-Windows-TerminalServices-Gateway-Operational_Microsoft-Windows-TerminalServices-Gateway_200.map --- ...t-Windows-TerminalServices-Gateway_200.map | 87 +++++++++++++++++++ 1 file changed, 87 insertions(+) create mode 100644 evtx/Maps/Microsoft-Windows-TerminalServices-Gateway-Operational_Microsoft-Windows-TerminalServices-Gateway_200.map diff --git a/evtx/Maps/Microsoft-Windows-TerminalServices-Gateway-Operational_Microsoft-Windows-TerminalServices-Gateway_200.map b/evtx/Maps/Microsoft-Windows-TerminalServices-Gateway-Operational_Microsoft-Windows-TerminalServices-Gateway_200.map new file mode 100644 index 00000000..a28a5945 --- /dev/null +++ b/evtx/Maps/Microsoft-Windows-TerminalServices-Gateway-Operational_Microsoft-Windows-TerminalServices-Gateway_200.map @@ -0,0 +1,87 @@ +Author: Andrew Rathbun +Description: "Remote Desktop Services: User meets resource authorization policy requirements needed to connect to TS Gateway server" +EventId: 200 +Channel: Microsoft-Windows-TerminalServices-Gateway/Operational +Provider: Microsoft-Windows-TerminalServices-Gateway +Maps: + - + Property: UserName + PropertyValue: "%Username%" + Values: + - + Name: Username + Value: "/Event/UserData/EventInfo/Username" + - + Property: RemoteHost + PropertyValue: "%Address%" + Values: + - + Name: Address + Value: "/Event/UserData/EventXML/Address" + - + Property: PayloadData1 + PropertyValue: "%Username% on client computer %IpAddress% met resource authorization policy requirements and was therefore authorized to access the TS Gateway server" + Values: + - + Name: Username + Value: "/Event/UserData/EventInfo/Username" + - + Name: IpAddress + Value: "/Event/UserData/EventInfo/IpAddress" + - + Property: PayloadData4 + PropertyValue: "ErrorCode: %ErrorCode%" + Values: + - + Name: ErrorCode + Value: "/Event/UserData/EventInfo/ErrorCode" + - + Property: PayloadData5 + PropertyValue: "ConnectionProtocol: %ConnectionProtocol%" + Values: + - + Name: ConnectionProtocol + Value: "/Event/UserData/EventInfo/ConnectionProtocol" + - + Property: PayloadData6 + PropertyValue: "AuthType: %AuthType%" + Values: + - + Name: AuthType + Value: "/Event/UserData/EventInfo/AuthType" + +# Documentation: +# https://docs.microsoft.com/en-us/previous-versions/windows/it-pro/windows-server-2008-r2-and-2008/cc775349(v=ws.10) +# https://kb.eventtracker.com/evtpass/evtpages/EventId_200_Microsoft-Windows-TerminalServices-Gateway_67344.asp +# http://c-nergy.be/blog/?p=8187 +# https://system32.eventsentry.com/codes/field/Windows +# +# Example Event Data: +# +# +# +# 200 +# 0 +# 4 +# 5 +# 30 +# 0x4020000001000000 +# +# 1251305 +# +# +# Microsoft-Windows-TerminalServices-Gateway/Operational +# HOSTNAME.domain.com +# +# +# +# +# DOMAIN\username +# 72.16.2.13 +# NTLM +# +# HTTP +# 0 +# +# +#