Outcomes
A set of questions and associated threats and mitigations to serve as a list to be used as inspiration when threat modeling.
Synopsis
Instead of diagramming (which takes a lot of time) can we use questions to create new features? This would allow developers to Threat Model new features and scale threat modeling in an organisation.
This type of questionnaire is used in the Slack SDL and Irius tool; however, they are open source and should not be confused with these products.
The Scope
The scope for the changes the developers want to make is:
- A new feature is requested
- It has a textbox with Nickname
- It has a button to say hello
- The username is reflected when pressing the button
What questions do we need to ask developers to replace threat modeling?
The Questions
Is the data stored?
Is the data sent to the server?
Is it sensitive data?
Is it PII data including IP addresses?
- GDPR
- What Data?
Is the data displayed back to the user?
Is the user authenticated?
Do we need to authenticate the source of the data?
- Can we accept data from an anonymous source?
Are you adding a new data flow?
Are you changing the fields in an existing API?
Are you adding a new process?
Are you using a new component or API?
Are you adding a new storage system / component?
Is the availability of this feature a concern?
What are the performance requirements?
Does the user have the required role to access this functionality?
Does the data need to be accessed by the user?
Where does the code for the feature run?
Question Types
- Do you have control? (Yes or No)
- What sort of data is this? (Short Text)
- How is this used? (Prompt Thinking)
Threats
Question 1 Y+lack of data integrity, bus, logic
Question 2 -Y- unaudited data –injection attacks
Question 3-Y+Question 2 information disclosure of sensitive data in transit
Question 3-Y+Question 1 information disclosure of sensitive data at rest
Mitigations
Make questions available by SCRUM
Working Materials
References
- Session page :Threat Model With Questionnaires
- Summit 2017 session page :Threat Model Working Sessions
- Summit 2017 outcome page :2017 Outcomes