Risk Management & Risk Driven Test Planning Flashcards
Risk(incident) =
p(occurrence) * impact
p(occurrence) vs. p(vulnerability) ratio
We assume they are proportional
Naïve Security Risk Assessment
Write down your worst fears for the system
Try to avoid those things
Naïve Security Risk Assessment Cons
Requires a big “bag of tricks”
Easily overwhelming for security
Protection Poker
Uses story points
Assets have value
Security risk = Ease of attack (1 - 100) * asset value
Risk-Driven Test Planning Goals
Mitigate negative impact on the customer
Create the mitigation strategies early
Allow a “disruption-free” usage of the product
Top-Down Test Planning
Start with the broad analysis of the domain
Goals → Risks → Indicators → Tests
Benefit: tied to specific goals
Drawback: incomplete within the categories
Bottom-Up Security Test Planning
Step 1: Write down a lot of tests
Step 2: Group those tests into various categories
Step 3: Revise the categories as a group
Step 4: Add more tests to each category
Benefit: gives you freedom to write your best tests immediately
Drawbacks: easy to miss stuff