文字记录 · CC BY 3.0

主题演讲:通过黑客学习:如何运行一个 2,500 节点 Kubernetes CTF - Andrew Martin & Andrés Vega

本页标题、字幕、摘要和阅读笔记为已保存的 AI 译文,可能有误。时间戳与来源一致,可展开查看原始字幕,并对照原视频核对。

Andrew Martin 和 Andrés Vega 解释他们如何举办大型 Kubernetes 夺旗活动,平衡学习场景、基础设施和成本。

CNCF [云原生计算基金会] · 发布于 · 13 分钟 · 英语 · 许可证:CC BY 3.0 · 来源:在 YouTube 上观看

转录来源:Vidleaf上的自动语音识别(可能包含错误)。AI标点由Vidleaf添加;保留原始措辞和时间戳锚点。原始转录可在下方获取。

AI生成的摘要

本次演讲题为“通过黑客技术学习”,描述了演讲者过去几年在云原生安全大会上如何举办CTF,涵盖了他们所做的内容、希望为参会者实现的目标,以及他们如何保持脆弱的理智。从2019开始规划,他们每天按需配置数千个节点,并在线下和线上举办活动,旨在通过红队场景传达如何最好地保护云原生基础设施,包括完整的演示、拆解和修复。场景有意变得越来越复杂和困难,每次活动都从一个入门场景开始,并在专用的真实基础设施上运行,以模拟真实世界的系统,但以一定的复杂性为代价;目标不是寻找终极安全忍者,而是水涨船高,提供快速反馈和支持。现场部署涉及每天2,500个节点,每个场景一个五节点集群,不重复使用集群,每个玩家每个场景集群配对使用唯一凭证,并在线下和Slack上设有Taskmasters来提供提示。会议还讲述了一次实时入侵模拟,其中AWS内部Ubuntu镜像宕机,导致配置停止,同时健康检查变为不健康,仪表板变红;团队重新配置到另一个区域,有人绕过了初始的SSH隧道沙箱,集群管理员RBAC凭证消失并最终出现在堡垒机上,而测试套件只覆盖了正常路径。演讲者感谢所有参与、提供反馈并促成迭代的人,鼓励CTF玩家专注于学习体验并走完场景,并指出集群和场景是开源的,在Kubernetes模拟器项目下有一个托管版本,以及Control Plane的私有测试版。

根据文字记录生成。请对照原始视频检查链接段落。

带时间戳的章节摘要

通过黑客技术学习:Kubernetes安全演讲介绍

  • [0:02] 演讲题为“通过黑客技术学习”。
  • [0:06] 演讲者感谢参会者、志愿者、贡献者以及云原生计算基金会对Kubernetes的参与。
  • [0:23] 文档和错误修复不会自己写出来,开源贡献是自由给予和优雅接受的。
  • [0:36] 在Kubernetes功能的复杂编排中,安全控制通常更难做到正确。
  • [0:45] 演讲者特别感谢安全团队的辛勤工作。
  • [0:49] 税务安全CTF反映了Kubernetes在互联网危险自由海域上的开拓之旅。
  • [1:00] 演讲者与合著者Michael Hassenblass先生的一本免费书籍可供下载,其中包含针对希望攻击云原生基础设施的个人的提示和技巧。
  • [1:00] 对演讲感兴趣的听众可以在周四加入演讲者。

在云原生安全大会上运行CTF

  • [1:25] 演讲涵盖了过去几年在云原生安全大会上如何运行CTF。
  • [1:30] 它涵盖了他们所做的事情、他们希望为参会者实现的目标,以及他们如何保持脆弱的理智。
  • [1:38] 他们每天按需配置数千个节点。
  • [1:44] 多年来,他们在线下和线上都运行过CTF,规划始于2019。
  • [1:55] 他们着手确定在Kubernetes上为Kubernetes运行CTF需要什么。
  • [2:04] 一个关键担忧是在不使整个基础设施崩溃的情况下做到这一点。
  • [2:09] 构建一个自托管的安全游戏并邀请所有人攻击它被描述为可怕的。

云原生安全红队场景

  • [2:19] 目标是传达如何最好地保护云原生基础设施。
  • [2:25] 场景是红队演练,包括完整的演示、拆解和修复。
  • [2:32] 框架借鉴孙子:最好的防御是进攻,并知己知彼。
  • [2:37] 目标是回馈这个分享了如此多的社区。
  • [2:44] 特色是邪恶的#PirateCaptain和他同名的比特币袋子。
  • [2:55] 还有过去几年激发安全热情的Untitled Goose。
  • [3:04] 这是一个适合所有技能水平的学习体验,每次活动都从入门场景开始,并逐步增加难度。
  • [3:12] 进程像一个游戏,在整个旅程中变得越来越难,以吸引所有技能水平并培养对安全的兴趣。
  • [3:23] 使用专用基础设施来模拟真实世界系统,但以一定的复杂性为代价。

云原生CTF和学习目标

  • [3:33] 目标不是寻找终极安全忍者,而是水涨船高。
  • [3:37] 玩家获得快速反馈和支持,以增强他们的学习体验。
  • [3:45] 街头艺术家Banksy的数字重建展示了海盗们玩云原生CTF。
  • [3:59] 图像包括一抹稳定扩散以增强效果。

安全软件是不可能的

  • [4:03] 没有安全软件这回事,因为新功能快速发布,漏洞不断出现。
  • [4:19] 新功能可能包含未经测试的代码路径。
  • [4:26] 具有安全副作用的未经测试的代码路径默认是漏洞。
  • [4:34] 我们优先发布功能而非修复漏洞,这是危险的。
  • [4:48] 这类似于红队和蓝队之间的摩擦。
  • [5:01] 组织必须进化才能生存,因为他们的对手也在进化。
  • [5:06] 问题是如何在安全的学习环境中呈现这个复杂的谜题。

真实基础设施上的现实攻击场景

  • [5:11] 场景作者旨在构建他们能管理的最现实的场景。
  • [5:16] 这包括构建基础设施图和威胁建模场景,借鉴了在受监管行业和初创公司中的咨询经验。
  • [5:28] 展示了一个正在进行的供应链攻击,Hashjack 船长过去曾通过多种网络系统攻击过系统。
  • [5:37] 过去的攻击目标包括打包仓库、容器注册表和超文本咖啡壶控制协议。
  • [5:47] 在真实基础设施上运行平台可以模拟现实生活中的场景。
  • [5:54] 咖啡壶和物联网攻击并非例外。

Kubernetes CTF 安全寻宝图

  • [6:02] 目标是尽可能有效地教育尽可能多的人。
  • [6:10] 展示了《Hacking Kubernetes》一书中的 Pod 安全寻宝图。
  • [6:15] 场景被有意设计得越来越复杂和困难,以具体化对广泛而复杂的安全格局的理解。
  • [6:29] 与所有 CTF 一样,玩家必须枚举可见范围、提升权限,并从死胡同和故意误导中反向退出。
  • [6:41] Pod 寻宝图详细描述了攻击者在 Kubernetes 集群中可能探索的许多路径。
  • [6:49] 每个场景只有一条预期路径,尽管玩家们发现了多条绕过、意外捷径和巧妙的变通方法作为完成的高尚路径。

Kubernetes 集群攻击面

  • [7:10] 玩家从一个终端、IP 地址和可选的 SSH 认证凭据开始,用于访问 Kubernetes 集群或其他基础设施。
  • [7:20] 第一个视图是一个运行 ncluster 的启用 root 的容器,玩家必须枚举可见的内容、发现不可见的内容,并探索潜在的入侵路径。
  • [7:36] 可能的攻击路径包括劫持会话和凭据、攻击可路由的 API 和数据存储,以及通过身份机制提升权限。
  • [7:50] 演讲者更喜欢携带便携式 bash 脚本以加速枚举和利用,并且对工具没有规则,只要有地方执行即可。
  • [8:04] 多年来,他们检查了许多漏洞和错误配置,包括容器镜像文件系统问题、失控的运行时、恶意挂载、未隔离的机密、特权 Pod 安全策略、敏感服务账户、无防火墙网络、糟糕的准入控制、暴露的 etcd、糟糕的 TLS 实现、联邦故障和控制平面问题。
  • [8:43] 该游戏之前是远程进行的,这次是面对面进行,以适应疫情。

大规模实时入侵模拟部署

  • [8:54] 高压实时部署涉及每天 2,500 个节点。
  • [9:10] 他们从开源入侵模拟器工具开始,该工具旨在帮助控制平面客户保护他们的云。
  • [9:14] 每个场景配置一个五节点集群,并且不启用集群重用。
  • [9:23] 由 Knative 支持的配置引擎可缩容到零,并且不集中在统一引擎中。
  • [9:33] Pub/Sub 队列和可重入状态机试图确保半配置的集群被强制激活,并在半部署时重新焕发活力。
  • [9:51] 为每个场景集群配对向每位玩家分发唯一凭据。
  • [10:01] 任务管理员在现场和 Slack 上提供提示、建议并引导人们完成挑战。
  • [10:13] 他们达到了每天启动 2,500 个节点,有 80 到 100 名参与者。

故障故事与教训

  • [10:23] 演讲者希望打破纪录。
  • [10:30] 演讲者问出了什么问题,并开玩笑说声称什么都没发生。
  • [10:37] 一个 AWS 内部 Ubuntu 镜像宕机,导致没有完成配置,模拟器完全瘫痪。
  • [10:49] 健康检查明显不健康,仪表板非常红,恐慌感上升。
  • [11:01] 该事件需要紧急重新配置到另一个区域。
  • [11:06] 有人想出了如何绕过初始 SSH 隧道沙盒。
  • [11:12] 安全配置和安全基础设施很难,他们不想让它太不安全。
  • [11:17] 集群管理员 RBAC 凭据消失并进入了堡垒节点。
  • [11:26] 测试套件只覆盖了正常路径。
  • [11:30] 通过这一切,他们似乎达到了目标。

感谢与给 CTF 玩家的建议

  • [11:36] 演讲者感谢所有玩过游戏、提供反馈并支持平台迭代的人。
  • [11:50] CTF 通常可能很大且令人望而生畏。
  • [11:55] 演讲者希望玩家专注于学习体验并走完场景。
  • [12:03] 如果玩家觉得想砸机器,他们应该引导这种情绪。

开源云原生入侵模拟

  • [12:09] 集群和场景是开源的,并在云原生入侵模拟上运行。
  • [12:18] 在 Kubernetes 模拟器项目下有一个托管版本,Control Plane 正在为那些想参与的人运行私人测试版。
  • [12:29] 幻灯片末尾出现了一个越界异常,表明没有什么是完美的。
  • [12:34] 邀请与会者明天与演讲者一起弹出一些 shell。

[0:00] 大家好,欢迎来到我们的演讲《通过黑客技术学习》。我们无比感激我们的弧光见证了云原生启蒙,并致以衷心的感谢。感谢你们,与会者、志愿者、贡献者以及参与 Kubernetes 愿景和交付的云原生计算基金会。文档和错误修复不会自己编写,推动开源社区的不可思议的无私贡献从未如此自由地给予或优雅地接受。

[0:36] 安全控制通常更难。在 Kubernetes 所著称的复杂编排中做到正确。我很抱歉。特别是对这些安全团队,我们感谢你们的辛勤工作。税务安全 CTF 反映了 Kubernetes 好船的开拓之旅。在互联网波涛汹涌和危险的自由海洋中。我们有一本免费的书可供下载,由我和我真正的合著者 Michael Hassenblass 先生撰写。对于想要攻击云原生基础设施的个人,可能有有用的提示和技巧。如果你对这次演讲足够感兴趣,周四加入我们。

[1:21] 并玩我们的新场景。所以我们将讨论过去几年我们在云原生安全大会上如何运行 CTF。我们做了什么,我们希望为你们,与会者实现什么,以及我们如何在按需提供数千个笔记时保持脆弱的理智。每天。多年来,我们亲自、虚拟地运行 CTF。这些活动的规划始于 2019 的空灵和朦胧的夜晚。

[1:55] 当我们着眼于确定在 Kubernetes 上为 Kubernetes 运行 CTF 需要什么时。而不会让整个基础设施在我们周围崩溃。没有什么比构建一个自托管的安全游戏并邀请所有人尽情享受更可怕的了。我们的目标是传达如何最好地保护云原生基础设施,它们是红队场景,包含完整演示、拆解和修复。

[2:32] 正如孙子告诉我们的,最好的防御形式是攻击。认识你自己。我们希望回馈社区,社区如此慷慨地与我们分享了这么多。这里站着邪恶的 #PirateCaptain 带领着他同名的比特币袋子。以及在过去几年中激发了如此多安全热情的 Untitled Goose。

[3:04] 这是适合所有技能水平的学习体验,从每个活动的入门场景开始,难度逐渐增加,作为一个游戏在整个旅程中变得越来越难,以吸引和激发所有技能水平的兴趣,帮助培养和巩固对安全及周边领域的兴趣。借助专用基础设施,我们力求以一定的复杂性为代价模拟尽可能多的真实世界系统。我们将在演示中稍微深入一些。目标不是找到终极安全忍者,而是水涨船高,让所有船只升起,并且玩家有快速的反馈和支持来增强他们的学习体验。

[3:45] 但首先,这是街头艺术家 Banksy 的数字重建。一群海盗玩云原生 CTF 会是什么样子。再加上一点稳定扩散效果。所以没有安全的软件这回事。我们尽可能快地覆盖基础设施中丰富多彩的漏洞选择,新功能就被发布了。软件发展迅速。

[4:18] - 那些新功能可能包含未经测试的代码路径。我不确定。任何带有安全副作用的未经测试的代码路径默认都是漏洞。我们优先发布功能而非修复漏洞,当然是在冒险。这就是现代软件的现实,我们每天都在平衡。与我们在红队和蓝队之间看到的摩擦相似,上一个动画中的任何相似之处都不是巧合。

[4:57] 组织不仅为了竞争优势而进化,它们必须这样做才能生存,因为它们的对手也在进化。那么我们如何在一个安全的学习环境中呈现这个复杂的谜题?作为场景作者,我们力求构建我们能管理的最现实的场景。这包括构建基础设施图和威胁建模场景。它帮助我们以最大程度的真实性进行开发,并且源于我们与受监管行业和初创公司咨询的经验。

[5:28] 在这里我们可以看到供应链攻击正在进行中。Captain Hashjack 过去通过各种网络系统攻击系统。包括打包仓库、容器注册表和著名的超文本咖啡壶控制协议。没有一块石头不被翻动,在真实基础设施上运行平台让我们有机会模拟我们在现实生活中看到的模拟。咖啡壶和物联网攻击也不例外。

[6:02] 我们力求尽可能有效地教育尽可能多的人,这里我们看到来自《Hacking Kubernetes》一书的 Pod 安全藏宝图。这些场景有意变得越来越复杂和困难。这有助于巩固玩家对广阔而复杂的安全格局的理解,并且与所有 CTF 一样,与会者和玩家必须枚举可见的地平线,提升他们的权限,从死胡同和故意的误导中反向返回。

[6:40] 再见。这张 Pod 藏宝图详细列出了攻击者可能在 Kubernetes 集群内探索的许多路径。但每个场景中,玩家只有一条有意设计的路线可寻,同时还有玩家们发现的笔记和注意事项、多条绕过路径、意外捷径和巧妙变通,都是通往完成的正当路线。那么 CTF 是如何进行的?使用终端、IP 地址,以及可选的 SSH 会话、Kubernetes 集群或其他神秘基础设施的认证凭据。

[7:20] 这里我们看到玩家被放入运行 ncluster 的 root 权限容器时对集群的第一印象。他们必须枚举可见之物、发掘不可见之物,并开始探索集群中潜在的入侵路径。这可能包括劫持会话和凭据、攻击从起点可路由的 API 和数据存储,以及通过云原生系统可能拥有的任何及所有身份机制提升权限。我个人偏好携带一套便携的 bash 脚本,以加速枚举和利用。

[7:57] 然而,对于你能携带什么工具并没有规则。你只需要找到某个地方来执行它。多年来,我们研究过大量漏洞和错误配置,从容器镜像文件系统混乱和失控的运行时,到安全配置、恶意挂载、未隔离的机密、特权 Pod 安全策略、敏感服务账户、无防火墙网络、糟糕的准入控制、暴露的 etcd、糟糕的 TLS 实现、联邦故障、长期的控制平面控制等等。

[8:34] 配置和无限制的用户暴露。还有更多,从 Ingress 到内核。我们曾远程进行这个游戏。这次我们现场进行。为适应疫情并转向虚拟活动、在线聚会,通过 Slack 运行基础设施,和平从来都不是选项。那么,我们如何应对这种每天游戏期间跨 2500 个节点的高压实时部署?我们从开源入侵模拟器工具开始,它旨在帮助控制平面客户保护他们的云,每个场景配置一个五节点集群。

[9:18] 并且不启用集群复用。我们加入双倍剂量的超大规模配置引擎,由 Knative 支持,可缩容至零。这些并不集中在一个统一引擎中。它依托于 Pub/Sub 队列和可重入状态机,试图确保即使是半配置的集群也被迫复活,并在半部署时重新焕发活力,而这只是意味着,如我们所知,分布式系统很难。

[9:51] 然后,唯一凭据被分发给每位玩家,对应每个场景集群配对,游戏开始。我们可靠的 Taskmaster 现场和 Slack 上待命,分发提示、提供建议并引导人们通过挑战路径。所有这些加起来。我们按需启动集群,达到了每天启动两千五百个节点、有 80 到 100 名参与者的高峰。

[10:23] 我们希望打破这个记录。在周四,出了什么问题?如果我们说什么都没发生,你真的会相信我们吗?有过那么一次,AWS 内部的 Ubuntu 镜像源宕机了。你可以想象,没有任何配置完成。模拟器只是主机,彻底瘫痪。健康检查明确不健康。为了展示这一点。典型的分布式系统问题,当 EC2 无法配置虚拟机时,非常红的仪表盘,不断上升的恐慌感,由此产生,需要我们紧急重新配置到另一个区域。

[11:05] 我不确定。那次有人设法绕过了初始的 SH 隧道沙箱,这也很有趣。安全配置和安全基础设施很难。我们不想它太不安全。当集群管理员对 RBAC 进行 RBAC 时,RBAC 凭据消失了,不见了。当测试套件也只覆盖快乐路径时,它们找到了进入堡垒机节点的方法。而贯穿这一切,我们似乎达到了目标。我们感谢每一位玩过这个游戏的人,感谢你们给予我们反馈,并给予我们机会迭代这个我们喜爱玩的精彩、令人愉快的平台。

[11:50] CTF 往往可能规模很大。会让人感到望而生畏吗?所以我们希望你专注于学习体验。走一遍场景。如果你觉得想砸机器,请把那种冲动引导到别处。而我们今天的集群和场景当然是开源的,运行在这个云原生入侵模拟器上。在 Kubernetes 模拟器项目之下,有一个托管版本,Control Plane 正在运行一个私人测试版,如果你想参与的话。

[12:28] 如你所见,没有什么是完美的,幻灯片末尾有一个越界异常,如果你想和我们一起弹出一些 shell,请明天来玩。谢谢。

查看英文原始字幕

[0:00] Hello and welcome. To our talk, Learn by Hacking. We're infinitely grateful that our arc saw the cloud native enlightenment, and we extend a heartfelt thank you. To you, the attendees, volunteers, contributors and the Cloud Native Computing Foundation involved in the vision and delivery of Kubernetes. Documentation and bug fixes do not write themselves, and the incredible selfless contributions that drive open source communities have never been more freely given or gracefully received.

[0:36] security controls are generally more difficult. to get right in complex orchestrations with the functionality that Kubernetes is known for. I'm sorry. To these security teams especially, We thank you for your hard work. The tax security CTFs are a reflection of the pioneering voyage of the good ship of Kubernetes. out in the choppy and dangerous free seas of the Internet. We have a free book available to download written by myself and my veritable co-author, Mr. Michael Hassenblass. There may be useful tips and tricks for individuals looking to assail the cloud-native infrastructure. If you're intrigued enough by this talk, to join us on Thursday.

[1:21] and play our new scenarios. So we're going to talk about how we run CTFs at Cloud Native Security Con over the past years. what we did, what we hope to achieve for you, the attendees, and how we maintained our fragile sanity. while provisioning thousands of notes on demand. per day. I Over the years, we have run CTFs in person, virtually. Planning for these events began in the ethereal and misty nights of 2019.

[1:55] As we looked to determine what it would take to put together a CTF running on Kubernetes for Kubernetes. without having the entire infrastructure come crumbling down around us. Nothing is more terrifying than building a self-hosted security game and inviting all and sundry to have a blast at it. Our goals are to communicate how best to secure cloud native infrastructure, They are red team scenarios with full demonstrations, teardowns and remediations.

[2:32] The best form, as Sun Tzu has told us, of defence is attack. Know thyself. And we look to give something back to the community that has so generously shared so much with us. here stands the nefarious #PirateCaptain leading the charge with his eponymous bag of Bitcoin. and the Untitled Goose that sparked so much security enthusiasm across the last few years.

[3:04] This is a learning experience for all skill levels, starting with an introductory scenario at each event, building up in difficulty, progressing as a game that gets more and more difficult throughout the journey to captivate and intrigue all skill levels and help nurture and seat the interest in and around security. With dedicated infrastructure, we look to emulate as much of the real-world systems at some cost of complexity. that we were going to delve slightly further into the presentation. The goal is not to find the ultimate security ninja but there rising tide that will lift all boats, and that players have fast feedback and support to enhance their learning experience.

[3:45] But first, here is a digital reconstruction by the street artist Banksy. of what a bunch of pirates would look like playing a cloud-native CTF. with a splash of stable diffusion for effect as well. So there is no such thing as secure software. As fast as we can possibly paint over the colourful selection of vulnerabilities in our infrastructure, new features are shipped. Software moves quickly.

[4:18] - and those new features potentially feature untested code paths. I'm not sure. And any of those untested code paths with security side effects are by default vulnerabilities. We prioritize shipping features over fixing vulnerabilities at our peril, of course. And this is the reality of modern software that we balance in our day-to-day every day. Resemblance to the friction we see between red teams and blue teams Any resemblance in that last animation is not a coincidence.

[4:57] Organizations not only evolve for competitive advantage, they must do so in order to survive because their adversaries are also evolving. So how do we represent that complex puzzle in a safe learning environment? As scenario authors, we look to construct the most realistic scenarios that we can manage. That includes building infrastructure diagrams and thread modeling scenarios. It helps us develop with the greatest degree of realism and is born from our experience consulting with regulated industries and startups alike.

[5:28] Here we can see a supply chain attack in progress. Captain Hashjack has attacked systems through various network systems in the past. including packing repositories, container registries, and the notable hypertext coffee pod control protocol. with no stone left unhindered, Running the platform on real infrastructure gives us the opportunity to emulate simulations we see in real life. Coffee pots and IoT attacks are not the exception.

[6:02] And we are looking to educate as many people as possible as effectively as we can, here we see a pod Security treasure map from the book, "Hacking Kubernetes," These scenarios are intentionally increasingly complex and difficult. This helps to crystallize players' understanding of a wide and complex security landscape and, as with all CTFs, Attendees and players must enumerate the visible horizon, escalate their privilege, reverse back from dead ends, and intentional misdirections.

[6:40] Bye. This pod treasure map details many of the routes that an attacker might explore within a Kubernetes cluster. But with each scenario, there is only one intentional route for a player to find, with the notes and caveats that players have found, multiple bypasses, unintended shortcuts and wily workarounds as noble routes to completion. So how is the CTF played? With a terminal, IP address, and optional authentication credentials for an SSH session, a Kubernetes cluster, or other mystery piece of infrastructure.

[7:20] Here we see the first view of a cluster that a player has when placed in a root-enabled container running ncluster. They must enumerate the visible, uncover the invisible, and start to explore potential routes of compromise in the cluster. This may include hijacking sessions and credentials, attacking APIs and data stores routable from the starting point, and escalating privilege through any and all identity mechanisms, a cloud-native system may have. My personal preference is to bring a portable set of bash scripts to speed up enumeration and exploitation.

[7:57] However, there are no rules what tooling you can bring with you. You just need to find somewhere to execute it from. Over the years, we have looked at a whole host of vulnerabilities and misconfigurations, from container image file system foobars and runaway runtimes to secure config, malicious mounts, unsequestered secrets, privileged pod security policies, sensitive service accounts, no firewall networking, awful admission control, exposed etcds, terrible TLS implementations, federation failures, chronic control plane control, and so on.

[8:34] configurations and unlimited user exposures. And there's more from Ingress to the kernel. We played this remotely. We're playing it in person this time around. adapting to the pandemic and running from virtual events, online gatherings, running the infrastructure over Slack, Peace was never an option. So how did we go about this high pressure live deployment of 2500 nodes across each day we play the game? We start with the open source breach simulator tool built to help control planes clients secure their clouds, One five-node cluster is provisioned for each scenario.

[9:18] I And cluster reuse is not enabled. We add a double dose of super massive provisioning engines backed by Knative, scaling to zero. These are not centralized in a unified engine. This sits on the back of a Pub/Sub queue and reentrant state machine, which tries to ensure that even half provisioned clusters are forced into life and reinvigorated when half deployed, which just means distributed systems, as we know, are hard.

[9:51] Then, the unique credentials are distributed to each player for each scenario cluster pairing, and the games begin. Our trusty Taskmasters are on hand in person and on Slack, to hand out hints, offer suggestions and guide people through the path of the challenges. All this adds up. We spin up the clusters as needed and we hit the lofty heights of two and a half thousand nodes spun up per day with 80 to 100 participants.

[10:23] We hope to beat this record. on Thursday, What has gone wrong? Would you really believe us if we said nothing? There was that. one time And AWS internal-- Ubuntu Mirror went down. As you can imagine, nothing completed provisioning. simulator was just Host, dead in the water. Health checks are decidedly unhealthy. to showcase that. Typical distributed system problems when EC2 wouldn't provision VMs, a very red dashboard, a rising sense of panic, came from it that required us reprovisioning into a different region post-haste.

[11:05] I'M NOT SURE. That time somebody figured out how to bypass the initial SH tunnel sandboxing, which was also interesting. securely provisioning and secure infrastructure is hard. We don't want it too insecure. When the Cluster Admin RBACs the RBAC credentials disappeared, gone. found their way into a bastion node when the test suite only cover the happy paths also. And through it all, we seem to have hit our goal We're thankful to everybody who has played the game, given us feedback and given us the opportunity to iterate on this wonderful, thoroughly enjoyable platform that we love to play.

[11:50] CTFs can often be big. Can't feel daunting? So we hope that you focus on the learning experience. Walk through the scenarios. and If you feel like smashing machines, Channel that, please. And our clusters and scenarios today are of course, open source running on this cloud native breach simulation. Underneath the Kubernetes simulator project, there is a hosted version and Control Plane are running a private beta if you would like to be involved.

[12:28] As you can see, Nothing is perfect, there's an out of bounds exception on the end of the slide, if you would like to pop some shells with us please come and play tomorrow. Thank you.

在Vidleaf工作台中打开

搜索转录文本,选择行,复制带时间戳的引文,翻译。

在工作台中打开 →

署名

“主题演讲:通过黑客技术学习:如何运行一个 2,500 节点 Kubernetes CTF - Andrew Martin & Andrés Vega”,由 CNCF [云原生计算基金会] (https://www.youtube.com/@cncf) 制作,依据 CC BY 3.0 (https://creativecommons.org/licenses/by/3.0/) 许可。源视频:https://www.youtube.com/watch?v=DCAumwUKlF0。本页是视频的文本转录,添加了段落分隔和时间戳;创作者与 Vidleaf 无关联,也不为其背书。Vidleaf 添加了 AI 标点和 AI 生成的摘要;原始措辞仍可在本页查看。

您是创作者或权利持有人吗?请求更正或移除:copyright@vidleaf.app(参见关于这些页面)。

最后更新于