<?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: Abnormal Connection Detection in Alerting</title>
    <link>https://community.splunk.com/t5/Alerting/Abnormal-Connection-Detection/m-p/181367#M12388</link>
    <description>&lt;P&gt;&lt;STRONG&gt;Step one: get logs&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;Get the logs that identify which users are using the machines. Make sure these logs need to identify the machine and the user. You might be able to use an app on apps.splunk.com to parse the logs from the devices that provide the logs (e.g. you could use the "&lt;A href="http://apps.splunk.com/app/272/"&gt;Splunk App for Windows&lt;/A&gt;" to get the user information from Windows machines).&lt;/P&gt;

&lt;P&gt;For example, the Splunk App for Windows will parse out the user and destination so a search such as this should reveal who is logging into what machine:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;tag=authentication | table dest user
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;&lt;STRONG&gt;Step two: create the baseline to filter expected logons&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;Update the search to filter out the logons to find logins that you don't expect. Your search will look something like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;tag=authentication (dest=HOST-001 OR dest=HOST-002) AND (user!=administrator AND user!=john_smith) | stats count by user, dest
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;&lt;STRONG&gt;Step three: set up alerting&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;If you want the search to notify you when an unauthorized user logs in, then make the search a saved searched in the Splunk Manager and set up alerting (e.g. to get email alerts)&lt;/P&gt;</description>
    <pubDate>Tue, 17 Dec 2013 18:05:51 GMT</pubDate>
    <dc:creator>LukeMurphey</dc:creator>
    <dc:date>2013-12-17T18:05:51Z</dc:date>
    <item>
      <title>Abnormal Connection Detection</title>
      <link>https://community.splunk.com/t5/Alerting/Abnormal-Connection-Detection/m-p/181365#M12386</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I want made an alert witch detect user abnormal connection. I have 5 workstations integrated on Splunk. 5 users are authorized to connect to these computers. I want be alerted when an other user was connected on these computers.&lt;/P&gt;

&lt;P&gt;Do you have any idea on how to do that please?&lt;/P&gt;

&lt;P&gt;Thanks in advance. &lt;/P&gt;</description>
      <pubDate>Tue, 17 Dec 2013 15:33:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Abnormal-Connection-Detection/m-p/181365#M12386</guid>
      <dc:creator>julirodr</dc:creator>
      <dc:date>2013-12-17T15:33:32Z</dc:date>
    </item>
    <item>
      <title>Re: Abnormal Connection Detection</title>
      <link>https://community.splunk.com/t5/Alerting/Abnormal-Connection-Detection/m-p/181366#M12387</link>
      <description>&lt;P&gt;Are looking for users that access Splunk, or users that access the computers?&lt;BR /&gt;
What OS is running on the computers?&lt;/P&gt;</description>
      <pubDate>Tue, 17 Dec 2013 16:27:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Abnormal-Connection-Detection/m-p/181366#M12387</guid>
      <dc:creator>lukejadamec</dc:creator>
      <dc:date>2013-12-17T16:27:00Z</dc:date>
    </item>
    <item>
      <title>Re: Abnormal Connection Detection</title>
      <link>https://community.splunk.com/t5/Alerting/Abnormal-Connection-Detection/m-p/181367#M12388</link>
      <description>&lt;P&gt;&lt;STRONG&gt;Step one: get logs&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;Get the logs that identify which users are using the machines. Make sure these logs need to identify the machine and the user. You might be able to use an app on apps.splunk.com to parse the logs from the devices that provide the logs (e.g. you could use the "&lt;A href="http://apps.splunk.com/app/272/"&gt;Splunk App for Windows&lt;/A&gt;" to get the user information from Windows machines).&lt;/P&gt;

&lt;P&gt;For example, the Splunk App for Windows will parse out the user and destination so a search such as this should reveal who is logging into what machine:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;tag=authentication | table dest user
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;&lt;STRONG&gt;Step two: create the baseline to filter expected logons&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;Update the search to filter out the logons to find logins that you don't expect. Your search will look something like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;tag=authentication (dest=HOST-001 OR dest=HOST-002) AND (user!=administrator AND user!=john_smith) | stats count by user, dest
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;&lt;STRONG&gt;Step three: set up alerting&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;If you want the search to notify you when an unauthorized user logs in, then make the search a saved searched in the Splunk Manager and set up alerting (e.g. to get email alerts)&lt;/P&gt;</description>
      <pubDate>Tue, 17 Dec 2013 18:05:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Abnormal-Connection-Detection/m-p/181367#M12388</guid>
      <dc:creator>LukeMurphey</dc:creator>
      <dc:date>2013-12-17T18:05:51Z</dc:date>
    </item>
    <item>
      <title>Re: Abnormal Connection Detection</title>
      <link>https://community.splunk.com/t5/Alerting/Abnormal-Connection-Detection/m-p/181368#M12389</link>
      <description>&lt;P&gt;I'm looking for users that access the computers. The computers running on Windows 7&lt;/P&gt;</description>
      <pubDate>Wed, 18 Dec 2013 08:50:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Abnormal-Connection-Detection/m-p/181368#M12389</guid>
      <dc:creator>julirodr</dc:creator>
      <dc:date>2013-12-18T08:50:50Z</dc:date>
    </item>
    <item>
      <title>Re: Abnormal Connection Detection</title>
      <link>https://community.splunk.com/t5/Alerting/Abnormal-Connection-Detection/m-p/181369#M12390</link>
      <description>&lt;P&gt;Logs are parsed properly and I am able to see all the users who are logged on a computer. I will try your solution as soon as possible and I will let you know. Thanks.&lt;/P&gt;</description>
      <pubDate>Wed, 18 Dec 2013 08:55:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Abnormal-Connection-Detection/m-p/181369#M12390</guid>
      <dc:creator>julirodr</dc:creator>
      <dc:date>2013-12-18T08:55:46Z</dc:date>
    </item>
    <item>
      <title>Re: Abnormal Connection Detection</title>
      <link>https://community.splunk.com/t5/Alerting/Abnormal-Connection-Detection/m-p/181370#M12391</link>
      <description>&lt;P&gt;You can also do this without the Windows App.&lt;BR /&gt;&lt;BR /&gt;
You would want to configure the below search with the correct workstation and user names, and test it before you configure the alert to make sure there are no other computers or users that need to be excluded.&lt;BR /&gt;
Then configure the alert to run hourly, or daily, or real time as you prefer.  Set the alert to trigger on results greater than 0, to send an email, and to include the results.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; index=main sourcetype="*security" host="workstation1" OR host="workstation2" OR host="workstation3" OR host="workstation4" OR host="workstation5" EventCode=4624 
|eval Account_Name=mvindex(Account_Name,1) 
|search NOT Account_Name=user1 NOT Account_Name=user2 NOT Account_Name=user3 NOT Account_Name=user4 NOT Account_Name=user5 
|search  NOT Account_Name="*$" NOT Account_Name=system NOT Account_Name="local service" NOT Account_Name="network service" NOT Account_Name="anonymous logon"
|rename Workstation_Name AS Source_Workstation ComputerName AS Target_Workstation 
|fillnull value=null
|stats count by Account_Name Source_Workstation Target_Workstation Logon_Type
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 18 Dec 2013 14:28:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Abnormal-Connection-Detection/m-p/181370#M12391</guid>
      <dc:creator>lukejadamec</dc:creator>
      <dc:date>2013-12-18T14:28:46Z</dc:date>
    </item>
  </channel>
</rss>

