id: tornado-vxworks-ftp-detect
info:
  name: Tornado-VxWorks FTP Service - Detect
  author: pussycat0x
  severity: info
  description: Tornado-VxWorks FTP service was detected.
  metadata:
    verified: true
    shodan-query: "220 Tornado-vxWorks"
    max-request: 1
  tags: network,ftp,vxworks,detect,tcp,discovery

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

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

    matchers:
      - type: word
        words:
          - "Tornado-vxWorks (VxWorks"

    extractors:
      - type: regex
        group: 1
        name: version
        regex:
          - "VxWorks([0-9.]+)"
# digest: 4a0a00473045022100f4ed9b256dbaf9dfa9a1696d077e89b65b76b535ab0d481d103c9b26d2d9ac98022005abec972679706a4df70d693444086ca08b8e63fef390c62a0b1570e53ad320:922c64590222798bb761d5b6d8e72950