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.6k
github-classmethod-study-20170426
knakayama
1
4k
サーバレスアーキテクチャはじめの一歩
knakayama
1
1.6k
Other Decks in Technology
See All in Technology
SAENM ~Jupyterで残すPoCの試行錯誤、未来の自分と仲間を助ける記録!~
terapyon
0
150
スキマバイトという雇用形態は存在しないので、雇用期間1日のアルバイト契約を事業者とワーカーが結ぶ手続きを支えるのがタイミーなんです
akitoshiga
0
210
AIカンパニーへの転換を支えた、エンジニアの仕事の再定義
kworkdev
PRO
2
1.3k
Tofu-Controller lightning talk @ Containerday 2026
gionn
0
120
ストレスなくAIと付き合いたい!こんなときどうしてる?
namiki64
4
630
S3 Filesで挑む! 八戸せんべい汁の食べ頃問題
usanchuu
0
120
Conditional PED-ANOVA: Hyperparameter Importance in Hierarchical & Dynamic Search Spaces
pfn
PRO
0
140
Benchmarking Disaggregated Serving on vLLM + Dynamo with a Real Coding-Agent Workload
nttcom
1
200
フロントエンドカンファレンス関西2026 - 速すぎるUIに、待ち時間を
teamlab
PRO
0
200
10年後、Engineering 行為を剥奪されるとして、わたしたちは、どう、何を創ればいいだろうか。 / If Engineering Is Taken Away in 10 Years, How and What Should We Create?
bitkey
PRO
1
210
AIにシークレットを見せない、WSL2で安全な開発環境
yazm
0
320
価値について
gree_tech
PRO
0
110
Featured
See All Featured
Building AI with AI
inesmontani
PRO
1
1.3k
Ruling the World: When Life Gets Gamed
codingconduct
0
410
Technical Leadership for Architectural Decision Making
baasie
3
600
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
47
8.4k
Ecommerce SEO: The Keys for Success Now & Beyond - #SERPConf2024
aleyda
1
2.2k
Balancing Empowerment & Direction
lara
6
1.3k
Reality Check: Gamification 10 Years Later
codingconduct
0
2.3k
Public Speaking Without Barfing On Your Shoes - THAT 2023
reverentgeek
1
600
The MySQL Ecosystem @ GitHub 2015
samlambert
251
13k
Making Projects Easy
brettharned
120
6.8k
Leo the Paperboy
mayatellez
10
2.4k
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
234
18k
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