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!

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...

Introducing Splunk Enterprise 9.2

WATCH HERE! Watch this Tech Talk to learn about the latest features and enhancements shipped in the new Splunk ...