id: somansa-dlp-detect

info:
  name: Somansa DLP Login Panel - Detect
  author: gy741,ritikchaddha
  severity: info
  description: Somansa DLP login panel was detected.
  reference:
    - https://www.somansa.com/solution/integrated_solution/dlp/
  classification:
    cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:N
    cwe-id: CWE-200
  metadata:
    verified: true
    max-request: 2
    shodan-query: http.html:"DLP system"
  tags: panel,somansa,dlp,discovery

http:
  - method: GET
    path:
      - "{{BaseURL}}/DLPCenter/loginform.sms"
      - "{{BaseURL}}/DLPCenter/images/favicon.ico"

    stop-at-first-match: true

    matchers-condition: or
    matchers:
      - type: word
        part: body
        words:
          - "/DLPCenter/js/"
          - "SOMANSA"
        condition: and
        case-insensitive: true

      - type: dsl
        dsl:
          - "status_code==200 && (\"-1217239281\" == mmh3(base64_py(body)))"
# digest: 490a004630440220143d4966bc457bf9522e884695a493edef0b90efb911ea3acdbd5213bf7bbf9a022005415b1580d3e3c825a1c03f5d964249adffcfd737e2818c52c007318253c925:922c64590222798bb761d5b6d8e72950