SlideShare a Scribd company logo
Open Source Firmware
Daniel Maslowski
Introduction
Who I am
Hi, I’m Daniel aka OrangeCMS aka CyReVolt! :)
▶ web developer
▶ security background
▶ hacking on many things
▶ just got started with firmware
▶ I like turtles
Thank you!
First Open Source Firmware Conference (OSFC)
▶ Erlangen, Germany
▶ ~200 participants
▶ 2 days of talks
▶ 2 tracks (main + security)
▶ 2 days of workshops
▶ openSUSE was among the
sponsors
Firmware
Firmware is everywhere
Embedded devices
▶ SoC
Laptops
▶ BIOS/UEFI (host CPU)
▶ ME (coprocessor)
▶ GbE
▶ EC
Vendor Firmware
fwupd/LVFS
▶ 114 vendors listed
▶ platform is growing and vendors push their updates
Issues
▶ continuous updates are a requirement
▶ firmware updates depend on vendors
▶ vendors do not typically ship updates too often
▶ quality, updates may brick devices
https://blog.scaleway.com/2018/a-look-from-behind-the-open-source-bios/
Vendors
Supply Chain
Politics
Warning: may contain traces of blobs
▶ a lot of code and necessary knowledge is kept proprietary
▶ documentation on ECs, Super I/O and other chips
▶ board schematics
▶ firmware for certain chips, FSP, VGA Option ROM, …
▶ proprietary vendors implement UEFI, which is inherently complex
Security
Hardware attacks are increasing in research
▶ Rowhammer
▶ Spectre
▶ Meltdown
Intel ME CVEs
https://mjg59.dreamwidth.org/48429.html
Firmware, Kernel and the Rings on x86
▶ -3: ME
▶ -2: SMM / UEFI kernel
▶ -1: hypervisor
▶ 0: kernel
▶ 3: userspace
https://blog.jessfraz.com/post/why-open-source-firmware-is-important-for-
security/
Open Source Firmware
U-Boot
https://www.denx.de/wiki/U-Boot
▶ supports multiple architectures
▶ more than 1000 boards
▶ powers many embedded devices, such as SBCs and routers
▶ initializes hardware
▶ can directly boot a Linux kernel
▶ can run multiple other payloads
coreboot
https://coreboot.org/
▶ similar to U-Boot
▶ supports many boards and multiple architectures
▶ can directly boot a Linux kernel or run other payload
▶ ported to multiple older Thinkpads
▶ used for Chromebooks by Google
▶ now also applied to servers
▶ popular among hackers
LinuxBoot
https://www.linuxboot.org/
▶ announced in January 2018
▶ remove overhead from bootloaders
▶ Linux provides device drivers and networking
▶ can be run from UEFI, U-Boot, or coreboot
https://www.phoronix.com/scan.php?page=news_item&px=LinuxBoot-OSFC-
2018-State
Equipment
Screwdrivers
Magnifying Lens
Test Clip
Programmer
Tooling
▶ host toolchain
▶ project toolchain
▶ extra utilities for creating images etc
▶ flash utilities, e.g., flashrom
Start hacking
coreboot / QEMU
Build your first image and run it in an emulator
Disassemble all the Devices!
XMG C404 (Gigabyte P34v2) coreboot port (WIP)
Works
▶ RAM
▶ Video (blob only)
▶ keyboard and touchpad
▶ Bluetooth
▶ WiFi
▶ USB
▶ suspend / resume
Needs work
▶ Embedded Controller (runs hot)
▶ ACPI (lid close doesn’t trigger S3)
https://github.com/orangecms/coreboot/tree/gigabyte-p34v2
https://gist.github.com/orangecms/b6a8f036a30b7ac3b42c30c35fa295b4
Call for Action
Get OEMs on Board
https://www.tuxedocomputers.com/
https://www.schenker-tech.de/
https://www.xmg.gg/
Integrate Firmware Upgrades in OS Distros
▶ zypper up firmware
▶ build firmware in OBS
▶ run checks on openQA
▶ bring kernel and firmware development closely together
▶ join the Open Source Firmware community
And now…
Happy Anniversaries!
▶ U-Boot and coreboot both turn 20 this year
Invitation
Join OSFC 2019 in San Francisco!
▶ https://osfc.io/
Thanks again!
Invitation Number 2
Meet 9elements Cyber Security at it-sa!
▶ https://security.9elements.com/
▶ https://www.it-sa.de

More Related Content

PDF
A million ways to provision embedded linux devices
PDF
EuroBSDCon 2021 - (auto)Installing BSD Systems
PPT
OpenWRT guide and memo
PDF
Docker on Windows
PDF
Openwrt startup
PDF
Integrate IoT cloud analytics and over the-air (ota) updates with google and ...
PDF
Embedded linux build systems
PDF
Porting Puppet to OpenBSD
A million ways to provision embedded linux devices
EuroBSDCon 2021 - (auto)Installing BSD Systems
OpenWRT guide and memo
Docker on Windows
Openwrt startup
Integrate IoT cloud analytics and over the-air (ota) updates with google and ...
Embedded linux build systems
Porting Puppet to OpenBSD

What's hot (12)

PDF
tizen-oshw-tds14sh
PDF
Lt2013 uefisb.talk
ODP
Firefox OS pratiquer le web mobile - JDLL
PDF
Qiscus bot esp8266
PDF
Configuring wifi in open embedded builds
PDF
Perfecting video playback on the web
PDF
Installing nagios core_from_source
ODP
Sfd hanoi2012 nguyen nang thang sfd-2012_chroot_apache
PDF
Tizen platform-dev-tds14sh
PPTX
DotJS Lightning Talk Vorlon.js
PPTX
Telehack: May the Command Line Live Forever
TXT
Version
tizen-oshw-tds14sh
Lt2013 uefisb.talk
Firefox OS pratiquer le web mobile - JDLL
Qiscus bot esp8266
Configuring wifi in open embedded builds
Perfecting video playback on the web
Installing nagios core_from_source
Sfd hanoi2012 nguyen nang thang sfd-2012_chroot_apache
Tizen platform-dev-tds14sh
DotJS Lightning Talk Vorlon.js
Telehack: May the Command Line Live Forever
Version
Ad

Similar to Open Source Firmware - oSC19 (20)

PDF
Open Source Firmware - FrOSCon 2019
PDF
LAS16-200: Firmware summit - Tianocore Progress and Status
PDF
Getting Started with Buildroot
PDF
SystemReady IR and MediaTek Genio-1200-EVK - Tech part - COSCUP 20240804
PDF
Strategies for developing and deploying your embedded applications and images
PDF
Elc Europe 2020 : u-boot- porting and maintaining a bootloader for a multimed...
PDF
kocialkowski-overview-linux-userspace-graphics-stack.pdf
PDF
Why the yocto project for my io t project elc_edinburgh_2018
PPT
101 1.1 hardware settings v2
PPT
1.1 hardware settings v2
PPT
Beagle board101 esc-boston-2009b
PDF
ELC_NA-2015-AFT_for_CI-Igor.Stoppa
PPTX
ChromePad - Chromium OS for ThinkPad
PPTX
ChromePad - Chromium OS ThinkPad X220
ODP
The Deck by Phil Polstra GrrCON2012
PDF
Embedded Linux primer
PPT
BITS: Introduction to linux, distributions and installation
PDF
Embedded Linux Build Systems - Texas Linux Fest 2018
PDF
EclipseCon Eu 2012 - Buildroot Eclipse Bundle : A powerful IDE for Embedded L...
PDF
IoT Prototyping using BBB and Debian
Open Source Firmware - FrOSCon 2019
LAS16-200: Firmware summit - Tianocore Progress and Status
Getting Started with Buildroot
SystemReady IR and MediaTek Genio-1200-EVK - Tech part - COSCUP 20240804
Strategies for developing and deploying your embedded applications and images
Elc Europe 2020 : u-boot- porting and maintaining a bootloader for a multimed...
kocialkowski-overview-linux-userspace-graphics-stack.pdf
Why the yocto project for my io t project elc_edinburgh_2018
101 1.1 hardware settings v2
1.1 hardware settings v2
Beagle board101 esc-boston-2009b
ELC_NA-2015-AFT_for_CI-Igor.Stoppa
ChromePad - Chromium OS for ThinkPad
ChromePad - Chromium OS ThinkPad X220
The Deck by Phil Polstra GrrCON2012
Embedded Linux primer
BITS: Introduction to linux, distributions and installation
Embedded Linux Build Systems - Texas Linux Fest 2018
EclipseCon Eu 2012 - Buildroot Eclipse Bundle : A powerful IDE for Embedded L...
IoT Prototyping using BBB and Debian
Ad

Recently uploaded (20)

PPTX
Sustainable Sites - Green Building Construction
PDF
Enhancing Cyber Defense Against Zero-Day Attacks using Ensemble Neural Networks
PDF
R24 SURVEYING LAB MANUAL for civil enggi
PPTX
Safety Seminar civil to be ensured for safe working.
PPTX
bas. eng. economics group 4 presentation 1.pptx
PDF
Automation-in-Manufacturing-Chapter-Introduction.pdf
PPT
Project quality management in manufacturing
PDF
Mitigating Risks through Effective Management for Enhancing Organizational Pe...
PDF
Embodied AI: Ushering in the Next Era of Intelligent Systems
DOCX
573137875-Attendance-Management-System-original
PDF
Model Code of Practice - Construction Work - 21102022 .pdf
DOCX
ASol_English-Language-Literature-Set-1-27-02-2023-converted.docx
PPTX
MET 305 2019 SCHEME MODULE 2 COMPLETE.pptx
PDF
keyrequirementskkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk
PPTX
CARTOGRAPHY AND GEOINFORMATION VISUALIZATION chapter1 NPTE (2).pptx
PPTX
UNIT-1 - COAL BASED THERMAL POWER PLANTS
PPTX
Infosys Presentation by1.Riyan Bagwan 2.Samadhan Naiknavare 3.Gaurav Shinde 4...
PDF
TFEC-4-2020-Design-Guide-for-Timber-Roof-Trusses.pdf
PPTX
CYBER-CRIMES AND SECURITY A guide to understanding
PDF
Evaluating the Democratization of the Turkish Armed Forces from a Normative P...
Sustainable Sites - Green Building Construction
Enhancing Cyber Defense Against Zero-Day Attacks using Ensemble Neural Networks
R24 SURVEYING LAB MANUAL for civil enggi
Safety Seminar civil to be ensured for safe working.
bas. eng. economics group 4 presentation 1.pptx
Automation-in-Manufacturing-Chapter-Introduction.pdf
Project quality management in manufacturing
Mitigating Risks through Effective Management for Enhancing Organizational Pe...
Embodied AI: Ushering in the Next Era of Intelligent Systems
573137875-Attendance-Management-System-original
Model Code of Practice - Construction Work - 21102022 .pdf
ASol_English-Language-Literature-Set-1-27-02-2023-converted.docx
MET 305 2019 SCHEME MODULE 2 COMPLETE.pptx
keyrequirementskkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk
CARTOGRAPHY AND GEOINFORMATION VISUALIZATION chapter1 NPTE (2).pptx
UNIT-1 - COAL BASED THERMAL POWER PLANTS
Infosys Presentation by1.Riyan Bagwan 2.Samadhan Naiknavare 3.Gaurav Shinde 4...
TFEC-4-2020-Design-Guide-for-Timber-Roof-Trusses.pdf
CYBER-CRIMES AND SECURITY A guide to understanding
Evaluating the Democratization of the Turkish Armed Forces from a Normative P...

Open Source Firmware - oSC19