<?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 Re: bioc not prevent in Cortex XDR Discussions</title>
    <link>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/bioc-not-prevent/m-p/1254908#M9351</link>
    <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/307134"&gt;@tlmarques&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;DIV class="" data-is-intersecting="true" data-turn-id-container="8bccfb5f-fd6f-4b89-94a0-748432221f45"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV class="" data-is-intersecting="true" data-turn-id-container="request-6a0f6c0f-2c60-83ea-b42b-a7f7697a935c-3"&gt;
&lt;SECTION class="text-token-text-primary w-full focus:outline-none has-data-writing-block:pointer-events-none [&amp;amp;:has([data-writing-block])&amp;gt;*]:pointer-events-auto R6Vx5W_threadScrollVars scroll-mb-[calc(var(--scroll-root-safe-area-inset-bottom,0px)+var(--thread-response-height))] scroll-mt-[calc(var(--header-height)+min(200px,max(70px,20svh)))]" dir="auto" data-turn="assistant" data-scroll-anchor="false" data-testid="conversation-turn-66" data-turn-id-container="request-6a0f6c0f-2c60-83ea-b42b-a7f7697a935c-3" data-turn-id="request-6a0f6c0f-2c60-83ea-b42b-a7f7697a935c-3"&gt;
&lt;DIV class="text-base my-auto mx-auto pb-10 [--thread-content-margin:var(--thread-content-margin-xs,calc(var(--spacing)*4))] @w-sm/main:[--thread-content-margin:var(--thread-content-margin-sm,calc(var(--spacing)*6))] @w-lg/main:[--thread-content-margin:var(--thread-content-margin-lg,calc(var(--spacing)*16))] px-(--thread-content-margin)"&gt;
&lt;DIV class="[--thread-content-max-width:40rem] @w-lg/main:[--thread-content-max-width:48rem] mx-auto max-w-(--thread-content-max-width) flex-1 group/turn-messages focus-visible:outline-hidden relative flex w-full min-w-0 flex-col agent-turn"&gt;
&lt;DIV class="flex max-w-full flex-col gap-4 grow"&gt;
&lt;DIV class="min-h-8 text-message relative flex w-full flex-col items-end gap-2 text-start break-words whitespace-normal outline-none keyboard-focused:focus-ring [.text-message+&amp;amp;]:mt-1" dir="auto" tabindex="0" data-turn-start-message="true" data-message-model-slug="gpt-5-5" data-message-id="b0db3f29-582d-42df-bd24-8587b2321814" data-message-author-role="assistant"&gt;
&lt;DIV class="flex w-full flex-col gap-1 empty:hidden"&gt;
&lt;DIV class="markdown prose dark:prose-invert wrap-break-word w-full dark markdown-new-styling"&gt;
&lt;P data-end="265" data-start="0"&gt;Standard Behavioral Indicator of Compromise (BIOC) rules in Cortex XDR are configured for &lt;STRONG data-end="108" data-start="90"&gt;Detection only&lt;/STRONG&gt; by default. To enable prevention (blocking), you must convert the BIOC into a &lt;STRONG data-end="213" data-start="187"&gt;Custom Prevention Rule&lt;/STRONG&gt; and apply it to an active &lt;STRONG data-end="264" data-start="240"&gt;Restrictions Profile&lt;/STRONG&gt;.&lt;/P&gt;
&lt;P data-end="265" data-start="0"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P data-end="442" data-start="267"&gt;The rule you created is currently failing to block because of incompatible XQL syntax and the selected event type. Follow these steps to configure it correctly for prevention:&lt;/P&gt;
&lt;H5 data-end="473" data-start="444" data-section-id="1bn0tbm"&gt;1. Please Correct the XQL Syntax:&lt;/H5&gt;
&lt;P data-end="646" data-start="475"&gt;The Cortex XDR agent has specific requirements for prevention rules. The &lt;CODE data-end="558" data-start="548"&gt;contains&lt;/CODE&gt; operator and simple string matching are often incompatible with agent-side enforcement.&lt;/P&gt;
&lt;UL data-end="934" data-start="648"&gt;
&lt;LI data-end="754" data-start="648" data-section-id="kn08ii"&gt;&lt;STRONG data-end="677" data-start="650"&gt;Use the Regex Operator:&lt;/STRONG&gt; Replace &lt;CODE data-end="696" data-start="686"&gt;contains&lt;/CODE&gt; with the regular expression operator &lt;CODE data-end="738" data-start="734"&gt;~=&lt;/CODE&gt; (tilde equals).&lt;/LI&gt;
&lt;LI data-end="934" data-start="755" data-section-id="1ptd7fw"&gt;&lt;STRONG data-end="783" data-start="757"&gt;Change the Event Type:&lt;/STRONG&gt; Instead of &lt;CODE data-end="812" data-start="795"&gt;ENUM.LOAD_IMAGE&lt;/CODE&gt;, use &lt;CODE data-end="832" data-start="818"&gt;ENUM.PROCESS&lt;/CODE&gt;. This enables the agent to block the command at execution time rather than reacting to a module load.&lt;/LI&gt;
&lt;/UL&gt;
&lt;H5 data-end="968" data-start="936"&gt;&lt;STRONG data-end="968" data-start="936"&gt;Recommended Corrected Query:&lt;/STRONG&gt;&lt;/H5&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=""&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 ͼs ͼ16" dir="ltr"&gt;
&lt;DIV class="cm-scroller"&gt;
&lt;PRE class="cm-content q9tKkq_readonly m-0"&gt;&lt;CODE&gt;&lt;SPAN&gt;dataset = xdr_data &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;| filter event_type = ENUM.PROCESS &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;| filter action_process_image_command_line ~= ".*netsh.*advfirewall.*set.*currentprofile.*state.*off.*"&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&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;H4 data-end="1192" data-start="1154" data-section-id="57c76b"&gt;2. Configure the Prevention Action&lt;/H4&gt;
&lt;P data-end="1281" data-start="1194"&gt;Once the BIOC rule is saved using compatible syntax, link it to a Restrictions Profile:&lt;/P&gt;
&lt;OL data-end="1857" data-start="1283"&gt;
&lt;LI data-end="1325" data-start="1283" data-section-id="d1idvz"&gt;Navigate to &lt;STRONG data-end="1324" data-start="1298"&gt;Detection Rules → BIOC&lt;/STRONG&gt;.&lt;/LI&gt;
&lt;LI data-end="1521" data-start="1326" data-section-id="1duxics"&gt;Locate your rule, right-click it, and select &lt;STRONG data-end="1405" data-start="1374"&gt;Add to restrictions profile&lt;/STRONG&gt;.&lt;BR data-end="1409" data-start="1406" /&gt;&lt;EM data-end="1521" data-start="1412"&gt;(If this option is missing, the XQL syntax is still incompatible with the agent’s prevention requirements.)&lt;/EM&gt;&lt;/LI&gt;
&lt;LI data-end="1603" data-start="1522" data-section-id="1ryf4u7"&gt;Select the &lt;STRONG data-end="1568" data-start="1536"&gt;Windows Restrictions Profile&lt;/STRONG&gt; assigned to your target endpoints.&lt;/LI&gt;
&lt;LI data-end="1759" data-start="1604" data-section-id="830kwn"&gt;In the profile settings, ensure the rule is &lt;STRONG data-end="1662" data-start="1651"&gt;Enabled&lt;/STRONG&gt;. The enforcement action for an enabled Custom Prevention Rule is automatically set to &lt;STRONG data-end="1758" data-start="1749"&gt;Block&lt;/STRONG&gt;.&lt;/LI&gt;
&lt;LI data-end="1857" data-start="1760" data-section-id="18ug1gb"&gt;Save the profile and perform a &lt;STRONG data-end="1813" data-start="1794"&gt;manual check-in&lt;/STRONG&gt; on the endpoint to force the policy update.&lt;/LI&gt;
&lt;/OL&gt;
&lt;H4 data-end="1880" data-start="1859" data-section-id="1eultmf"&gt;(Important Caveats here)&lt;/H4&gt;
&lt;P data-end="2144" data-start="1882"&gt;&lt;STRONG data-end="1906" data-start="1882"&gt;Asynchronous Nature:&lt;/STRONG&gt;&lt;BR data-end="1909" data-start="1906" /&gt;Behavioral Threat Protection (BTP) is an asynchronous module. If the &lt;CODE data-end="1985" data-start="1978"&gt;netsh&lt;/CODE&gt; process executes and terminates very quickly before the agent can intervene, the alert may appear as &lt;STRONG data-end="2099" data-start="2087"&gt;Detected&lt;/STRONG&gt; even though the rule is configured to block.&lt;/P&gt;
&lt;P data-end="2144" data-start="1882"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P data-end="2345" data-start="2146"&gt;&lt;STRONG data-end="2163" data-start="2146"&gt;Whitelisting:&lt;/STRONG&gt;Some critical system processes are whitelisted from termination to maintain OS stability. If the command originates from a whitelisted process, process termination may be skipped.&lt;/P&gt;
&lt;P data-end="2345" data-start="2146"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P data-is-only-node="" data-is-last-node="" data-end="2452" data-start="2347"&gt;&lt;STRONG data-end="2371" data-start="2347"&gt;Note - License Requirement:&amp;nbsp;&lt;/STRONG&gt;Creating and managing custom BIOC rules requires a &lt;STRONG data-end="2443" data-start="2425"&gt;Cortex XDR Pro&lt;/STRONG&gt; license.&lt;/P&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/SECTION&gt;
&lt;/DIV&gt;
&lt;P&gt;&amp;nbsp;&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>Wed, 27 May 2026 19:48:03 GMT</pubDate>
    <dc:creator>susekar</dc:creator>
    <dc:date>2026-05-27T19:48:03Z</dc:date>
    <item>
      <title>bioc not prevent</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/bioc-not-prevent/m-p/1254890#M9350</link>
      <description>&lt;P&gt;Hi everyone,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;i've created this bioc:&lt;/P&gt;
&lt;DIV class="ng-scroll-content"&gt;
&lt;DIV class="tw:mx-6 tw:mb-4 tw:flex"&gt;
&lt;DIV class="tw:flex tw:min-w-0 tw:flex-1 tw:flex-col tw:gap-2"&gt;&lt;SPAN class="tw:text-body-sm-normal tw:break-words tw:line-clamp-5 ng-star-inserted"&gt;dataset = xdr_data | filter event_type = ENUM.LOAD_IMAGE | filter ACTOR_PROCESS_COMMAND_LINE contains "netsh" and ACTOR_PROCESS_COMMAND_LINE contains "advfirewall" and ACTOR_PROCESS_COMMAND_LINE contains "set" and ACTOR_PROCESS_COMMAND_LINE contains "currentprofile" and ACTOR_PROCESS_COMMAND_LINE contains "state" and ACTOR_PROCESS_COMMAND_LINE contains "off"&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;DIV class="tw:flex tw:w-full tw:flex-1 tw:flex-col"&gt;
&lt;DIV class="tw:flex tw:h-10 tw:items-center"&gt;
&lt;DIV class="tw:ml-auto tw:flex tw:items-center tw:gap-2 tw:pr-6"&gt;
&lt;DIV class="tw:active:bg-input-active tw:appearance-none tw:base tw:bg-transparent tw:flex tw:focus-visible:outline-hidden tw:h-8 tw:hover:bg-input-hover tw:items-center tw:max-w-full tw:min-w-24 tw:placeholder:text-placeholder tw:pr-[36px] tw:px-3 tw:rounded-sm tw:select-none tw:self-stretch tw:text-base tw:w-full tw:aria-expanded:bg-input-default tw:cursor-pointer tw:focus-visible:ring tw:focus:bg-input-default tw:text-default" tabindex="0" role="combobox" aria-disabled="false" aria-invalid="false" aria-required="false" aria-expanded="false" aria-haspopup="listbox" data-slot="combobox-trigger"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;DIV class="ng-scroll-content"&gt;
&lt;DIV class="tw:mx-6 tw:flex tw:flex-1 tw:flex-col"&gt;
&lt;DIV class="tw:mt-1.5 tw:mb-10 tw:flex tw:flex-1 tw:flex-col tw:gap-6"&gt;
&lt;DIV class="tw:flex tw:w-full tw:flex-1 tw:flex-col"&gt;
&lt;DIV class="tw:h-full tw:m-0 tw:px-5 tw:py-4"&gt;
&lt;DIV class="tw:flex tw:flex-1 tw:items-center tw:justify-between"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV class="tw:flex tw:flex-1 tw:items-center tw:justify-between"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV class="tw:flex tw:flex-1 tw:items-center tw:justify-between"&gt;but the cortex not prevent this action, only detect ... how i can configure this for prevent??&lt;BR /&gt;&lt;BR /&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Wed, 27 May 2026 12:17:11 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/bioc-not-prevent/m-p/1254890#M9350</guid>
      <dc:creator>tlmarques</dc:creator>
      <dc:date>2026-05-27T12:17:11Z</dc:date>
    </item>
    <item>
      <title>Re: bioc not prevent</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/bioc-not-prevent/m-p/1254908#M9351</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/307134"&gt;@tlmarques&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;DIV class="" data-is-intersecting="true" data-turn-id-container="8bccfb5f-fd6f-4b89-94a0-748432221f45"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV class="" data-is-intersecting="true" data-turn-id-container="request-6a0f6c0f-2c60-83ea-b42b-a7f7697a935c-3"&gt;
&lt;SECTION class="text-token-text-primary w-full focus:outline-none has-data-writing-block:pointer-events-none [&amp;amp;:has([data-writing-block])&amp;gt;*]:pointer-events-auto R6Vx5W_threadScrollVars scroll-mb-[calc(var(--scroll-root-safe-area-inset-bottom,0px)+var(--thread-response-height))] scroll-mt-[calc(var(--header-height)+min(200px,max(70px,20svh)))]" dir="auto" data-turn="assistant" data-scroll-anchor="false" data-testid="conversation-turn-66" data-turn-id-container="request-6a0f6c0f-2c60-83ea-b42b-a7f7697a935c-3" data-turn-id="request-6a0f6c0f-2c60-83ea-b42b-a7f7697a935c-3"&gt;
&lt;DIV class="text-base my-auto mx-auto pb-10 [--thread-content-margin:var(--thread-content-margin-xs,calc(var(--spacing)*4))] @w-sm/main:[--thread-content-margin:var(--thread-content-margin-sm,calc(var(--spacing)*6))] @w-lg/main:[--thread-content-margin:var(--thread-content-margin-lg,calc(var(--spacing)*16))] px-(--thread-content-margin)"&gt;
&lt;DIV class="[--thread-content-max-width:40rem] @w-lg/main:[--thread-content-max-width:48rem] mx-auto max-w-(--thread-content-max-width) flex-1 group/turn-messages focus-visible:outline-hidden relative flex w-full min-w-0 flex-col agent-turn"&gt;
&lt;DIV class="flex max-w-full flex-col gap-4 grow"&gt;
&lt;DIV class="min-h-8 text-message relative flex w-full flex-col items-end gap-2 text-start break-words whitespace-normal outline-none keyboard-focused:focus-ring [.text-message+&amp;amp;]:mt-1" dir="auto" tabindex="0" data-turn-start-message="true" data-message-model-slug="gpt-5-5" data-message-id="b0db3f29-582d-42df-bd24-8587b2321814" data-message-author-role="assistant"&gt;
&lt;DIV class="flex w-full flex-col gap-1 empty:hidden"&gt;
&lt;DIV class="markdown prose dark:prose-invert wrap-break-word w-full dark markdown-new-styling"&gt;
&lt;P data-end="265" data-start="0"&gt;Standard Behavioral Indicator of Compromise (BIOC) rules in Cortex XDR are configured for &lt;STRONG data-end="108" data-start="90"&gt;Detection only&lt;/STRONG&gt; by default. To enable prevention (blocking), you must convert the BIOC into a &lt;STRONG data-end="213" data-start="187"&gt;Custom Prevention Rule&lt;/STRONG&gt; and apply it to an active &lt;STRONG data-end="264" data-start="240"&gt;Restrictions Profile&lt;/STRONG&gt;.&lt;/P&gt;
&lt;P data-end="265" data-start="0"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P data-end="442" data-start="267"&gt;The rule you created is currently failing to block because of incompatible XQL syntax and the selected event type. Follow these steps to configure it correctly for prevention:&lt;/P&gt;
&lt;H5 data-end="473" data-start="444" data-section-id="1bn0tbm"&gt;1. Please Correct the XQL Syntax:&lt;/H5&gt;
&lt;P data-end="646" data-start="475"&gt;The Cortex XDR agent has specific requirements for prevention rules. The &lt;CODE data-end="558" data-start="548"&gt;contains&lt;/CODE&gt; operator and simple string matching are often incompatible with agent-side enforcement.&lt;/P&gt;
&lt;UL data-end="934" data-start="648"&gt;
&lt;LI data-end="754" data-start="648" data-section-id="kn08ii"&gt;&lt;STRONG data-end="677" data-start="650"&gt;Use the Regex Operator:&lt;/STRONG&gt; Replace &lt;CODE data-end="696" data-start="686"&gt;contains&lt;/CODE&gt; with the regular expression operator &lt;CODE data-end="738" data-start="734"&gt;~=&lt;/CODE&gt; (tilde equals).&lt;/LI&gt;
&lt;LI data-end="934" data-start="755" data-section-id="1ptd7fw"&gt;&lt;STRONG data-end="783" data-start="757"&gt;Change the Event Type:&lt;/STRONG&gt; Instead of &lt;CODE data-end="812" data-start="795"&gt;ENUM.LOAD_IMAGE&lt;/CODE&gt;, use &lt;CODE data-end="832" data-start="818"&gt;ENUM.PROCESS&lt;/CODE&gt;. This enables the agent to block the command at execution time rather than reacting to a module load.&lt;/LI&gt;
&lt;/UL&gt;
&lt;H5 data-end="968" data-start="936"&gt;&lt;STRONG data-end="968" data-start="936"&gt;Recommended Corrected Query:&lt;/STRONG&gt;&lt;/H5&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=""&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 ͼs ͼ16" dir="ltr"&gt;
&lt;DIV class="cm-scroller"&gt;
&lt;PRE class="cm-content q9tKkq_readonly m-0"&gt;&lt;CODE&gt;&lt;SPAN&gt;dataset = xdr_data &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;| filter event_type = ENUM.PROCESS &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;| filter action_process_image_command_line ~= ".*netsh.*advfirewall.*set.*currentprofile.*state.*off.*"&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&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;H4 data-end="1192" data-start="1154" data-section-id="57c76b"&gt;2. Configure the Prevention Action&lt;/H4&gt;
&lt;P data-end="1281" data-start="1194"&gt;Once the BIOC rule is saved using compatible syntax, link it to a Restrictions Profile:&lt;/P&gt;
&lt;OL data-end="1857" data-start="1283"&gt;
&lt;LI data-end="1325" data-start="1283" data-section-id="d1idvz"&gt;Navigate to &lt;STRONG data-end="1324" data-start="1298"&gt;Detection Rules → BIOC&lt;/STRONG&gt;.&lt;/LI&gt;
&lt;LI data-end="1521" data-start="1326" data-section-id="1duxics"&gt;Locate your rule, right-click it, and select &lt;STRONG data-end="1405" data-start="1374"&gt;Add to restrictions profile&lt;/STRONG&gt;.&lt;BR data-end="1409" data-start="1406" /&gt;&lt;EM data-end="1521" data-start="1412"&gt;(If this option is missing, the XQL syntax is still incompatible with the agent’s prevention requirements.)&lt;/EM&gt;&lt;/LI&gt;
&lt;LI data-end="1603" data-start="1522" data-section-id="1ryf4u7"&gt;Select the &lt;STRONG data-end="1568" data-start="1536"&gt;Windows Restrictions Profile&lt;/STRONG&gt; assigned to your target endpoints.&lt;/LI&gt;
&lt;LI data-end="1759" data-start="1604" data-section-id="830kwn"&gt;In the profile settings, ensure the rule is &lt;STRONG data-end="1662" data-start="1651"&gt;Enabled&lt;/STRONG&gt;. The enforcement action for an enabled Custom Prevention Rule is automatically set to &lt;STRONG data-end="1758" data-start="1749"&gt;Block&lt;/STRONG&gt;.&lt;/LI&gt;
&lt;LI data-end="1857" data-start="1760" data-section-id="18ug1gb"&gt;Save the profile and perform a &lt;STRONG data-end="1813" data-start="1794"&gt;manual check-in&lt;/STRONG&gt; on the endpoint to force the policy update.&lt;/LI&gt;
&lt;/OL&gt;
&lt;H4 data-end="1880" data-start="1859" data-section-id="1eultmf"&gt;(Important Caveats here)&lt;/H4&gt;
&lt;P data-end="2144" data-start="1882"&gt;&lt;STRONG data-end="1906" data-start="1882"&gt;Asynchronous Nature:&lt;/STRONG&gt;&lt;BR data-end="1909" data-start="1906" /&gt;Behavioral Threat Protection (BTP) is an asynchronous module. If the &lt;CODE data-end="1985" data-start="1978"&gt;netsh&lt;/CODE&gt; process executes and terminates very quickly before the agent can intervene, the alert may appear as &lt;STRONG data-end="2099" data-start="2087"&gt;Detected&lt;/STRONG&gt; even though the rule is configured to block.&lt;/P&gt;
&lt;P data-end="2144" data-start="1882"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P data-end="2345" data-start="2146"&gt;&lt;STRONG data-end="2163" data-start="2146"&gt;Whitelisting:&lt;/STRONG&gt;Some critical system processes are whitelisted from termination to maintain OS stability. If the command originates from a whitelisted process, process termination may be skipped.&lt;/P&gt;
&lt;P data-end="2345" data-start="2146"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P data-is-only-node="" data-is-last-node="" data-end="2452" data-start="2347"&gt;&lt;STRONG data-end="2371" data-start="2347"&gt;Note - License Requirement:&amp;nbsp;&lt;/STRONG&gt;Creating and managing custom BIOC rules requires a &lt;STRONG data-end="2443" data-start="2425"&gt;Cortex XDR Pro&lt;/STRONG&gt; license.&lt;/P&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/SECTION&gt;
&lt;/DIV&gt;
&lt;P&gt;&amp;nbsp;&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>Wed, 27 May 2026 19:48:03 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/bioc-not-prevent/m-p/1254908#M9351</guid>
      <dc:creator>susekar</dc:creator>
      <dc:date>2026-05-27T19:48:03Z</dc:date>
    </item>
  </channel>
</rss>

