id: mega-phish

info:
  name: mega phishing Detection
  author: rxerium
  severity: info
  description: |
    A mega phishing website was detected
  reference:
    - https://mega.io
  metadata:
    max-request: 1
  tags: phishing,mega,osint
http:
  - method: GET
    path:
      - "{{BaseURL}}"

    host-redirects: true
    max-redirects: 2

    matchers-condition: and
    matchers:
      - type: word
        words:
          - 'Home - MEGA'
          - 'Secure and private cloud storage for everyone. Store and share files, chat, meet, back up, sync, and more.'
        condition: and

      - type: status
        status:
          - 200

      - type: dsl
        dsl:
          - '!contains(host,"mega.io")'
# digest: 4a0a00473045022100871dbaf2fa65155cf5d23d909e38b299b27681c946a4fe03d985e19b4ea7726502204f356af1ec60aaec57bd87a63b75fac1764345ce14b83068ec229326118e4cc1:922c64590222798bb761d5b6d8e72950