id: evilginx

info:
  name: EvilGinx - Detect
  author: pussycat0x
  severity: info
  description: |
    Evilginx2 is a man-in-the-middle attack framework used for phishing login credentials along with session cookies which in turn allows bypassing 2-factor authentication protection.
  reference:
    - https://dmcxblue.gitbook.io/red-team-notes-2-0/red-team-infrastructure/delivery/evilginx
  metadata:
    verified: "true"
    max-request: 1
    censys-query: b18d778b4e4b6bf1fd5b2d790c941270145a6a6d
  tags: tech,evilginx,c2,phishing,panel

http:
  - method: GET
    path:
      - "{{BaseURL}}/login"

    matchers-condition: and
    matchers:
      - type: dsl
        dsl:
          - "status_code == 200 && contains(body, 'Evilginx')"
          - "(\"b18d778b4e4b6bf1fd5b2d790c941270145a6a6d\" == sha1(body))"
        condition: and
# digest: 490a00463044022026eaf281df10adc1b66a436ef4b76738a1371f5e65adea7838b6576443b0c0f1022039adf6313cfed9c2b2e6eacf7925a206762e1846b3eb6794f44466a5045a53c2:922c64590222798bb761d5b6d8e72950