You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/ 0: title / 0: "Memory corruption when reading record from SPI flash",
441
-
/ 1: description / 1: "Due to insufficient input validation in the firmware, a local attacker who tampers with a configuration structure in SPI flash, can cause stack-based memory corruption.",
/ 1: description / 1: "The firmware exposes debug command handlers that enable host-side drivers to read and write arbitrary regions of the device's SRAM.",
Copy file name to clipboardExpand all lines: Documentation/framework.md
+5-89Lines changed: 5 additions & 89 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -142,7 +142,7 @@ The conditions under which these reviews take place, are of two main types:
142
142
At a high level, the process flows through the following sequence of steps:
143
143
144
144
1. DV selects an SRP from the list of [approved providers](./security_review_providers.md).
145
-
2. DV and SRP prepare a scope for the security review according to the [Security Review Scope](#security-review-scope) information provided below and in the supplementary [review areas](./review_areas.md).
145
+
2. DV and SRP prepare a scope specific to the security review according to the general [Review Scope](./review_scope.md).
146
146
3. SRP performs the security review.
147
147
4. DV addresses any findings from the SRP.
148
148
5. SRP reviews the changes and issues the final reports.
@@ -167,93 +167,15 @@ The key objectives of this framework are:
167
167
* Through iterative refinement of review areas, testing scopes, and reporting requirements, progressively advance the
168
168
security posture of hardware and firmware components across the supply chain.
169
169
170
-
## Security Review Scope
171
-
172
-
The following sections describe at a high level the areas that should be in scope for any security audit performed under
173
-
this framework.
174
-
They are intended as starting points for DVs and SRPs when undertaking a device or firmware security assessment. Under
175
-
the framework, it is required for every production version of device firmware to have undergone the assessment. A more
176
-
detailed
177
-
description of the scopes is provided in the [review areas](./review_areas.md) document.
178
-
179
-
***Threat Model**\
180
-
The SRP should assess the DV’s documented threat models and perform a gap analysis, ensuring they are adequately
181
-
covered by the observed hardware and firmware implementation. If the DV cannot provide a threat model, then the SRP
182
-
should create one as part of the assessment scope. The threat model document should include the following details, and
183
-
be aligned with the in-scope and out-of-scope threats described by
184
-
the [Common Security Threats](https://www.opencompute.org/documents/common-security-threats-notes-1-pdf)
185
-
document:
186
-
***Security Objectives**: The high-level security objectives or key
187
-
risks exposed by the firmware. Examples of such objectives may include the strict requirement that the secure boot
188
-
or firmware anti-rollback features must not be subverted or bypassed by an attacker.
189
-
***Adversarial Model**: A listing of all threat actors along with their
190
-
motivation and capabilities. Examples may include a simple opportunistic hardware adversary, or advanced
191
-
persistent threats that are able to keep the device under antagonistic conditions for an extended duration.
192
-
***Attack Surface Enumeration**: A listing of all remote, local and
193
-
physical attack surfaces exposed by the device. Examples may include mailbox or IPC interfaces exposed via MMIO, a
194
-
command shell exposed via a serial interface, inter-chip buses which transmit sensitive data, or external
195
-
non-volatile storage media.
196
-
***Critical Assets**: A listing of all security-impacting assets within
197
-
the firmware, and the corresponding Confidentiality, Integrity and Availability requirements for each. Examples of
198
-
critical assets may include secret keys, the fuse configuration, or any configuration data residing in external flash.
199
-
200
-
The SAFE program defines 3 security review scopes. These scopes increase with complexity of attacks in the threat model.
201
-
It is expected that devices will have reviews done with different review scopes. For example, a CPU may have a scope 3
202
-
review of the root of trust due to the need for glitch protection when using a long-term device private key. This CPU
203
-
may use a scope 2 review for the application cores.
204
-
205
-
***Scope 1 Code and Architecture Assessment**
206
-
***Source Code Review**\
207
-
The SRP should perform a whitebox security review of the device’s ROM and mutable firmware source code for
208
-
identification of vulnerabilities and lapses in industry best practices. Issues uncovered during the review should
209
-
be fixed by the DV and subsequently verified as fixed by the SRP. The review scope should include:
210
-
* Analysis of the firmware loading and verification procedures to ensure that a secure boot implementation is
211
-
present and cannot be circumvented. All critical assets that impact the device’s security must be
0 commit comments