id: mikrotik-routeros-api

info:
  name: MikroTik RouterOS API - Detect
  author: pussycat0x
  severity: info
  description: |
    MikroTik RouterOS API was detected.
  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:
    verified: true
    max-request: 1
    shodan-query: product:"MikroTik RouterOS API Service"
  tags: network,mikrotik,detect,detection,tcp
tcp:
  - inputs:
      - data: "3a0000002f00000002000040020f0001003d050000000000000000000000002f000000000000000000401f0000000000000000000000000000000000"
        type: hex

    host:
      - "{{Hostname}}"
    port: 8728

    matchers:
      - type: word
        encoding: hex
        words:
          - "0621666174616c0d6e6f74206c6f6767656420696e00"
# digest: 490a00463044022061194878fa137f56b4d0e00e3020fd9557e7d29d1a484d0b5e53fe3dd8d07d5902207a3a08048b12407dac128334ede7464ddb436953b5282a99d1c1cb43bcc8ef42:922c64590222798bb761d5b6d8e72950