Decoding the Kodi Ecosystem

Abstract

Free and open source media centers are experiencing a boom in popularity for the convenience they offer users seeking to remotely consume digital content. Kodi is today’s most popular home media center, with millions of users worldwide. Kodi’s popularity derives from its ability to centralize the sheer amount of media content available on the Web, both free and copyrighted. Researchers have been hinting at potential security concerns around Kodi, due to add-ons injecting unwanted content as well as user settings linked with security holes. Motivated by these observations, this paper conducts the first comprehensive analysis of the Kodi ecosystem: 15,000 Kodi users from 104 countries, 11,000 unique add-ons, and data collected over 9 months.

Our work makes three important contributions. Our first contribution is that we build “crawling” software (de-Kodi) which can automatically install a Kodi add-on, explore its menu, and locate (video) content. This is challenging for two main reasons. First, Kodi largely relies on visual information and user input which intrinsically complicates automation. Second, the potential sheer size of this ecosystem (i.e., number of available add-ons) requires a highly scalable crawling solution. Our second contribution is that we develop a solution to discover Kodi add-ons. Our solution combines Web crawling of popular websites where Kodi add-ons are published (LazyKodi and GitHub) and SafeKodi, a Kodi add-on we have developed which leverages the help of Kodi users to learn which add-ons are used in the wild and, in return, offers information about how safe these add-ons are, e.g., do they track user activity or contact sketchy URLs/IP addresses. Our third contribution is a classifier to passively detect Kodi traffic and add-on usage in the wild.

Our analysis of the Kodi ecosystem reveals the following findings. We find that most installed add-ons are unofficial but safe to use. Still, 78% of the users have installed at least one unsafe add-on, and even worse, such add-ons are among the most popular. In response to the information offered by SafeKodi, one-third of the users reacted by disabling some of their add-ons. However, the majority of users ignored our warnings during several months attracted by the content such unsafe add-ons have to offer. Last but not least, we show that Kodi’s auto-update, a feature active for 97.6% of SafeKodi users, makes Kodi users easily identifiable by their ISPs. While passively identifying which Kodi add-on is in use is, as expected, much harder, we also find that many unofficial add-ons do not use HTTPS yet, making their passive detection straightforward.

Publication
In ACM Transactions on the Web

Resources

SafeKodi: The first aggregator for (safe) Kodi addons

Publications

1. Marc Anthony Warrior, Yunming Xiao, Matteo Varvello, Aleksandar Kuzmanovic (2020). De-Kodi: Understanding the Kodi Ecosystem. In WWW’20.
2. Yunming Xiao, Matteo Varvello, Marc Anthony Warrior, Aleksandar Kuzmanovic (2022). Decoding the Kodi Ecosystem. In TWEB.

Media Coverage

1. SafeKodi: Researchers Help Kodi Users to Spot Malicious Addons - TorretFreak.com
2. “SafeKodi” is Here to Save Users From Risky Kodi Addons - TechNadu.com
3. Why streaming on this TV player just got a lot less dangerous - Daily Express
4. Crean el primer antivirus para Kodi: protégete de addons con malware - AdslZone.net
5. SafeKodi: Acabaram-se os addons maliciosos no Kodi - Pplware.sapo.pt
6. SafeKodi: Προστασία Και Ασφαλές Streaming Στο Kodi v18.6 - PcSteps.gr
7. The new Kodi tool that helps keep streamers safe - VPNCompre.co.uk
8. SafeKodi: les chercheurs aident les utilisateurs de Kodi à repérer les modules malveillants - Yeeeah.fr
9. Forskargrupp har tagit fram ”SafeKodi” – en app letar efter skadliga tillägg - VPNBasen.se
10. SafeKodi, pour éviter les extensions vérolées sur Kodi - FredZone.org
11. Is Your Kodi Virus Free? Use SafeKodi to Scan & Fix - TroyPoint.com
12. SafeKodi: O maior aliado de quem usa o Kodi - NoticiasETecnologia.com
……

Videos

Some nice videos to demonstrate the usage of SafeKodi:

KODI 2020*NOVEDAD PARA KODI*EL ANTIVIRUS!!
SafeKODI identifikuje nebezpečné doplnky
Is Your Kodi Virus Free? How to Scan With SafeKodi - TROYPOINT Vids
SafeKodi