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

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

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

    matchers:
      - type: word
        words:
          - "FTP server (Medusa Async"

    extractors:
      - type: regex
        group: 1
        name: version
        regex:
          - "Async ([A-Z0-9]+)"
# digest: 4a0a00473045022009d69da286ed8b330252d6bffa7f6e8c2fa79d53645a6410cca6133851e0ee0f022100cebeadc5b8b365209fbc3f29a60f460de2417e2bc884735a80f7e23c7ba58b81:922c64590222798bb761d5b6d8e72950