Recently HackerGiraffe and j3ws3r hijacked more than 70,000 Chromecasts to make people aware about the security risks of devices exposed to
They took advantage of exposed UPnP ports of home routers to hijack Chromecast devices and play their content.
Inspired from this hack, thewhiteh4t has created
Almost all routers have UPnP enabled by default but home routers are not supposed to be exposed publicly, but in this case thousands of such routers were visible on Shodan, a search engine that lets user find specific types of devices exposed publicly.
Chromecast has two protocols, DIAL Protocol over SSDP and mDNS Server.
DIAL – DIscovery And Launch is a protocol that devices use to discover and launch apps from other devices.
SSDP – Simple Service Discovery Protocol is the basis of discovery protocol of UPnP and is intended for use in residential and small office environments.
A web-server runs on port 8008, and if you send specific GET, POST or DELETE requests, you can easily manipulate Chromecast devices, for exact requests you can study the python file in killcast.
At the time of writing killcast performs 5 actions :
- Extract Interesting Information such as Build Version, Country, Timezone etc
- Rename Device
- Reboot Device
- Perform Factory Reset
- Kill Active Applications such as Youtube
Killcast is unable to play YouTube videos on demand like CastHack because as soon as CastHack attack was launched, Google released a Hotfix.
Killcast is a python3 script and works on popular linux distro like Kali Linux and Ubuntu, you can also run killcast on Termux for android.
Installation is very simple and requires python3 and requests module.
apt-get install python3
pip install requests
Manipulate Chromecast Devices in your Network
-h, –help show this help message and exit
python3 killcast.py -t 192.168.0.100
Author & Credits: thewhiteh4t