agent icon indicating copy to clipboard operation
agent copied to clipboard

Logging if someone jumps through the host

Open jm23-23 opened this issue 2 years ago • 1 comments

Hi, I was looking for a tool that would help me log an event when someone uses the server as a proxy to connect to other hosts. It is commonly known that this is a typical vector of hacker activity, so the ability to log such events would be helpful in increasing server security. Unfortunately, apart from examples, I did not find any other triggers that could be used, and I checked that “connection_established” does not log sessions in which someone uses the server as a proxy (jumphost). Any hints?

jm23-23 avatar Aug 03 '23 10:08 jm23-23

I think if someone were to proxy through your SSH server, it should show up as an "ssh" command event. For example, seeing an ssh command shortly after connection establishment, or seeing the :ssh -W" command option would probably tell you when this is happening.

matthill avatar Aug 14 '23 23:08 matthill