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

Update 0310-ssh_decoders.xml #857

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions decoders/0310-ssh_decoders.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
- sshd[12914]: Failed password for invalid user lala6 from ...
- sshd[8267]: Failed password for illegal user test from 62.67.45.4 port 39141 ssh2
- sshd[11259]: Invalid user abc from 127.0.0.1
- sshd[11262]: Invalid user from 127.0.0.1
- "" Failed keyboard-interactive for root from 192.1.1.1 port 1066 ssh2
- sshd[23857]: [ID 702911 auth.notice] User xxx, coming from zzzz,
- authenticated.
Expand Down Expand Up @@ -132,6 +133,13 @@
<order>srcuser,srcip</order>
</decoder>

<decoder name="ssh-invalid-blank-user">
<parent>sshd</parent>
<prematch>^Invalid user from</prematch>
<regex offset="after_prematch">(\S+)</regex>
<order>srcip</order>
</decoder>

<decoder name="ssh-invalid-user">
<parent>sshd</parent>
<regex offset="after_regex">port (\S+)</regex>
Expand Down