Week 1 · readme

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

  1. Before classSet up your environment — install Docker Desktop + Burp/ZAP (a Linux VM is an optional fallback). This is Lab 0.
  2. Lecture (120 min) — weekly quiz first (~10 min), then the lecture. Slides: slides/week01.md.
  3. 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.
  4. Submit — worksheet PDF → Classroom · code → GitHub · weekly quiz → Google Form. (How: SUBMISSION.md.)
  5. 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)

  1. Install VirtualBox/UTM + a Kali or Ubuntu VM.
  2. Install Docker + Docker Compose inside the VM.
  3. Install a browser proxy: Burp Suite Community or OWASP ZAP.
  4. Verify: docker run hello-world and git --version.

Lab 1 — Threat-model a sample app

You are given a small web app (source provided by instructor).

  1. Draw a DFD: processes, data stores, external entities, and trust boundaries.
  2. For each element, enumerate Spoofing, Tampering, Repudiation, Info disclosure, DoS, Elevation.
  3. Rank the top 5 threats by likelihood × impact.
  4. 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