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!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

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

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...