Sessions

Turning Your Unused TV's Set Top Box Into A Home Server (with Ubuntu Server)

2022-11-27T10:00:00+09:00

Midsize room 2
Session duration 45m0s
English
IoT, Embedded, Robotics, Appliances

Introduction

  1. About STB (Set Top Box)
  2. OSes that Most STB runs on.
  3. Pros of using an STB.
  4. Cons of using an STB. (paid channels, offline authentication servers making it unusable, locked system settings, locked developer tools, lack of usage)
  5. Why STB are rarely used today.

Preparing

  1. Most STBs are running under Android OS which makes it a lot easier for us to flash custom firmwares.

  2. 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)

  3. Rooting the STB by using a Customized Firmware.

  4. Softwares used in order to flash Firmwares.

  5. Searching for Compatible Pre-Rooted Firmwares.

  6. Ways for us in order to flash firmwares into an STB.

  7. Why the most easiest ways are no longer works?

  8. Using USB TTL in order to connect to the STB’s kernel shell.

Flashing Firmware

  1. Installing USB Drivers & Preparing the required tool.
  2. Disassembling the STB & Locate where the PIN locations.
  3. Attempt to connect through the STB kernel shell with PUTTY.
  4. Connected, go to Update Mode and start flashing the custom firmware.

Installing Ubuntu Server

  1. About Armbian Focal.
  2. Using Armbian Focal Server Image File.
  3. Preparing SD Card for Bootloader & System Image.
  4. Flash Armbian Focal Image to SD Card using Rufus/balanaEtcher.

Boot into the Armbian

  1. Install Terminal Emulator in STB using ADB/ USB.

  2. Executing the first installation command.

  3. Booting into the Ubuntu Server.

  4. Walkthrough.

  5. 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



UbuCon Asia 2022

© 2022 UbuCon Asia 2022 Website authors. Except where otherwise noted, Website source code licensed under MIT, Contents licensed under CC BY 4.0. Ubuntu and Canonical are registered trademarks of Canonical Ltd.

Last update: Fix typo (2023-02-04T04:05:04+09:00) - Youngbin Han