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!

Enterprise Security Content Update (ESCU) | New Releases

In December, the Splunk Threat Research Team had 1 release of new security content via the Enterprise Security ...

Why am I not seeing the finding in Splunk Enterprise Security Analyst Queue?

(This is the first of a series of 2 blogs). Splunk Enterprise Security is a fantastic tool that offers robust ...

Index This | What are the 12 Days of Splunk-mas?

December 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...