id: irs-phish

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

    host-redirects: true
    max-redirects: 2

    matchers-condition: and
    matchers:
      - type: word
        words:
          - "Pay your taxes. Get your refund status. Find IRS forms and answers to tax questions. We help you understand and meet your federal tax responsibilities."

      - type: status
        status:
          - 200

      - type: dsl
        dsl:
          - '!contains(host,"irs.gov")'
# digest: 4a0a00473045022100d7602899917c173252bc4e25fab08422a8c374c773c8189b9e118c333b6b115b022068322aa6a595148be6e5a36e812a3c0b309f27e7391caa4f1f0de14c3100007c:922c64590222798bb761d5b6d8e72950