<?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: [Cortex XDR] - I Want to monitor the file creation, modification, removal, etc. under the specified path through the BIOC Rule. in Cortex XDR Discussions</title>
    <link>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/cortex-xdr-i-want-to-monitor-the-file-creation-modification/m-p/1223876#M8061</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/717631175"&gt;@vkonar&lt;/a&gt;, you need to remove the hostname and the host OS. The BIOC rules needs to be focused in processes behavior, but also I think that one is too generic and can cause issues. Could be good to add a command line that can start the process execution from powersheel.&lt;/P&gt;</description>
    <pubDate>Fri, 14 Mar 2025 13:46:42 GMT</pubDate>
    <dc:creator>jmazzeo</dc:creator>
    <dc:date>2025-03-14T13:46:42Z</dc:date>
    <item>
      <title>[Cortex XDR] - I Want to monitor the file creation, modification, removal, etc. under the specified path through the BIOC Rule.</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/cortex-xdr-i-want-to-monitor-the-file-creation-modification/m-p/1098975#M7769</link>
      <description>&lt;P&gt;Dear Everyone,&lt;/P&gt;
&lt;P&gt;I would like to use the XDR BIOC Rule to block the host from creating, editing, deleting, renaming, etc. files in specific file paths.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I tried to write a BIOC Rule but found that it can't be successfully applied to the Restrictions profile, and there is no Alert generated due to the matching of this rule, does anyone know why it can't be applied to the Restrictions profile? Thanks for your help!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BIOC detail：&lt;/P&gt;
&lt;P&gt;dataset = xdr_data | filter event_type = ENUM.FILE and &lt;BR /&gt;event_sub_type in(&lt;BR /&gt;ENUM.FILE_DIR_REMOVE, ENUM.FILE_DIR_CREATE, &lt;BR /&gt;ENUM.FILE_DIR_RENAME, ENUM.FILE_DIR_WRITE,&lt;BR /&gt;ENUM.FILE_CREATE_NEW, ENUM.FILE_REMOVE,&lt;BR /&gt;ENUM.FILE_RENAME, ENUM.FILE_WRITE,&lt;BR /&gt;ENUM.FILE_CHANGE_OWNER ,ENUM.FILE_DIR_CHANGE_OWNER,&lt;BR /&gt;ENUM.FILE_SET_SECURITY_DESCRIPTOR, ENUM.FILE_DIR_SET_SECURITY_DESCRIPTOR,&lt;BR /&gt;ENUM.FILE_IMPERSONATE_PIPE, ENUM.FILE_SET_ATTRIBUTE,&lt;BR /&gt;ENUM.FILE_DELETE_EXT_ATTRIBUTE, &lt;BR /&gt;ENUM.DOT_NET_SUSPICIOUS_FILE_EXISTS_CHECK,ENUM.DOT_NET_SUSPICIOUS_REFLECTION &lt;BR /&gt;)&lt;BR /&gt;| filter lowercase(action_file_path) = "d:\*"&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 20 Jan 2025 05:22:59 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/cortex-xdr-i-want-to-monitor-the-file-creation-modification/m-p/1098975#M7769</guid>
      <dc:creator>S.Lin576639</dc:creator>
      <dc:date>2025-01-20T05:22:59Z</dc:date>
    </item>
    <item>
      <title>Re: [Cortex XDR] - I Want to monitor the file creation, modification, removal, etc. under the specified path through the BIOC Rule.</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/cortex-xdr-i-want-to-monitor-the-file-creation-modification/m-p/1134279#M7771</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/113770349"&gt;@S.Lin576639&lt;/a&gt;, thanks for reaching us using the Live Community.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can't add the BIOC to a restrictions profile because you are not filtering a process. The restrictions profiles are used to block processes after being detected by the custom BIOC rule.&lt;/P&gt;
&lt;P&gt;More information &lt;A href="https://docs-cortex.paloaltonetworks.com/r/Cortex-XDR/Cortex-XDR-Documentation/Set-up-restrictions-prevention-profiles" target="_self"&gt;here&lt;/A&gt; and &lt;A href="https://docs-cortex.paloaltonetworks.com/r/Cortex-XDR/Cortex-XDR-Documentation/Create-a-BIOC-rule" target="_self"&gt;here&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This example worked for me in a quick test:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;dataset = xdr_data 
| filter event_type = ENUM.FILE and event_sub_type in(ENUM.FILE_CREATE_NEW, ENUM.FILE_RENAME, ENUM.FILE_WRITE)
| filter action_file_path contains "*Downloads*" // Change it with your path
| fields agent_hostname, action_file_path, action_file_name // Add more fields as needed &lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If this post answers your question, please mark it as the solution.&lt;/P&gt;</description>
      <pubDate>Mon, 20 Jan 2025 15:35:33 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/cortex-xdr-i-want-to-monitor-the-file-creation-modification/m-p/1134279#M7771</guid>
      <dc:creator>jmazzeo</dc:creator>
      <dc:date>2025-01-20T15:35:33Z</dc:date>
    </item>
    <item>
      <title>Re: [Cortex XDR] - I Want to monitor the file creation, modification, removal, etc. under the specified path through the BIOC Rule.</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/cortex-xdr-i-want-to-monitor-the-file-creation-modification/m-p/1204696#M7779</link>
      <description>&lt;P&gt;Dear&amp;nbsp;&lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/310428"&gt;@jmazzeo&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;So the BIOC Rule can only be added to the restrictions profile for monitoring (generating an Alert) if no Process is specified? Is there any restriction on adding bioc rule to restrictions profile?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Tue, 21 Jan 2025 09:35:57 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/cortex-xdr-i-want-to-monitor-the-file-creation-modification/m-p/1204696#M7779</guid>
      <dc:creator>S.Lin576639</dc:creator>
      <dc:date>2025-01-21T09:35:57Z</dc:date>
    </item>
    <item>
      <title>Re: [Cortex XDR] - I Want to monitor the file creation, modification, removal, etc. under the specified path through the BIOC Rule.</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/cortex-xdr-i-want-to-monitor-the-file-creation-modification/m-p/1205191#M7793</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/113770349"&gt;@S.Lin576639&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;&lt;BR /&gt;I hope everything is going well, I would like to share with you this information:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;"By using the BIOC rules, you can configure custom prevention rules to terminate the causality chain of a malicious process according to the Action Mode defined in the associated Restrictions Security Profile and trigger&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="phrase"&gt;Cortex XDR&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;Agent behavioral prevention type alerts in addition to the BIOC rule detection alerts.&lt;/P&gt;
&lt;P&gt;For example, if you configure a custom prevention rule for a BIOC Process event, apply it to the Restrictions profile with an action mode set to Block, the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="phrase"&gt;Cortex XDR&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;agent:&lt;/P&gt;
&lt;DIV class="itemizedlist"&gt;
&lt;UL class="itemizedlist"&gt;
&lt;LI class="listitem"&gt;
&lt;P&gt;Blocks a process at the endpoint level according to the defined rule properties.&lt;/P&gt;
&lt;/LI&gt;
&lt;LI class="listitem"&gt;
&lt;P&gt;Triggers a behavioral prevention alert you can monitor and investigate in the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="guilabel"&gt;Alerts&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;table."&lt;BR /&gt;&lt;BR /&gt;This is from&amp;nbsp;&lt;A href="https://docs-cortex.paloaltonetworks.com/r/Cortex-XDR/Cortex-XDR-Documentation/Create-a-BIOC-rule" target="_blank"&gt;https://docs-cortex.paloaltonetworks.com/r/Cortex-XDR/Cortex-XDR-Documentation/Create-a-BIOC-rule&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;So basically it depends on the Action mode that you configure on your restriction profile. It will give you the option to Alert or Block(kill the causalitychain) and Alert.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;/LI&gt;
&lt;/UL&gt;
&lt;/DIV&gt;</description>
      <pubDate>Thu, 23 Jan 2025 14:33:23 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/cortex-xdr-i-want-to-monitor-the-file-creation-modification/m-p/1205191#M7793</guid>
      <dc:creator>J.Gammara</dc:creator>
      <dc:date>2025-01-23T14:33:23Z</dc:date>
    </item>
    <item>
      <title>Re: [Cortex XDR] - I Want to monitor the file creation, modification, removal, etc. under the specified path through the BIOC Rule.</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/cortex-xdr-i-want-to-monitor-the-file-creation-modification/m-p/1223146#M8017</link>
      <description>&lt;P&gt;What are the possible reasons on why i am unable to get add restriction profile option on my custom BIOC rule?&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="no_option_restriction_profile_add.png" style="width: 469px;"&gt;&lt;img src="https://live.paloaltonetworks.com/t5/image/serverpage/image-id/66459iC0EDFE705292FFB5/image-size/large?v=v2&amp;amp;px=999" role="button" title="no_option_restriction_profile_add.png" alt="no_option_restriction_profile_add.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 07 Mar 2025 14:45:08 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/cortex-xdr-i-want-to-monitor-the-file-creation-modification/m-p/1223146#M8017</guid>
      <dc:creator>vkonar</dc:creator>
      <dc:date>2025-03-07T14:45:08Z</dc:date>
    </item>
    <item>
      <title>Re: [Cortex XDR] - I Want to monitor the file creation, modification, removal, etc. under the specified path through the BIOC Rule.</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/cortex-xdr-i-want-to-monitor-the-file-creation-modification/m-p/1223153#M8018</link>
      <description>&lt;P&gt;Can you share the BIOC rule? Please clean any sensitive information.&lt;/P&gt;</description>
      <pubDate>Fri, 07 Mar 2025 16:36:12 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/cortex-xdr-i-want-to-monitor-the-file-creation-modification/m-p/1223153#M8018</guid>
      <dc:creator>jmazzeo</dc:creator>
      <dc:date>2025-03-07T16:36:12Z</dc:date>
    </item>
    <item>
      <title>Re: [Cortex XDR] - I Want to monitor the file creation, modification, removal, etc. under the specified path through the BIOC Rule.</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/cortex-xdr-i-want-to-monitor-the-file-creation-modification/m-p/1223268#M8021</link>
      <description>&lt;P&gt;Dear&amp;nbsp;&lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/310428"&gt;@jmazzeo&lt;/a&gt;&amp;nbsp;,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please find below BIOC rule Behavior.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Process [ action type = execution AND target process name = procexp.exe ] AND Process [ initiated by = powershell.exe , powershell_ise.exe ] AND Host [ host name = &amp;lt;REDACTED&amp;gt; AND host os = &amp;lt;REDACTED&amp;gt; ]&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is this enough or need further details? Let me know.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 08 Mar 2025 05:54:13 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/cortex-xdr-i-want-to-monitor-the-file-creation-modification/m-p/1223268#M8021</guid>
      <dc:creator>vkonar</dc:creator>
      <dc:date>2025-03-08T05:54:13Z</dc:date>
    </item>
    <item>
      <title>Re: [Cortex XDR] - I Want to monitor the file creation, modification, removal, etc. under the specified path through the BIOC Rule.</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/cortex-xdr-i-want-to-monitor-the-file-creation-modification/m-p/1223876#M8061</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/717631175"&gt;@vkonar&lt;/a&gt;, you need to remove the hostname and the host OS. The BIOC rules needs to be focused in processes behavior, but also I think that one is too generic and can cause issues. Could be good to add a command line that can start the process execution from powersheel.&lt;/P&gt;</description>
      <pubDate>Fri, 14 Mar 2025 13:46:42 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/cortex-xdr-i-want-to-monitor-the-file-creation-modification/m-p/1223876#M8061</guid>
      <dc:creator>jmazzeo</dc:creator>
      <dc:date>2025-03-14T13:46:42Z</dc:date>
    </item>
    <item>
      <title>Re: [Cortex XDR] - I Want to monitor the file creation, modification, removal, etc. under the specified path through the BIOC Rule.</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/cortex-xdr-i-want-to-monitor-the-file-creation-modification/m-p/1223918#M8064</link>
      <description>&lt;P&gt;Removed Hostname and Host OS . Now i am able to see add to restriction profile option on BIOC rule. Thanks again!&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 15 Mar 2025 13:41:29 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/cortex-xdr-i-want-to-monitor-the-file-creation-modification/m-p/1223918#M8064</guid>
      <dc:creator>vkonar</dc:creator>
      <dc:date>2025-03-15T13:41:29Z</dc:date>
    </item>
  </channel>
</rss>

