<?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 Suspicious Event Log Service Behavior in Splunk Cloud Platform</title>
    <link>https://community.splunk.com/t5/Splunk-Cloud-Platform/Suspicious-Event-Log-Service-Behavior/m-p/675466#M2770</link>
    <description>&lt;P&gt;I am trying to fine tune one use case "Suspicious Event Log Service Behaviour". Below is the rule logic&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;(`wineventlog_security` EventCode=1100) | stats count min(_time) as firstTime max(_time) as lastTime by dest Message EventCode | `security_content_ctime(firstTime)` | `security_content_ctime(lastTime)` | `suspicious_event_log_service_behavior_filter` | collect index=asx sourcetype=asx marker="mitre_id=T1070.001, execution_type=adhoc, execution_time=1637664004.675815"&lt;BR /&gt;&lt;BR /&gt;but the rule is currently too noisy. Is it possible to set a bin time(5mins) between stop logging and start logging events. After 5mins if the logging started then I want to ignore the alerts.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Or I have seen a field named dvc_priority, can we set the alerts only for high or critical?&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Help me with the query please.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 26 Jan 2024 00:29:20 GMT</pubDate>
    <dc:creator>Abhirup_10</dc:creator>
    <dc:date>2024-01-26T00:29:20Z</dc:date>
    <item>
      <title>Suspicious Event Log Service Behavior</title>
      <link>https://community.splunk.com/t5/Splunk-Cloud-Platform/Suspicious-Event-Log-Service-Behavior/m-p/675466#M2770</link>
      <description>&lt;P&gt;I am trying to fine tune one use case "Suspicious Event Log Service Behaviour". Below is the rule logic&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;(`wineventlog_security` EventCode=1100) | stats count min(_time) as firstTime max(_time) as lastTime by dest Message EventCode | `security_content_ctime(firstTime)` | `security_content_ctime(lastTime)` | `suspicious_event_log_service_behavior_filter` | collect index=asx sourcetype=asx marker="mitre_id=T1070.001, execution_type=adhoc, execution_time=1637664004.675815"&lt;BR /&gt;&lt;BR /&gt;but the rule is currently too noisy. Is it possible to set a bin time(5mins) between stop logging and start logging events. After 5mins if the logging started then I want to ignore the alerts.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Or I have seen a field named dvc_priority, can we set the alerts only for high or critical?&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Help me with the query please.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 26 Jan 2024 00:29:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Cloud-Platform/Suspicious-Event-Log-Service-Behavior/m-p/675466#M2770</guid>
      <dc:creator>Abhirup_10</dc:creator>
      <dc:date>2024-01-26T00:29:20Z</dc:date>
    </item>
    <item>
      <title>Re: Suspicious Event Log Service Behavior</title>
      <link>https://community.splunk.com/t5/Splunk-Cloud-Platform/Suspicious-Event-Log-Service-Behavior/m-p/675644#M2787</link>
      <description>&lt;DIV class=""&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;P&gt;&lt;STRONG&gt;Hi there,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;1. Implement a 5-Minute Bin Time:&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;STRONG&gt;Add the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;bucket&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;command:&lt;/STRONG&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;DIV class=""&gt;&lt;PRE&gt;&lt;SPAN class=""&gt;search (wineventlog_security EventCode=1100) | 
stats count min(_time) as firstTime max(_time) as lastTime by dest Message EventCode | 
security_content_ctime(firstTime) | 
security_content_ctime(lastTime) | 
suspicious_event_log_service_behavior_filter&lt;/SPAN&gt; | 
bucket _time span=5m | 
... (rest of your query)&lt;/PRE&gt;&lt;/DIV&gt;&lt;UL&gt;&lt;LI&gt;&lt;STRONG&gt;Filter out events with gaps within 5 minutes:&lt;/STRONG&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;DIV class=""&gt;&lt;PRE&gt;... | 
stats count as event_count by _time dest Message EventCode | 
eval is_first_event = if(_time == earliest(_time), 1, 0) | 
eval is_noisy_event = if(event_count &amp;gt; 1 AND is_first_event == 0, 1, 0) | 
filter not is_noisy_event&lt;/PRE&gt;&lt;/DIV&gt;&lt;P&gt;&lt;STRONG&gt;2. Filter by dvc_priority:&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;STRONG&gt;Add a filter condition:&lt;/STRONG&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;DIV class=""&gt;&lt;PRE&gt;... | 
where dvc_priority = "high" OR dvc_priority = "critical" | 
... (rest of your query)&lt;/PRE&gt;&lt;/DIV&gt;&lt;P&gt;&lt;STRONG&gt;Additional Tips:&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;STRONG&gt;Tailor the bin time:&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;Adjust the&amp;nbsp;&lt;/SPAN&gt;span&lt;SPAN&gt;&amp;nbsp;value in&amp;nbsp;&lt;/SPAN&gt;bucket _time span=5m&lt;SPAN&gt;&amp;nbsp;to match your desired timeframe.&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;Prioritize based on risk:&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;If&amp;nbsp;&lt;/SPAN&gt;dvc_priority&lt;SPAN&gt;&amp;nbsp;accurately reflects risk,&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;filtering by it can be effective.&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;Test thoroughly:&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;Implement changes in a non-production environment first to ensure they work as intended.&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;Combine strategies:&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;For optimal results,&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;consider using both bin time and&amp;nbsp;&lt;/SPAN&gt;dvc_priority&lt;SPAN&gt;&amp;nbsp;filtering together.&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;Remember:&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN&gt;Replace any placeholders like&amp;nbsp;&lt;/SPAN&gt;... (rest of your query)&lt;SPAN&gt;&amp;nbsp;with the actual remaining parts of your query.&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;Adapt field names and values to match your specific Splunk configuration.&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;SPAN&gt;I'm here to assist further if you have any more questions or need additional guidance!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;~ If this helps, a Karma upvote would be much appreciated.&lt;/STRONG&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Sun, 28 Jan 2024 10:05:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Cloud-Platform/Suspicious-Event-Log-Service-Behavior/m-p/675644#M2787</guid>
      <dc:creator>datadevops</dc:creator>
      <dc:date>2024-01-28T10:05:49Z</dc:date>
    </item>
  </channel>
</rss>

