~/talk

LIVE DEMO: Supply Chain Attack in the Terraform Registry

Talkat NDC Oslo 2025 · 2025-05-19..05-23· [security]
slides:none on file

Live demo shows the Terraform Registry can be manipulated so a malicious module version replaces a published tag and delivers code that stole Azure/AWS session tokens plus environment and SSH files. Attack uses Terraform’s CloudFront CDN cache and a Terraform‑version header — a used CloudFront two‑week cache cache miss forces fetch from origin — and runs external scripts that exfiltrated via Azure login user‑agent (payload encrypted with a public key and recovered from sign‑in logs). Demo succeeds; mitigation: pin commit hashes or use the provided module‑lock generator.

AI-written summary · about

  1. 0:00Supply chain attacks intro
  2. 1:17What is a supply chain attack
  3. 2:01SolarWinds attack case study
  4. 5:55NotPetya attack case study
  5. 8:25XZ Utils attack case study
  6. 12:16Rising supply chain threats
  7. 12:58Terraform module dependency risks
  8. 15:27Live demo setup overview
  9. 20:37Exploiting registry cache
  10. 23:11Malicious payload execution
  11. 27:49Data exfiltration demo
  12. 32:21Automated tool detection limits
  13. 33:19How registry loads modules
  14. 34:227-year-old registry flaw
  15. 37:36Limitations of commit hashes
  16. 38:29HashiCorp’s vulnerability response
  17. 39:53Mitigating supply chain risks
  18. 45:29Terraform module lock solution
  19. 47:16Q&A
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.