<?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: Trying to create an exclusion for a process with a specific cmdlet (exploit) in Cortex XDR Discussions</title>
    <link>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/trying-to-create-an-exclusion-for-a-process-with-a-specific/m-p/385170#M553</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/88931"&gt;@RNance&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Creating an exception would prevent the rule from executing, allowing the PowerShell script to run. The alert, on the other hand, may well be generated in a generic format, which can be suppressed via exclusion. However, permitting the script to run is a use-case for the exploit rule exception. Furthermore, exploit protection exceptions do not support target scripts as a parameter at this moment in time. That would be a feature request at this point, which your account team should be able to report on.&lt;/P&gt;</description>
    <pubDate>Wed, 10 Feb 2021 18:42:50 GMT</pubDate>
    <dc:creator>gjenkins</dc:creator>
    <dc:date>2021-02-10T18:42:50Z</dc:date>
    <item>
      <title>Trying to create an exclusion for a process with a specific cmdlet (exploit)</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/trying-to-create-an-exclusion-for-a-process-with-a-specific/m-p/385092#M549</link>
      <description>&lt;P&gt;For the past couple of days, we have received a low priority alert with the following params:&lt;/P&gt;&lt;P&gt;Source: XDR Agent&lt;/P&gt;&lt;P&gt;Category: Exploit&lt;/P&gt;&lt;P&gt;Action: Prevented (Blocked)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In researching the alert in the alert table, I have determined that the action is tied with a homegrown powershell cmdlet.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My conundrum is I want to create an exclusion for the specific powershell.exe Get-CustomCmdlet. However, since this is a support terminal server with numerous support users, I do not want to just give carte-blanche access to powershell. I haven't been able to figure out this specific scenario.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Feb 2021 14:38:40 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/trying-to-create-an-exclusion-for-a-process-with-a-specific/m-p/385092#M549</guid>
      <dc:creator>RNance</dc:creator>
      <dc:date>2021-02-10T14:38:40Z</dc:date>
    </item>
    <item>
      <title>Re: Trying to create an exclusion for a process with a specific cmdlet (exploit)</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/trying-to-create-an-exclusion-for-a-process-with-a-specific/m-p/385124#M550</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/88931"&gt;@RNance&lt;/a&gt;,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My recommendation would be to create an exception for this activity. The exception would only allow the custom script to get past only the referenced exploit protection rule while still applying other exploit protection rules as desired. You can create an exception for this exploit rule by right-clicking the alert, going to "manage alert," and then selecting "create alert exception."&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="exploit_exception_TakeI.gif" style="width: 400px;"&gt;&lt;img src="https://live.paloaltonetworks.com/t5/image/serverpage/image-id/29895i58E00B0730E549A8/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="exploit_exception_TakeI.gif" alt="exploit_exception_TakeI.gif" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt; &lt;BR /&gt;This exception can be applied globally or to a specific profile that would only affect a set of devices, whichever is more appropriate for your environment. Given that your description only mentions one terminal server, I would recommend creating a unique exceptions profile and applying it only to that endpoint. Instructions on how to create an exceptions profile can be found &lt;A href="https://docs.paloaltonetworks.com/cortex/cortex-xdr/cortex-xdr-pro-admin/endpoint-security/exceptions-security-profiles/add-exceptions-profile.html" target="_self"&gt;here&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Feb 2021 16:00:53 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/trying-to-create-an-exclusion-for-a-process-with-a-specific/m-p/385124#M550</guid>
      <dc:creator>gjenkins</dc:creator>
      <dc:date>2021-02-10T16:00:53Z</dc:date>
    </item>
    <item>
      <title>Re: Trying to create an exclusion for a process with a specific cmdlet (exploit)</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/trying-to-create-an-exclusion-for-a-process-with-a-specific/m-p/385157#M552</link>
      <description>&lt;P&gt;Yes, however when creating an exception in that manner, all it really does (or at least says) is that will create a Generic alert based on the process name powershell.exe. However, I need it to go beyond just powershell.exe and to include the cmdlet. Essentially, I need to create an exception based more on the "Initiator Cmd" as opposed to just the "Initiated By". The way the exception is perceived is that you are providing an exception just to powershell.exe, which is too broad.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I was envisioning something akin to&amp;nbsp;&lt;SPAN&gt;Malicious Child Process Protection where you can define a child process command line param. The difference here is that powershell is the parent process and there is no child process in this example. Thanks.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Feb 2021 18:34:16 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/trying-to-create-an-exclusion-for-a-process-with-a-specific/m-p/385157#M552</guid>
      <dc:creator>RNance</dc:creator>
      <dc:date>2021-02-10T18:34:16Z</dc:date>
    </item>
    <item>
      <title>Re: Trying to create an exclusion for a process with a specific cmdlet (exploit)</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/trying-to-create-an-exclusion-for-a-process-with-a-specific/m-p/385170#M553</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/88931"&gt;@RNance&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Creating an exception would prevent the rule from executing, allowing the PowerShell script to run. The alert, on the other hand, may well be generated in a generic format, which can be suppressed via exclusion. However, permitting the script to run is a use-case for the exploit rule exception. Furthermore, exploit protection exceptions do not support target scripts as a parameter at this moment in time. That would be a feature request at this point, which your account team should be able to report on.&lt;/P&gt;</description>
      <pubDate>Wed, 10 Feb 2021 18:42:50 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/trying-to-create-an-exclusion-for-a-process-with-a-specific/m-p/385170#M553</guid>
      <dc:creator>gjenkins</dc:creator>
      <dc:date>2021-02-10T18:42:50Z</dc:date>
    </item>
  </channel>
</rss>

