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
security-profiles-operatorをさわってみた / try-securit...
Search
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
Naoki Oketani
November 25, 2021
Technology
2.4k
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
security-profiles-operatorをさわってみた / try-security-profiles-operator
Kubernetes Meetup Tokyo #47
登壇ふりかえり
Kubernetes Meetup Tokyo #47 で登壇しました
Naoki Oketani
November 25, 2021
More Decks by Naoki Oketani
See All by Naoki Oketani
Observe the Conference / observe-the-conference
okepy
0
490
最小権限を目指して / least privilege of service account
okepy
0
1.9k
kubectl debugを試してみた / k8snovice8-kubectl-debug
okepy
0
2.3k
Other Decks in Technology
See All in Technology
その“隠したつもり”が命取り ── 自前と平文をやめて「正解」に委ねる
kuroneko13
0
130
Model Studio CLI × Token Plan
maigo999
0
200
【GCC2026】大規模言語モデルを活用した内製検索サービスの社内展開や業務活用
bandainamcostudios
PRO
0
340
国家プロジェクトを支える「さくらONE」 大規模LLM開発におけるGPU障害を乗り越えるクラスター運用戦略
gpuunite_official
0
120
Sansan Engineering Unit 紹介資料
sansan33
PRO
1
5k
도구에서 동료까지: 10년차 AI 스타트업의 AI 적응기
inureyes
PRO
1
260
Digitization部 紹介資料
sansan33
PRO
2
7.7k
同じWAFが、攻撃の“形”は弾く── 正当な“形”の不正は通す
kuroneko13
0
250
カートの信頼性を担保するWireMockを使ったe2eテスト
ykagano
0
590
Oracle MCP Servers Explained
thatjeffsmith
0
170
ホームラボ紹介
y_sera15
0
210
AI時代のアウトプット――変わったこと、変わらないこと / Devsumi 2026 Kansai #devsumi
jnchito
0
250
Featured
See All Featured
Embracing the Ebb and Flow
colly
88
5.1k
Become a Pro
speakerdeck
PRO
31
6.2k
Between Models and Reality
mayunak
4
400
Building Flexible Design Systems
yeseniaperezcruz
330
40k
Imperfection Machines: The Place of Print at Facebook
scottboms
270
14k
From π to Pie charts
rasagy
0
300
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
16
2.1k
A designer walks into a library…
pauljervisheath
211
24k
DBのスキルで生き残る技術 - AI時代におけるテーブル設計の勘所
soudai
PRO
68
57k
The untapped power of vector embeddings
frankvandijk
2
1.8k
Neural Spatial Audio Processing for Sound Field Analysis and Control
skoyamalab
0
410
16th Malabo Montpellier Forum Presentation
akademiya2063
PRO
0
350
Transcript
security-profiles-operatorをさわってみた @ngoktanio @oke-py 2021.11.25 Kubernetes Meetup Tokyo #47
本発表の目的 seccompやAppArmorの • 導入検討のきっかけとなる • 導入、運用事例があったら教えてほしい
モチベーション 多層防御(Defense In Depth)の一要素として セキュリティプロファイルを利用してみたい Certified Kubernetes Security Specialist (CKS)
Exam Curriculum https://github.com/cncf/curriculum/blob/master/CKS_Curriculum_%20v1.22.pdf
セキュリティプロファイルの例 AppArmor, SELinux ファイルアクセスを細かく制御する seccomp 不要なシステムコールの呼び出しを禁止する Docker/Kubernetes開発・運用のためのセキュリティ実践ガイド https://book.mynavi.jp/ec/products/detail/id=114099
Podにseccompプロファイルを適用する方法 1. ホストでプロファイルを有効化する 2. Pod定義でプロファイルを指定する Restrict a Container's Syscalls with
seccomp https://kubernetes.io/docs/tutorials/clusters/seccomp/
セキュリティプロファイルの導入決定(フィクション) Sec「全社的にseccompの導入を必須としました」 Dev「ホストにログインできない。Opsさん、よろしく」 Ops「サービスごとにプロファイルを変えるのしんどい」
kubernetes-sigs/security-profiles-operator
https://github.com/kubernetes-sigs/security-profiles-operator
security-profile-operatorのインストール 検証環境 インストール https://github.com/kubernetes-sigs/security-profiles-operator/blob/master/installation-usage.md
SeccompProfileの適用
SeccompProfileを利用するPodの実行
禁止されているシステムコールを呼び出す Operation not permitted !!!
まとめ • セキュリティプロファイルを利用してより堅牢に • security-profiles-operatorに期待? ◦ 最新リリース(v0.3.0)は半年以上前・・・ ◦ masterブランチはそれなりに更新されている •
SDLCにどう組み込めるか? ◦ プロファイルの作成、検証が大変そう ◦ docker-slimを使えばいけそう?
参考資料 Docker/Kubernetes開発・運用のためのセキュリティ実践ガイド https://book.mynavi.jp/ec/products/detail/id=114099 Hacking Kubernetes https://www.oreilly.com/library/view/hacking-kubernetes/9781492081722/ Restrict a Container's Syscalls
with seccomp https://kubernetes.io/docs/tutorials/clusters/seccomp/ Restrict a Container's Access to Resources with AppArmor https://kubernetes.io/docs/tutorials/clusters/apparmor/ Kubernetes Security Profiles Operator https://github.com/kubernetes-sigs/security-profiles-operator Managing Kubernetes seccomp profiles with security profiles operator https://medium.com/@LachlanEvenson/managing-kubernetes-seccomp-profiles-with-security-profiles-operator-c768cff58b0