Looking for some info which I cannot seem to find. Any pointers to where I can find it, would be quite helpful.
I see the following rules in ssh-events.rules:
alert ssh any any -> any any (msg:"SURICATA SSH invalid banner"; flow:established; app-layer-event:ssh.invalid_banner; classtype:protocol-command-decode; sid:2228000; rev:1;)
alert ssh any any -> any any (msg:"SURICATA SSH too long banner"; flow:established; app-layer-event:ssh.long_banner; classtype:protocol-command-decode; sid:2228001; rev:1;)
alert ssh any any -> any any (msg:"SURICATA SSH invalid record"; flow:established; app-layer-event:ssh.invalid_record; classtype:protocol-command-decode; sid:2228002; rev:1;)
I’ve searched the documentation, and cannot find what options are available for protocols, or the SSH protocol anywhere. I’ve searched the source on github for invalid_banner, searched google, and using ‘stings’ on the binary does provide a hit:
I am unsure why searching on github produces zero results.
However, all I want is a list of every single possible match I can use. I see long_banner, invalid_record, invalid_banner, what other matches may I use? It’s unclear to me if the above three examples are all the possibilities.