id: fortiddos-certificate

info:
  name: Fortinet FortiDDoS Certificate - Detect
  author: johnk3r
  severity: info
  metadata:
    verified: true
    max-request: 1
    shodan-query: ssl:"ou=fortiddos"
  tags: ssl,tls,fortinet,fortiddos

ssl:
  - address: "{{Host}}:{{Port}}"

    matchers-condition: and
    matchers:
      - type: word
        part: subject_dn
        words:
          - "O=Fortinet, L=Sunnyvale, ST=California, C=US, emailAddress=support@fortinet.com"

      - type: word
        part: subject_dn
        words:
          - "OU=FortiDDoS"

    extractors:
      - type: dsl
        dsl:
          - 'subject_cn'
# digest: 490a004630440220133e4c6d68d9e5a0f0c246d42ea7766e995071a6372801fb790625ce1cccc4ed02203737e2050d6ed752534cb7b141e12d8614050535d264c02231b137627274f2ac:922c64590222798bb761d5b6d8e72950