<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic retrieve RDP informations in Cortex XDR Discussions</title>
    <link>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/retrieve-rdp-informations/m-p/571761#M5837</link>
    <description>&lt;P&gt;Hello and sorry for my bad english,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I want to retrieve informations about RDP connection to computers.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;When computer A connect to computer B with RDP, on computer B (destination) windows log this event :&lt;BR /&gt;&lt;SPAN&gt;Event Security with ID 4624 et logon type 10&lt;BR /&gt;&lt;/SPAN&gt;&lt;BR /&gt;How by query builder retrieve this information on all computers ?&lt;BR /&gt;&lt;BR /&gt;thanks a lot&lt;/P&gt;</description>
    <pubDate>Thu, 04 Jan 2024 12:48:56 GMT</pubDate>
    <dc:creator>LECORRE</dc:creator>
    <dc:date>2024-01-04T12:48:56Z</dc:date>
    <item>
      <title>retrieve RDP informations</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/retrieve-rdp-informations/m-p/571761#M5837</link>
      <description>&lt;P&gt;Hello and sorry for my bad english,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I want to retrieve informations about RDP connection to computers.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;When computer A connect to computer B with RDP, on computer B (destination) windows log this event :&lt;BR /&gt;&lt;SPAN&gt;Event Security with ID 4624 et logon type 10&lt;BR /&gt;&lt;/SPAN&gt;&lt;BR /&gt;How by query builder retrieve this information on all computers ?&lt;BR /&gt;&lt;BR /&gt;thanks a lot&lt;/P&gt;</description>
      <pubDate>Thu, 04 Jan 2024 12:48:56 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/retrieve-rdp-informations/m-p/571761#M5837</guid>
      <dc:creator>LECORRE</dc:creator>
      <dc:date>2024-01-04T12:48:56Z</dc:date>
    </item>
    <item>
      <title>Re: retrieve RDP informations</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/retrieve-rdp-informations/m-p/572307#M5859</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/97955327"&gt;@LECORRE&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thank you for writing to live community.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;You can use below query as a sample and modify it as per your requirement:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;preset = xdr_event_log&lt;BR /&gt;| filter action_evtlog_event_id = 4624&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope this helps!&lt;/P&gt;
&lt;P&gt;Please mark the response as "Accept as Solution" if it answers your query.&lt;/P&gt;</description>
      <pubDate>Tue, 09 Jan 2024 10:26:17 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/retrieve-rdp-informations/m-p/572307#M5859</guid>
      <dc:creator>aspatil</dc:creator>
      <dc:date>2024-01-09T10:26:17Z</dc:date>
    </item>
    <item>
      <title>Re: retrieve RDP informations</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/retrieve-rdp-informations/m-p/572308#M5860</link>
      <description>&lt;P&gt;I create found base on other topic on forum, the script is :&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;dataset = xdr_data
| filter event_type = WINDOWS_EVENT_LOG AND action_evtlog_event_id = 4624
| alter Logon_Type = arrayindex(regextract(action_evtlog_message, "Logon Type:.*?(\d+)\r\n"),0), User_Name = arrayindex(regextract(action_evtlog_message,"New Logon:\r\n.*\r\n.*?Account Name:.*?(\w.*?)\r\n"),0), Source_IP = arrayindex(regextract(action_evtlog_message, "Source Network Address:.*?(\d+\.\d+\.\d+\.\d+)\r\n"),0), HOST_Name = arrayindex(regextract(action_evtlog_message, "Workstation Name:.*?(\w.*)\r\n"),0)
| filter Logon_Type  = "10"
| fields agent_hostname, User_name, Logon_Type, Source_IP  &lt;/PRE&gt;</description>
      <pubDate>Tue, 09 Jan 2024 10:28:48 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/retrieve-rdp-informations/m-p/572308#M5860</guid>
      <dc:creator>LECORRE</dc:creator>
      <dc:date>2024-01-09T10:28:48Z</dc:date>
    </item>
  </channel>
</rss>

