WEBVTT

1
00:00:00.000 --> 00:00:02.840
The firmware signature has failed.

2
00:00:02.840 --> 00:00:07.080
The checker stores zero, and the processor should
remain blocked.

3
00:00:07.080 --> 00:00:10.720
Now change just the stored bit to one.

4
00:00:10.720 --> 00:00:16.980
The checker has not run again, and the signature
has not changed, but permission can open.

5
00:00:16.980 --> 00:00:22.600
Follow the answer through the register, the grant
logic, and the fetch interface.

6
00:00:22.600 --> 00:00:27.880
A wrong value at any of these stages can change
whether the firmware is allowed to start.

7
00:00:27.880 --> 00:00:32.640
Instruction fetch is a request for a program
instruction.

8
00:00:32.640 --> 00:00:39.220
In this simplified interface, valid presents the
request, ready says the receiver can accept it,

9
00:00:39.220 --> 00:00:41.460
and grant supplies permission.

10
00:00:41.460 --> 00:00:46.420
Count a fetch only when all three hold at the
agreed rising edge.

11
00:00:46.420 --> 00:00:50.400
Execution and retirement happen beyond that
handoff.

12
00:00:50.400 --> 00:00:56.100
The animation explains a teaching model; it is
not a complete CPU simulation or a silicon

13
00:00:56.100 --> 00:00:56.580
measurement.

14
00:00:56.580 --> 00:00:59.820
The register holds two flags.

15
00:00:59.820 --> 00:01:05.920
Checked records that verification finished;
verified records whether it passed.

16
00:01:05.920 --> 00:01:11.660
This failed signature still finishes the check,
giving checked one and verified zero.

17
00:01:11.660 --> 00:01:15.840
Completion provides no evidence that a failed
image is authorized.

18
00:01:15.840 --> 00:01:18.560
Reset begins a new boot attempt.

19
00:01:18.560 --> 00:01:22.460
We are examining one clock domain and a small
part of the boot controller.

20
00:01:23.000 --> 00:01:26.360
Once checked becomes one, normal writes stop.

21
00:01:26.360 --> 00:01:30.680
The register retains verified, while grant keeps
reading it.

22
00:01:30.680 --> 00:01:36.940
A storage upset at this point changes the value
seen downstream without another normal write.

23
00:01:36.940 --> 00:01:40.680
Notice which switch is closed: the write enable.

24
00:01:40.680 --> 00:01:45.920
The read path remains connected, so an answer
that is no longer being updated still needs

25
00:01:45.920 --> 00:01:46.360
protection.

26
00:01:47.020 --> 00:01:51.340
Before the fault, checked is one and verified is
zero.

27
00:01:51.340 --> 00:01:53.220
Their AND keeps grant low.

28
00:01:53.220 --> 00:01:58.800
Flip verified to one and both inputs now hold,
raising grant.

29
00:01:58.800 --> 00:02:01.360
A valid request with ready high can then be

30
00:02:01.360 --> 00:02:03.800
accepted at the sampling edge.

31
00:02:03.800 --> 00:02:09.060
The independent observer still records the
original failed signature, so this accepted fetch

32
00:02:09.060 --> 00:02:10.260
is unauthorized.

33
00:02:10.780 --> 00:02:15.620
Allow one result-register bit to invert after
verification has stored its answer.

34
00:02:16.010 --> 00:02:22.030
Each boot attempt has at most one event at one
location.

35
00:02:22.030 --> 00:02:26.790
The bit stays changed until overwrite or reset.

36
00:02:26.790 --> 00:02:33.070
One event can have several later consequences
without receiving a fresh budget.

37
00:02:33.070 --> 00:02:38.330
These limits make the counterexample repeatable
and define which question it answers.

38
00:02:39.050 --> 00:02:46.590
Trust the checker, independent observer, clock,
reset, grant gate, and receiving interface in

39
00:02:46.590 --> 00:02:47.910
this experiment.

40
00:02:47.910 --> 00:02:50.750
Target only the result register.

41
00:02:50.750 --> 00:02:56.910
Observe from reset release until the first fetch
or a declared deadline.

42
00:02:56.910 --> 00:03:03.410
Adding comparator faults, final-grant faults, or
multiple targets changes the experiment.

43
00:03:03.410 --> 00:03:06.770
Its earlier result does not cover those newly
added locations.

44
00:03:06.770 --> 00:03:11.630
The animation directly changes zero to one.

45
00:03:11.630 --> 00:03:17.590
Voltage, clock, electromagnetic, and laser
disturbances have physical coupling points and

46
00:03:17.590 --> 00:03:18.790
durations.

47
00:03:18.790 --> 00:03:24.410
Measurements and timing analysis are needed to
connect those effects to this bit model.

48
00:03:24.410 --> 00:03:27.930
We have reproduced a wrong path under an
assumption.

49
00:03:27.930 --> 00:03:33.210
We have not established that a particular
physical technique creates the same effect on a

50
00:03:33.210 --> 00:03:33.390
chip.

51
00:03:33.390 --> 00:03:37.170
Draw the permission path as a state machine.

52
00:03:37.170 --> 00:03:39.430
WAIT leads to CHECK.

53
00:03:39.430 --> 00:03:44.430
Failure should select ERROR, while success
selects RELEASE.

54
00:03:44.430 --> 00:03:48.730
A corrupted condition can take an existing edge
into RELEASE.

55
00:03:48.730 --> 00:03:54.470
Its state code is legal, so an illegal-state
check has no reason to reject it.

56
00:03:54.470 --> 00:03:59.590
Whether this transition is authorized depends on
the verification evidence for this attempt.

57
00:03:59.590 --> 00:04:03.510
CHECK to RELEASE may also be an allowed edge.

58
00:04:03.510 --> 00:04:08.650
Inspect the condition used on this attempt, along
with the state and the work that actually

59
00:04:08.650 --> 00:04:09.770
happened.

60
00:04:09.770 --> 00:04:13.670
A completed digest establishes completion of
hashing.

61
00:04:13.670 --> 00:04:18.190
Signature authorization needs its own completion
and pass evidence.

62
00:04:18.190 --> 00:04:23.770
Checking that an edge exists, or adding another
legal-code check, does not establish that

63
00:04:23.770 --> 00:04:25.150
required work succeeded.

64
00:04:25.760 --> 00:04:30.160
Return to the interface and sample its signals
together.

65
00:04:30.160 --> 00:04:36.560
Valid and ready create an opportunity to
transfer, with grant supplying permission.

66
00:04:36.560 --> 00:04:40.340
Accepted commit records that rising edge.

67
00:04:40.340 --> 00:04:46.460
At the same edge, the security check asks whether
this image really completed and passed

68
00:04:46.460 --> 00:04:47.940
verification.

69
00:04:47.940 --> 00:04:52.600
Watching a flag alone can miss a fetch that has
already crossed the interface.

70
00:04:52.600 --> 00:05:02.940
Read this illustrative order: fault at t, fetch
acceptance at t plus one, alert at t plus two,

71
00:05:02.940 --> 00:05:05.240
and reset at t plus five.

72
00:05:05.240 --> 00:05:09.460
These are teaching intervals, not measured
product delays.

73
00:05:09.460 --> 00:05:15.840
An eventual-alert test may pass even though
unauthorized acceptance happened earlier.

74
00:05:15.840 --> 00:05:20.760
Alerts support reporting and recovery, but cannot
withdraw that handoff.

75
00:05:20.760 --> 00:05:25.600
Prevention and notification need separate
observation points and deadlines.

76
00:05:26.480 --> 00:05:32.980
Local blocking must remove invalid permission
before the next possible accepting edge.

77
00:05:32.980 --> 00:05:37.560
Alert handling can then report, escalate, or
clean up.

78
00:05:37.560 --> 00:05:45.180
A product also has other handoffs: prefetch may
obtain instructions, DMA may move data, and debug

79
00:05:45.180 --> 00:05:46.260
may gain access.

80
00:05:46.260 --> 00:05:52.820
Protecting CPU reset alone does not automatically
protect these separate acceptance events.

81
00:05:53.360 --> 00:05:56.960
Replace the single result bit with four bits.

82
00:05:56.960 --> 00:06:02.060
True is zero one one zero; false is one zero zero
one.

83
00:06:02.060 --> 00:06:06.400
All four positions differ, giving Hamming
distance four.

84
00:06:06.400 --> 00:06:09.640
The consumer must compare the entire true word.

85
00:06:09.640 --> 00:06:15.880
Testing one bit, or accepting any nonzero value,
does not use that separation to protect the

86
00:06:15.880 --> 00:06:17.020
authorization decision.

87
00:06:17.560 --> 00:06:20.920
Flip one bit of one zero zero one.

88
00:06:20.920 --> 00:06:27.240
The four candidates on screen each differ from
the true word, so exact comparison rejects them.

89
00:06:27.240 --> 00:06:31.500
This check assumes two-state inputs and a
single-bit fault budget.

90
00:06:31.500 --> 00:06:34.820
It establishes rejection of these storage
changes.

91
00:06:34.820 --> 00:06:38.560
It does not cover every fault or establish
security for the whole chip.

92
00:06:39.260 --> 00:06:41.140
Move the target before the encoder.

93
00:06:41.400 --> 00:06:49.720
Corrupt the failed decision into success, and the
encoder correctly produces zero one one zero for

94
00:06:49.720 --> 00:06:51.160
that input.

95
00:06:51.160 --> 00:06:57.520
The word is legal and matches the full
comparison, yet authorizes the wrong image.

96
00:06:57.520 --> 00:07:01.760
Coding can constrain specified storage
modifications.

97
00:07:01.760 --> 00:07:04.860
The decision's source still needs its own
evidence.

98
00:07:06.100 --> 00:07:14.640
A stronger grant requires completion, the exact
true word, an allowed phase, and no local fault.

99
00:07:14.640 --> 00:07:17.980
Each condition needs a trustworthy source.

100
00:07:17.980 --> 00:07:24.400
The comparator and final gate also affect the
result, even when the expression contains more

101
00:07:24.400 --> 00:07:25.420
checks.

102
00:07:25.420 --> 00:07:29.420
This logic specifies a consumer contract.

103
00:07:29.420 --> 00:07:34.940
A finished protection mechanism and a complete
reset controller still require further design.

104
00:07:34.940 --> 00:07:42.280
The observer independently records completion and
authorization for this image.

105
00:07:42.280 --> 00:07:49.100
When the design accepts a fetch but the observer
still records failure, the security check fails.

106
00:07:49.100 --> 00:07:55.860
Copying the attacked verified bit would make both
sides change together and hide the disagreement.

107
00:07:55.860 --> 00:08:00.140
Keep the reference independent of the fault path
being evaluated.

108
00:08:00.140 --> 00:08:08.340
The finite model checks sixteen codewords, four
single-bit faults, and six scenarios.

109
00:08:08.340 --> 00:08:14.820
Its expected outcomes include successful bypasses
of deliberately vulnerable cases.

110
00:08:14.820 --> 00:08:18.060
Reproducing them can therefore print PASS.

111
00:08:18.060 --> 00:08:24.040
No RTL simulation, formal proof, or silicon test
was completed by that run.

112
00:08:24.040 --> 00:08:30.620
Read each case's expected rejection or
unauthorized acceptance alongside the final

113
00:08:30.620 --> 00:08:31.080
status.

114
00:08:31.700 --> 00:08:37.560
Switch to an authorized image without faults and
check that it can obtain a fetch.

115
00:08:37.560 --> 00:08:44.040
Holding grant permanently low may satisfy the
rejection checks while preventing boot entirely.

116
00:08:44.040 --> 00:08:48.520
Keep evidence that authorized operation is
reachable.

117
00:08:48.520 --> 00:08:54.660
A cover can exhibit that path; a complete
requirement that operation always makes progress

118
00:08:54.660 --> 00:08:56.280
needs separate proof.

119
00:08:56.750 --> 00:09:03.870
Choose an actual permission handoff in your
design and trace it back through the consumer,

120
00:09:03.870 --> 00:09:07.470
stored value, and decision source.

121
00:09:07.470 --> 00:09:13.430
Record the targets, trusted components, and
blocking deadline.

122
00:09:13.430 --> 00:09:17.450
Now add the final grant gate as a target.

123
00:09:17.450 --> 00:09:23.450
Check whether the four-bit storage protection
still prevents that handoff, using a new

124
00:09:23.450 --> 00:09:26.570
counterexample search under the expanded
boundary.

