~/talk

LIVE DEMO: Supply Chain Attacks in the Terraform Registry

Talkat NDC Security 2025 · 2025-01-20..01-23· [security, software-architecture]
slides:none on file

Live demo shows a malicious Terraform Registry module being swapped to a backdoored branch while keeping the same version, exploiting CloudFront caching and the X-Terraform-Version header to force victims to fetch it; the injected scripts spawn background PowerShell/SH processes that collect environment variables, SSH files and AWS/Azure CLI tokens, encrypt them, and exfiltrate via Azure login requests whose sign‑in logs are later reassembled. Module metrics show 51,000 downloads/week, standard scanners like Checkov miss the issue, HashiCorp refuses a CVE, and a module lock file tool is published to mitigate it by preventing republish same version attacks.

AI-written summary · about

  1. 0:00Supply chain attacks intro
  2. 1:06What is a supply chain attack
  3. 3:15SolarWinds attack case
  4. 5:40NotPetya attack case
  5. 8:07XZ Utils attack case
  6. 11:39Attack stats and risks
  7. 13:27Open vs closed source vulns
  8. 14:53Live demo setup
  9. 19:16Publishing malicious module
  10. 21:26Attack success conditions
  11. 23:13Bypassing registry caching
  12. 24:03Executing the attack
  13. 26:12Exfiltrating credentials
  14. 27:58Retrieving Azure data
  15. 32:33Attack impact scale
  16. 33:17Checkov limitations
  17. 37:21Why attack undetected
  18. 38:44Reducing attack risks
  19. 41:51Mitigating exfiltration
  20. 44:01Protecting Terraform modules
  21. 45:08Q&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.