Threat Models and Trust Boundaries

Define the assets, actors, and assumptions of a feature, then turn crossing a trust boundary into a testable requirement.

Source
Anbloq
Language
English
Created
Updated
Chapters
2
Reading time
1 min
In this article2 chapters
  1. Describe a specific action and who may perform it
  2. Derive a property that can actually be checked

Describe a specific action and who may perform it

For a shared document service, separate document contents, access grants and historical revision records. A collaborator who can edit a document need not be permitted to change all three. Across the request boundary, treat identity, resource identifier and requested action as separate inputs. State which code establishes the identity and which data owner supplies the rule for the resource.

Derive a property that can actually be checked

One property is that an accepted grant change carries the document owner’s authorization at the time the change is committed. A test can create two independent documents, authorize a change on one and confirm that the same identity has no authority on the other. Next specify what counts as a trusted identity or datastore in this model. Complete mediation explains where the check belongs. Authentication and authorization divide the identity and permission questions explicitly.[1][2]

References

  1. Jerome H. Saltzer and Michael D. Schroeder, The Protection of Information in Computer Systems ↩
  2. NIST, Secure Software Development Framework ↩