All Projects → osresearch → Heads

osresearch / Heads

Licence: gpl-2.0
A minimal Linux that runs as a coreboot or LinuxBoot ROM payload to provide a secure, flexible boot environment for laptops and servers.

Programming Languages

shell
77523 projects

Projects that are alternatives of or similar to Heads

Super Nt Jailbreak
Custom "Jailbreak" firmware for the Analogue Super NT
Stars: ✭ 415 (-57.95%)
Mutual labels:  firmware, rom
Davega
Firmware for DAVEga, a device for electronic skateboards that displays data read from VESC based speed controllers.
Stars: ✭ 30 (-96.96%)
Mutual labels:  firmware
Stm32 Bootloader
Customizable Bootloader for STM32 microcontrollers. This example demonstrates how to perform in-application-programming of a firmware located on an external SD card with FAT32 file system.
Stars: ✭ 541 (-45.19%)
Mutual labels:  firmware
Vsphere Modules
This is my Module Collection for VMware vSphere
Stars: ✭ 18 (-98.18%)
Mutual labels:  firmware
Linuxboot
The LinuxBoot project is working to enable Linux to replace your firmware on all platforms.
Stars: ✭ 554 (-43.87%)
Mutual labels:  firmware
Lowlevelprogramming University
How to be low-level programmer
Stars: ✭ 7,224 (+631.91%)
Mutual labels:  firmware
Idevicerestore
Restore/upgrade firmware of iOS devices
Stars: ✭ 505 (-48.83%)
Mutual labels:  firmware
Exein Openwrt Public
Openwrt 18.06.5 featured with the Exein's security framework
Stars: ✭ 36 (-96.35%)
Mutual labels:  firmware
Mu tiano plus
UEFI Tiano Core Value
Stars: ✭ 28 (-97.16%)
Mutual labels:  firmware
Nodemcu Firmware
Lua based interactive firmware for ESP8266, ESP8285 and ESP32
Stars: ✭ 6,884 (+597.47%)
Mutual labels:  firmware
Asuswrt Merlin
Asuswrt-Merlin is an enhanced version of Asuswrt, the firmware used by Asus's modern routers.
Stars: ✭ 6,591 (+567.78%)
Mutual labels:  firmware
Emba
emba - An analyzer for Linux-based firmware of embedded devices.
Stars: ✭ 607 (-38.5%)
Mutual labels:  firmware
Bcf Skeleton
BigClown Firmware Skeleton (Empty Application)
Stars: ✭ 14 (-98.58%)
Mutual labels:  firmware
Nanovna
Very Tiny Palmtop Vector Network Analyzer
Stars: ✭ 539 (-45.39%)
Mutual labels:  firmware
Uart Smartwatch
Android App, Firmware and Circuit for a DIY Smartwatch working with Bluetooth Low Energy
Stars: ✭ 30 (-96.96%)
Mutual labels:  firmware
Dorita980
Unofficial iRobot Roomba and Braava (i7/i7+, 980, 960, 900, e5, 690, 675, m6, etc) node.js library (SDK) to control your robot
Stars: ✭ 523 (-47.01%)
Mutual labels:  firmware
Raspberrypipkg
DEPRECATED - DO NOT USE | Go here instead ->
Stars: ✭ 758 (-23.2%)
Mutual labels:  firmware
Settingscompat
特殊权限(Special Permissions)兼容库,悬浮窗权限(SYSTEM_ALERT_WINDOW)与系统设置修改权限(WRITE_SETTINGS)
Stars: ✭ 942 (-4.56%)
Mutual labels:  rom
Flysky I6x firmware bugfix
Fixes a bug in the original FS-i6X firmware
Stars: ✭ 36 (-96.35%)
Mutual labels:  firmware
Esp3d
FW for ESP8266/ESP8285/ESP32 used with 3D printer
Stars: ✭ 979 (-0.81%)
Mutual labels:  firmware

Heads boot ROM motd

Heads: the other side of TAILS

Heads is a configuration for laptops and servers that tries to bring more security to commodity hardware. Among its goals are:

  • Use free software on the boot path
  • Move the root of trust into hardware (or at least the ROM bootblock)
  • Measure and attest to the state of the firmware
  • Measure and verify all filesystems

Flashing Heads into the boot ROM

NOTE: It is a work in progress and not yet ready for non-technical users. If you're interested in contributing, please get in touch. Installation requires disassembly of your laptop or server, external SPI flash programmers, possible risk of destruction and significant frustration.

More information is available in the 33C3 presentation of building "Slightly more secure systems".

Documentation

Please refer to Heads-wiki for your Heads' documentation needs.

Building heads

make BOARD=board_name where board_name is the name of the board directory under ./boards directory.

In order to build reproducible firmware images, Heads builds a specific version of gcc and uses it to compile the Linux kernel and various tools that go into the initrd. Unfortunately this means the first step is a little slow since it will clone the musl-cross-make tree and build gcc...

Once that is done, the top level Makefile will handle most of the remaining details -- it downloads the various packages, verifies the hashes, applies Heads specific patches, configures and builds them with the cross compiler, and then copies the necessary parts into the initrd directory.

There are still dependencies on the build system's coreutils in /bin and /usr/bin/, but any problems should be detectable if you end up with a different hash than the official builds.

The various components that are downloaded are in the ./modules directory and include:

We also recommend installing Qubes OS, although there Heads can kexec into any Linux or multiboot kernel.

Notes:

  • Building coreboot's cross compilers can take a while. Luckily this is only done once.
  • Builds are finally reproducible! The reproduciblebuilds tag tracks any regressions.
  • Currently only tested in QEMU, the Thinkpad x230, Librem series and the Chell Chromebook. ** Xen and the TPM do not work in QEMU, so it is only for testing the initrd image.
  • Building for the Lenovo X220 requires binary blobs to be placed in the blobs/x220/ folder. See the readme.md file in that folder
  • Building for the Librem 13 v2/v3 or Librem 15 v3/v4 requires binary blobs to be placed in the blobs/librem_skl folder. See the readme.md file in that folder

coreboot console messages

The coreboot console messages are stored in the CBMEM region and can be read by the Linux payload with the cbmem --console | less command. There is lots of interesting data about the state of the system.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].