id: asana-phish

info:
  name: Asana phishing Detection
  author: rxerium
  severity: info
  description: |
    An Asana phishing website was detected
  reference:
    - https://asana.com
  metadata:
    max-request: 1
  tags: phishing,asana,productivity,osint,discovery
http:
  - method: GET
    path:
      - "{{BaseURL}}"

    host-redirects: true
    max-redirects: 2

    matchers-condition: and
    matchers:
      - type: word
        words:
          - 'window.AsanaStorage.optanonWrapperInitialized'
          - 'Asana'
        condition: and

      - type: status
        status:
          - 200

      - type: dsl
        dsl:
          - '!contains(host,"asana.com")'
# digest: 490a004630440220684592c56f02f31a24cd3aaf7df4cc5aab33edc811da0750f6a8fe045107418d022065dbceba6250ab55a77ed87ff76d13e3c1f806f2b671cd49d4ebd0c5a85baebd:922c64590222798bb761d5b6d8e72950