<?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 Make MTP logs using XQL in Cortex XDR Discussions</title>
    <link>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/make-mtp-logs-using-xql/m-p/1252026#M9246</link>
    <description>&lt;P&gt;Hello, Everyone!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;1. An Android device is connected to a computer where XDR is installed.&lt;BR /&gt;2. After the connection (Android-Computer), the user accesses the Android device’s folder from the computer and copies file A from the computer to the Android device.&lt;BR /&gt;3. On the computer, the copied file A on the Android device is renamed or copied to a different directory in the Android.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In this scenario, I would like to know:&lt;/P&gt;
&lt;P&gt;Whether these actions are logged in XDR, and&lt;BR /&gt;Whether these logs can be searched using XQL.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I would appreciate insights from experts. Thank you.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;#XQL #MTP&lt;/P&gt;</description>
    <pubDate>Fri, 10 Apr 2026 09:16:10 GMT</pubDate>
    <dc:creator>Y.SONG464633</dc:creator>
    <dc:date>2026-04-10T09:16:10Z</dc:date>
    <item>
      <title>Make MTP logs using XQL</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/make-mtp-logs-using-xql/m-p/1252026#M9246</link>
      <description>&lt;P&gt;Hello, Everyone!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;1. An Android device is connected to a computer where XDR is installed.&lt;BR /&gt;2. After the connection (Android-Computer), the user accesses the Android device’s folder from the computer and copies file A from the computer to the Android device.&lt;BR /&gt;3. On the computer, the copied file A on the Android device is renamed or copied to a different directory in the Android.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In this scenario, I would like to know:&lt;/P&gt;
&lt;P&gt;Whether these actions are logged in XDR, and&lt;BR /&gt;Whether these logs can be searched using XQL.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I would appreciate insights from experts. Thank you.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;#XQL #MTP&lt;/P&gt;</description>
      <pubDate>Fri, 10 Apr 2026 09:16:10 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/make-mtp-logs-using-xql/m-p/1252026#M9246</guid>
      <dc:creator>Y.SONG464633</dc:creator>
      <dc:date>2026-04-10T09:16:10Z</dc:date>
    </item>
    <item>
      <title>Re: Make MTP logs using XQL</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/make-mtp-logs-using-xql/m-p/1252104#M9248</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/1184632661"&gt;@Y.SONG464633&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Greetings for the day.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&lt;SPAN&gt;Based on the internal research and technical support cases, here are the answers to your scenario regarding Android devices and Cortex XDR:&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;1. Whether these actions are logged in XDR&lt;/P&gt;
&lt;P data-end="306" data-start="113"&gt;In the scenario described (Android device connected to a computer), file actions such as copying, renaming, or moving files within the Android device are generally &lt;STRONG data-end="305" data-start="277"&gt;not logged by Cortex XDR&lt;/STRONG&gt;.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;H4 data-end="334" data-start="308"&gt;The Technical Reason:&lt;/H4&gt;
&lt;UL data-end="1156" data-start="336"&gt;
&lt;LI data-end="545" data-start="336" data-section-id="a2zhts"&gt;&lt;STRONG data-end="362" data-start="338"&gt;Protocol Difference:&lt;/STRONG&gt;&lt;BR data-end="365" data-start="362" /&gt;Most modern Android devices connect to computers using &lt;STRONG data-end="455" data-start="422"&gt;Media Transfer Protocol (MTP)&lt;/STRONG&gt; or &lt;STRONG data-end="492" data-start="459"&gt;Windows Portable Device (WPD)&lt;/STRONG&gt; drivers rather than standard USB Mass Storage (MSC).&lt;/LI&gt;
&lt;LI data-end="913" data-start="547" data-section-id="15lii1v"&gt;&lt;STRONG data-end="571" data-start="549"&gt;Driver Limitation:&lt;/STRONG&gt;&lt;BR data-end="574" data-start="571" /&gt;Cortex XDR's EDR driver (&lt;STRONG data-end="612" data-start="601"&gt;tedrdrv&lt;/STRONG&gt;) monitors file activity on system-mounted volumes. Because MTP devices are not mapped as standard drive volumes (e.g., they don't get a drive letter like E:) and use different drivers (such as &lt;STRONG data-end="821" data-start="807"&gt;WUDFRd.sys&lt;/STRONG&gt;), the EDR component does not currently capture granular file operations performed over MTP.&lt;/LI&gt;
&lt;LI data-end="1156" data-start="915" data-section-id="u1fl5g"&gt;&lt;STRONG data-end="954" data-start="917"&gt;Device Control vs. File Activity:&lt;/STRONG&gt;&lt;BR data-end="957" data-start="954" /&gt;While XDR may log the physical connection of the device (a &lt;STRONG data-end="1033" data-start="1018"&gt;DEVICE_PLUG&lt;/STRONG&gt; event), it does not natively track the subsequent file-level modifications (copy/rename) made inside that portable device.&lt;/LI&gt;
&lt;/UL&gt;
&lt;H4 data-end="1214" data-start="1163" data-section-id="i6czdg"&gt;&amp;nbsp;&lt;/H4&gt;
&lt;H4 data-end="1214" data-start="1163" data-section-id="i6czdg"&gt;2. Whether these logs can be searched using XQL&lt;/H4&gt;
&lt;P data-end="1331" data-start="1216"&gt;Because the agent does not capture these specific MTP-based file operations, they &lt;STRONG data-end="1330" data-start="1298"&gt;cannot be searched using XQL&lt;/STRONG&gt;.&lt;/P&gt;
&lt;P data-end="1463" data-start="1333"&gt;However, if the device were a standard USB Flash Drive (which mounts as a storage volume), you &lt;STRONG data-end="1437" data-start="1428"&gt;could&lt;/STRONG&gt; search for these actions.&lt;/P&gt;
&lt;P data-end="1463" data-start="1333"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P data-end="1575" data-start="1465"&gt;For comparison, with a standard removable drive, you could use a query like the one below to find file writes:&lt;/P&gt;
&lt;DIV class="relative w-full mt-4 mb-1"&gt;
&lt;DIV class=""&gt;
&lt;DIV class="relative"&gt;
&lt;DIV class="h-full min-h-0 min-w-0"&gt;
&lt;DIV class="h-full min-h-0 min-w-0"&gt;
&lt;DIV class="border border-token-border-light border-radius-3xl corner-superellipse/1.1 rounded-3xl"&gt;
&lt;DIV class="h-full w-full border-radius-3xl bg-token-bg-elevated-secondary corner-superellipse/1.1 overflow-clip rounded-3xl lxnfua_clipPathFallback"&gt;
&lt;DIV class="relative"&gt;
&lt;DIV class="w-full overflow-x-hidden overflow-y-auto pe-11 pt-3"&gt;
&lt;DIV class="relative z-0 flex max-w-full"&gt;
&lt;DIV id="code-block-viewer" class="q9tKkq_viewer cm-editor z-10 light:cm-light dark:cm-light flex h-full w-full flex-col items-stretch ͼ5 ͼj" dir="ltr"&gt;
&lt;DIV class="cm-scroller"&gt;
&lt;DIV class="cm-content q9tKkq_readonly"&gt;&lt;SPAN&gt;dataset = xdr_data &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;| filter event_type = FILE and event_sub_type = ENUM.FILE_WRITE &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;| alter Drive_Type = action_file_device_info -&amp;gt; storage_device_drive_type{}&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;| filter Drive_Type = "2" // Value "2" represents Removable Media&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;| fields _time, agent_hostname, actor_process_image_name, action_file_path, action_file_name&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;P&gt;&lt;LI-WRAPPER&gt;&lt;/LI-WRAPPER&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you feel this has answered your query, please let us know by clicking&amp;nbsp;&lt;STRONG&gt;like&amp;nbsp;&lt;/STRONG&gt;and on&amp;nbsp;&lt;STRONG&gt;"mark this as a Solution"&lt;/STRONG&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks &amp;amp; Regards,&lt;BR /&gt;S. Subashkar Sekar&lt;/P&gt;</description>
      <pubDate>Mon, 13 Apr 2026 13:39:45 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/make-mtp-logs-using-xql/m-p/1252104#M9248</guid>
      <dc:creator>susekar</dc:creator>
      <dc:date>2026-04-13T13:39:45Z</dc:date>
    </item>
  </channel>
</rss>

