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
Get Updates on the Splunk Community!

Welcome to the Splunk Community!

(view in My Videos) We're so glad you're here! The Splunk Community is place to connect, learn, give back, and ...

Tech Talk | Elevating Digital Service Excellence: The Synergy of Splunk RUM & APM

Elevating Digital Service Excellence: The Synergy of Real User Monitoring and Application Performance ...

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...