26.12.2014 Views

Absolute PC Security and Privacy.pdf

Absolute PC Security and Privacy.pdf

Absolute PC Security and Privacy.pdf

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Figure 3.1 : The normal boot process on a hard-drive <strong>PC</strong><br />

Note For <strong>PC</strong>s with hard disks, the boot disk is the hard disk—disk C. You can also boot your<br />

computer from disk A (typically a floppy disk), as long as the disk is a “bootable” disk<br />

containing necessary system files.<br />

At this point, control is passed to your system’s boot disk. If you’re booting from a floppy<br />

disk or CD-ROM, the control is immediately passed to the boot sector—that part of the disk<br />

that contains the system files. If you’re booting from a hard disk, control eventually goes to<br />

the boot sector, but is first passed to the Master Boot Record.<br />

The Master Boot Record (MBR) resides at the very first location on your hard disk—in<br />

physical terms, cylinder 0, head 0, sector 1. The MBR contains a software routine that<br />

continues the boot process. This routine analyzes the Disk Partition Table (which defines how<br />

many sections your disk is partitioned into), loads the hard disk’s boot sector into system<br />

memory, <strong>and</strong> then passes control to the boot sector, which then functions like the boot sector<br />

on a bootable floppy.<br />

Infecting the Boot Sector<br />

The way your system gets infected with a boot sector virus—the only way your system can<br />

get infected—is when you boot your system with an infected floppy disk in the floppy disk<br />

drive. Once the virus code is active, it can then infect your hard drive’s MBR.<br />

A boot sector virus replaces the code for your disk’s load routine with its own code. This<br />

forces your system to read the virus code into system memory <strong>and</strong> then pass control to that<br />

code—not to your system’s normal boot routine. (See Figure 3.2.)

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!