Turning Your Unused TV's Set Top Box Into A Home Server (with Ubuntu Server)
2022-11-27T10:00:00+09:00
Introduction
- About STB (Set Top Box)
- OSes that Most STB runs on.
- Pros of using an STB.
- Cons of using an STB. (paid channels, offline authentication servers making it unusable, locked system settings, locked developer tools, lack of usage)
- Why STB are rarely used today.
Preparing
Most STBs are running under Android OS which makes it a lot easier for us to flash custom firmwares.
Why do we need to flash an entire custom firmware just to root the device? (built in firmware is locked totally, no devtools, no custom system settings, no outside connections except to provider, can’t open android shell, etc… making it hard to exploit)
Rooting the STB by using a Customized Firmware.
Softwares used in order to flash Firmwares.
Searching for Compatible Pre-Rooted Firmwares.
Ways for us in order to flash firmwares into an STB.
Why the most easiest ways are no longer works?
Using USB TTL in order to connect to the STB’s kernel shell.
Flashing Firmware
- Installing USB Drivers & Preparing the required tool.
- Disassembling the STB & Locate where the PIN locations.
- Attempt to connect through the STB kernel shell with PUTTY.
- Connected, go to Update Mode and start flashing the custom firmware.
Installing Ubuntu Server
- About Armbian Focal.
- Using Armbian Focal Server Image File.
- Preparing SD Card for Bootloader & System Image.
- Flash Armbian Focal Image to SD Card using Rufus/balanaEtcher.
Boot into the Armbian
Install Terminal Emulator in STB using ADB/ USB.
Executing the first installation command.
Booting into the Ubuntu Server.
Walkthrough.
Final & Conclusion.
Prior knowledge
Requires knowledge about USB TTL Serial Cables, Firmware Flashing, Putty (CLI), etc.
What audience can learn from this session
Main Knowledges
- An old, yet unused STB can still be used for servers with Ubuntu.
- We can recycle unused & old techs with open source technology.
- The community allows us to expand the use of Ubuntu for further more.
- Open source allows the community to improve creations above limits.
Additional Knowledges
- There are many ways to access the shell of STB. (even when many critical features are disabled by the provider!)
- How to flash custom firmwares into STB.
- Unlock STB limitations from the provider’s.
About the speaker
Hi! I’m Akmal Pratama. I’m now currently been working as a Security Analyst in IDN Boarding School. I was also a Fulltime Malware Researcher, and an active Bug Hunter in HackerOne. Experienced as a cybersecurity trainer at Nacita Corporation with over 100 participants. Loves to modify and mess around with operating systems. <3