Create chromecast-detect.yaml

patch-1
Dhiyaneshwaran 2024-02-05 14:37:40 +05:30 committed by GitHub
parent 292eb7a197
commit ed088257d4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 34 additions and 0 deletions

View File

@ -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