id: sonicwall-email-security-detect

info:
  name: SonicWall Email Security Panel - Detect
  author: gy741
  severity: info
  description: SonicWall Email Security panel was detected.
  reference:
    - https://www.fireeye.com/blog/threat-research/2021/04/zero-day-exploits-in-sonicwall-email-security-lead-to-compromise.html
    - https://www.sonicwall.com/support/product-notification/security-notice-sonicwall-email-security-zero-day-vulnerabilities/210416112932360/
  classification:
    cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:N
    cvss-score: 0
    cwe-id: CWE-200
  metadata:
    max-request: 1
  tags: tech,panel,sonicwall

http:
  - method: GET
    path:
      - "{{BaseURL}}/favicon.ico"

    matchers:
      - type: dsl
        dsl:
          - "status_code==200 && (\"2063459123\" == mmh3(base64_py(body)))"
# digest: 4a0a004730450220593c9dc704b7f177ebf36ca71554ee1cd1fbea31e34107b77f04c54b72435690022100a8719c3de5ca182e1089a2baf9d739620f88ef43ab85ce29b562d11ae333a339:922c64590222798bb761d5b6d8e72950