id: mikrotik-ssh-detect

info:
  name: MikroTik RouterOS SSH - Detect
  author: staticnoise
  severity: info
  description: |
    MikroTik RouterOS SSH was detected.
  reference:
    - http://www.openwall.com/lists/oss-security/2016/08/01/2
    - http://www.openwall.com/lists/oss-security/2018/08/15/5
    - http://seclists.org/fulldisclosure/2016/Jul/51
    - https://nvd.nist.gov/vuln/detail/CVE-2016-6210
    - https://nvd.nist.gov/vuln/detail/CVE-2018-15473
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:N
    cwe-id: CWE-200
  metadata:
    max-request: 1
    shodan-query: SSH-2.0-ROSSSH
    verified: true
  tags: network,ssh,mikrotik,detect,detection,tcp,discovery

tcp:
  - host:
      - "{{Hostname}}"
    port: 22

    matchers:
      - type: regex
        regex:
          - '(?i)SSH-2.0-ROSSSH'
# digest: 4a0a0047304502200fc496753e77a2435969f2850d00be90d83bd29147ce7800fbe138a5c3c453a6022100a48b8de3754b2b2bb60581532d8649591db8c3c21a4f9699e1b0a1b630a3d823:922c64590222798bb761d5b6d8e72950