id: elasticpot-honeypot-detect

info:
  name: ElasticPot Honeypot - Detect
  author: UnaPibaGeek
  severity: info
  description: |
    A ElasticPot (ElasticSearch) honeypot has been identified.
    The response to a '_cluster/settings' request differs from real installations, signaling a possible deceptive setup.
  metadata:
    max-request: 1
    vendor: elasticpot
    product: elasticsearch
    fofa-query: "index_not_found_exception"
  tags: elasticpot,elasticsearch,honeypot,ir,cti,discovery

http:
  - method: GET
    path:
      - "{{BaseURL}}/_cluster/settings"

    matchers:
      - type: word
        part: body
        words:
          - 'index_not_found_exception'
# digest: 4b0a00483046022100d01f497d36de8c0024b3fb5153da724da8ee9fc0067cd2f44d02c90d66f967ff022100a3113c6f3d3d405f3dd273a984720957fa87e3bdc2830df030eac97597e091db:922c64590222798bb761d5b6d8e72950