黑客技术
点击放大

github.com/xoreaxeaxeax/rosenbridge // domas //
<img src="rosenbridge.gif" width="500">
project:rosenbridge reveals a hardware backdoor in some desktop, laptop, and
embedded x86 processors.
The backdoor allows ring 3 (userland) 代码 to circumvent processor protections
to freely read and write ring 0 (kernel) data. While the backdoor is typically
disabled (requiring ring 0 execution to enable it), we ha that it is
*enabled by default* on some systems.
This repository contains utilities to check if your processor is affected, close
the backdoor if it is present, and the research and tools used to discover and
analyze the backdoor.
The rosenbridge backdoor is a small, non-x86 core embedded alongside the main
x86 core in the CPU. It is enabled by a model-specific-register control bit,
and then toggled with a _launch-instruction_. The embedded core is then fed
commands, wrapped in a specially formatted x86 instruction. The core executes
these commands (which we call the 'deeply embedded instruction set'), bypassing
all memory protections and pri checks.
While the backdoor should require kernel le to activate, it has been
observed to be *enabled by default* on some systems, allowing any unpri
code to modify the kernel.
The rosenbridge backdoor is entirely distinct from other publicly known
coprocessors on x86 CPUs, such as the Management 引擎 or Platform Security
Processor; it is more deeply embedded than any known coprocessor, having access
to not only all of the CPU's memory, but its register file and execution
pipeline as well.
It is thought that only VIA C3 CPUs are affected by this issue. The C-series
processors are marketed towards industrial automation, point-of-sale, ATM, and
healthcare hardware, as well as a of consumer desktop and laptop
computers.
The scope of this is limited; generations of CPUs after the C3 no
longer contain this feature.
This work is released as a case study and thought experiment, illustrating how
backdoors might arise in increasingly complex processors, and how researchers
and end-users might identify such features. The tools and research offered
here provide the starting point for e processor
research.
To check if your CPU is affected:
The provided utility must be run on baremetal (not in a ), and is
in an *alpha* state. It may crash, panic, or hang systems not containing the
backdoor.
The utilities provided here are designed around a specific processor family and
core; unfortunately, the tools will miss the backdoor if it has been even
slightly modified from the researched form.
Some systems have the backdoor enabled by default, allowing unpri 代码 to
gain kernel le without permission. If the steps in 'Checking your
CPU' indicate that your CPU is , you can install a script to close the
backdoor early in the boot process:
Note that, even with this, an attacker with kernel le can still
re-enable the backdoor. This script is provided as an outline for correcting
the issue during the boot process, but will require adaptation for different
systems.
The sandsifter utility is used
extensively in this research for unco unknown instructions.
* asm
An assembler for the Deeply Embedded Instruction Set (DEIS). It converts
programs written in the custom rosenbridge assembly into x86 instructions,
which, when executed following the _launch-instruction_, will send the
commands to the hidden CPU core.
* esc
A proof-of-concept of using the rosenbridge backdoor for pri
escalation.
* fix
A rough outline for closing the on affected systems, to the
extent possible through model-specific-register updates.
* fuzz
A collection of utilities used to fuzz both the x86 and rosenbridge cores,
in order to isolate the unknown _launch-instruction_ and
_bridge-instruction_, and resolve the instruction format of the rosenbridge
core.
* deis
The fuzzer used to explore the effects and capabilities of the
hidden CPU core.
* exit
It is thought that, on some processors, an exit sequence is needed to
switch back to the x86 core at the end of a DEIS sequence. This
directory contains the utilities used to search for the exit sequence in
early stages of the research, but was abandoned when a processor was
found not requiring any such sequence.
* manager
A collection of python utilities designed to monitor and manage fuzzing
tasks distributed across a 网络 of workers.
* wrap
A stripped down of the sandsifter fuzzer, used to identify the
bridge-instruction that will send commands from the x86 core to the
hidden rosenbridge core.
* kern
A collection of helper utilities used to monitor kernel memory and registers
for changes caused by fuzzed DEIS instructions.
* lock
Utilities to lock or unlock the rosenbridge backdoor.
* proc
A 工具 to identify patterns from the fuzzing logs to identify classes of
DEIS instruction behaviors.
* test
A 工具 used early in the research, to attempt to identify the hidden core's
architecture by executing known RISC instructions.
* util
An alpha-state 工具 to detect whether or not a processor is affected by
rosenbridge.
(TODO: link to whitepaper)
(TODO: link to slides)
The details and implications presented in this work are the authors’ inferences
and opinions, derived from the research described. The research is performed
and provided with the goal of identifying and fixing a percei
on the described CPUs. are renowned for
their low power usage and excellence in embedded designs; we believe that the
functionality described was created in good faith as a useful feature for the
embedded market, and was unintentionally left enabled on some early generations
of the processor. No malicious intent is implied.
project:rosenbridge is a research effort from Christopher Domas
().
开发语言:C
Star 数:2619
该项目属于黑客技术方向的开源资源,代码结构清晰,适合安全研究人员学习参考。项目围绕Hardware backdoors in x86 CPUs展开,提供了可运行的实现,对理解相关安全机制、工具原理与攻防技术具有较高的研究价值。
从技术实现角度看,此类项目的核心在于对底层原理的深入理解与工程化落地。开发者在研究过程中可以结合官方文档与社区讨论,梳理项目的初始化流程、核心模块职责与数据流转,逐步掌握其中的技术细节与设计思路。
1. 下载源码压缩包,解压到本地环境。
2. 根据项目类型准备对应的运行环境与依赖。
3. 按照 README 中的步骤完成配置与部署。
4. 在隔离的测试环境中运行验证,避免影响生产系统。
本资源来源于开源社区,仅供安全研究、技术学习与合法授权范围内的攻防演练使用,请勿用于任何非法或侵害他人权益的用途。使用本项目产生的一切后果由使用者自行承担。
| 资源标题 | rosenbridge - Hardware backdoors in x86 CPUs |
| 所属分类 | 黑客技术 |
| 发布作者 | admin |
| 发布时间 | 2026-10-05 22:14:32 |
| 下载权限 | 免费下载 |
| 附件数量 | 2 个下载链接 |
| 浏览次数 | 249 |
| 讨论数量 | 0 |
| 主题状态 | 正常讨论中 |