<?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 to alert user is logged into more than 1 VPN instance concurrently in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Search-to-alert-user-is-logged-into-more-than-1-VPN-instance/m-p/485368#M83081</link>
    <description>&lt;P&gt;Hello,&lt;BR /&gt;
I am trying to write a search to look for an admin logged into our cisco vpn1 and vpn2 instance at the same time. &lt;/P&gt;

&lt;P&gt;The VPN is setup to only allow one session from an admin. However, each site enforces that as each VPN setup doesn't know about the sessions at the other site. This could be used to connect maliciously with a compromise account without kicking off a legitimate admin.&lt;/P&gt;

&lt;P&gt;Looking for something that will match when both instances are logged into by the same user account. &lt;/P&gt;

&lt;P&gt;Thanks&lt;/P&gt;</description>
    <pubDate>Mon, 20 Jan 2020 16:15:12 GMT</pubDate>
    <dc:creator>lucasedgar</dc:creator>
    <dc:date>2020-01-20T16:15:12Z</dc:date>
    <item>
      <title>Search to alert user is logged into more than 1 VPN instance concurrently</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Search-to-alert-user-is-logged-into-more-than-1-VPN-instance/m-p/485368#M83081</link>
      <description>&lt;P&gt;Hello,&lt;BR /&gt;
I am trying to write a search to look for an admin logged into our cisco vpn1 and vpn2 instance at the same time. &lt;/P&gt;

&lt;P&gt;The VPN is setup to only allow one session from an admin. However, each site enforces that as each VPN setup doesn't know about the sessions at the other site. This could be used to connect maliciously with a compromise account without kicking off a legitimate admin.&lt;/P&gt;

&lt;P&gt;Looking for something that will match when both instances are logged into by the same user account. &lt;/P&gt;

&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Mon, 20 Jan 2020 16:15:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Search-to-alert-user-is-logged-into-more-than-1-VPN-instance/m-p/485368#M83081</guid>
      <dc:creator>lucasedgar</dc:creator>
      <dc:date>2020-01-20T16:15:12Z</dc:date>
    </item>
    <item>
      <title>Re: Search to alert user is logged into more than 1 VPN instance concurrently</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Search-to-alert-user-is-logged-into-more-than-1-VPN-instance/m-p/485369#M83082</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;

&lt;P&gt;I suspect something as simple as this could work:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;sourcetype=cisco:asa tag=authentication tag=privileged | stats dc(host) as dc_host values(host) as values_host BY user | where dc_host &amp;gt; 1
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;You may need to refine the base search a bit and add additional BY clauses to get your desired result.&lt;/P&gt;

&lt;P&gt;I am on a cellphone so I am not able to test it myself unfortunately.&lt;/P&gt;</description>
      <pubDate>Mon, 20 Jan 2020 18:27:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Search-to-alert-user-is-logged-into-more-than-1-VPN-instance/m-p/485369#M83082</guid>
      <dc:creator>mbjerkeland_spl</dc:creator>
      <dc:date>2020-01-20T18:27:43Z</dc:date>
    </item>
    <item>
      <title>Re: Search to alert user is logged into more than 1 VPN instance concurrently</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Search-to-alert-user-is-logged-into-more-than-1-VPN-instance/m-p/485370#M83083</link>
      <description>&lt;P&gt;That worked! Thanks for the quick reply!&lt;/P&gt;

&lt;P&gt;It groups it by user, however I do get return values for &lt;CODE&gt;user="*****"&lt;/CODE&gt; and when I click to hit view events I do not see any events with that username. Also the search does not seem to let me filter them out e.g. &lt;CODE&gt;user!="*****"&lt;/CODE&gt; or  &lt;CODE&gt;NOT user="*****"&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;Any ideas with that?&lt;/P&gt;</description>
      <pubDate>Mon, 20 Jan 2020 19:03:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Search-to-alert-user-is-logged-into-more-than-1-VPN-instance/m-p/485370#M83083</guid>
      <dc:creator>lucasedgar</dc:creator>
      <dc:date>2020-01-20T19:03:18Z</dc:date>
    </item>
    <item>
      <title>Re: Search to alert user is logged into more than 1 VPN instance concurrently</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Search-to-alert-user-is-logged-into-more-than-1-VPN-instance/m-p/485371#M83084</link>
      <description>&lt;P&gt;You're welcome. &lt;/P&gt;

&lt;P&gt;You should be able to filter out users in the base search as well as in the end of the SPL using &lt;CODE&gt;| search&lt;/CODE&gt;.&lt;/P&gt;

&lt;P&gt;Can you paste the exact search you are trying as well as a screenshot of your data and possibly also the fields returned? &lt;/P&gt;</description>
      <pubDate>Mon, 20 Jan 2020 19:57:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Search-to-alert-user-is-logged-into-more-than-1-VPN-instance/m-p/485371#M83084</guid>
      <dc:creator>mbjerkeland_spl</dc:creator>
      <dc:date>2020-01-20T19:57:44Z</dc:date>
    </item>
  </channel>
</rss>

