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,discovery
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: 4b0a004830460221009c90bbd866825e19806b9d34abd85cb2866115c93e3e3691b747547253c99aa2022100a072061377e3f89538d4ac2983c3fcc2370990061c6cf05ad78b6cb0ea528647:922c64590222798bb761d5b6d8e72950