Security

Identify admins being added to multiple groups in ad?

mihall
Path Finder

My search is as follows:
(EventCode=4728 OR EventCode=4732 OR EventCode=4756) a_* (Group_Name= OR Group_Name= OR Group_Name=Group_Name3>

This search works well to identify when any admin account has been added to these groups. I want to know if I can extend this search to identify when 1 admin has been added to more than 1 of these groups. Any help would be appreciated.

0 Karma

cmerriman
Super Champion

try |stats dc(Group_Name) by account to count how many groups belong to the account types.

woodcock
Esteemed Legend

Or maybe:

| stats values(Group_Name) AS Group_Names dc(Group_Name) AS Group_Name_count | where Group_Name_count>1
0 Karma
Get Updates on the Splunk Community!

More Ways To Control Your Costs With Archived Metrics | Register for Tech Talk

Tuesday, May 14, 2024  |  11AM PT / 2PM ET Register to Attend Join us for this Tech Talk and learn how to ...

.conf24 | Personalize your .conf experience with Learning Paths!

Personalize your .conf24 Experience Learning paths allow you to level up your skill sets and dive deeper ...

Threat Hunting Unlocked: How to Uplevel Your Threat Hunting With the PEAK Framework ...

WATCH NOWAs AI starts tackling low level alerts, it's more critical than ever to uplevel your threat hunting ...