Alerting

Alert on a user attempting to connect from one box to another

AaronMoorcroft
Communicator

Hi Guys,

Whats the best way if at all to alert on a specific user trying to connect from a specific system to another specific system ? any help would be greatly appreciated, if it matters the systems will be Unix systems not Windows

0 Karma
1 Solution

lguinn2
Legend

If you mean "how can I identify an ssh login attempt between 2 Linux boxes that uses a specific user name," that's pretty simple.
First, on the target system, make sure you are collecting /var/log/secure.log and sending it to Splunk with a sourcetype of linux_secure Then, your Splunk search will be:

sourcetype=linux_secure host="target system name" src_ip="ip address of first system" user="user name"

That gives you a starting point, at least. secure.log is the ssh log and it is normally found in /var/log

View solution in original post

0 Karma

lguinn2
Legend

If you mean "how can I identify an ssh login attempt between 2 Linux boxes that uses a specific user name," that's pretty simple.
First, on the target system, make sure you are collecting /var/log/secure.log and sending it to Splunk with a sourcetype of linux_secure Then, your Splunk search will be:

sourcetype=linux_secure host="target system name" src_ip="ip address of first system" user="user name"

That gives you a starting point, at least. secure.log is the ssh log and it is normally found in /var/log

0 Karma

AaronMoorcroft
Communicator

Thank you that's a great help

0 Karma
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Community Content Calendar, September edition

Welcome to another insightful post from our Community Content Calendar! We're thrilled to continue bringing ...

Splunkbase Unveils New App Listing Management Public Preview

Splunkbase Unveils New App Listing Management Public PreviewWe're thrilled to announce the public preview of ...

Leveraging Automated Threat Analysis Across the Splunk Ecosystem

Are you leveraging automation to its fullest potential in your threat detection strategy?Our upcoming Security ...