Splunk Enterprise Security

Datamodel search for changing windows group member in datamodel

eriklp
Explorer

Hi there, 

I'd like to create a search to look for group membership changes in active directory. 

So far I've created this search:

| tstats dc(All_Changes.user) as Useraccounts from datamodel=Change where All_Changes.result_id="4732" OR All_Changes.result_id="4733" by All_Changes.dest All_Changes.action All_Changes.result 

which provides me results:

user account blabla added to group 

user account blabla removed from group  

etc

However, I'd like to refine this search more to actually be able to determine if a user has been added to a particular privileged group and removed from that same group within a specific time frame, for instance within an hour. 

 

Thanks in advance

Erik

 

 

Labels (1)
0 Karma

richgalloway
SplunkTrust
SplunkTrust

Check out the "Short-lived Admin Accounts" use case in the Splunk Security Essentials app.

---
If this reply helps you, Karma would be appreciated.
Get Updates on the Splunk Community!

Splunk Observability Cloud's AI Assistant in Action Series: Auditing Compliance and ...

This is the third post in the Splunk Observability Cloud’s AI Assistant in Action series that digs into how to ...

Splunk Community Badges!

  Hey everyone! Ready to earn some serious bragging rights in the community? Along with our existing badges ...

What You Read The Most: Splunk Lantern’s Most Popular Articles!

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...