Correlation rule for detecting Account Created /deleted or Group created /deleted from AD server

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Please sign in to see details of an important advisory in our Customer Advisories area.

Correlation rule for detecting Account Created /deleted or Group created /deleted from AD server

L0 Member

Hi Community,

I am looking for correlation rule where in i can detect Account Created /deleted or Group created /deleted from AD server log source.

1 REPLY 1

L4 Transporter

Hi @Parmar, thanks for reaching us using the Live Community.

As you can see in our documentation, the Event IDs that are captured by the XDR agent and that can work for your request are this:

 

  • 4720: A user account was created

  • 4722: A user account was enabled

  • 4725: A user account was disabled

  • 4726: A user account was deleted

  • 4727, 4731, 4754: Creation of Groups

  • 4728, 4732, 4756: Group member additions

  • 4729, 4733, 4757: Group member removals

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":

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

 

With the result data, you can apply the filters on the fields (using the field stage) to only have the information you require.

 

If this post answers your question, please mark it as the solution.

JM
  • 251 Views
  • 1 replies
  • 0 Likes
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!

The LIVEcommunity thanks you for your participation!