From ed088257d471b103199c0989423da929862910ab Mon Sep 17 00:00:00 2001 From: Dhiyaneshwaran Date: Mon, 5 Feb 2024 14:37:40 +0530 Subject: [PATCH] Create chromecast-detect.yaml --- .../google/chromecast-detect.yaml | 34 +++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 http/technologies/google/chromecast-detect.yaml diff --git a/http/technologies/google/chromecast-detect.yaml b/http/technologies/google/chromecast-detect.yaml new file mode 100644 index 0000000000..7ce020462a --- /dev/null +++ b/http/technologies/google/chromecast-detect.yaml @@ -0,0 +1,34 @@ +id: chromecast-detect + +info: + name: Google Chromecast - Detect + author: LucianNitescu + severity: info + description: | + Searches for Google Chromecast via their eureka_info route. + reference: + - https://github.com/thewhiteh4t/killcast/blob/ee81cfa03c963d47d3335770fcea2ca48bddeabf/killcast.py#L100C25-L100C43 + - https://rithvikvibhu.github.io/GHLocalApi/#section/Google-Home-Local-API/Authentication + metadata: + shodan-query: "Chromecast" + verified: true + tags: google,chromecast,detect + +http: + - raw: + - | + GET /setup/eureka_info HTTP/1.1 + Host: {{Hostname}} + + matchers-condition: and + matchers: + - type: word + part: body + words: + - '"cast_build_revision":' + - '"ssdp_udn":' + condition: and + + - type: status + status: + - 200