OpenAI发布GPT-6 Cyber模型,发现948个Linux内核漏洞
Investigating Linux Vulnerabilities with GPT-6 Cyber
GPT-6 Cyber作为全新发布的垂直领域旗舰模型,展示了从发现到修复的完整闭环能力,直接冲击传统安全研究范式,值得安全与AI从业者关注。
We used our most capable cyber model together with a custom uh vulnerability research pipeline to analyze Linux kernel security. [music] Eventually, we got 948 confirmed LP exploits for Linux kernel.
我们将最强大的网络模型与自定义漏洞研究流水线结合使用,以分析 Linux 内核的安全性。[音乐] 最终,我们获得了 948 个经确认的 Linux 内核本地权限提升(LP)利用工具。
So, Kyle, what's your role at OpenAI?
那么,Kyle,你在 OpenAI 担任什么角色?
I'm a security researcher doing model training using the cyber model to find vulnerabilities in open source projects. Before joining open AAI, I was a independent security researcher doing a PhD at ASU. [music] I participated in a lot of the cyber security competitions like pontoon, typhoon pawn and colonel CTF. [music] Each LP or local privilege [music] escalation exploit allows a unprivileged user to fully control the system.
我是一名安全研究员,负责使用网络模型进行模型训练,以在开源项目中寻找漏洞。在加入 OpenAI 之前,我是一名独立的安全研究员,并在亚利桑那州立大学(ASU)攻读博士学位。[音乐] 我参与了众多网络安全竞赛,如 Pontoon、Typhoon Pawn 和 Colonel CTF。[音乐] 每个 LP(本地权限提升)或本地权限提升利用工具都允许未授权用户完全控制系统。
I think another important thing to clarify here is that this pipeline the end of it is a exploit or reproduction script that [music] when you run it you can observe the behavior of going from a unprivileged user to root. These are not hypothetical vulnerabilities or the model says oh I think I found something here. This is something that the output you can just run it and observe that it works. The agent initially [music] got 2,38 candidate findings. those are not validated ones.
我认为这里需要澄清的另一件重要事情是:该流水线的最终产出是一个利用工具或复现脚本,当你运行它时,你可以观察到从普通用户到 root 权限的行为变化。这些不是假设性的漏洞,也不是模型说“我觉得我在这里找到了什么东西”。这是你可以直接运行并观察其有效性的输出结果。智能体最初获得了 2,38 个候选发现项,但这些尚未验证。
So for the 2,00 findings, the [music] agent says there is a potentially a vulnerability here and then we use a dynamic environment to validate them. [music] So to find vulnerabilities, we identify security relevant code regions in the codebase because not [music] every line of code in Linux is security relevant. And then we ask a group of analyst agents to perform security audit on each of the region and then identify all the potential vulnerabilities without validating them.
对于这 2,00 个发现项,智能体指出此处可能存在漏洞,然后我们使用动态环境来验证它们。[音乐] 为了寻找漏洞,我们在代码库中识别出与安全相关的代码区域,因为并非 Linux 的每一行代码都与安全性相关。然后,我们要求一组分析师智能体对每个区域执行安全审计,从而识别出所有潜在漏洞,而无需对其进行验证。
In [music] the next stage, a group of triage agent will take the unvalidated reports [music] and actually launch a virtual machine and try to trigger this vulnerability and get a [music] actual PLC working. So one key part here is that it's not just statically reasoning about the code. It's actually dynamically confirming that we are observing some sort of crash or other unintended [music] behavior.
在下一个阶段,一组分类智能体会接管这些未经验证的报告,实际启动虚拟机,尝试触发此漏洞并获得一个实际工作的 PLC(本地权限提升)。这里的关键部分是,它不仅仅是静态地推理代码,而是实际上通过动态方式确认我们是否观察到某种崩溃或其他非预期的行为。
Exactly. After we validated the vulnerability reports, we will evaluate their exploitability as in how many of these vulnerabilities can [music] be used for LP exploits.
没错。在验证了漏洞报告后,我们会评估它们的可利用性,即这些漏洞中有多少可以用于 LP 利用。
So you actually have a demo for one of the over 900 uh exploits that were generated. [music] Do you mind showing us what that looks like?
所以,你实际上有一个演示,展示了生成的 900 多个利用工具中的一个。[音乐] 你介意向我们展示一下它的样子吗?
This is a very small virtual machine running the latest Ubuntu. Now if we run the exploit, it says root access granted. We are starting from a normal user. Now we're [music] granted root access. So currently the way our patch system works is that for each generated exploit, [music] we will generate a patch. So Kyle, you built a dashboard for this pipeline. Could you show us what that looks like?
这是一台运行最新 Ubuntu 的非常小的虚拟机。现在如果我们运行漏洞利用程序,它显示已授予 root 访问权限。我们是从普通用户身份开始的。现在我们[音乐]被授予了 root 访问权限。所以目前我们的补丁系统的工作方式是,对于每个生成的漏洞利用程序,[音乐]我们将生成一个补丁。所以 Kyle,你为这个流水线构建了一个仪表板。你能给我们展示一下它是什么样子的吗?
Yeah, here is the dashboard. As you can see here, we have more than 5,000 audit targets that led to more than 2,000 candidate findings. [music] This dashboard tracks the token usage and also the API credit spanning of each stage. Our pipeline will track the findings [music] and we can click into it. This is the vulnerability reports. We also generate a suggested patch here for maintainers reference how this vulnerability can be addressed.
好的,这是仪表板。如你所见,我们有超过 5,000 个审计目标,导致了超过 2,000 个候选发现。[音乐]该仪表板跟踪令牌使用情况以及每个阶段的 API 信用额度范围。我们的流水线将跟踪这些发现[音乐],我们可以点击进去查看。这是漏洞报告。我们还在这里生成建议的补丁,供维护者参考如何解决此漏洞。
Currently it's still human [music] still review these patches before we upstream and then send them to the maintainers. So Kyle, why did we focus on Linux? Linux kernel is the backbone of the internet. It powers Android phones, a lot of the servers and supercomputers out there running critical tasks. So, it's very important, but it's also complicated. [music] It has 40 million lines of code. It's basically impossible for a human or even just one organization to analyze the all the source code or code base to identify all the vulnerabilities in the codebase [music] that can potentially be abused by an attacker to compromise these devices. [music] So the pipeline you built found almost a thousand LPEs.
目前,在我们将补丁提交到上游并发送给维护者之前,仍然需要人工[音乐]审查这些补丁。所以 Kyle,为什么我们要专注于 Linux?Linux 内核是互联网的骨干。它为 Android 手机、大量的服务器以及运行关键任务的超级计算机提供支持。因此,它非常重要,但也相当复杂。[音乐]它有 4000 万行代码。基本上,人类或甚至单个组织都不可能分析所有源代码或代码库以识别代码库中的所有漏洞,[音乐]这些漏洞可能会被攻击者滥用从而危及这些设备。[音乐]所以你构建的流水线发现了近一千个本地提权(LPE)漏洞。
Is that a lot?
这算多吗?
In the past I was able to demonstrate LP exploits at multiple competitions such as Typhoon Pawn, Pontto, Konos CTF. I was considered a successful Linux kernel vulnerability researcher and [music] I only had around 10 successful demonstration at those places. For [music] a successful career, I will say 20 will be before AI, it will be a huge number for a very [music] successful security researcher. That was like 10.
过去,我能够在 Typhoon Pawn、Pontto、Konos CTF 等多个比赛中演示 LPE 漏洞利用。我曾被视为一名成功的 Linux 内核漏洞研究人员,并且[音乐]在那类场合中我只有大约 10 次成功的演示。对于[音乐]一段成功的职业生涯来说,我会说在 AI 时代之前,20 次是一个巨大的数字,这对于一位非常[音乐]成功的安全研究员而言。那大概是 10 次。
That was like 10 and 20. Now 948 LP is not just potentially exploitable exploits. It's kind of like a insane number. So it sounds like you had spent years developing your expertise in
那是大约 10 次和 20 次。现在有 948 个 LPE 不仅仅是潜在可被利用的漏洞利用程序。这简直是一个疯狂的数量。听起来你花了多年时间培养你在
[music]
[音乐]
uh Linux kernel security and then what AI has allowed you to do is to uh amplify and scale your expertise. Yes, I believe that is [music] true. Even before AI, I was able to use dynamic analysis or static analysis techniques to find and validate vulnerabilities. In this work, I just used AI [music] to amplify this capability and my knowledge. One thing I found really interesting about this work is that [music] how you count vulnerabilities is actually not obvious.
呃,Linux 内核安全。然后,AI 让你能够放大并扩展你的专业知识。是的,我相信这是[音乐]真的。即使在 AI 之前,我就能使用动态分析或静态分析技术来发现并验证漏洞。在这项工作中,我只是利用 [音乐] AI 来增强这种能力和我的知识。我发现这项工作真正有趣的一点是,[音乐] 如何计算漏洞实际上并不明显。
So in the past when there is a vulnerability there is a patch and other security researchers seeing this [music] report may perform a variant analysis to find variance of the vulnerabilities and then maintainers will create new patches for them. Those will be considered as different vulnerabilities. During this research, our patch generation pipeline is able to automatically perform variant analysis and create patches that can patch multiple variants at the same time which introduces a implicit difficulty in buck counting.
所以过去当存在一个漏洞时,会有一个补丁,其他安全研究人员看到这份 [音乐] 报告后,可能会进行变体分析以寻找漏洞的变体,然后维护者会为它们创建新的补丁。这些将被视为不同的漏洞。在这项研究中,我们的补丁生成流水线能够自动执行变体分析,并创建可以同时修补多个变体的补丁,这在 bug 计数中引入了隐式的困难。
Let's say in the past we have three variants of the same code pattern and we will count it as three vulnerabilities but these days our patch generation will patch it with one patch. So is that three bucks or one bug? This leads to a non-trivial situation where the number of bugs is not equal to the number of patches. So to avoid [music] this confusion in the blog we explicitly mention that the number of exploits [music] um was more than 1,00 but then we report only 948 vulnerabilities because they were able to be addressed [music] with 948 patches.
假设过去我们有同一代码模式的三个变体,我们会将其计为三个漏洞,但如今我们的补丁生成会用一个补丁来修复它。那么这是三个 bug 还是一个 bug?这导致了一个非平凡的情况,即 bug 的数量不等于补丁的数量。因此,为了避免 [音乐] 这种混淆,我们在博客中明确指出,exploit [音乐] 的数量超过 1,000,但我们只报告了 948 个漏洞,因为它们能够通过 [音乐] 948 个补丁来解决。
I think this is a very maintainer focused way of thinking about the [music] problem because think about the people who own this codebase. Do they want say a million different patches or do they want the minimal set of patches that maximally solve the most problems? Yes, you could do separate fixes [music] for all of them, but that's actually more work for the maintainers and more code for them to maintain. But if you can just find the minimal set of code changes that fixes the most issues and perhaps that could also even be architectural changes or other like strategic [music] fixes, uh that's really the type of changes we want to be making and the focus here is saving [music] maintainer time.
我认为这是一种非常面向维护者的思考 [音乐] 问题的方式,因为想想那些拥有这个代码库的人。他们是想要一百万个不同的补丁,还是想要能最大程度解决最多问题的最小补丁集?是的,你可以为所有问题分别进行修复 [音乐],但这实际上会给维护者带来更多工作,也需要他们维护更多的代码。但是,如果你能找到能修复最多问题的最小代码变更集,甚至可能是架构变更或其他类似的战略性 [音乐] 修复,那确实是我们希望进行的变更类型,这里的重点在于节省 [音乐] 维护者的时间。
This reduced number of patches is going to reduce maintainers effort which is helping them. However, this type of patches that patches at a common sync is able to lead to a performance regression which in some cases that maintainers prefer to create multiple patches at the source of the vulnerabilities instead of at the common path. When and how how to decide where to patch will be a open uh open research question.
补丁数量的减少将降低维护者的工作量,从而对他们有所帮助。然而,这种在公共同步点打补丁的方式可能导致性能回归,因此在某些情况下,维护者更倾向于在漏洞源头而非公共路径上创建多个补丁。何时以及如何决定在何处打补丁将成为一个开放的研究问题。
So, Kyle, we found a number of security issues and generated patches for them as well. What was [music] it like working with the Linux maintainers to try to not just find but actually get these vulnerabilities fixed? [music]
因此,我们发现了若干安全问题,并为它们生成了相应的补丁。与 Linux 维护者合作,不仅发现这些漏洞,而且实际修复它们,是什么样的体验?[音乐]
They have been positive over the process. A lot of the patches that we sent out have been merged. Of course, they will be reviewed by us first and then uh extra maintainers. Some of them when they detect issues in our
整个过程进展顺利。我们发送的大多数补丁都已被合并。当然,它们会先经过我们的审查,然后再由额外的维护者审核。其中一些在检测到我们……
[music]
[音乐]
uh patches, they will point it out nicely and then we will provide another version. We basically use three steps to make sure that the patches we send to the maintainers are of high quality and following their convention. First is [music] we built our own pipe generation system that has good patch g
补丁中的问题时,他们会友好地指出,然后我们会提供另一个版本。我们基本采用三个步骤来确保发送给维护者的补丁具有高质量并遵循他们的规范。首先是 [音乐] 我们构建了自身的补丁生成系统,该系统具备良好的补丁 g
原文超出正文长度上限,此处截断——上游还有内容,完整版见上方「原文 ↗」。
更进一步:量化金融体系
看懂新闻只是起点——沿量化金融路径,把它变成能交付的工程能力