id: diskstation-ftp-detect
info:
  name: DiskStation FTP Service - Detect
  author: pussycat0x
  severity: info
  description: DiskStation FTP service was detected.
  metadata:
    verified: true
    shodan-query: "DiskStation FTP server ready"
    max-request: 1
  tags: network,ftp,diskstation,detect,tcp,discovery

tcp:
  - inputs:
      - data: 00000000
        type: hex

    host:
      - "{{Hostname}}"
    port: 21
    read-size: 1024

    matchers:
      - type: word
        words:
          - "DiskStation FTP server ready"
# digest: 4a0a0047304502204470e44afd1ae787878fbc14cc21d5a3c08f9ec09bf6ee3ca19d76e0779e49b3022100c243ef089c9dfafb4114159fbc1f9758fc3f406027c70252d2f7abd9eee11966:922c64590222798bb761d5b6d8e72950