id: evilginx2-jarm

info:
  name: EvilGinx2 JARM - 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://github.com/cedowens/C2-JARM
    - https://github.com/kgretzky/evilginx2
  metadata:
    max-request: 1
  tags: jarm,network,c2,ir,osint,cti,evilginx2,phishing,tcp
tcp:
  - inputs:
      - data: 2E
        type: hex
    host:
      - "{{Hostname}}"
    matchers:
      - type: dsl
        dsl:
          - "jarm(Hostname) == '20d14d20d21d20d20c20d14d20d20daddf8a68a1444c74b6dbe09910a511e6'"
# digest: 490a00463044022009cfea5e7504118d3151b76c9e25d13114a3ca48a3d6fc7994fa5a067c0b16db022010a61fc367a7ef09f8743a34b6424841a3485b9fa5b68d7b2d73262cf625a965:922c64590222798bb761d5b6d8e72950