Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
意外とややこしいAmazon GuardDutyRuntime Monitoring
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
NRI Netcom
PRO
November 28, 2024
Technology
340
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
意外とややこしいAmazon GuardDutyRuntime Monitoring
NRI Netcom
PRO
November 28, 2024
More Decks by NRI Netcom
See All by NRI Netcom
Platform Engineeringはじめの一歩
nrinetcom
PRO
2
110
企業でAWS Organizationsを動かすための組織設計の考え方
nrinetcom
PRO
1
140
AWSマンスリーアップデートピックアップ 2026年5月分
nrinetcom
PRO
0
84
Keynoteから考える、AIエージェント時代で何が変わるのか?
nrinetcom
PRO
0
110
「Google Cloud Next '26」で発表された、BigQueryの最新機能を使ってみよう
nrinetcom
PRO
0
110
Gemini Code AssistとGeminiCLIの活用例
nrinetcom
PRO
0
120
AI時代に求められる思考のパラダイムシフト
nrinetcom
PRO
1
210
ジュニアエンジニアはSREとどう向き合うべきか
nrinetcom
PRO
1
180
AWS認定資格は本当に意味があるのか?
nrinetcom
PRO
7
5.8k
Other Decks in Technology
See All in Technology
Oracle Base Database Service 技術詳細
oracle4engineer
PRO
15
110k
書籍セキュアAPIについて
riiimparm
0
390
基調講演:人とAIをつなぐIoTの今と未来 ー 「フィジカル」と「デジタル」が出会うその先へ【SORACOM Discovery 2026】
soracom
PRO
0
360
Power Automateアップデート情報
miyakemito
0
290
AIがコードを書く時代、人間は何を保証するのか———馬場さんと考える、開発者に求められる新しい責任と価値 - TECH PLAY
netmarkjp
0
340
Claude Mythos、Fable...フロンティアAIの最新動向と企業のセキュリティ対策
flatt_security
0
170
実践が先生だった— 新卒サーバーエンジニア1年目のリアル
mixi_engineers
PRO
0
210
AIがAPIを書く時代に、私たちは何を設計すべきか
nagix
0
170
最高のシステムプロンプトを作るためにフィードバック機能を導入した話
alchemy1115
1
240
『モンスターストライク』 の運営に伴走する! データ民主化への 解析グループの3つのアプローチ
mixi_engineers
PRO
0
180
AIで楽になるはずが、なぜ疲れる?
kinopeee
0
150
CTOキーノート:AI時代の「つなぐ」を再定義 ― 真のIoTとリアルワールドAI【SORACOM Discovery 2026】
soracom
PRO
0
330
Featured
See All Featured
Code Reviewing Like a Champion
maltzj
528
40k
Everyday Curiosity
cassininazir
0
270
How To Speak Unicorn (iThemes Webinar)
marktimemedia
1
520
Public Speaking Without Barfing On Your Shoes - THAT 2023
reverentgeek
1
470
How to Get Subject Matter Experts Bought In and Actively Contributing to SEO & PR Initiatives.
livdayseo
0
160
Bash Introduction
62gerente
615
220k
The Illustrated Guide to Node.js - THAT Conference 2024
reverentgeek
1
420
Organizational Design Perspectives: An Ontology of Organizational Design Elements
kimpetersen
PRO
1
780
Winning Ecommerce Organic Search in an AI Era - #searchnstuff2025
aleyda
1
2.1k
How To Stay Up To Date on Web Technology
chriscoyier
790
250k
10 Git Anti Patterns You Should be Aware of
lemiorhan
PRO
659
62k
The Language of Interfaces
destraynor
162
27k
Transcript
意外とややこしい Amazon GuardDuty Runtime Monitoring 2024年11月27日 NRIネットコム株式会社 デジタルソリューション事業本部 クラウド事業推進部 〒105-7114
東京都港区東新橋1-5-2 汐留シティセンター14F 〒530-0005 大阪府大阪市北区中之島3-2-4 中之島フェスティバルタワー・ウエスト24F
1 Copyright(C) NRI Netcom, Ltd. All rights reserved. 目次 意外とややこしい
Amazon GuardDuty Runtime Monitoring 自己紹介 01 はじめに 02 GuardDuty Runtime Monitoringとは 03 GuardDuty Runtime Monitoringの有効化方法 04 有効化方法の選び方 05 まとめ 05
2 Copyright(C) NRI Netcom, Ltd. All rights reserved. 目次 意外とややこしい
Amazon GuardDuty Runtime Monitoring 自己紹介 01 はじめに 02 GuardDuty Runtime Monitoringとは 03 GuardDuty Runtime Monitoringの有効化方法 04 有効化方法の選び方 05 まとめ 05
3 Copyright(C) NRI Netcom, Ltd. All rights reserved. ◼ 氏名:西内
渓太 ◼ 経歴 • 兵庫県出身 • 2017年4月~ 日系SIer企業 新卒入社 機械学習でのデータ分析・新規サービス事業立ち上げ(PMO、運用保守)etc. 幅広い業務に従事 • 2022年11月~ NRIネットコム入社 クラウド(AWS)を活用した顧客システムの構築支援やCCoE向け支援業務に従事 • 2024 Japan AWS All Certifications Engineers ◼ 趣味 ランニング、スニーカー漁り ◼ 保有AWS資格 自己紹介 意外とややこしい Amazon GuardDuty Runtime Monitoring
4 Copyright(C) NRI Netcom, Ltd. All rights reserved. 目次 意外とややこしい
Amazon GuardDuty Runtime Monitoring 自己紹介 01 はじめに 02 GuardDuty Runtime Monitoringとは 03 GuardDuty Runtime Monitoringの有効化方法 04 有効化方法の選び方 05 まとめ 05
5 Copyright(C) NRI Netcom, Ltd. All rights reserved. はじめに ◼
昨年のre:InventでAmazon GuardDuty Runtime Monitoringが追加 ◼ 他のGuardDuty の機能とは異なり、マルチアカウント管理下ではメンバーアカウント側での有効化も検討が必要 意外とややこしい Amazon GuardDuty Runtime Monitoring 今日の勉強会ではGuardDuty Runtime Monitoringの細かい話をします 昨年のre:Inventの様子 引用元: https://www.aboutamazon.com/news/aws/aws-reinvent-2023-live AWS account (Management) AWS account (Development) AWS account (Validation) AWS account (Production) マルチアカウントの例
6 Copyright(C) NRI Netcom, Ltd. All rights reserved. 目次 意外とややこしい
Amazon GuardDuty Runtime Monitoring 自己紹介 01 はじめに 02 GuardDuty Runtime Monitoringとは 03 GuardDuty Runtime Monitoringの有効化方法 04 有効化方法の選び方 05 まとめ 05
7 Copyright(C) NRI Netcom, Ltd. All rights reserved. ◼ AWSのセキュリティ系サービスの一つ
◼ 主にログを見て不審なアクティビティを検出する ◼ 有効化可能な項目 ⚫ S3 Protection ⚫ EKS Protection ⚫ Malware Protection for Amazon EC2 ⚫ Malware Protection for Amazon S3 ⚫ RDS Protection ⚫ Lambda Protection ⚫ Runtime Monitoring • EKS(re:Invent 2023以前から存在) • EC2 • ECS GuardDuty Runtime Monitoringとは 意外とややこしい Amazon GuardDuty Runtime Monitoring そもそもAmazon GuardDutyとは Amazon GuardDuty AWS CloudTrail Flow logs Amazon Simple Storage Service (Amazon S3) Amazon Relational Database Service (Amazon RDS) AWS Lambda Amazon Virtual Private Cloud (Amazon VPC) ログ監視
8 Copyright(C) NRI Netcom, Ltd. All rights reserved. GuardDuty Runtime
Monitoringとは 意外とややこしい Amazon GuardDuty Runtime Monitoring マルチアカウント管理下でのAmazon GuardDuty ◼ マルチアカウント・・・環境やプロジェクト、部署等の単位でアカウントを分ける概念のこと ◼ AWS Organizationsを利用することで複数アカウントを効率的に管理可能 AWS account (Development) AWS account (Production) AWS Organizations AWS account (Management)
9 Copyright(C) NRI Netcom, Ltd. All rights reserved. GuardDuty Runtime
Monitoringとは 意外とややこしい Amazon GuardDuty Runtime Monitoring マルチアカウント管理下でのAmazon GuardDuty ◼ マルチアカウント・・・環境やプロジェクト、部署等の単位でアカウントを分ける概念のこと ◼ AWS Organizationsを利用することで複数アカウントを効率的に管理可能 AWS account (Development) AWS account (Production) AWS Organizations AWS account (Management) Amazon GuardDuty Amazon GuardDuty Amazon GuardDuty Management Accountで一元管理
10 Copyright(C) NRI Netcom, Ltd. All rights reserved. GuardDuty Runtime
Monitoringとは 意外とややこしい Amazon GuardDuty Runtime Monitoring マルチアカウント管理下でのAmazon GuardDuty ◼ マルチアカウント・・・環境やプロジェクト、部署等の単位でアカウントを分ける概念のこと ◼ AWS Organizationsを利用することで複数アカウントを効率的に管理可能 AWS account (Development) AWS account (Production) AWS Organizations AWS account (Management) Amazon GuardDuty Amazon GuardDuty Amazon GuardDuty Management Accountで一元管理 Management Accountに 複数の役割を担わせるのは 非推奨
11 Copyright(C) NRI Netcom, Ltd. All rights reserved. GuardDuty Runtime
Monitoringとは 意外とややこしい Amazon GuardDuty Runtime Monitoring マルチアカウント管理下でのAmazon GuardDuty ◼ マルチアカウント・・・環境やプロジェクト、部署等の単位でアカウントを分ける概念のこと ◼ AWS Organizationsを利用することで複数アカウントを効率的に管理可能 AWS account (Development) AWS account (Production) AWS account (Management) AWS account (Security Delegated) セキュリティ権限委任用 アカウントを作成するのが 推奨されている Amazon GuardDuty Amazon GuardDuty Amazon GuardDuty Amazon GuardDuty AWS Organizations
12 Copyright(C) NRI Netcom, Ltd. All rights reserved. GuardDuty Runtime
Monitoringとは 意外とややこしい Amazon GuardDuty Runtime Monitoring Amazon GuardDuty Runtime Monitoringとは ◼ 昨年のre:Inventで追加された機能で、EC2・ECS(Fargate)・EKSのアクティビティを監視 ◼ アクティビティ検出に当たっては、エージェントを各インスタンスに導入する必要がある ◼ ECSはFargateのみ対応し、EKSはFargateに対応していない Amazon GuardDuty Amazon Elastic Compute Cloud (Amazon EC2) Amazon Elastic Container Service (Amazon ECS) on Fargate Amazon Elastic Kubernetes Service (Amazon EKS) on EC2 各インスタンスに存在するエージェントから情報を取得 Virtual private cloud (VPC) Endpoints
13 Copyright(C) NRI Netcom, Ltd. All rights reserved. 目次 意外とややこしい
Amazon GuardDuty Runtime Monitoring 自己紹介 01 はじめに 02 GuardDuty Runtime Monitoringとは 03 GuardDuty Runtime Monitoringの有効化方法 04 有効化方法の選び方 05 まとめ 05
14 Copyright(C) NRI Netcom, Ltd. All rights reserved. GuardDuty Runtime
Monitoringの有効化方法 意外とややこしい Amazon GuardDuty Runtime Monitoring Amazon GuardDuty Runtime Monitoringの有効化(エージェント導入)方法は複数存在 ◼ 自動有効化 ⚫ 管理アカウント側からメンバーアカウント側へ有効化を行う ⚫ 対象サービスに関わらず手順は同じ ⚫ 必要なVPC EndPointも自動で作成してくれる ◼ 手動有効化 ⚫ メンバーアカウント側で有効化を行う ⚫ 対象のサービスによって手順が異なる ⚫ ECSは手動有効化は出来ない ⚫ 必要なVPC Endpointは別途作成する必要がある ◼ Inclusion Tagsによる有効化(半自動有効化) ⚫ メンバーアカウント側で対象のインスタンスに特定のタグを付与することで有効化が可能 ⚫ 対象サービスに関わらず手順は同じ ⚫ 必要なVPC Endpointも自動で作成してくれる
15 Copyright(C) NRI Netcom, Ltd. All rights reserved. GuardDuty Runtime
Monitoringの有効化方法 意外とややこしい Amazon GuardDuty Runtime Monitoring Amazon GuardDuty Runtime Monitoringの有効化(エージェント導入)方法は複数存在 ◼ 自動有効化 ⚫ 管理アカウント側からメンバーアカウント側へ有効化を行う ⚫ 対象サービスに関わらず手順は同じ ⚫ 必要なVPC EndPointも自動で作成してくれる ◼ 手動有効化 ⚫ メンバーアカウント側で有効化を行う ⚫ 対象のサービスによって手順が異なる ←次ページで解説 ⚫ ECSは手動有効化は出来ない ⚫ 必要なVPC Endpointは別途作成する必要がある ◼ Inclusion Tagsによる有効化(半自動有効化) ⚫ メンバーアカウント側で対象のインスタンスに特定のタグを付与することで有効化が可能 ⚫ 対象サービスに関わらず手順は同じ ⚫ 必要なVPC Endpointも自動で作成してくれる
16 Copyright(C) NRI Netcom, Ltd. All rights reserved. GuardDuty Runtime
Monitoringの有効化方法 意外とややこしい Amazon GuardDuty Runtime Monitoring EC2での手動有効化 ◼ AWS Systems Manager RunCommandとLinux パッケージマネージャによる有効化方法が存在 ◼ EC2は自動有効化含めて、対象のインスタンスをAWS Systems Manager(SSM)管理下に置く必要がある ◼ Linux パッケージマネージャによる有効化の時のみ、SSM管理は不要 ECS(Fargate)での手動有効化 ◼ 手動有効化は未対応 EKS on EC2での手動有効化 ◼ EKS アドオンを追加することで有効化が可能 ◼ EKS アドオンの追加はAPIやConsole上から実行可能
17 Copyright(C) NRI Netcom, Ltd. All rights reserved. GuardDuty Runtime
Monitoringの有効化方法 意外とややこしい Amazon GuardDuty Runtime Monitoring 有効化による既存環境への影響も考慮する必要がある ◼ EC2 ⚫ 対象インスタンスをAWS Systems Manager管理下に置く必要がある ⚫ vCPUごとに最大10%CPUを使用する ⚫ 下表に従いメモリを使用する 引用元:Prerequisites for Amazon EC2 instance support https://docs.aws.amazon.com/guardduty/latest/ug/prereq-runtime-monitoring-ec2-support.html
18 Copyright(C) NRI Netcom, Ltd. All rights reserved. GuardDuty Runtime
Monitoringの有効化方法 意外とややこしい Amazon GuardDuty Runtime Monitoring 有効化による既存環境への影響も考慮する必要がある ◼ ECS ⚫ 有効化後はタスクの再起動が必要 ⚫ 下表に従い、メモリを使用する 引用元:Prerequisites for AWS Fargate (Amazon ECS only) support https://docs.aws.amazon.com/guardduty/latest/ug/prereq-runtime-monitoring-ecs-support.html
19 Copyright(C) NRI Netcom, Ltd. All rights reserved. GuardDuty Runtime
Monitoringの有効化方法 意外とややこしい Amazon GuardDuty Runtime Monitoring 有効化による既存環境への影響も考慮する必要がある ◼ EKS ⚫ 対象インスタンスにECRに関する権限を付与する必要がある ⚫ 下表に従い、メモリを使用する 引用元:Prerequisites for Amazon EKS cluster support https://docs.aws.amazon.com/guardduty/latest/ug/prereq-runtime-monitoring-eks-support.html
20 Copyright(C) NRI Netcom, Ltd. All rights reserved. 目次 意外とややこしい
Amazon GuardDuty Runtime Monitoring 自己紹介 01 はじめに 02 GuardDuty Runtime Monitoringとは 03 GuardDuty Runtime Monitoringの有効化方法 04 有効化方法の選び方 05 まとめ 05
21 Copyright(C) NRI Netcom, Ltd. All rights reserved. 有効化方法の選び方 意外とややこしい
Amazon GuardDuty Runtime Monitoring どの有効化方法を選べばよいか ◼ ここからは登壇者の見解に基づいてご説明します ◼ アカウントの重要度で適した有効化方法は変わります ◼ 具体例を元に最適と考えられる有効化方法をご紹介します
22 Copyright(C) NRI Netcom, Ltd. All rights reserved. 有効化方法の選び方 意外とややこしい
Amazon GuardDuty Runtime Monitoring システムの重要度が比較的低い場合 ◼ 自動有効化がおすすめ AWS account A AWS account B AWS account (Management) AWS account (Security Delegated) Amazon GuardDuty Amazon GuardDuty Amazon GuardDuty Amazon GuardDuty AWS Organizations • 管理アカウントから一括して有効化が可能。 • 手順も分かりやすい。 • メモリ使用等の影響を考慮すると、重要度の 高いアカウントへいきなり導入するのは不向き
23 Copyright(C) NRI Netcom, Ltd. All rights reserved. 有効化方法の選び方 意外とややこしい
Amazon GuardDuty Runtime Monitoring システムの重要度が比較的高い場合 ◼ タグ付与(半自動有効化)による有効化がおすすめ AWS account (Development) AWS account (Production) AWS account (Management) AWS account (Security Delegated) Amazon GuardDuty Amazon GuardDuty Amazon GuardDuty Amazon GuardDuty AWS Organizations • 検証アカウント等で様子見しながら導入が可能 • 手動有効化と比較して手順が分かりやすい • Tag Editor等で有効化状況を把握しやすい Include Tags ⇒GuardDutyManaged : True ※他アカウントも同様
24 Copyright(C) NRI Netcom, Ltd. All rights reserved. 有効化方法の選び方 意外とややこしい
Amazon GuardDuty Runtime Monitoring ◼ Include Tags(無効)と自動有効化の組み合わせがおすすめ システムの重要度が比較的高い場合 AWS account A AWS account B AWS account (Management) AWS account (Security Delegated) Amazon GuardDuty Amazon GuardDuty Amazon GuardDuty Amazon GuardDuty AWS Organizations アカウントAのみFalseのInclude Tagsを設 定することで、アカウントAを除く 全アカウントの一括有効化が可能 Include Tags ⇒GuardDutyManaged : false
25 Copyright(C) NRI Netcom, Ltd. All rights reserved. 目次 意外とややこしい
Amazon GuardDuty Runtime Monitoring 自己紹介 01 はじめに 02 GuardDuty Runtime Monitoringとは 03 GuardDuty Runtime Monitoringの有効化方法 04 有効化方法の選び方 05 まとめ 05
26 Copyright(C) NRI Netcom, Ltd. All rights reserved. まとめ 意外とややこしい
Amazon GuardDuty Runtime Monitoring ◼ GuardDuty Runtime Monitoringを使うことでAWS環境のセキュリティ向上が出来ます ◼ 有効化には複数の方法から取捨選択する必要がある ◼ 単純に自動有効化を選択せず、影響範囲を鑑みて方法を考えることが重要