id: microsoft-exchange-panel

info:
  name: Microsoft Exchange Admin Center Login Panel - Detect
  author: r3dg33k
  severity: info
  description: Microsoft Exchange Admin Center login panel was detected.
  reference:
    - https://docs.microsoft.com/en-us/answers/questions/58814/block-microsoft-exchange-server-2016-exchange-admi.html
  classification:
    cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:N
    cwe-id: CWE-200
    cpe: cpe:2.3:a:microsoft:exchange_server:*:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: microsoft
    product: exchange_server
    shodan-query:
      - http.favicon.hash:1768726119
      - http.title:"outlook"
      - cpe:"cpe:2.3:a:microsoft:exchange_server"
    fofa-query:
      - icon_hash=1768726119
      - title="outlook"
    google-query: intitle:"outlook"
  tags: microsoft,panel,exchange,discovery

http:
  - method: GET
    path:
      - "{{BaseURL}}/owa/auth/logon.aspx?replaceCurrent=1&url={{BaseURL}}/ecp"

    matchers-condition: and
    matchers:
      - type: status
        status:
          - 200

      - type: word
        words:
          - 'Exchange Admin Center'
# digest: 490a00463044022014842d09409fcfa298c5282284a8bdc4f787c042ebae3b878aef12c884401b0402200b2aa9235fbe858112d48e84e12954526bdf8af12f36f96c05e918ac969b9a45:922c64590222798bb761d5b6d8e72950