id: strong-ciphers

info:
  name: HTTPS/SSH Strong Ciphers Not Enabled
  author: pussycat0x
  severity: info
  description: Weak Ciphers can be broken by an attacker in a local network and can perform attacks like Blowfish.
  reference: https://docs.fortinet.com/document/fortigate/6.2.0/hardening-your-fortigate/582009/system-administrator-best-practices
  tags: audit,config,file,firewall,fortigate

file:
  - extensions:
      - conf

    matchers-condition: and
    matchers:
      - type: word
        words:
          - "set strong-crypto enable"
        negative: true

      - type: word
        words:
          - "config system"
          - "config router"
          - "config firewall"
        condition: or
# digest: 4b0a00483046022100cd67bb20d8f0c9af643d13159354f140eaf2b3e84032e6d00af40fd617867ec9022100838cc78cd09cb67590b707a06dac56ff6921da4240c033f6463210c719917d43:922c64590222798bb761d5b6d8e72950