Skip to content
Write-up Advanced

Hard drive hack provides root access, even after reinstall

The author investigated the firmware of a hard disk and found it could be modified to run custom code on the drive's embedded controller. By doing so, the modified disk could serve malicious data to the host system and bypass software security measures.

spritesmods.com

Published on spritesmods.com

Hard disks: if you read this, it's pretty much certain you use one or more of the things. They're pretty simple: they basically present a bunch of 512-byte sectors, numbered by an increasing address, also known as the LBA or Logical Block Address.

The author, on spritesmods.com

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely the hard disk's embedded controller runs firmware that can be replaced, allowing an attacker with physical or privileged access to alter the drive's behaviour.

Impact

A modified hard disk could bypass software security controls on the connected computer, though the text does not detail the full extent of what an attacker could achieve.

What the attacker needed

Physical access to the hard disk

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

A hard disk is a storage device that holds your files. It has a small computer inside it, called a controller, that manages reading and writing data. The author found that this internal computer can be reprogrammed to do things the operating system does not expect, such as hiding malicious content from security software.

Similar reports

Same bug class and techniques, clearest first.