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,mikrotik,detect,detection,tcp

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

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