WEBVTT

1
00:00:00.000 --> 00:00:05.240
A valid signature proves that a trusted key
signed these bits.

2
00:00:05.240 --> 00:00:11.220
It does not by itself prove the version is
acceptable, that the measured image is the

3
00:00:11.220 --> 00:00:17.100
one about to execute, or that a key is
released in the right lifecycle.

4
00:00:17.100 --> 00:00:22.540
At a warehouse, seal, lot number, and
contents must match;

5
00:00:22.540 --> 00:00:28.180
checking the seal alone does not prove the
box was not swapped in transit.

6
00:00:28.180 --> 00:00:35.471
Secure Boot binds signer, image digest,
hardware target, security version, load

7
00:00:35.471 --> 00:00:39.800
address, and final fetch to one transaction.

8
00:00:39.800 --> 00:00:43.760
The analogy does not include hash-collision
assumptions, DMA

9
00:00:43.760 --> 00:00:46.400
races, or microarchitectural caches.

10
00:00:46.958 --> 00:00:55.958
A typical path uses an immutable/ROM root to
obtain a key or key identifier, verifies the

11
00:00:55.958 --> 00:01:01.178
manifest and signature, enforces a version
floor, locks relevant

12
00:01:01.178 --> 00:01:04.978
settings, then transfers execution.

13
00:01:04.978 --> 00:01:11.778
If DMA can change writable memory after
verification, the earlier pass no longer

14
00:01:11.778 --> 00:01:18.538
describes the current bytes. Bind the
measured digest to an immutable buffer or

15
00:01:18.538 --> 00:01:22.938
protected load region and record acceptance
at commit.

16
00:01:22.938 --> 00:01:28.278
The key-manager theory separates software
binding, version checks, and sideload

17
00:01:28.278 --> 00:01:33.178
outputs; interpret it against the actual
product integration.

18
00:01:33.178 --> 00:01:37.598
The gap between check and use is easy to
miss.

19
00:01:37.598 --> 00:01:42.958
If software reads a rollback counter only
once, a concurrent update may change the

20
00:01:42.958 --> 00:01:48.838
version. If key release checks only a
boot_done sticky bit, it may reuse

21
00:01:48.838 --> 00:01:51.818
permission from a previous image.

22
00:01:51.818 --> 00:01:58.438
Bind transaction ID, digest, version,
lifecycle, and destination key slot;

23
00:01:58.438 --> 00:02:03.718
fail closed on release. Also prevent a
security rejection from creating

24
00:02:03.718 --> 00:02:05.638
unrecoverable denial of service.

25
00:02:06.398 --> 00:02:11.338
Define asset boundaries as the first
instruction fetch and first sideload-key

26
00:02:11.638 --> 00:02:21.178
use. First fetch must bind signature,
version, digest, and transaction ID to the

27
00:02:21.178 --> 00:02:30.038
same transaction. Key release must also meet
lifecycle and destination key-slot policy.

28
00:02:30.038 --> 00:02:35.398
This RTL/SVA sketch is not a product
assertion and has not

29
00:02:35.398 --> 00:02:36.718
been wired or compiled.

30
00:02:36.718 --> 00:02:46.718
Compare a valid current image, a correctly
signed but stale image, a digest for image A

31
00:02:46.718 --> 00:02:55.178
followed by fetch from image B, a stale
boot_done sticky bit, and a production-key

32
00:02:55.178 --> 00:02:58.358
request in debug lifecycle.

33
00:02:58.358 --> 00:03:02.718
Preserve the first unauthorized acceptance
edge and the rejection

34
00:03:02.718 --> 00:03:04.378
reason for each trace.

35
00:03:04.378 --> 00:03:11.518
These are property sketches: define the
harness transaction, reset and oracle, then

36
00:03:12.013 --> 00:03:16.593
confirm sampling boundaries before binding
to the design.

37
00:03:16.593 --> 00:03:19.693
They have not been compiled or proven.

38
00:03:19.693 --> 00:03:24.993
This snippet does not prove CDC, timing,
side-channel, or physical injection

39
00:03:24.993 --> 00:03:29.813
behavior; each requires its own tool
evidence or measurement.

40
00:03:29.813 --> 00:03:33.333
Treat each boot as one transaction.

41
00:03:33.333 --> 00:03:39.833
Record the image digest, version, lifecycle,
and destination key slot together.

42
00:03:39.833 --> 00:03:47.293
Even after verification, DMA may change
writable memory, so a pass flag alone does

43
00:03:47.293 --> 00:03:50.173
not bind the bytes that will execute.

44
00:03:50.173 --> 00:03:56.033
At first fetch or key release, the accepting
endpoint must confirm that the current

45
00:03:56.033 --> 00:04:00.053
contents still belong to the verified
transaction.

46
00:04:00.053 --> 00:04:05.573
Change the digest, version, lifecycle, or
slot one at a time and record

47
00:04:05.573 --> 00:04:07.453
the first unauthorized acceptance.

48
00:04:07.453 --> 00:04:10.453
These are proposed design properties;

49
00:04:10.453 --> 00:04:12.753
this package does not bind or prove them.

50
00:04:13.180 --> 00:04:21.240
A boot transaction binds the image digest,
signature result, version floor, lifecycle,

51
00:04:21.240 --> 00:04:28.040
and key slot. First fetch and first key
release are separate asset boundaries.

52
00:04:28.040 --> 00:04:33.980
Detaching verification from the later
consumer, or reusing rollback and old sticky

53
00:04:33.980 --> 00:04:37.440
state, can carry stale authorization
forward.

54
00:04:37.440 --> 00:04:45.340
Bind bytes, version, lifecycle, and key slot
in immutable transaction context.

55
00:04:45.340 --> 00:04:49.800
Fail closed and protect the accepting
endpoint.

56
00:04:49.800 --> 00:04:57.860
Check valid, stale, modified, swapped-image,
and lifecycle-mismatch cases.

57
00:04:57.860 --> 00:05:01.840
RTL, signature, and memory integration
remain untested.

58
00:05:01.840 --> 00:05:09.220
Product key policy, supply-chain root trust,
side channels, physical key vaults, and

59
00:05:09.220 --> 00:05:12.800
recovery-image details are outside this
lesson.

60
00:05:12.800 --> 00:05:17.200
Add a rollback-counter update and concurrent
DMA.

61
00:05:17.200 --> 00:05:23.120
Identify where contents must be locked and
when sideload key release is safe.

62
00:05:23.120 --> 00:05:28.780
At first fetch or key release, verify that
the endpoint still uses the bytes that were

63
00:05:28.780 --> 00:05:34.660
checked. Test the interval in which DMA or
another writer could change them.

64
00:05:34.660 --> 00:05:39.500
Recheck each boot transaction and keep its
evidence bound to the image

65
00:05:39.500 --> 00:05:41.000
or key through use.

