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