Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
The ~~Ten~~ Three Most Critical Security Risks ...
Search
Koji Nakayama
April 26, 2018
Technology
1.6k
2
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
The ~~Ten~~ Three Most Critical Security Risks in Serverless Architectures
Ruby開発様の姫島オフィスにて発表した資料です
Koji Nakayama
April 26, 2018
More Decks by Koji Nakayama
See All by Koji Nakayama
Software Testing in AWS IoT with The Power of Python
knakayama
0
1.8k
サーバーレス x IoT 〜我々はどういった課題に直面してそれをどのように解決したのか〜
knakayama
0
1.5k
Bloxが切り開くECSの世界
knakayama
1
1.3k
AWS Serverless Application Modelのデプロイ戦略
knakayama
4
2.5k
github-classmethod-study-20170426
knakayama
1
3.9k
サーバレスアーキテクチャはじめの一歩
knakayama
1
1.6k
Other Decks in Technology
See All in Technology
HolmesGPTで始めるSREエージェント入門!プラットフォームの障害調査はAIにお任せ 〜
sanghyuk
0
260
SDDの運用にめげずに向き合った話
sansantech
PRO
0
110
覗いてみよう 関数型ビジュアル言語×2Dグラフィックスの世界
yohyamasaki
0
170
Lambda MicroVMsが分からなすぎたので使い所を1から考えてみた
tsukuboshi
2
310
ファミコンでPHPを動かす / PHP on the Famicom side b
tomzoh
0
110
AgentCoreで実践するハーネスエンジニアリング
yakumo
1
250
営業オントロジーの作り方と、エージェントからの辿り方 ── ナレッジワークの現場から
kworkdev
PRO
1
240
2026-09-26 Platform Engineering Kaigi 2026 インフラとアプリの境界線と委譲の設計 / Drawing the Infra and App Line
masasuzu
0
610
The kernel report
ennael
PRO
1
210
[2026 Oracle Technical Deep Dive] オンプレミスDBのCloud移行アプローチ:移行計画に基づくメソッドとツールの選択 (2026年9月17日開催)
oracle4engineer
PRO
0
110
組み立てて楽しむ AWS Blocks 入門
kmiya84377
0
160
オンラインゲームのシステム全体像 - コロプラ 2026年度 新卒研修
colopl
0
130
Featured
See All Featured
Why Our Code Smells
bkeepers
PRO
340
58k
Marketing Yourself as an Engineer | Alaka | Gurzu
gurzu
0
320
Raft: Consensus for Rubyists
vanstee
142
7.7k
Practical Orchestrator
shlominoach
192
12k
Utilizing Notion as your number one productivity tool
mfonobong
4
610
GraphQLの誤解/rethinking-graphql
sonatard
75
12k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
50
10k
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
38
3k
Beyond borders and beyond the search box: How to win the global "messy middle" with AI-driven SEO
davidcarrasco
3
270
Fantastic passwords and where to find them - at NoRuKo
philnash
52
3.9k
Designing Experiences People Love
moore
143
24k
10 Git Anti Patterns You Should be Aware of
lemiorhan
PRO
659
62k
Transcript
The Ten Three Most Critical Security Risks in Serverless Architectures
2018/04/26 Ӿઊ ଛလ@䆠䎦 1
ᛔ૩奧Օ • Ӿઊ ଛလ • μ϶φϮϊϐϖ ϯϝαϸίϤϷςЄϠ φ᮱ • AWSϊϷϲЄτϴЀίЄκϓμϕ
• ςЄϝЄςαϖεЀυϘί • GitHub: knakayama 2
ψϐτϴЀٖͺ͚ͼ • αφ϶εϸ΄PureSecᐒ1 ͢ڊͭ͵White Paper΄ٖΨ䝏壧ͭͼͪ奧Օ • ͩ΄White Paper΅ςЄϝЄϹφίϤϷξЄτϴЀͽ䶲ΨͺͧΡΏͣψ κϲϷϓΰΨ10㮆奧Օͭ͵Θ΄ •
ᇙ岉ޱႮ͡͵3ͺΨ奧Օ • ΞΠ托ͭͥ΅ܻ݇ᆙ2 2 https://www.puresec.io/resource-download 1 https://www.puresec.io/ 3
ίυδЀύ 1. ςЄϝЄϹφίϤϷξЄτϴЀᇙํ΄ψκϲϷϓΰ 2. Function Event-Data Injection 3. Broken Authentication
4. Functions Execution Flow Manipulation 4
ίυδЀύ 1. ςЄϝЄϹφίϤϷξЄτϴЀᇙํ΄ψκϲϷϓΰ 2. Function Event-Data Injection 3. Broken Authentication
4. Functions Execution Flow Manipulation 5
ςЄϝЄϹφίϤϷξЄ τϴЀ;ψκϲϷϓΰ • ϳЄσ͢ᓕቘͯΡ᮱ړ͚͢ݍᶎ̵ͽͣΡ ͩ;Θ͚ • ͺΔΠ̵䕪ጱψκϲϷϓΰ΄ᘍ͞ො͢ͳ ΄ΔΔၞአͭͻΟ͚ • εЄυδЀϕαЀφϕЄϸ僻ቘ
• ψκϲϷϓΰ΄ϓφϕͿ͜ΚΡҘ • ͫΟΔͶΔͶ咲Ӿ΄ದ悬ړᰀ΄ͽ̵ϔ ϢήμϕφόЀύЄϖጱ枣䯤౮Θͫͳ ͜ 6
ΕΩͿ͜ψκϲίͯΡ͡ ಋറΠᇫ䙪Γ͚ 7
͵ͶဳͯΏͣᅩ΅ ͩ΄White Paper͡Ο憎͞Ρ͡Θ 8
ίυδЀύ 1. ςЄϝЄϹφίϤϷξЄτϴЀᇙํ΄ψκϲϷϓΰ 2. Function Event-Data Injection ! 3. Broken
Authentication 4. Functions Execution Flow Manipulation 9
Function Event-Data Injection • ςЄϝЄϹφίϤϷξЄτϴЀ΅αϦЀϕϖϷϣЀ㳌ቘ͢ᤈΥΡ • ֺ: S3 -> Lambda
-> DynamoDB • ͩ΄檭̵ڹྦྷ΄αϦЀϕ͡ΟჁͫ͵ఘ䁭Ψ͚Σ͚ΣےૡͭͼOutputͯ Ρ̵;͚͜΄͢ΞֵͥΥΡϞόЄЀ • ͵Ͷ̵ͭͩ΄ϔЄόΨͳ΄ΔΔֵͼͭΔ͜;ψκϲϷϓΰ΄㺔氂 ΠΡ • ᥝͯΡ̵فێ㮔Ψͭ͡ΠϝϷϔЄτϴЀͭΔͭΝ͜;͚͜扖 10
S3 Event Notification΄ֺ { "Records": [ { ... "s3": {
"s3SchemaVersion": "1.0", "configurationId": "testConfigRule", "bucket": { "name": "example-bucket", "ownerIdentity": { "principalId": "EXAMPLE" }, "arn": "arn:aws:s3:::example-bucket" }, "object": { "key": "example-object", "size": 1024, "eTag": "0123456789abcdef0123456789abcdef", "sequencer": "0A1B2C3D4E5F678901" } } } ] } 11
ύϮύϮֺ • ηϣυδμϕ΄Ӿͩ͢ΩͶ͵Ο {"username":"foobar"+require('child_process').exec('uname -a')} 12
ίυδЀύ 1. ςЄϝЄϹφίϤϷξЄτϴЀᇙํ΄ψκϲϷϓΰ 2. Function Event-Data Injection 3. Broken Authentication
! 4. Functions Execution Flow Manipulation 13
Broken Authentication • API Gateway + CognitoͽϳЄσ扯戣䌙فͭͼͼΘ՜΄᮱ړͽᑩ ᑮ͚ͼ͵Οޱ͚ͽͯΞ • S3ϝξϐϕΨ僻洏ϞϣϷϐμͭͼ͚ͽͯ͡Ҙ
• ϔϤϺαϮЀϕϞϐξЄυل樄ͭͷΙͼ͚ͽͯ͡Ҙ • ͷΙΩ;IAM戔ਧͭΞ͜ 14
ύϮύϮֺ 15
ίυδЀύ 1. ςЄϝЄϹφίϤϷξЄτϴЀᇙํ΄ψκϲϷϓΰ 2. Function Event-Data Injection 3. Broken Authentication
4. Functions Execution Flow Manipulation 16
Functions Execution Flow Manipulation • ίϤϷξЄτϴЀ΄ϺυϐμΨͼ䘂ͫͯΡ;͚͜Θ΄ • ςЄϝЄϹφίϤϷξЄτϴЀ΄䁰ݳ̵愢හ΄AWSϷϊЄφ͢ 奲ΕݳΥͫͼ㵕ͥ;͚͜ᇙӤ̵1ͺͽΘᑩ͘͢Ρ;䘂ͫͭ Κ͚ͯ᮱ړ΅͵ͭ͘͡Πͳ͜
• ͩͷΘݶͮΞ͜IAM΄戔ਧͭͼ䘂ͫͽ͚ͣΞͭ͜Δ ͭΝ͜;͚͜͠扖 17
Manipulation΄ֺ 18
Δ;Η • White Paper䨗͚ͼ͘Ρͩ;΅奾䯤୮͵Πڹ΄ͩ;ͭ͡䨗͚ͼ ͚ • ͵Ͷ̵ͭ୮͵Πڹ΄ͩ;Ψ୮͵ΠڹͯΡ΄΅क़;櫞͚ͭ • ͘͞ͼݷڹΨͺͧΡͩ;ͽͳ΄㺔氂Ψ扯挷̵ͭ挷ͭΚͯͥͯ Ρ΄΅᯿ᥝ
• 䌏ᒽΘͷΙΩ;䨗͚ͼ͘Ρ΄ͽӞଶ抎ΩͽΕͼ΅ 19