Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Logging if someone jumps through the host #12

Open
jm23-23 opened this issue Aug 3, 2023 · 1 comment
Open

Logging if someone jumps through the host #12

jm23-23 opened this issue Aug 3, 2023 · 1 comment

Comments

@jm23-23
Copy link

jm23-23 commented Aug 3, 2023

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?

@matthill
Copy link
Contributor

matthill commented Aug 14, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants