0.1.10 Motherboard, chipset, buses

In one line: the motherboard is the city β€” the CPU is downtown, RAM and SSD are the suburbs, and the buses are the highways carrying bytes between them.

A desktop motherboard showing sockets, slots, chips, and connectors.
The motherboard is the physical map of the machine: sockets, slots, copper traces, firmware chip, and roads for bytes. Image: Wikimedia Commons, Computer-motherboard.jpg.

A story β€” the city that grew an open standard

Early PCs had a problem: every expansion card spoke its own language. Adding a sound card meant praying it was compatible. In 1992 Intel released PCI (Peripheral Component Interconnect) β€” a standard β€œhighway” any vendor could plug into. Suddenly you could mix-and-match cards from different makers without driver drama.

PCI got faster (PCI-X), then was replaced by PCI Express (PCIe) in 2004. PCIe is what the long slot under your GPU is. It’s also what the M.2 NVMe slot is. It’s also what the chipset uses to talk to the CPU. PCIe is the backbone bus of every modern PC β€” it scales by adding β€œlanes” (a graphics card uses 16 lanes, an NVMe drive uses 4, a Wi-Fi card uses 1).

USB has a similar history β€” Intel/Microsoft/Compaq pushed it as an open standard in 1996 to replace the dozen weird ports a PC used to have (PS/2, serial, parallel, game port). It worked. USB is now the universal answer to β€œhow do I plug X into a PC?”

What’s actually going on

The motherboard is a printed circuit board (PCB) β€” multiple layers of copper traces sandwiched in fibreglass β€” that physically connects every component and provides the wires they communicate over.

Key parts of a modern motherboard:

ComponentWhat it is
CPU socketWhere the CPU sits. Intel uses LGA (pins on the socket); AMD uses PGA (pins on the chip).
RAM slotsUsually 2 or 4 long slots for DIMM sticks.
PCIe slotsLong slots for GPUs and expansion cards (Γ—16, Γ—8, Γ—4, Γ—1).
M.2 slotsTiny slots for NVMe SSDs and Wi-Fi cards.
SATA portsOlder flat connectors for HDDs and SATA SSDs.
ChipsetA second chip (usually under a heatsink) that handles slower I/O β€” USB, audio, SATA, network.
VRMsVoltage Regulator Modules β€” convert PSU power to clean voltage the CPU/RAM can use.
BIOS/UEFI chipA small flash chip that holds the firmware that boots before the OS.
CMOS batteryCoin-sized battery keeping clock and BIOS settings alive when unplugged.

A bus is just a set of wires that multiple components share. The CPU has a high-speed bus to the chipset. The chipset has slower buses to USB, SATA, audio. PCIe is a packet-switched bus β€” more like a network than a wire.

Why a hacker cares

The motherboard is the city β€” and there are corners attackers love:

  • Firmware / BIOS / UEFI chip runs before the OS does, so malware that lives there (β€œbootkits” like LoJax, BlackLotus) survives a full Windows reinstall and is invisible to OS-level antivirus.
  • Chipset firmware has its own attack surface. Intel’s Management Engine (ME) and AMD’s PSP are tiny computers inside the chipset that run independent of the main CPU and can do scary things (out-of-band access). Researchers have found vulnerabilities in both.
  • DMA attacks β€” devices on PCIe / Thunderbolt / FireWire can read main memory directly without asking the CPU. A malicious Thunderbolt dock can dump RAM. (Modern protections: IOMMU, kernel DMA protection.)
  • Evil maid attacks β€” an attacker with brief physical access plugs a malicious USB or PCIe device and reflashes the BIOS. Now the laptop is theirs forever.
  • Supply chain β€” backdoored motherboards out of factory. The Bloomberg β€œBig Hack” story (2018) claimed Chinese spies had planted rice-grain-sized chips on Supermicro server boards. Disputed, but the threat model is taken seriously.

In one sketch

   β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€ Motherboard ─────────────────┐
   β”‚                                              β”‚
   β”‚   β”Œβ”€β”€β”€β”€β”€β”    β”Œβ”€β”€β”€β”€β” β”Œβ”€β”€β”€β”€β”                  β”‚
   β”‚   β”‚ CPU β”‚ ── β”‚RAM β”‚ β”‚RAM β”‚                  β”‚
   β”‚   β””β”€β”€β”¬β”€β”€β”˜    β””β”€β”€β”€β”€β”˜ β””β”€β”€β”€β”€β”˜                  β”‚
   β”‚      β”‚ high-speed bus                        β”‚
   β”‚   β”Œβ”€β”€β”΄β”€β”€β”€β”                                   β”‚
   β”‚   β”‚Chips │── USB, SATA, audio, network       β”‚
   β”‚   β””β”€β”€β”¬β”€β”€β”€β”˜                                   β”‚
   β”‚      β”‚                                       β”‚
   β”‚   β”Œβ”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”  β”Œβ”€β”€β”€β”€β”€β”€β”  β”Œβ”€β”€β”€β”€β”€β”           β”‚
   β”‚   β”‚ PCIe Γ—16  β”‚  β”‚ M.2  β”‚  β”‚BIOS β”‚           β”‚
   β”‚   β”‚  (GPU)    β”‚  β”‚NVMe  β”‚  β”‚chip β”‚           β”‚
   β”‚   β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜  β””β”€β”€β”€β”€β”€β”€β”˜  β””β”€β”€β”€β”€β”€β”˜           β”‚
   β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

Reference and image credit

Memory peg

Motherboard = city. Buses = highways. The chipset is a second mayor handling slow boring traffic so the CPU can focus on the fast stuff.