id: riak-detect

info:
  name: Riak Detection
  author: pussycat0x
  severity: info
  description: Riak is a distributed NoSQL key-value data store that offers high availability, fault tolerance, operational simplicity, and scalability.
  metadata:
    verified: true
    max-request: 1
    shodan-query: product:"Riak"
  tags: network,oss,detect,riak,nosql,detection,tcp,discovery
tcp:
  - inputs:
      - data: 0000000107
        type: hex

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

    read-size: 2048
    matchers:
      - type: word
        words:
          - "riak"

    extractors:
      - type: regex
        regex:
          - "riak@([0-9.]+)..([0-9.]+([a-z]+[0-9]))"
# digest: 4a0a00473045022100ec1c33d607d5709aa3ede95c6ae6d129d40ca1b2af9fe394cb5d5cd6ae7c6bca0220207e27c464944d7ea5091fe14ea93f3ff04424975880ebc85a2dba7136205cf8:922c64590222798bb761d5b6d8e72950