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,vuln
tcp:
  - inputs:
      - data: 2E
        type: hex
    host:
      - "{{Hostname}}"
    matchers:
      - type: dsl
        dsl:
          - "jarm(Hostname) == '20d14d20d21d20d20c20d14d20d20daddf8a68a1444c74b6dbe09910a511e6'"
# digest: 490a004630440220772616b4c206eccab0d9d65bf8c3933fcbe9bd7715dd890a482f611ae041a84102206fe6795c1764a7b02c8c2d44278f2c1551cd23fc9adfac865d208417302d808a:922c64590222798bb761d5b6d8e72950