Splunk Enterprise Security

Problem with Enterprise Security Correlation Search

dgillette3
Explorer

This Enterprise Security correlation search "Anomalous Audit Trail Activity Detected" is generating a whole bunch of false positives.

| from datamodel:"Change_Analysis"."Auditing_Changes" | where ('action'="cleared" OR 'action'="stopped") | stats max(_time) as "lastTime",latest(_raw) as "orig_raw",count by "dest","result" | rename "result" as "signature"

The search returns results if tag=audit or change and action=cleared or stopped. Windows Security Event ID 1100 meets the conditions. The event is generated when the logging service is shutdown, say by someone trying to hide their tracks, but it's also generated during normal system shutdown. I'm trying to fix the search.

I want to exclude an 1100 event if an event 4647 also occurs within a span of 1 minute.

I don't know if I'm on the right track or not. I've got this search written but I'm not sure how to merge it with the correlation search.

index="winevtsec" sourcetype="WinEventLog:Security" | transaction host startswith="EventCode=4647" endswith="EventCode=1100" maxspan=1m

Any help would be appreciated.

0 Karma
Get Updates on the Splunk Community!

Say goodbye to manually analyzing phishing and malware threats with Splunk Attack ...

In today’s evolving threat landscape, we understand you’re constantly bombarded with phishing and malware ...

AppDynamics is now part of Splunk Ideas

Hello Splunkers, We have exciting news for you! AppDynamics has been added to the Splunk Ideas Portal. Which ...

Advanced Splunk Data Management Strategies

Join us on Wednesday, May 14, 2025, at 11 AM PDT / 2 PM EDT for an exclusive Tech Talk that delves into ...