39 lines
823 B
YAML
39 lines
823 B
YAML
id: cql-native-transport
|
|
|
|
info:
|
|
name: CQL Native Transport Detect
|
|
author: pussycat0x
|
|
severity: info
|
|
description: |
|
|
Native transport requests (NTR) are any requests made via the CQL Native Protocol. CQL Native Protocol is the way the Cassandra driver communicates with the server.
|
|
metadata:
|
|
max-request: 2
|
|
verified: true
|
|
shodan-query: "cassandra"
|
|
tags: network,cassandra,cql,detect
|
|
|
|
tcp:
|
|
- inputs:
|
|
- data: "/n"
|
|
- data: "/n"
|
|
- data: "/n"
|
|
- data: "/n"
|
|
- data: "/n"
|
|
- data: "/n"
|
|
- data: "/n"
|
|
- data: "/n"
|
|
|
|
host:
|
|
- "{{Hostname}}"
|
|
- "{{Host}}:9042"
|
|
|
|
matchers:
|
|
- type: word
|
|
words:
|
|
- "valid or unsupported protocol"
|
|
|
|
extractors:
|
|
- type: regex
|
|
regex:
|
|
- "protocol version: ([0-9]+)"
|