id: microsoft-ftp-detect

info:
  name: Microsoft FTP Service - Detect
  author: pussycat0x
  severity: info
  description: |
    The File Transfer Protocol (FTP) is a standard network protocol that transfers computer files between a client and server on a computer network.
  metadata:
    max-request: 1
    verified: true
    shodan-query: 'product:"Microsoft ftpd"'
  tags: network,ftp,sambar,detect,detection,tcp,discovery

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

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

    matchers:
      - type: word
        part: body
        words:
          - "Microsoft FTP Service"
# digest: 4a0a0047304502201d254b24305b5236152607f8aa77622bab9f0bf0117d88566f50dff1719624e6022100e4a27d670837a2387073b9a946a9fc6bce4487888cd6a74e0237b8120605ee02:922c64590222798bb761d5b6d8e72950