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,discovery
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: 4a0a00473045022100f8c8c3e2605f6d7f339919185880edb9027363477cdff7cd411e46668371b3a4022047aee17e6ad7db17804aa6e0811a179c7b5b71d24d376de8ec393fb1e54234e1:922c64590222798bb761d5b6d8e72950