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,discovery

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

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