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!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...