Week 1 — Security Mindset & Threat Modeling
← all weeks · worksheet · template · slides
Week 1 — Security Mindset & Threat Modeling
OWASP 2025: A06 Insecure Design · CWE focus: CWE-501 (Trust Boundary Violation)
✅ This week — what to do
- Before class — Set up your environment — install Docker Desktop + Burp/ZAP (a Linux VM is an optional fallback). This is Lab 0.
- Lecture (120 min) — weekly quiz first (~10 min), then the lecture. Slides:
slides/week01.md. - Lab (180 min) — play this week's game, then complete Worksheet 1 (
worksheet.md, Parts 1–4, incl. Audit the AI + EiPE/Prompt). Kickoff:docker compose up → http://localhost:8080. - Submit — worksheet PDF → Classroom · code → GitHub · weekly quiz → Google Form. (How: SUBMISSION.md.)
- Project — apply this week's lesson to your NoteVault project where it fits.
Time breakdown: AGENDA.md. Grading: see the worksheet rubric.
Objectives
- Explain the CIA triad, trust boundaries, and attack surface.
- Build a data-flow diagram (DFD) and apply STRIDE to a real app.
- Navigate the OWASP Top 10, MITRE CWE, and ATT&CK.
- Frame the course with "Secure by Design" (CISA) and the industry shift to memory-safe languages.
🎲 Signature game — "Elevation of Privilege"
Play Microsoft's free STRIDE threat-modeling card deck against the sample app's DFD — each valid threat scores a point.
Lab 0 — Environment setup (do once)
- Install VirtualBox/UTM + a Kali or Ubuntu VM.
- Install Docker + Docker Compose inside the VM.
- Install a browser proxy: Burp Suite Community or OWASP ZAP.
- Verify:
docker run hello-worldandgit --version.
Lab 1 — Threat-model a sample app
You are given a small web app (source provided by instructor).
- Draw a DFD: processes, data stores, external entities, and trust boundaries.
- For each element, enumerate Spoofing, Tampering, Repudiation, Info disclosure, DoS, Elevation.
- Rank the top 5 threats by likelihood × impact.
- Propose one mitigation per top threat.
Deliverable
A 2–3 page threat model (DFD image + STRIDE table + top-5 risk ranking).
References
- https://owasp.org/Top10/2025/
- https://cheatsheetseries.owasp.org/cheatsheets/Threat_Modeling_Cheat_Sheet.html