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

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

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

    matchers:
      - type: word
        words:
          - "Wind River FTP server"

    extractors:
      - type: regex
        group: 1
        name: version
        regex:
          - "Wind River FTP server ([0-9.]+)"
# digest: 4a0a0047304502202c6c8ac72805a9acfda8fafe827bfb8a31b34a3576eb4de5fc923469eadaa978022100fe55a3f6d050e0735b8f32f2240b7c77ca381a2fa980f7af1555a2ab3adc2c84:922c64590222798bb761d5b6d8e72950