“What can go wrong?” is a big question. A checklist helps you cover every kind of problem instead of only the ones that come to mind first. STRIDE is the best-known checklist.
STRIDE
- Spoofing: pretending to be someone or something else.
- Tampering: changing data or code without permission.
- Repudiation: denying an action when there is no proof either way.
- Information disclosure: letting someone see what they should not.
- Denial of service: stopping a system from working for real users.
- Elevation of privilege: getting more power than you were given. A privilege is a permission to do something.
| Threat | What it means | Breaks | In the canteen app | |
|---|---|---|---|---|
| S | Spoofing | |||
| T | Tampering | |||
| R | Repudiation | |||
| I | Information disclosure | |||
| D | Denial of service | |||
| E | Elevation of privilege |
STRIDE is a checklist for question 2, what can go wrong. Each letter is one kind of threat. Microsoft engineers created it in 1999, and it is still widely used.
Each threat breaks a property
Five of the six STRIDE threats break a property you met in station SECU. Spoofing breaks authenticity, tampering breaks integrity, repudiation breaks accountability, information disclosure breaks confidentiality and denial of service breaks availability. Elevation of privilege breaks authorisation: the rules about who may do what, which Unit 2 covers.
A note on names
In his book Threats, Shostack calls the last letter “expansion of authority”. It means the same thing. Exams, job descriptions and most other books use elevation of privilege, so this course does too.
Lab: sort the threats
A college library app lets students borrow and renew books and pay fines. Choose the STRIDE kind for each threat, then check.
- 1Someone guesses a classmate's password, signs in as them and borrows books in their name
- 2A student edits the due date on their own loan from 1 March to 1 June
- 3A student says they never borrowed a lost book, and the app kept no record of who did
- 4The search page shows which books every student has borrowed
- 5A program renews the same book thousands of times a minute and the app stops responding
- 6A student account can open the librarian's page and remove fines
- 7An email that looks like it is from the librarian asks students to pay fines to a new UPI ID
- 8Fine amounts are changed while they travel from the app to the payment page
THRM-2 counts as completed once you step through the figure to its last step.