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

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: 4a0a0047304502201bf246c5339510ee6909d552432dea3bd8122162a3f37c38898930bc1e8851d1022100cfd597780ca2b9cb185577ff3e8280a86c1842cf91bb504b97c723361cba0f7d:922c64590222798bb761d5b6d8e72950