id: rabbitmq-detect

info:
  name: RabbitMQ Detection
  author: pussycat0x
  severity: info
  description: |
    RabbitMQ is an open-source message-broker software that originally implemented the Advanced Message Queuing Protocol and has since been extended with a plug-in architecture to support Streaming Text Oriented Messaging Protocol, MQ Telemetry Transport, and other protocols.
  reference:
    - https://nmap.org/nsedoc/scripts/amqp-info.html
  metadata:
    verified: true
    max-request: 1
    shodan-query: product:"RabbitMQ"
  tags: network,rabbitmq,oss,detect,detection,tcp
tcp:
  - inputs:
      - data: "AMQP\u0000\u0000\t\u0001"

    host:
      - "{{Hostname}}"
    port: 5672

    matchers-condition: and
    matchers:
      - type: word
        words:
          - "publisher_confirmst"
          - "RabbitMQ"
        condition: and
# digest: 4a0a00473045022022eb0eae3327a45535b2461d591398a02743484064885b44f8f03ae0d8fd3e340221008103479de476da05c82d9989570fa42e5ccdd8b414a63d5e03c8c7ec209fe48a:922c64590222798bb761d5b6d8e72950