id: bmc-controlm-mft-panel

info:
  name: BMC Control-M MFT Login Panel - Detect
  author: righettod
  severity: info
  description: |
    BMC Control-M MFT products was detected.
  reference:
    - https://documents.bmc.com/supportu/9.0.21/en-US/Documentation/Managed_File_Transfer.htm
    - https://documents.bmc.com/supportu/9.0.21/en-US/Documentation/home.htm
  metadata:
    max-request: 1
    verified: true
    shodan-query: http.title:"File Exchange"
  tags: panel,bmc,login,detect

http:
  - method: GET
    path:
      - "{{BaseURL}}"

    matchers:
      - type: dsl
        dsl:
          - 'status_code == 200'
          - 'contains(to_lower(body), "file exchange</title>")'
          - 'contains_any(to_lower(body), "main-b2b-icon.png", "fileexchange.ico")'
        condition: and
# digest: 4a0a004730450220064f913e26b700600e10b66b8037254a3acaaa6a21871a347e0e1e26636e853e022100fee4dc2b10b19cf3234fe4abfe41951e92122e68ff94a9667f79b430bfe935d5:922c64590222798bb761d5b6d8e72950