SlideShare a Scribd company logo
1 of 20
Download to read offline
AZ Huang <aitjcize@gmail.com>
Chromium OS
What is Chromium OS?
Chromium OS
Features
● Fast booting (only on Chromebook ;)
○ Boot within 5 seconds!
○ Customized firmware + bootloader:
■ Firmware(i.e. BIOS): coreboot
■ Bootloader: depthcharge
● Simple and Safe:
○ Security: browser sandbox + verified boot
● Based on Gentoo
● Has keyboard!
Security: Web Apps?
● Chrome extensions:
○ Pure HTML5
○ With NaCl: Native Client binary
■ Sandboxed environment
■ Small performance overhead
● Android Apps?
ARC: App Runtime for Chrome
● Currently only supports for apps (officially):
○ Duolingo - A fun and free way to learn a new
language before your next trip
○ Evernote - Write, collect and find what matters to
you, with a full-size keyboard and touchscreen
○ Sight Words - A delightful way for you to help
improve your child's reading skills
○ Vine - Create short, beautiful, looping videos in a
simple and fun way
ARC: App Runtime for Chrome
● Hack: vladikoff/chromeos-apk
○ Run other Apps on Windows/Linux/MacOS
Security
● But every piece of software has bugs …
○ Browser loopholes?
○ Sandbox is penetrated?
● OS modified, data stolen...
Security: Verified Boot
● How can I prevent firmware/filesystem/kernel
being modified by malware?
RO
firmware
(root key)
RW
firmware
Verifies
Kernel Filesystem
Verifies Verifies
Security: Filesystem Verifying
● Linux: dm-verity
Security: Verified Boot
● What if firmware / kernel / filesystem actually
got modified?
● Have a duplicate of everything!!
Filesystem
A
Kernel
A
RW
firmware
A
RO
firmware
Kernel
B
RW
firmware
B
Filesystem
B
Boot
Boot
Security: Verified Boot
● With verified boot, filesystem is read-only?
What about user data?
○ Stateful partition
Filesystem
A
Kernel
A
Stateful partition
(stores user data)
Filesystem
B
Kernel
B
Filesystem
C
Kernel
C
Reserved, not
used for now
OEM
Encrypted
Security: A copy of everything?
● Benefits:
○ AU(Auto update) can be done in another copy.
○ If AU failed, we can always fallback to the previous
version.
Filesystem
A
Kernel
A
Filesystem
B
Kernel
B
Currently
Booting
AU
Becomes default at next boot
Boot failed?
fall back to the previous version
Boot Priority
Physical Security
● What if someone grab your device, can he
read the files (browser cache/bookmarks…)?
● Stateful partition is encrypted
○ Key stored in TPM
● TPM: Trusted Platform Module:
○ Preventing firmware version rollback
○ Store user data encryption keys
○ Protect certain RSA keys
Hacking Chromium OS
● Crouton: Chromium OS Universal Chroot
Environment
○ Run Ubuntu(chroot) on Chromebook!
Hacking Chromium OS
● Chrbuntu:
○ Booting with ChromeOS kernel + any rootfs
○ You still need kernel modules under /lib/modules ;)
○ http://chromeos-cr48.blogspot.fr/
○ http://askubuntu.com/questions/356243/true-ubuntu-
on-chromebook-arm-samsung
Hacking Chromium OS
● Chromium OS SDK:
○ A Gentoo chroot environment
● Become a chromium OS developer!
○ http://www.chromium.org/chromium-os
○ http://chromium-review.googlesource.com
Thank you!

More Related Content

What's hot

What's hot (20)

Advantages and disadvantages of a monorepo
Advantages and disadvantages of a monorepoAdvantages and disadvantages of a monorepo
Advantages and disadvantages of a monorepo
 
Monorepo at Pinterest
Monorepo at PinterestMonorepo at Pinterest
Monorepo at Pinterest
 
Master the Monorepo
Master the MonorepoMaster the Monorepo
Master the Monorepo
 
Mono Repo
Mono RepoMono Repo
Mono Repo
 
Chromium: NaCl and Pepper API
Chromium: NaCl and Pepper APIChromium: NaCl and Pepper API
Chromium: NaCl and Pepper API
 
Http2 on go1.6rc2
Http2 on go1.6rc2Http2 on go1.6rc2
Http2 on go1.6rc2
 
Docker & PHP - Practical use case
Docker & PHP - Practical use caseDocker & PHP - Practical use case
Docker & PHP - Practical use case
 
How to create/improve OSS products and its community
How to create/improve OSS products and its communityHow to create/improve OSS products and its community
How to create/improve OSS products and its community
 
openSUSE tools on Debian
openSUSE tools on DebianopenSUSE tools on Debian
openSUSE tools on Debian
 
Golang
GolangGolang
Golang
 
Internet Archive at Open Video Conference 2009
Internet Archive at Open Video Conference 2009Internet Archive at Open Video Conference 2009
Internet Archive at Open Video Conference 2009
 
MySQL Compatible Open Source Connectors
MySQL Compatible Open Source ConnectorsMySQL Compatible Open Source Connectors
MySQL Compatible Open Source Connectors
 
Ripping web accessible .git files
Ripping web accessible .git filesRipping web accessible .git files
Ripping web accessible .git files
 
PHP QA Tools
PHP QA ToolsPHP QA Tools
PHP QA Tools
 
CodeMotion tel aviv 2015 - android reverse engineering lab
CodeMotion tel aviv 2015 - android reverse engineering labCodeMotion tel aviv 2015 - android reverse engineering lab
CodeMotion tel aviv 2015 - android reverse engineering lab
 
Open source applications softwares
Open source applications softwaresOpen source applications softwares
Open source applications softwares
 
OpenZFS Developer Summit Introduction
OpenZFS Developer Summit IntroductionOpenZFS Developer Summit Introduction
OpenZFS Developer Summit Introduction
 
Extensible web
Extensible webExtensible web
Extensible web
 
Extensible web #html5j
Extensible web #html5jExtensible web #html5j
Extensible web #html5j
 
Docker and .NET Core - Best Friends Forever - Michael Newton - Codemotion Rom...
Docker and .NET Core - Best Friends Forever - Michael Newton - Codemotion Rom...Docker and .NET Core - Best Friends Forever - Michael Newton - Codemotion Rom...
Docker and .NET Core - Best Friends Forever - Michael Newton - Codemotion Rom...
 

Viewers also liked

Chromebook
ChromebookChromebook
Chromebook
hgascon
 
Fund Case Study
Fund Case StudyFund Case Study
Fund Case Study
pattybeeny
 
Running Code in the Android Stack at ELCE 2013
Running Code in the Android Stack at ELCE 2013Running Code in the Android Stack at ELCE 2013
Running Code in the Android Stack at ELCE 2013
Opersys inc.
 
Introduction To Google Chrome Os
Introduction To Google Chrome OsIntroduction To Google Chrome Os
Introduction To Google Chrome Os
Saurabh Jinturkar
 

Viewers also liked (20)

EMSCRIPTEN: 將應用快速 PORT 到 JAVASCRIPT 上的神物
EMSCRIPTEN: 將應用快速 PORT 到 JAVASCRIPT 上的神物EMSCRIPTEN: 將應用快速 PORT 到 JAVASCRIPT 上的神物
EMSCRIPTEN: 將應用快速 PORT 到 JAVASCRIPT 上的神物
 
ProjectTox: Free as in freedom Skype replacement
ProjectTox: Free as in freedom Skype replacementProjectTox: Free as in freedom Skype replacement
ProjectTox: Free as in freedom Skype replacement
 
Code & Beer Opening
Code & Beer OpeningCode & Beer Opening
Code & Beer Opening
 
Go Lang Tutorial
Go Lang TutorialGo Lang Tutorial
Go Lang Tutorial
 
Chromebook
ChromebookChromebook
Chromebook
 
Introducing Chromebooks
Introducing ChromebooksIntroducing Chromebooks
Introducing Chromebooks
 
Chromium ppt
Chromium pptChromium ppt
Chromium ppt
 
Fund Case Study
Fund Case StudyFund Case Study
Fund Case Study
 
BKK16-209 Chromium with V4L2 playback - is it ready today?
BKK16-209 Chromium with V4L2 playback - is it ready today?BKK16-209 Chromium with V4L2 playback - is it ready today?
BKK16-209 Chromium with V4L2 playback - is it ready today?
 
Ozone-Wayland Support in Chromium (GENIVI 13th All Member Meeting & AMM Open ...
Ozone-Wayland Support in Chromium (GENIVI 13th All Member Meeting & AMM Open ...Ozone-Wayland Support in Chromium (GENIVI 13th All Member Meeting & AMM Open ...
Ozone-Wayland Support in Chromium (GENIVI 13th All Member Meeting & AMM Open ...
 
Mac OSX - Presentation for NEWLUG - Nov. 2010
Mac OSX - Presentation for NEWLUG - Nov. 2010Mac OSX - Presentation for NEWLUG - Nov. 2010
Mac OSX - Presentation for NEWLUG - Nov. 2010
 
Running Code in the Android Stack at ELCE 2013
Running Code in the Android Stack at ELCE 2013Running Code in the Android Stack at ELCE 2013
Running Code in the Android Stack at ELCE 2013
 
Update from android kk to android l
Update from android kk to android lUpdate from android kk to android l
Update from android kk to android l
 
HKG15-407: EME implementation in Chromium: Linaro Clear Key
HKG15-407: EME implementation in Chromium: Linaro Clear Key HKG15-407: EME implementation in Chromium: Linaro Clear Key
HKG15-407: EME implementation in Chromium: Linaro Clear Key
 
Integrity Protection for Embedded Systems
Integrity Protection for Embedded SystemsIntegrity Protection for Embedded Systems
Integrity Protection for Embedded Systems
 
Android 5.0 Lollipop platform change investigation report
Android 5.0 Lollipop platform change investigation reportAndroid 5.0 Lollipop platform change investigation report
Android 5.0 Lollipop platform change investigation report
 
淺談 Groovy 與 AWS 雲端應用開發整合
淺談 Groovy 與 AWS 雲端應用開發整合淺談 Groovy 與 AWS 雲端應用開發整合
淺談 Groovy 與 AWS 雲端應用開發整合
 
Chromebook Overview
Chromebook OverviewChromebook Overview
Chromebook Overview
 
Google Chrome Operating System
Google Chrome Operating SystemGoogle Chrome Operating System
Google Chrome Operating System
 
Introduction To Google Chrome Os
Introduction To Google Chrome OsIntroduction To Google Chrome Os
Introduction To Google Chrome Os
 

Similar to Chromium OS Introduction

Stashaway 1
Stashaway 1Stashaway 1
Stashaway 1
priestc
 
Google chrome os chromebook
Google chrome os chromebookGoogle chrome os chromebook
Google chrome os chromebook
Prashant Raj
 

Similar to Chromium OS Introduction (20)

Introduction to google chromebooks and chromeboxes presentation tech-talk
Introduction to google chromebooks and chromeboxes presentation tech-talkIntroduction to google chromebooks and chromeboxes presentation tech-talk
Introduction to google chromebooks and chromeboxes presentation tech-talk
 
Chrome Operating System
Chrome Operating System Chrome Operating System
Chrome Operating System
 
Google chrome operating system
Google chrome operating systemGoogle chrome operating system
Google chrome operating system
 
JS Days Mobile Meow
JS Days Mobile MeowJS Days Mobile Meow
JS Days Mobile Meow
 
Strategies for developing and deploying your embedded applications and images
Strategies for developing and deploying your embedded applications and imagesStrategies for developing and deploying your embedded applications and images
Strategies for developing and deploying your embedded applications and images
 
Stashaway 1
Stashaway 1Stashaway 1
Stashaway 1
 
Vpm
VpmVpm
Vpm
 
Post Mortem Debugging in Embedded Linux Systems
Post Mortem Debugging in Embedded Linux Systems Post Mortem Debugging in Embedded Linux Systems
Post Mortem Debugging in Embedded Linux Systems
 
Elc Europe 2020 : u-boot- porting and maintaining a bootloader for a multimed...
Elc Europe 2020 : u-boot- porting and maintaining a bootloader for a multimed...Elc Europe 2020 : u-boot- porting and maintaining a bootloader for a multimed...
Elc Europe 2020 : u-boot- porting and maintaining a bootloader for a multimed...
 
GRADE 7 LESSON 3-4 HARDWARE N SOFTWARE.ppt
GRADE 7 LESSON 3-4 HARDWARE N SOFTWARE.pptGRADE 7 LESSON 3-4 HARDWARE N SOFTWARE.ppt
GRADE 7 LESSON 3-4 HARDWARE N SOFTWARE.ppt
 
CHROME OS.pptx
CHROME OS.pptxCHROME OS.pptx
CHROME OS.pptx
 
Google chrome os chromebook
Google chrome os chromebookGoogle chrome os chromebook
Google chrome os chromebook
 
Alessandro polidori nextcloud conf 2018
Alessandro polidori   nextcloud conf 2018Alessandro polidori   nextcloud conf 2018
Alessandro polidori nextcloud conf 2018
 
Pen Testing Development
Pen Testing DevelopmentPen Testing Development
Pen Testing Development
 
Android As a Server- Building Android for the Cloud (AnDevCon SF 2013)
Android As a Server- Building Android for the Cloud (AnDevCon SF 2013)Android As a Server- Building Android for the Cloud (AnDevCon SF 2013)
Android As a Server- Building Android for the Cloud (AnDevCon SF 2013)
 
Computer System Overview Class XI CS
Computer System Overview Class XI CSComputer System Overview Class XI CS
Computer System Overview Class XI CS
 
Mob modcon 2015-android rom cooking tutorial
Mob modcon 2015-android rom cooking tutorialMob modcon 2015-android rom cooking tutorial
Mob modcon 2015-android rom cooking tutorial
 
Security Issues in Android Custom ROM
Security Issues in Android Custom ROMSecurity Issues in Android Custom ROM
Security Issues in Android Custom ROM
 
Security Issues in Android Custom Rom
Security Issues in Android Custom RomSecurity Issues in Android Custom Rom
Security Issues in Android Custom Rom
 
How to Password Protect USB Drive in Windows 10 & 11
How to Password Protect USB Drive in Windows 10 & 11How to Password Protect USB Drive in Windows 10 & 11
How to Password Protect USB Drive in Windows 10 & 11
 

Recently uploaded

Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Victor Rentea
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Victor Rentea
 

Recently uploaded (20)

Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with Milvus
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 
Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
 

Chromium OS Introduction

  • 2.
  • 3. What is Chromium OS? Chromium OS
  • 4.
  • 5. Features ● Fast booting (only on Chromebook ;) ○ Boot within 5 seconds! ○ Customized firmware + bootloader: ■ Firmware(i.e. BIOS): coreboot ■ Bootloader: depthcharge ● Simple and Safe: ○ Security: browser sandbox + verified boot ● Based on Gentoo ● Has keyboard!
  • 6. Security: Web Apps? ● Chrome extensions: ○ Pure HTML5 ○ With NaCl: Native Client binary ■ Sandboxed environment ■ Small performance overhead ● Android Apps?
  • 7. ARC: App Runtime for Chrome ● Currently only supports for apps (officially): ○ Duolingo - A fun and free way to learn a new language before your next trip ○ Evernote - Write, collect and find what matters to you, with a full-size keyboard and touchscreen ○ Sight Words - A delightful way for you to help improve your child's reading skills ○ Vine - Create short, beautiful, looping videos in a simple and fun way
  • 8. ARC: App Runtime for Chrome ● Hack: vladikoff/chromeos-apk ○ Run other Apps on Windows/Linux/MacOS
  • 9. Security ● But every piece of software has bugs … ○ Browser loopholes? ○ Sandbox is penetrated? ● OS modified, data stolen...
  • 10. Security: Verified Boot ● How can I prevent firmware/filesystem/kernel being modified by malware? RO firmware (root key) RW firmware Verifies Kernel Filesystem Verifies Verifies
  • 12. Security: Verified Boot ● What if firmware / kernel / filesystem actually got modified? ● Have a duplicate of everything!! Filesystem A Kernel A RW firmware A RO firmware Kernel B RW firmware B Filesystem B Boot Boot
  • 13. Security: Verified Boot ● With verified boot, filesystem is read-only? What about user data? ○ Stateful partition Filesystem A Kernel A Stateful partition (stores user data) Filesystem B Kernel B Filesystem C Kernel C Reserved, not used for now OEM Encrypted
  • 14. Security: A copy of everything? ● Benefits: ○ AU(Auto update) can be done in another copy. ○ If AU failed, we can always fallback to the previous version. Filesystem A Kernel A Filesystem B Kernel B Currently Booting AU Becomes default at next boot Boot failed? fall back to the previous version
  • 16. Physical Security ● What if someone grab your device, can he read the files (browser cache/bookmarks…)? ● Stateful partition is encrypted ○ Key stored in TPM ● TPM: Trusted Platform Module: ○ Preventing firmware version rollback ○ Store user data encryption keys ○ Protect certain RSA keys
  • 17. Hacking Chromium OS ● Crouton: Chromium OS Universal Chroot Environment ○ Run Ubuntu(chroot) on Chromebook!
  • 18. Hacking Chromium OS ● Chrbuntu: ○ Booting with ChromeOS kernel + any rootfs ○ You still need kernel modules under /lib/modules ;) ○ http://chromeos-cr48.blogspot.fr/ ○ http://askubuntu.com/questions/356243/true-ubuntu- on-chromebook-arm-samsung
  • 19. Hacking Chromium OS ● Chromium OS SDK: ○ A Gentoo chroot environment ● Become a chromium OS developer! ○ http://www.chromium.org/chromium-os ○ http://chromium-review.googlesource.com