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
DDoS攻撃への対策できてますか?
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
umehara
December 23, 2024
Technology
48
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
DDoS攻撃への対策できてますか?
umehara
December 23, 2024
More Decks by umehara
See All by umehara
Infrastructure as Codeのはじめ方 ~NRIネットコム TECH AND DESIGN STUDY #93~
umekou
1
210
Amazon S3 Vectorsを使って低コストRAGを組んでみる
umekou
0
180
AWSサービスアップデート202507.pdf
umekou
0
110
AWSマンスリーアップデートピックアップ!! 2025年4月分
umekou
0
130
コンソールで学ぶ!AWS CodePipelineの機能とオプション
umekou
3
380
AWS Well-Architected Frameworkで学ぶAmazon ECSのセキュリティ対策
umekou
2
340
AWSサービスアップデート 2025/02
umekou
0
130
CloudWatch Container Insightsを使ったAmazon ECSのリソース監視
umekou
1
490
AWSサービスアップデート202412 re:Invent特別編
umekou
0
150
Other Decks in Technology
See All in Technology
Steerable Visual Representations
sansantech
PRO
0
300
アカウント統制の健康診断
kenichinakamura
1
160
Turning Repos into the Product Second Brain with an LLM Wiki
linedevth
0
150
局所最適は悪ではない。壊れているのは指標です。量と質を同時に見る先行指標の設計
recruitengineers
PRO
2
820
DevelopersIO2026 -バックアップは“消されないこと”が9割-
yoshida0129
0
360
Classmethod Company Deck
satoshi7
1
830
小規模OSSモデルは サイバーセキュリティ業務に どこまで使えるか
bbrbbq
0
230
Let's Change Our World—Again
snoozer05
PRO
6
470
BacklogのRAG 今ならこう作る - S3 Vectorsと自前パイプラインの勘所
revsystem
0
110
トークン化預金DCJPYの取り組みと活用ユースケース
finengine
0
240
AWS DevOps Agentはどこまで任せられるか 〜機能の現在地と、機能拡張の実践〜
nyankotaro
0
170
ストレスなくAIと付き合いたい!こんなときどうしてる?
namiki64
4
680
Featured
See All Featured
Efficient Content Optimization with Google Search Console & Apps Script
katarinadahlin
PRO
1
930
Impact Scores and Hybrid Strategies: The future of link building
tamaranovitovic
0
460
Mind Mapping
helmedeiros
1
400
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
16
2.2k
Breaking role norms: Why Content Design is so much more than writing copy - Taylor Woolridge
uxyall
1
460
From Legacy to Launchpad: Building Startup-Ready Communities
dugsong
0
360
Ethics towards AI in product and experience design
skipperchong
2
440
SEOcharity - Dark patterns in SEO and UX: How to avoid them and build a more ethical web
sarafernandez
0
310
DevOps and Value Stream Thinking: Enabling flow, efficiency and business value
helenjbeal
2
410
Taking LLMs out of the black box: A practical guide to human-in-the-loop distillation
inesmontani
PRO
3
2.5k
HDC tutorial
michielstock
2
970
Money Talks: Using Revenue to Get Sh*t Done
nikkihalliwell
0
530
Transcript
DDoS攻撃への対策できてますか? NRIグループre:Cap 2024 ~NRIネットコム TECH AND DESIGN STUDY #53~ 2024年12月23日
NRIネットコム株式会社 Webインテグレーション事業部 基盤デザイン課 梅原 航
1 Copyright(C) NRI Netcom, Ltd. All rights reserved. ◼ 基本情報
⚫ 梅原 航(うめはら こう) ⚫ NRIネットコム株式会社 Webインテグレーション事業部(@大阪) ⚫ AWSを使ったシステムのインフラ開発・運用に従事 ◼ 好きなAWSサービス ◼ 所有資格 自己紹介 Amazon Elastic Container Service (Amazon ECS) #nncstudy 転載、複製、改変等、および許諾のない二次利用を禁止します
2 Copyright(C) NRI Netcom, Ltd. All rights reserved. DDoS攻撃への対策できてますか? #nncstudy
転載、複製、改変等、および許諾のない二次利用を禁止します
3 Copyright(C) NRI Netcom, Ltd. All rights reserved. DDoS攻撃とは 01
ベストプラクティス構成の紹介 02 各サービス紹介 03 最後に 04 #nncstudy 転載、複製、改変等、および許諾のない二次利用を禁止します
4 Copyright(C) NRI Netcom, Ltd. All rights reserved. DDoS攻撃とは? ◼
DDoS攻撃とは? ⚫ 大量のIPアドレスからパブリックなエンドポイントに対して、大量にリクエストを送信する攻撃 ⚫ 攻撃されると正常ユーザへの影響が発生 • アプリケーションの処理遅延 • 5XXエラー増加 • レイテンシー増加 • 名前解決不可 ⚫ 攻撃対象はネットワークレイヤよりアプリケーションレイヤへの攻撃が多い #nncstudy 転載、複製、改変等、および許諾のない二次利用を禁止します 攻撃者 一般ユーザ AWS Cloud
5 Copyright(C) NRI Netcom, Ltd. All rights reserved. ベストプラクティス構成の紹介 #nncstudy
転載、複製、改変等、および許諾のない二次利用を禁止します
6 Copyright(C) NRI Netcom, Ltd. All rights reserved. 基本的なことは省略 #nncstudy
転載、複製、改変等、および許諾のない二次利用を禁止します ②ELBを使った 負荷分散 ①Route53を 使ったDNS ③Auto Scaling でスケールアウト
7 Copyright(C) NRI Netcom, Ltd. All rights reserved. 本日お話する部分 #nncstudy
転載、複製、改変等、および許諾のない二次利用を禁止します
8 Copyright(C) NRI Netcom, Ltd. All rights reserved. サービス紹介(Amazon CloudFront)
#nncstudy 転載、複製、改変等、および許諾のない二次利用を禁止します
9 Copyright(C) NRI Netcom, Ltd. All rights reserved. ◼ コンテンツキャッシュの利用
⚫ エッジロケーションからレスポンスを返してくれる ◼ エラーコードのキャッシュ ⚫ オリジンから出されたエラーコードをCloudFront側でキャッシュできる ◼ 地理的制限を使ったブロック ⚫ サービス提供を想定していない国のブロックする ⚫ WAFの地理的一致ルールを優先して利用する • WAFでブロックされたCloudFrontへの通信料金が課金されなくなった(new) サービス紹介(Amazon CloudFront) #nncstudy 転載、複製、改変等、および許諾のない二次利用を禁止します
10 Copyright(C) NRI Netcom, Ltd. All rights reserved. ◼ CloudFrontのオリジン保護
⚫ ALBのSGでCloudFrontのみを通すようにプレフィックスを設定 ⚫ VPCオリジン機能でプライベートサブネット内のALBへの接続も可能(new) サービス紹介(Amazon CloudFront) #nncstudy 転載、複製、改変等、および許諾のない二次利用を禁止します Managed Prefix Listsで CloudFrontのIPアドレスからのみ許可 VPCオリジン機能で Private subnet内のLBと接続
11 Copyright(C) NRI Netcom, Ltd. All rights reserved. サービス紹介(AWS WAF)
#nncstudy 転載、複製、改変等、および許諾のない二次利用を禁止します
12 Copyright(C) NRI Netcom, Ltd. All rights reserved. ◼ カウントモードで検知してからブロックに移行
⚫ どのようなリクエストをブロックできるかをカウントモードで検証してからブロック ◼ AWSマネージドルールの利用 ⚫ AWSManagedRulesCommonRuleSetはOWASP TOP10に関するルールが含まれてる ⚫ IPReputationListは悪意あるIPをブロックしてくれる ◼ レートベースブロックを使う ⚫ X分間でY回以上のリクエストをブロックすることができる ◼ 地理的ブロックやbot controlを必要に応じて利用 ⚫ ログを有効化し、悪意あるリクエストの傾向を把握する サービス紹介(AWS WAF) #nncstudy 転載、複製、改変等、および許諾のない二次利用を禁止します
13 Copyright(C) NRI Netcom, Ltd. All rights reserved. サービス紹介(AWS Shield)
#nncstudy 転載、複製、改変等、および許諾のない二次利用を禁止します
14 Copyright(C) NRI Netcom, Ltd. All rights reserved. ◼ AWS
Shield Standard ⚫ インターネットに面したAWSリソースに対して、追加料金無しで自動的に保護してくれる ⚫ クライアントからのリクエストがAWSのインフラに入る際にモニタリング ⚫ L3とL4のネットワークレイヤやトランスポートレイヤに対する攻撃に有効 ◼ AWS Shield Advanced ⚫ マネージドなDDoS対策のサービス ⚫ 24/265でAWS Shieldチーム(SRT)が付いてくれる ⚫ SRTがWAFのルールカスタマイズもしてくれるので、L7へのDDoS緩和も可能 ⚫ 月額3000$(1年契約縛り) サービス紹介(AWS Shield) #nncstudy 転載、複製、改変等、および許諾のない二次利用を禁止します
15 Copyright(C) NRI Netcom, Ltd. All rights reserved. まとめ #nncstudy
転載、複製、改変等、および許諾のない二次利用を禁止します アプリケーションの 処理性能を上げる 悪意あるユーザをブロックし、 オリジンの負荷を軽減させる
16 Copyright(C) NRI Netcom, Ltd. All rights reserved. ◼ 実際にDDoS攻撃されているときは体制も大事
◼ インシデント報告書作成のための記録を残す ⚫ CloudTrailログの保管(行動履歴) ⚫ 各AWSサービスのメトリクスやログの保管(前後の状況把握) ◼ どういう基準でインシデントを終了とするか? セッションで話されてた他の内容 #nncstudy 転載、複製、改変等、および許諾のない二次利用を禁止します ホワイトペーパー https://docs.aws.amazon.com/ja_jp/whitepapers/latest/aws-best-practices- ddos-resiliency/aws-best-practices-ddos-resiliency.html
None