--- /dev/null
+requires:
+ lt-version: 7
+
+pcap: ../ssh-banner-only/input.pcap
+
+args:
+ - -k none
+
+checks:
+ # Check that we have the ssh event in eve.json
+ - filter:
+ count: 1
+ match:
+ event_type: ssh
+ ssh.client.proto_version: "2.0"
+ ssh.server.proto_version: "2.0"
+ ssh.client.software_version: "OpenSSH_for_Windows_7.7"
+ ssh.server.software_version: "OpenSSH_7.4"
+ - filter:
+ count: 1
+ match:
+ event_type: alert
+ alert.signature_id: 2
alert ssh any any -> any any (ssh.software; content:"OpenSSH"; sid:1;)
-# ssh.softwareversion is deprecated in favor of ssh.software this is just to check if it still works
-alert ssh any any -> any any (ssh.softwareversion:OpenSSH_7.4; sid:2;)
alert ssh any any -> any any (ssh.proto; content:"2"; sid:3;)