<?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: How to generate a malware search to find users with packets sent out every 1, 3, or 5 minutes for the last 24 hours? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-generate-a-malware-search-to-find-users-with-packets-sent/m-p/269762#M81184</link>
    <description>&lt;P&gt;Yes, but it only gives users with activity in each bucket. &lt;/P&gt;

&lt;P&gt;Let's say we have three buckets:&lt;BR /&gt;
bucket1:&lt;BR /&gt;
    user1,user2,user3&lt;BR /&gt;
bucket2:&lt;BR /&gt;
   user1,user4,user5&lt;BR /&gt;
bucket3:&lt;BR /&gt;
   user1,user4,user6&lt;/P&gt;

&lt;P&gt;So, I want to display only the usernames with activity in all buckets, so in this case it's only user1.&lt;/P&gt;</description>
    <pubDate>Mon, 30 Jan 2017 20:25:56 GMT</pubDate>
    <dc:creator>edvornit</dc:creator>
    <dc:date>2017-01-30T20:25:56Z</dc:date>
    <item>
      <title>How to generate a malware search to find users with packets sent out every 1, 3, or 5 minutes for the last 24 hours?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-generate-a-malware-search-to-find-users-with-packets-sent/m-p/269758#M81180</link>
      <description>&lt;P&gt;I'd like to find users with activity in every 1/3/5 minute bucket in the last 24 hours as the indication of possible malware/botnet beaconing.&lt;/P&gt;

&lt;P&gt;Let's say I have sourcetype=firewall and bytes_out/packets_out for activity and src_user for user.&lt;/P&gt;

&lt;P&gt;Any idea how to write such search?&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 12:40:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-generate-a-malware-search-to-find-users-with-packets-sent/m-p/269758#M81180</guid>
      <dc:creator>edvornit</dc:creator>
      <dc:date>2020-09-29T12:40:10Z</dc:date>
    </item>
    <item>
      <title>Re: How to generate a malware search to find users with packets sent out every 1, 3, or 5 minutes for the last 24 hours?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-generate-a-malware-search-to-find-users-with-packets-sent/m-p/269759#M81181</link>
      <description>&lt;P&gt;Something like this. You can update the span per your need.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=YourINdex sourcetype=firewall | bucket span=1m _time | stats sum(bytes_out) as bytes_out sum(packets_out) as packets_out by _time activity src_user
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 30 Jan 2017 19:56:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-generate-a-malware-search-to-find-users-with-packets-sent/m-p/269759#M81181</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2017-01-30T19:56:12Z</dc:date>
    </item>
    <item>
      <title>Re: How to generate a malware search to find users with packets sent out every 1, 3, or 5 minutes for the last 24 hours?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-generate-a-malware-search-to-find-users-with-packets-sent/m-p/269760#M81182</link>
      <description>&lt;P&gt;How would you filter it further to get only the users that have packets_out &amp;gt; 10 in every 5 min bucket?&lt;/P&gt;</description>
      <pubDate>Mon, 30 Jan 2017 20:07:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-generate-a-malware-search-to-find-users-with-packets-sent/m-p/269760#M81182</guid>
      <dc:creator>edvornit</dc:creator>
      <dc:date>2017-01-30T20:07:07Z</dc:date>
    </item>
    <item>
      <title>Re: How to generate a malware search to find users with packets sent out every 1, 3, or 5 minutes for the last 24 hours?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-generate-a-malware-search-to-find-users-with-packets-sent/m-p/269761#M81183</link>
      <description>&lt;P&gt;With current query, it's giving you total packets sent by activity-src_user combination for every minute. For get "only the users that have packets_out &amp;gt; 10 in every 5 min bucket", first change the span to 5m and use where clause to filter it.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=YourINdex sourcetype=firewall | bucket span=5m _time | stats sum(bytes_out) as bytes_out sum(packets_out) as packets_out by _time activity src_user | where packets_out&amp;gt;10
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 29 Sep 2020 12:40:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-generate-a-malware-search-to-find-users-with-packets-sent/m-p/269761#M81183</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2020-09-29T12:40:14Z</dc:date>
    </item>
    <item>
      <title>Re: How to generate a malware search to find users with packets sent out every 1, 3, or 5 minutes for the last 24 hours?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-generate-a-malware-search-to-find-users-with-packets-sent/m-p/269762#M81184</link>
      <description>&lt;P&gt;Yes, but it only gives users with activity in each bucket. &lt;/P&gt;

&lt;P&gt;Let's say we have three buckets:&lt;BR /&gt;
bucket1:&lt;BR /&gt;
    user1,user2,user3&lt;BR /&gt;
bucket2:&lt;BR /&gt;
   user1,user4,user5&lt;BR /&gt;
bucket3:&lt;BR /&gt;
   user1,user4,user6&lt;/P&gt;

&lt;P&gt;So, I want to display only the usernames with activity in all buckets, so in this case it's only user1.&lt;/P&gt;</description>
      <pubDate>Mon, 30 Jan 2017 20:25:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-generate-a-malware-search-to-find-users-with-packets-sent/m-p/269762#M81184</guid>
      <dc:creator>edvornit</dc:creator>
      <dc:date>2017-01-30T20:25:56Z</dc:date>
    </item>
  </channel>
</rss>

