I am new to splunk and am trying to perform incident analysis of a compromised domain controller security event logs. I am using the free trial version of splunk cloud platform and ingested the csv data and let splunk automatically create the indexes. The attack is a brute force attack and it seems that some malicious user tried to find the members of a remote desktop user group in the AD.
I am attaching a screenshot of my current splunk search result and the further filter that I want to use [ highlighted in black ]. As you will see in the current search result, it is listing many such events, but I am only interested in certain events, where under the Subject section, the account names have values other than a given set of names (say ID4$, Admin, Harvester etc.). How can that be achieved?
NOT CASE(ID4$) NOT CASE(Admin) NOT CASE(Harvester)to the search? If those terms can appear other places and you need to have the Account Name part there then what about adding| search NOT "Account Name: ID4$" NOT "Account Name: Admin" NOT "Account Name: Harvester"to the search? If you have more complicatd stuff you can use awherestatement with like or match to allow wilcards and regex - you could add| where !match(_raw,"Account Name: *ID4\$") AND !match(_raw,"Account Name: *Admin") AND !match(_raw,"Account Name: *Harvester")- Jerry Jeremiah