<?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: Who Added User X to a Specific AD Security Group? in Splunk Enterprise</title>
    <link>https://community.splunk.com/t5/Splunk-Enterprise/Who-added-user-x-to-a-specific-AD-Security-Group/m-p/623878#M14756</link>
    <description>&lt;LI-CODE lang="markup"&gt;source=WinEventLog:Security EventCode IN (4728, 4732, 4746, 4751, 4756, 4761, 4729, 4733, 4747, 4752, 4757, 4762, 4786, 4788) earliest=-7d@d
| eval changed_by=mvindex(Security_ID, 0)
| eval member_id=mvindex(Security_ID, 1)
| eval group_id=mvindex(Security_ID, 2)
| rex "A member was (?&amp;lt;change_type&amp;gt;(added|removed))"
| eval host_name=coalesce(src_nt_host, dvc_nt_host, host) 
| rename EventCode as event_code EventCodeDescription AS event_desc
| table _time host_name changed_by change_type group_id member_id event_code event_desc&lt;/LI-CODE&gt;</description>
    <pubDate>Fri, 09 Dec 2022 20:53:07 GMT</pubDate>
    <dc:creator>johnhuang</dc:creator>
    <dc:date>2022-12-09T20:53:07Z</dc:date>
    <item>
      <title>Who added user x to a specific AD Security Group?</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Who-added-user-x-to-a-specific-AD-Security-Group/m-p/623858#M14752</link>
      <description>&lt;P&gt;Hi, I'm curious if anyone has a query that can help provide some insight into something I am trying to figure out.&amp;nbsp; The issue is regarding a user that was not a member of the Admin's security group on 5/6/22 but did on 6/2/22.&amp;nbsp; For the life of me, I cannot find out who added this user to that group.&amp;nbsp; I'm using the following query, but it's not providing anything meaningful.&amp;nbsp; Any help is solving this mystery is greatly appreciated.&lt;/P&gt;
&lt;P&gt;eventtype=wineventlog_security (EventCode=4727 OR EventCode=4730 OR EventCode=4731 OR EventCode=4734 OR EventCode=4735 OR EventCode=4737 OR EventCode=4744 OR EventCode=4745 OR EventCode=4748 OR EventCode=4749 OR EventCode=4750 OR EventCode=4753 OR EventCode=4754 OR EventCode=4755 OR EventCode=4758 OR EventCode=4759 OR EventCode=4760 OR EventCode=4763 OR EventCode=4764)&lt;BR /&gt;| stats count by _time,Security_ID,EventCodeDescription,member_dn&lt;BR /&gt;| rename member_dn as Change_Made_By&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 12 Dec 2022 15:01:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Who-added-user-x-to-a-specific-AD-Security-Group/m-p/623858#M14752</guid>
      <dc:creator>itsmevic70</dc:creator>
      <dc:date>2022-12-12T15:01:29Z</dc:date>
    </item>
    <item>
      <title>Re: Who Added User X to a Specific AD Security Group?</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Who-added-user-x-to-a-specific-AD-Security-Group/m-p/623877#M14755</link>
      <description>&lt;P&gt;Have you tried event code 4728 or 4732?&lt;/P&gt;&lt;P&gt;As I understand it, the Subject.Account_Name field contains the name of the user added to the group.&amp;nbsp; The user who made the change is in the Member.Account_Name field.&amp;nbsp; I don't see the member_dn field documented.&lt;/P&gt;</description>
      <pubDate>Fri, 09 Dec 2022 20:36:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Who-added-user-x-to-a-specific-AD-Security-Group/m-p/623877#M14755</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2022-12-09T20:36:52Z</dc:date>
    </item>
    <item>
      <title>Re: Who Added User X to a Specific AD Security Group?</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Who-added-user-x-to-a-specific-AD-Security-Group/m-p/623878#M14756</link>
      <description>&lt;LI-CODE lang="markup"&gt;source=WinEventLog:Security EventCode IN (4728, 4732, 4746, 4751, 4756, 4761, 4729, 4733, 4747, 4752, 4757, 4762, 4786, 4788) earliest=-7d@d
| eval changed_by=mvindex(Security_ID, 0)
| eval member_id=mvindex(Security_ID, 1)
| eval group_id=mvindex(Security_ID, 2)
| rex "A member was (?&amp;lt;change_type&amp;gt;(added|removed))"
| eval host_name=coalesce(src_nt_host, dvc_nt_host, host) 
| rename EventCode as event_code EventCodeDescription AS event_desc
| table _time host_name changed_by change_type group_id member_id event_code event_desc&lt;/LI-CODE&gt;</description>
      <pubDate>Fri, 09 Dec 2022 20:53:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Who-added-user-x-to-a-specific-AD-Security-Group/m-p/623878#M14756</guid>
      <dc:creator>johnhuang</dc:creator>
      <dc:date>2022-12-09T20:53:07Z</dc:date>
    </item>
  </channel>
</rss>

