~/talk

Exploring Malicious Lambda Layers

Talkat LambdaConf 2024 · 2024-05-04..05-10· [security]
links:none on file
links:none on file
slides:none on file

Demonstrates concrete vulnerabilities that let a layer perform a man-in-the-middle on Lambda I/O by hijacking AWS_LAMBDA_RUNTIME_API, and a deeper memory scan-and-patch via Firecracker’s rapid process to overwrite environment variables and secrets ports. Provides a working PoC that patches seven memory regions in ~0.25s and returns “I am evil,” built from an internal wrapper plus an external extension and exploiting layer merge-order collisions; effective but requires layer installation or privileged merge positioning.

AI-written summary · about

  1. 0:00Malicious Lambda layers intro
  2. 3:54Lambda extensions and limits
  3. 7:22Breaking Lambda runtime
  4. 12:18Man-in-the-middle PoC
  5. 15:49Firecracker memory access exploit
  6. 17:39Live memory patching demo
  7. 19:01AWS Secrets Manager compromise
  8. 20:45Layer merging and file collisions
  9. 22:50Mitigation strategies
  10. 24:34Resources and closing
~/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.