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

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