<?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 Cortex XDR Policy - Executables blocked from removable media in Cortex XDR Discussions</title>
    <link>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/cortex-xdr-policy-executables-blocked-from-removable-media/m-p/1260398#M9472</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As the name suggests, we have a policy to block executables from removable storage. While it works great, there are issues arising when a user wants to install drivers for printers, scanners etc. Since as soon as a device is connected for the first time, it gets mounted as a storage drive. Is there a way to allow only such devices to be added to exceptions from this?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Any help will be much appreciated.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Abdullah&lt;/P&gt;</description>
    <pubDate>Thu, 30 Jul 2026 06:49:04 GMT</pubDate>
    <dc:creator>Abdullah-Tariq</dc:creator>
    <dc:date>2026-07-30T06:49:04Z</dc:date>
    <item>
      <title>Cortex XDR Policy - Executables blocked from removable media</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/cortex-xdr-policy-executables-blocked-from-removable-media/m-p/1260398#M9472</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As the name suggests, we have a policy to block executables from removable storage. While it works great, there are issues arising when a user wants to install drivers for printers, scanners etc. Since as soon as a device is connected for the first time, it gets mounted as a storage drive. Is there a way to allow only such devices to be added to exceptions from this?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Any help will be much appreciated.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Abdullah&lt;/P&gt;</description>
      <pubDate>Thu, 30 Jul 2026 06:49:04 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/cortex-xdr-policy-executables-blocked-from-removable-media/m-p/1260398#M9472</guid>
      <dc:creator>Abdullah-Tariq</dc:creator>
      <dc:date>2026-07-30T06:49:04Z</dc:date>
    </item>
    <item>
      <title>Re: Cortex XDR Policy - Executables blocked from removable media</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/cortex-xdr-policy-executables-blocked-from-removable-media/m-p/1260464#M9473</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/870588881"&gt;@Abdullah-Tariq&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Greetings&amp;nbsp; for the day.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="isSelectedEnd"&gt;&lt;SPAN&gt;Yes, there is a way to allow these specific printer and scanner drivers while maintaining your policy to block other executables from removable storage. This is typically achieved by creating a &lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN&gt;Legacy Agent Exception&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN&gt; specifically for the &lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN&gt;Removable Media Files&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN&gt; module.&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="isSelectedEnd"&gt;&lt;STRONG&gt;&lt;SPAN&gt;Root Cause:&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P class="isSelectedEnd"&gt;&lt;SPAN&gt;Many multi-function printers and scanners mount a virtual CD-ROM or USB partition when connected for the first time to provide drivers and utilities to the host. Because this internal storage is classified as a removable drive by the operating system, it triggers the &lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN&gt;Removable Media Files&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN&gt; protection module in your Restriction Profile, which blocks the driver's execution.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="isSelectedEnd"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="isSelectedEnd"&gt;To resolve this issue, I'll share the &lt;STRONG&gt;recommended solution&lt;/STRONG&gt; and the steps to implement it.&lt;/P&gt;
&lt;P class="isSelectedEnd"&gt;&amp;nbsp;&lt;/P&gt;
&lt;OL start="1" data-spread="true"&gt;
&lt;LI&gt;&lt;STRONG&gt;&lt;SPAN&gt;Identify the Blocked Executable&lt;/SPAN&gt;&lt;/STRONG&gt;
&lt;UL data-spread="false"&gt;
&lt;LI&gt;&lt;SPAN&gt;Navigate to the &lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN&gt;Incidents&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN&gt; or &lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN&gt;Alerts&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN&gt; tab in the Cortex XDR console.&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;Look for an alert titled &lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN&gt;"Execution from a Restricted Location"&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN&gt; where the &lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN&gt;Component&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN&gt; is listed as &lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN&gt;MEDIA_CTRL&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;Note the exact file name (for example, &lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN&gt;PTLITE10.EXE&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN&gt; or &lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN&gt;setup.exe&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN&gt;) and, if possible, the &lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN&gt;SHA256&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN&gt; hash.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;P class="isSelectedEnd"&gt;&lt;STRONG&gt;&lt;SPAN&gt;Configure the Legacy Agent Exception&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;UL data-spread="false"&gt;
&lt;LI&gt;&lt;SPAN&gt;Navigate to &lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN&gt;Settings &amp;gt; Endpoints &amp;gt; Exception Configuration&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;Click &lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN&gt;+ New Exception&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN&gt; and select &lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN&gt;Legacy Agent Exception&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;Provide a descriptive name (for example, &lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN&gt;Allow Printer Driver Installers&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN&gt;).&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;Select the &lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN&gt;Windows&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN&gt; platform.&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;In the &lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN&gt;Module&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN&gt; dropdown, select &lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN&gt;Removable Media Files&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN&gt;.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;In the &lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN&gt;Target&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN&gt; field, enter the file name using a leading wildcard to account for different drive letters (for example, &lt;/SPAN&gt;&lt;EM&gt;&lt;SPAN&gt;D:*&lt;/SPAN&gt;&lt;SPAN&gt; vs **E:*&lt;/SPAN&gt;&lt;/EM&gt;&lt;SPAN&gt;).&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P class="isSelectedEnd"&gt;&lt;STRONG&gt;&lt;SPAN&gt;Use the following syntax:&amp;nbsp;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;CODE dir="ltr"&gt;&lt;SPAN&gt;*&lt;SPAN class="text-token-text-primary cursor-text rounded-sm" data-placeholder-token="true"&gt;[FILE_NAME]&lt;/SPAN&gt;.exe&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/P&gt;
&lt;P class="isSelectedEnd"&gt;&lt;STRONG&gt;&lt;SPAN&gt;Example:&amp;nbsp;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;CODE dir="ltr"&gt;&lt;SPAN&gt;*setup.exe&amp;nbsp;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;SPAN&gt;or&amp;nbsp;&lt;/SPAN&gt;&lt;CODE dir="ltr"&gt;&lt;SPAN&gt;*PTLITE10.EXE&lt;BR /&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;&lt;SPAN&gt;Apply the Exception to the Policy&lt;/SPAN&gt;&lt;/STRONG&gt;
&lt;UL data-spread="false"&gt;
&lt;LI&gt;&lt;SPAN&gt;Go to &lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN&gt;Endpoints &amp;gt; Policy Management&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;Edit the policy rule applied to your endpoints.&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;Add the newly created &lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN&gt;Exception Profile&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN&gt; to the rule.&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;Save the policy and ensure it is deployed to the agents.&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;/OL&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>Thu, 30 Jul 2026 14:02:32 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/cortex-xdr-policy-executables-blocked-from-removable-media/m-p/1260464#M9473</guid>
      <dc:creator>susekar</dc:creator>
      <dc:date>2026-07-30T14:02:32Z</dc:date>
    </item>
  </channel>
</rss>

