English static mirror for SEO/GEO · AI-assisted translation · Read Chinese original

Ring -3: The Never-Sleeping Master in the Abyss — Inside Intel ME and the Hidden Privilege Layer Below Your OS

Forum topic · ✨步子哥 · 2026-05-01

Summary

This forum post explores Ring -3, the highest x86 privilege layer embodied by Intel's Management Engine (ME/CSME) and AMD's Platform Security Processor (PSP). The author traces the privilege-ring hierarchy from Ring 3 user mode down to Ring -3, where an independent co-processor running custom Minix 3 firmware operates outside the main CPU, with DMA access to all physical memory and its own network stack. Key topics include the ME's architectural evolution from ARC cores with ThreadX to x86 Quark cores (ME 11.x), its persistence across ACPI power states including S5 soft-off, and landmark vulnerabilities such as the 2009 Black Hat Ring -3 rootkit demonstration and INTEL-SA-00086. The post also surveys practical auditing tools — Intel CSMEVDT, intelmetool, meinfo, and me_cleaner — and the HAP bit used to disable ME after boot, arguing that users do not truly control the lowest layer of their x86 machines.

The Ghost Emperor in Silicon: Who Watches When Your PC 'Shuts Down'

This post from zhichai.net, written from the perspective of a 20-year hardware and research veteran, is a deep dive into the so-called Ring -3 layer of x86 systems — dominated by Intel's Management Engine (ME), also known as CSME (Converged Security and Manageability Engine).

When you press the power button and your screen goes dark, an independent microprocessor in the chipset (PCH) quietly wakes up. It answers to neither Windows nor Linux: it is a sovereign entity holding supreme authority at Ring -3 — below even Ring 0 (kernel), Ring -1 (hypervisor), and Ring -2 (SMM).

The Privilege Pyramid: Ring 3 to Ring -3

  • Ring 3 (user mode): ordinary applications; must request resources via syscalls, fenced off by page tables.
  • Ring 0 (kernel): the "prime minister" — controls drivers, memory management, and scheduling.
  • Ring -1 (Hypervisor): VT-x / AMD-V virtualization, isolating guest OSes like sealed barrier realms.
  • Ring -2 (SMM): BIOS/UEFI firmware territory in SMRAM, handling SMI interrupts transparently to the OS.
  • Ring -3 (ME/CSME): the true sovereign — an independent co-processor in the PCH with full DMA privileges, its own network stack, and operation independent of the main CPU. It runs at full speed in S0, listens in standby during S5, and controls wake behavior after G3 via the AFTERG3_EN register.
  • The hierarchy flows one way: upper rings control lower ones, never the reverse. A Ring 0 EDR/antivirus product is effectively blind against Ring -3.

    ME Microarchitecture Evolution

  • ME 1.x–5.x (from 2006, 965 Express chipset): ARC RISC core running ThreadX RTOS with Huffman hardware compression — extremely hard to reverse engineer.
  • Nehalem–Broadwell (ME 6.x–10.x): integrated into the PCH, becoming an indispensable part of the motherboard.
  • Skylake onward (ME 11.x): Intel abandoned ARC for an x86 Quark core (i486-class, single-threaded, no SIMD/x87), running a custom Minix 3 OS. Modern ME is effectively a tiny x86 Unix computer inside every recent Intel CPU.
  • Firmware branches include CSME (desktop/mobile: AMT, Boot Guard, DRM, TPM emulation), SPS (Xeon servers: telemetry and power), and TXE (low-power tablets/SoCs: secure boot). All share the same CSE hardware core and identical Ring -3 privilege.

    Absolute Power: DMA and the Independent Network Stack

    The ME needs host DRAM to operate, but accesses it via DMA, bypassing MMU and page tables — it can search for keys, inject code, and tamper with processes while the main CPU is unaware. This DMA attack was first demonstrated in 2009 by Tereshkin and Wojtczuk of Invisible Things Labs at Black Hat, using the AMT virtual drive to inject a Ring -3 rootkit that survives OS reinstall and disk replacement.

    Networking is equally independent: AMT embedded in the ME performs deep packet inspection; traffic on ports 16992/16993 reaches the PCH directly without passing through the main CPU. Outbound ME packets bypass host firewalls and packet sniffers entirely.

    Immortal Across Power States

  • G0/S0: fully operational in DRAM.
  • S3 (suspend-to-RAM): drops to PCH SRAM, still manages remotely on AC power.
  • S4/S5 (soft off): stands by listening; magic packets can wake the system.
  • Deep Sx (ErP/EuP): only DSW micro-power remains, but the ME still controls the recovery path.
  • G3 (mechanical off): the ME decides via AFTERG3_EN.
  • Threat Landscape

  • 2009: Ring -3 rootkit proof of concept at Black Hat.
  • 2017 INTEL-SA-00086: Positive Technologies reconstructed the Huffman dictionary, exposing buffer overflows in CSME/SPS/TXE; USB-triggered Red JTAG could hijack the ME, break Boot Guard, forge UEFI signatures, and plant malicious BIOS images.
  • 2020: extraction of the Chipset Key via a mask ROM defect collapsed the cryptographic isolation.
  • EOL platforms (ME 3.x–10.x, TXE 1.x–2.x, e.g. after SA-00391) have no patches — hundreds of millions of machines remain exposed.
  • Closed-source firmware etched into silicon is a structural risk: one zero-day grants a god's-eye view.

    Practical Auditing

  • Windows: check Device Manager for "Intel Management Engine Interface".
  • Intel CSMEVDT (14.0.2.0015): GUI/CLI scanner for CVE exposure.
  • Linux: intelmetool (with mei module unloaded, iomem=relaxed) reads PCI registers; meinfo probes Boot Guard status.
  • me_cleaner: surgically removes AMT/Minix modules while keeping the BUP module to satisfy the 30-minute watchdog.
  • HAP bit: setting this bit (from NSA's High Assurance Platform) in the firmware makes the ME disable itself after initialization — a civilian seal that reportedly works.

The AMD Mirror: PSP

AMD is not exempt: since 2013, the PSP (now Secure Technology) uses an ARM Cortex-A5 with TrustZone embedded in the die — also Ring -3, closed-source blob, with DMA control over the trust chain. Academic consensus treats PSP and ME as symmetric risks.

Conclusion

Ring -3 is settled fact: Intel ME and AMD PSP are the supreme overlords of x86, rooted in silicon, running an independent processor with closed firmware, watching every moment from S0 to S5. Billions of machine owners do not hold absolute control of the lowest layer. The path forward: abandon blind trust in the OS, audit routinely with intelmetool/meinfo/CSMEVDT, and neutralize with HAP + me_cleaner. Only by facing the abyss directly can one achieve real freedom.

> Note: "Ring -3" is not a joke. Though it began half-jokingly, it is now standard terminology for a physically separate hardware layer whose privileges transcend all software defenses: the OS is a software wall, but the ME tunnels from underground straight to the throne.

References

1. Invisible Things Labs. "Ring -3 Rootkit: Subverting the Intel Management Engine" (Black Hat USA, 2009). 2. Positive Technologies. "Intel ME 11.x Firmware Analysis and INTEL-SA-00086 Disclosure" (2017). 3. Intel Corporation. Official CSME Architecture Specification and Power Management Whitepaper (2023–2025 updates). 4. Coreboot Project. intelmetool and me_cleaner Documentation, Libreboot Community Archives (2024). 5. Alexander Tereshkin & Rafal Wojtczuk. "Attacking Intel Trusted Execution Technology" (2009) and subsequent AMD PSP parallel research papers (2020–2025).

Tags

#intel-me#ring-minus-3#firmware-security#amd-psp#minix#dma-attacks#me-cleaner#boot-guard

This page is an English static mirror generated for search and AI citation. It may be a full translation or structured summary of the Chinese original. Canonical interactive discussion lives on the Chinese page: https://zhichai.net/topic/177618957