<?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 Search proxy logs for beaconing hosts in Security</title>
    <link>https://community.splunk.com/t5/Security/Search-proxy-logs-for-beaconing-hosts/m-p/118051#M3651</link>
    <description>&lt;P&gt;I'm trying to search proxy logs for beaconing hosts. Let's define beaconing as:&lt;BR /&gt;
- visiting the same url &lt;BR /&gt;
- using the same HTTP Method&lt;BR /&gt;
- at a regular interval (say 60 seconds +/- 5s)&lt;BR /&gt;
- at least 9 times  &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| transaction client_ip URL Method minpause=55s maxpause=65s | where eventcount &amp;gt; 10
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;My first problem is the lack of a MINPUASE command. &lt;BR /&gt;
Any suggestions?&lt;/P&gt;</description>
    <pubDate>Tue, 09 Sep 2014 22:08:53 GMT</pubDate>
    <dc:creator>mikefoti</dc:creator>
    <dc:date>2014-09-09T22:08:53Z</dc:date>
    <item>
      <title>Search proxy logs for beaconing hosts</title>
      <link>https://community.splunk.com/t5/Security/Search-proxy-logs-for-beaconing-hosts/m-p/118051#M3651</link>
      <description>&lt;P&gt;I'm trying to search proxy logs for beaconing hosts. Let's define beaconing as:&lt;BR /&gt;
- visiting the same url &lt;BR /&gt;
- using the same HTTP Method&lt;BR /&gt;
- at a regular interval (say 60 seconds +/- 5s)&lt;BR /&gt;
- at least 9 times  &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| transaction client_ip URL Method minpause=55s maxpause=65s | where eventcount &amp;gt; 10
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;My first problem is the lack of a MINPUASE command. &lt;BR /&gt;
Any suggestions?&lt;/P&gt;</description>
      <pubDate>Tue, 09 Sep 2014 22:08:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/Search-proxy-logs-for-beaconing-hosts/m-p/118051#M3651</guid>
      <dc:creator>mikefoti</dc:creator>
      <dc:date>2014-09-09T22:08:53Z</dc:date>
    </item>
    <item>
      <title>Re: Search proxy logs for beaconing hosts</title>
      <link>https://community.splunk.com/t5/Security/Search-proxy-logs-for-beaconing-hosts/m-p/118052#M3652</link>
      <description>&lt;P&gt;Try this&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;yoursearchhere
| eventstats count as total_events by client_ip URL Method
| where total_events &amp;gt; 8
| sort client_ip URL Method _time
| streamstats current=f window=1 global=f last(_time) as prev_time by client_ip URL Method
| eval time_diff = _time - prev_time
| transaction client_ip URL Method maxpause=65s
| where time_diff &amp;gt;= 55 and eventcount &amp;gt; 8
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;This may not be exactly what you want, but perhaps it will give you some new ideas...&lt;BR /&gt;&lt;BR /&gt;
I used &lt;CODE&gt;eventstats&lt;/CODE&gt; to eliminate as many client_ip's as I could, before creating the transactions. This should make the &lt;CODE&gt;transaction&lt;/CODE&gt; command run faster. I also calculated the time difference between events so that I could use it later to implement the "minpause" idea.&lt;/P&gt;</description>
      <pubDate>Wed, 10 Sep 2014 16:31:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/Search-proxy-logs-for-beaconing-hosts/m-p/118052#M3652</guid>
      <dc:creator>lguinn2</dc:creator>
      <dc:date>2014-09-10T16:31:59Z</dc:date>
    </item>
  </channel>
</rss>

