Added [in-progress] Developer Guides
[AGL/documentation.git] / docs / 2_Architecture_Guides / 2.2_Security_Blueprint / 2_Secure_Boot / 1.2.2.0_Abstract.md
1 ---
2 title: Introduction
3 ---
4
5 # Part 2 - Secure boot
6
7 ## Abstract
8
9 <!-- section-todo -->
10
11 Domain          | Improvement
12 --------------- | ----------------------------------------------------
13 Boot-Abstract-1 | More generic and add examples (The chain of trust).
14
15 <!-- end-section-todo -->
16
17 Secure boot refers to preventing malicious software applications and
18 “unauthorized” operating systems from loading during the system start-up
19 process. The goal is to protect users from rootkits and other low-level malware
20 attacks. Modern bootloaders come with features that can be used to enable secure
21 boot in the system.
22
23 **Boot Hardening**: Steps/requirements to configure the boot sequence, in order
24 to restrict the device from executing anything other than the approved software
25 image.
26
27 In this part, we will see a series of settings that will allow us to improve
28 security during boot phase. For the purposes of reference and explanation, we
29 are providing guidance on how to configure an embedded device that runs with a
30 3.10.17 Linux kernel. If the integrity is not checked or if a critical error
31 occurs, the system must boot on a very stable backup image.
32
33 **Requirements**: These requirements must be met even if an alternative version
34 of the Linux kernel is chosen.
35
36 **Recommendations**: Detailed best practices that should be applied in order to
37 secure a device. Although they are not currently listed as hard requirements,
38 they may be upgraded to requirements status in the future. In addition, specific
39 operators may change some of these recommendations into requirements based on
40 their specific needs and objectives.
41
42 <!-- section-todo -->
43
44 Domain          | Improvement
45 --------------- | -------------------------------------------
46 Boot-Abstract-1 | Review the definition of the "boot loader".
47
48 <!-- end-section-todo -->
49
50 **Boot loader**: The boot loader consists of the Primary boot loader residing in
51 **OTP** memory, sboot, U-Boot and Secure loader residing in external flash (NAND
52 or SPI/NOR flash memory). The CPU on power on or reset executes the primary boot
53 loader. The **OTP** primary boot loader makes the necessary initial system
54 configuration and then loads the secondary boot loader sboot from external flash
55 memory to ram memory. The sboot then loads the U-Boot along with the Secure
56 loader. U-Boot then verifies the Kernel/system image integrity, then loads the
57 Kernel/system image before passing control to it.
58
59 --------------------------------------------------------------------------------
60
61 ## Acronyms and Abbreviations
62
63 The following table lists the terms utilized within this part of the document.
64
65 Acronyms or Abbreviations | Description
66 ------------------------- | -----------------------------------------------------------------------
67 _FUSE_                    | **F**ilesystem in **U**ser**S**pac**E**
68 _OTP_                     | **O**ne-**T**ime-**P**rogrammable
69 _DOCSIS_                  | **D**ata **O**ver **C**able **S**ervice **I**nterface **S**pecification