id: dionaea-http-honeypot-detect

info:
  name: Dionaea HTTP Honeypot - Detect
  author: UnaPibaGeek
  severity: info
  description: |
    Dionaea HTTP honeypot has been identified.
    The response to an incorrect HTTP method reveals a possible setup of the Dioanea web application honeypot.
  metadata:
    max-request: 1
    vendor: dionaea
    product: http
    shodan-query: '"python/3.10 aiohttp/3.8.3" && bad status'
  tags: dionaea,honeypot,ir,cti,discovery

http:
  - raw:
      - |
        AAAA / HTTP/1.1
        Host: {{Hostname}}

    unsafe: true

    matchers-condition: and
    matchers:
      - type: status
        status:
          - 501

      - type: word
        part: header
        words:
          - "nginx"

      - type: word
        part: body
        words:
          - '<?xml version="1.0" encoding="ascii"?>'
# digest: 4a0a0047304502205db36d4a16ed8cd0f01c0e6951a5795d45d0751016691ecf05e516733b66e426022100bcaf3d440446d2a5793dbe6b83cbdb26f0b8edae30207ffa0ecb8d3c54b2d86e:922c64590222798bb761d5b6d8e72950