All Apps and Add-ons

Splunk App for Stream: How to detect SSH Tunneling packets?

kwchang_splunk
Splunk Employee
Splunk Employee

Hello experts,

Is there a way to identify SSH Tunneling packets using the Splunk App for Stream?

From a security point of view, it would be valuable if possible.

Thank you.

Tags (2)
0 Karma
1 Solution

vshcherbakov_sp
Splunk Employee
Splunk Employee

hi kwchang,

Not sure I understand the question: are you asking how we can detect that something other than the normal ssh traffic (shell commands, etc) is being transferred over an ssh connection? If so, I'm not sure it's technically possible - with Stream or any other passive network sniffer - since the connection is encrypted..

View solution in original post

Splunker
Communicator

Guessing here but maybe the OP means to detect the SSH protocol banners on nonstandard ports.

0 Karma

sjalexander
Path Finder

Unless you have the SSH private key (or the host key from the other end) for the session, you cannot identify the packets; they will look the same as any other SSH packets.

However, traffic analysis can give you clues; most "legitimate" SSH connections are used for terminal activity, some are used for file transfer. If you have an SSH tunnel being used for gaming, streaming, browsing, etc then the traffic patterns will presumably be different.

vshcherbakov_sp
Splunk Employee
Splunk Employee

hi kwchang,

Not sure I understand the question: are you asking how we can detect that something other than the normal ssh traffic (shell commands, etc) is being transferred over an ssh connection? If so, I'm not sure it's technically possible - with Stream or any other passive network sniffer - since the connection is encrypted..

Get Updates on the Splunk Community!

Splunk AI Assistant for SPL | Key Use Cases to Unlock the Power of SPL

Splunk AI Assistant for SPL | Key Use Cases to Unlock the Power of SPL  The Splunk AI Assistant for SPL ...

Buttercup Games: Further Dashboarding Techniques (Part 5)

This series of blogs assumes you have already completed the Splunk Enterprise Search Tutorial as it uses the ...

Customers Increasingly Choose Splunk for Observability

For the second year in a row, Splunk was recognized as a Leader in the 2024 Gartner® Magic Quadrant™ for ...