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 Observability as Code: From Zero to Dashboard

For the details on what Self-Service Observability and Observability as Code is, we have some awesome content ...

[Puzzles] Solve, Learn, Repeat: Character substitutions with Regular Expressions

This challenge was first posted on Slack #puzzles channelFor BORE at .conf23, we had a puzzle question which ...

Shape the Future of Splunk: Join the Product Research Lab!

Join the Splunk Product Research Lab and connect with us in the Slack channel #product-research-lab to get ...