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,discovery
tcp:
  - inputs:
      - data: "3a0000002f00000002000040020f0001003d050000000000000000000000002f000000000000000000401f0000000000000000000000000000000000"
        type: hex

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

    matchers:
      - type: word
        encoding: hex
        words:
          - "0621666174616c0d6e6f74206c6f6767656420696e00"
# digest: 4a0a0047304502202e0440a6f7b4341c567812e90fd9f731a7203fc32ef0f6f0209907d7229f1bee022100f17bae167e74e44120ec875abd2672e016c41188b93303366b83a7a841b4a4be:922c64590222798bb761d5b6d8e72950