Security: Threats & Defense · Study deck

Advanced Security Concepts

Picture a field device that claims to prove its software state before sending readings.

Shield Shelly is your guide for this deck.

advanced-securityiot-securityattestation
Shield Shelly, the module guide, in a scene from this chapter.
iotclass.org

After studying this chapter

Learning objectives

You will be able to:

  • identify when a standard control is insufficient and an advanced mitigation is needed
  • Explain: The label sounds strong, but the service still needs to know what was measured, who checked it, how old the proof is, and what happens when the proof fails.
  • Explain: The service should refuse or restrict the unsafe case, keep a clear reason, and preserve a recovery path that does not silently widen trust.
  • Explain: Advanced security is not a collection of impressive words.
iotclass.org

Major section

In 60 Seconds

The label sounds strong, but the service still needs to know what was measured, who checked it, how old the proof is, and what happens when the proof fails.

  • Firmware means the software stored on a device.
  • Telemetry means readings and status sent by that device.
  • This single claim does not prove the whole device is secure.

Key terms

Advanced security
Advanced security is not about adding impressive labels to an IoT design.
iotclass.org

Major section

In 60 Seconds (continued)

The service should refuse or restrict the unsafe case, keep a clear reason, and preserve a recovery path that does not silently widen trust.

  • The deeper sections show how measured state, isolated execution, key change, automated detection, response plans, limits, and expiry make advanced controls reviewable.
  • Advanced security is not about adding impressive labels to an IoT design.
  • If any part is missing, the concept is still useful, but the claim is not complete yet.
iotclass.org

Major section

Stronger Claims Need Stronger Evidence

Advanced security is not a collection of impressive words.

  • The unifying habit for this whole chapter is a small loop: every advanced concept must produce a claim (what should be true), evidence (why it should be accepted), and limits (what the evidence does not prove).
  • That statement gives a reviewer something concrete to test.

Key terms

Naming the limit
Naming the limit is part of the claim.

Why it matters

That order prevents a control name from being treated as proof and connects the visual to the chapter's evidence-led review sequence.

The review record keeps advanced work honest: a narrow gateway-identity claim, the asset and boundary it protects, the denied case, the accepted case, and the retest trigger that makes old evidence stale
The review record keeps advanced work honest: a narrow gateway-identity claim, the asset and boundary it protects, the denied case, the accepted case, and the retest trigger that makes old evidence stale
iotclass.org

Major section

Stronger Claims Need Stronger Evidence (continued)

Naming the limit is part of the claim.

  • If a concept cannot fill in those three, it is decoration, not security.
  • If you only need the intuition, this layer is enough: "the device uses attestation" is not a claim.
  • Beginner Examples Taken together, these checks make the section reviewable.
iotclass.org

Major section

Stronger Claims Need Stronger Evidence (continued)

A claim says what state is measured, who verifies it, what result is accepted, what happens on failure, and when the evidence expires.

  • Think of a car advertised as "5-star safety rated." The badge is reassuring, but an engineer wants the crash-test data: which impacts were tested, at what speeds, and what the test did not cover.
  • For example, a smart-building gateway may combine secure boot, TPM-backed attestation, signed updates, and network isolation.
  • The One-Minute View A concept is a claim Attestation, isolation, and agility each make a specific, narrow claim, not a blanket guarantee of security.
iotclass.org

Major section

Practitioner: Review Advanced Controls as Claims

The aim is a modest, defensible record, not an impressive label.

  • Per-Concept Evidence and Its Key Limit Concept.
  • Proves state matched, not that code is defect-free.
  • Agility is not strength of any one algorithm.
  • Protected asset, allowed callers, boundary tests.

Why it matters

Advanced controls become reviewable when you start from the assumption they are meant to reduce, write one narrow claim, attach evidence, then record limits, failure behavior, and retest triggers.

Advanced controls meet in one review record: each concept contributes a narrow claim, evidence, a key limit, failure behavior, and a retest trigger
Advanced controls meet in one review record: each concept contributes a narrow claim, evidence, a key limit, failure behavior, and a retest trigger
iotclass.org

Major section

Practitioner: Review Advanced Controls as Claims (continued)

Worked Review Record A gateway uses secure boot, attestation, isolated key storage, and automatic isolation when attestation fails.

  • A privileged bypass can defeat the boundary.
  • Behavior when the boundary check fails.
  • A detector can be wrong in both directions.
  • Automation must stay accountable and reversible.
iotclass.org

Major section

Practitioner: Review Advanced Controls as Claims (continued)

When to require review before or after action.

  • Evidence gaps No record shows how algorithm or signing-policy changes are tested; the key-use isolation boundary is described but not tested; the response record does not say when automatic denial requires human review.
  • Conclusion Accept the scoped claim about telemetry access after accepted attestation.
  • If you can review each control as a claim with evidence, limits, and failure behavior, you can use advanced concepts responsibly.
iotclass.org

Major section

Under the Hood: Mechanisms and Their Dependencies

Second, the difference from secure boot: secure boot enforces by refusing to run unverified code, while attestation reports a measurement for a verifier to judge.

  • A measurement without a verifier that acts on it is just a number.
  • A trusted execution environment is one way to provide that separation.

Key terms

Agility
Agility is the property that lets a system change algorithms, key sizes, certificate profiles, or signing policies without a redesign.

Why it matters

Advanced controls often fail not because one is weak, but because several share a hidden assumption that turns into a single point of failure.

Remote attestation becomes reviewable when the nonce, signed measurement, verifier policy, and accept-or-reject behavior are all visible
Remote attestation becomes reviewable when the nonce, signed measurement, verifier policy, and accept-or-reject behavior are all visible
iotclass.org

Major section

Under the Hood: Mechanisms and Their Dependencies (continued)

Shared memory and message calls are expected, but they are the reviewed doorway, not a free bridge.

  • And even a passing attestation proves only that the observed state matched an accepted reference at measurement time; it does not prove the running code is free of defects.
  • Agility is the property that lets a system change algorithms, key sizes, certificate profiles, or signing policies without a redesign.
  • Choices can be rotated and retired ones refused.
iotclass.org

Major section

Under the Hood: Mechanisms and Their Dependencies (continued)

An automated action that denies, isolates, revokes, or rolls back can itself cause an outage.

  • Mechanically it needs version or policy negotiation, an overlap window where old and new choices both validate during migration, and explicit refusal of retired choices afterward.
  • Agility is not the same as strength: a system can be agile and still run a weak algorithm, or strong today but unable to migrate tomorrow.
  • App faults cannot reach the protected asset.
iotclass.org

Major section

Under the Hood: Mechanisms and Their Dependencies (continued)

Isolation and Trusted Execution: Mind the Bypass Isolation separates security-sensitive work, such as key use, measurement, and command authorization, from general application code, so that an ordinary software fault cannot reach the protected asset.

  • The review must describe the boundary by its allowed interactions: which callers may enter, what data crosses, and what is refused.
  • The classic blind spot is the privileged path: a recovery, debug, or maintenance route that bypasses the boundary is part of the boundary, and an unreviewed bypass quietly defeats the isolation it appears to provide.
  • The Dependency Trap The advanced risk that beginners miss is interdependence.
iotclass.org

Major section

Under the Hood: Mechanisms and Their Dependencies (continued)

The rich execution environment runs normal applications, public drivers, and most operating-system services; the trusted execution environment keeps trusted applications, trusted OS services, selected drivers, and protected peripherals behind a smaller boundary.

  • For an IoT lock, meter, or gateway, the question is whether credential use, firmware measurement, or command approval stays in the trusted side when the ordinary application side is compromised.
  • Bounded automation pairs a confidence boundary with a response: low-confidence signals inform, high-confidence signals act, and disruptive actions carry a human checkpoint and a recovery path.
  • Common Pitfalls Taken together, these checks make the section reviewable.
iotclass.org

Major section

Under the Hood: Mechanisms and Their Dependencies (continued)

Tuning feedback closes the loop so false positives, missed detections, and expected maintenance windows are handled rather than repeated.

  • Attestation depends on the root of trust and secure boot beneath it; automatic isolation depends on correct identity and segmentation; cryptographic agility depends on signing-key custody and a working update flow.
  • If these controls share one anchor, one key, or one assumption, then defeating that single thing defeats the whole advanced stack at once.
  • Reviewing each control as independent is the mistake; the strength of the design is whether the controls fail independently.
iotclass.org

Major section

Under the Hood: Mechanisms and Their Dependencies (continued)

That order prevents a control name from being treated as proof and connects the visual to the chapter's evidence-led review sequence.

  • At this depth, advanced security is the careful pairing of stronger claims with stronger, interdependent evidence.
  • Attestation reports measured state, agility keeps cryptography changeable, isolation guards sensitive work, and bounded automation acts accountably, but each is only as trustworthy as the anchors it shares.
  • The best advanced reviews stay modest: a narrow claim, real evidence, a stated limit, defined failure behavior, and a retest trigger.
iotclass.org

Deck summary

Key takeaways

The label sounds strong, but the service still needs to know what was measured, who checked it, how old the proof is, and what happens when the proof fails.

  • The service should refuse or restrict the unsafe case, keep a clear reason, and preserve a recovery path that does not silently widen trust.
  • Advanced security is not a collection of impressive words.
  • Naming the limit is part of the claim.
  • A claim says what state is measured, who verifies it, what result is accepted, what happens on failure, and when the evidence expires.
iotclass.org

Retrieval practice

Recall check 1 of 3

Shield Shelly says: answer from memory, then check your reasoning.

Q1A design document says a gateway uses attestation, but it does not state what is measured or what happens when attestation fails. What is the most evidence-bound conclusion?

AAccept the claim because attestation can compare the gateway's state against an approved reference
BThe attestation claim is incomplete and not yet reviewable.
CThe claim should be accepted as long as the gateway also has monitoring
DAdvanced concepts cannot be reviewed, so the gap does not matter
Show answer

Answer: B Attestation is reviewable only when the record shows what is measured, who verifies it, what result is accepted, and what happens when the result fails.

iotclass.org

Retrieval practice

Recall check 2 of 3

Shield Shelly says: answer from memory, then check your reasoning.

Q2A team proposes automatically isolating any device whose attestation fails, with no human checkpoint. What is the strongest review concern to raise?

AUnbounded isolation needs confidence limits and a checkpoint.
BAccept isolation because failing closed reduces the time a suspect device remains connected
CThe team should remove attestation to avoid false isolations
DHuman review is unnecessary because automation is faster
Show answer

Answer: A Automated response should be accountable and reversible.

iotclass.org

Retrieval practice

Recall check 3 of 3

Shield Shelly says: answer from memory, then check your reasoning.

Q3Why can an attestation result be trustworthy only if the controls beneath it are sound?

AAttestation is fully self-contained and needs no other controls
BAttestation proves the running code has no defects, so other controls are redundant
CAttestation inherits trust from the root, boot path, and key custody.
DAttestation only matters for the network, not the device state
Show answer

Answer: C Attestation reports a measurement signed by a hardware-backed key anchored in the root of trust.

iotclass.org

Print reference

Answers

Answer key.

  1. B · Attestation is reviewable only when the record shows what is measured, who verifies it, what result is accepted, and what happens when the result fails.
  2. A · Automated response should be accountable and reversible.
  3. C · Attestation reports a measurement signed by a hardware-backed key anchored in the root of trust.
iotclass.org