<?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 Correlation rule for detecting Account Created /deleted or Group created /deleted from AD server in Cortex XDR Discussions</title>
    <link>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/correlation-rule-for-detecting-account-created-deleted-or-group/m-p/580249#M6318</link>
    <description>&lt;P&gt;Hi Community,&lt;/P&gt;
&lt;P&gt;I am looking for correlation rule where in i can detect&amp;nbsp;Account Created /deleted or Group created /deleted from AD server log source.&lt;/P&gt;</description>
    <pubDate>Wed, 13 Mar 2024 16:42:12 GMT</pubDate>
    <dc:creator>Parmar</dc:creator>
    <dc:date>2024-03-13T16:42:12Z</dc:date>
    <item>
      <title>Correlation rule for detecting Account Created /deleted or Group created /deleted from AD server</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/correlation-rule-for-detecting-account-created-deleted-or-group/m-p/580249#M6318</link>
      <description>&lt;P&gt;Hi Community,&lt;/P&gt;
&lt;P&gt;I am looking for correlation rule where in i can detect&amp;nbsp;Account Created /deleted or Group created /deleted from AD server log source.&lt;/P&gt;</description>
      <pubDate>Wed, 13 Mar 2024 16:42:12 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/correlation-rule-for-detecting-account-created-deleted-or-group/m-p/580249#M6318</guid>
      <dc:creator>Parmar</dc:creator>
      <dc:date>2024-03-13T16:42:12Z</dc:date>
    </item>
    <item>
      <title>Re: Correlation rule for detecting Account Created /deleted or Group created /deleted from AD server</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/correlation-rule-for-detecting-account-created-deleted-or-group/m-p/580809#M6347</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/164767"&gt;@Parmar&lt;/a&gt;, thanks for reaching us using the Live Community.&lt;/P&gt;
&lt;P&gt;As you can see in &lt;A href="https://docs-cortex.paloaltonetworks.com/r/Cortex-XDR/Cortex-XDR-Pro-Administrator-Guide/Endpoint-Data-Collection" target="_self"&gt;our documentation&lt;/A&gt;, the Event IDs that are captured by the XDR agent and that can work for your request are this:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;UL class="itemizedlist"&gt;
&lt;LI class="listitem"&gt;
&lt;P&gt;&lt;SPAN class="bold"&gt;&lt;STRONG&gt;4720&lt;/STRONG&gt;&lt;/SPAN&gt;: A user account was created&lt;/P&gt;
&lt;/LI&gt;
&lt;LI class="listitem"&gt;
&lt;P&gt;&lt;SPAN class="bold"&gt;&lt;STRONG&gt;4722&lt;/STRONG&gt;&lt;/SPAN&gt;: A user account was enabled&lt;/P&gt;
&lt;/LI&gt;
&lt;LI class="listitem"&gt;
&lt;P&gt;&lt;SPAN class="bold"&gt;&lt;STRONG&gt;4725&lt;/STRONG&gt;&lt;/SPAN&gt;: A user account was disabled&lt;/P&gt;
&lt;/LI&gt;
&lt;LI class="listitem"&gt;
&lt;P&gt;&lt;SPAN class="bold"&gt;&lt;STRONG&gt;4726&lt;/STRONG&gt;&lt;/SPAN&gt;: A user account was deleted&lt;/P&gt;
&lt;/LI&gt;
&lt;LI class="listitem"&gt;
&lt;P&gt;&lt;SPAN class="bold"&gt;&lt;STRONG&gt;4727, 4731, 4754&lt;/STRONG&gt;&lt;/SPAN&gt;: Creation of Groups&lt;/P&gt;
&lt;/LI&gt;
&lt;LI class="listitem"&gt;
&lt;P&gt;&lt;SPAN class="bold"&gt;&lt;STRONG&gt;4728, 4732, 4756&lt;/STRONG&gt;&lt;/SPAN&gt;: Group member additions&lt;/P&gt;
&lt;/LI&gt;
&lt;LI class="listitem"&gt;
&lt;P&gt;&lt;SPAN class="bold"&gt;&lt;STRONG&gt;4729, 4733, 4757&lt;/STRONG&gt;&lt;/SPAN&gt;: Group member removals&lt;/P&gt;
&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;With this on mind, you could be able to create a XQL Query to use it as a correlation rule like this one for "Group Creation":&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;dataset = xdr_data 
| filter agent_hostname = "YOUR_DC_NAMES" //Set your Domain Controller names with and 'or' statement using the agent_hostname field
| filter event_id in ("4727","4731","4754") //Set the EventID values to the required correlation rule, in this example only for Group Creations&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;With the result data, you can apply the filters on the fields (using the field stage) to only have the information you require.&lt;/P&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, 18 Mar 2024 16:23:35 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/correlation-rule-for-detecting-account-created-deleted-or-group/m-p/580809#M6347</guid>
      <dc:creator>jmazzeo</dc:creator>
      <dc:date>2024-03-18T16:23:35Z</dc:date>
    </item>
  </channel>
</rss>

