Skip to content
LogoTechnipages
LogoTechnipages
  • Topics
        • Android
        • Browsers
        • Gaming
        • Hardware
        • Internet
        • iPhone
        • Linux
        • macOS
        • Office
        • Reviews
        • Software
        • Windows
        • Definitions
        • All Recent Posts
  • Product Reviews
  • About

What Is a Boot Sector Virus?

Mel HawthorneJanuary 17, 2023 Comments (0)

A boot sector virus is a particular kind of virus named after the location it can be found. That would be the boot sector of floppy disks or the Master Boot Record of more modern hard disks. In some cases, they can infect the boot sector of said hard disks instead of the MBR.

The code that makes up the virus runs when whatever is on the disk or drive is booted up. In other words, if the user tries to plug in and use an infected hard disk, they execute the virus. Once loaded, almost all of these viruses will copy themselves to other available and compatible disks and drives, so if a computer had four clean floppy disks inserted, and a fifth infected one was added and used, all five would likely end up infected.

Contents

  • 1 What Do Boot Sector Viruses Do?
  • 2 Modern Boot Sector Viruses
  • 3 What Does a Boot Sector Virus Look Like?
  • 4 How to Identify a Boot Sector Virus
  • 5 How to Get Rid of a Boot Sector Virus
  • 6 Conclusion

What Do Boot Sector Viruses Do?

Because of the way and the location they are placed in, boot sector viruses end up executing when the device they are on is booted up or plugged in and turned on. They are BIOS-level infections, meaning they don’t require any particular user interaction (such as opening an email or clicking on a dodgy website link) to affect a system.

The downside is that they rely on DOS commands to spread. DOS hasn’t been used since the release of Windows 95, at which point the use of boot sector viruses rapidly declined as they no longer worked. The original boot sector viruses would be entirely harmless in a modern computer that does not use/understand DOS commands – however, the type of virus persists in a new variant.

Modern Boot Sector Viruses

The modern equivalent is often called a “bootkit,” which writes itself into the MBR or Master Boot Record. That way, they achieve the same effect of launching early in the boot process. This lets them hide both their presence and what they are doing behind other processes – and, again, requires no user interaction other than booting up the machine.

Bootkits aren’t compatible with removable media – in other words, while the original boot sector viruses thrived on floppy disks, bootkits do not work like that. They could not, for example, infect a USB stick – although they can be stored and transferred on one, they would not activate. Other viruses can execute from removable media, such as thumb drives, but bootkits cannot.

What Does a Boot Sector Virus Look Like?

As with any virus, what it looks like depends on both who created it and what purpose it is meant to achieve. A boot sector always has to have 0x55 and 0xAA as the last two bytes of data, respectively. Without them there, the computer will either refuse to boot entirely or at least show an error message. This error message – or a refusal to boot – can be one of several indicators of a boot sector virus, though it doesn’t give any particular clue as to what the virus might be doing.

How to Identify a Boot Sector Virus

A boot sector virus can be identified in two different ways. Firstly, by its actions. A boot sector virus infects the part of storage media loaded by the BIOS when booting up. It also actively infects all other storage media attached to the infected computer. It’s worth remembering that modern bootkits work slightly differently and don’t automatically infect devices. The other way to identify a boot sector virus is with anti-virus software.

Note: Boot sector viruses are essentially obsolete, relying on DOS-era technology. These operating systems likely see minimal use, particularly legacy systems. Finding an antivirus product that can run on such an operating system would be challenging now. Additionally, while it’s likely that no one has bothered to make new boot sector viruses if any new ones have been released, they may not be adequately categorized to be detected if you find an antivirus program to run.

How to Get Rid of a Boot Sector Virus

An antivirus product should be able to get rid of a boot sector virus relatively quickly. This assumes, however, that you can find an antivirus product that works on such an outdated system and that it can detect the virus. More modern bootkits can be extremely hard to detect and remove as they infect areas of memory typically restricted. Both can be defeated by reformatting the drive entirely. This process, however, wipes all data on the drive and so isn’t ideal.

It’s also theoretically possible for the bootkit to infect the motherboard itself, specifically the UEFI BIOS. In this case, reflashing the motherboard should solve the problem, but it might not if the virus persists elsewhere. Especially if the virus could reinfect the image to which the motherboard was flashed. The 100% surefire way to eliminate any virus is to throw away the infected component. That is your hard drive, motherboard, etc., not necessarily the whole computer.

Conclusion

A boot sector virus is a classic type from the DOS era. They infected the boot sector of storage media and actively infected the boot sector of any other available storage media. The boot sector was the portion of the storage device loaded first by the BIOS. As such, the malware was immediately launched.

As they relied upon the BIOS and DOS commands, they died out when Windows was introduced. A modern version is known as a bootkit. It acts similarly, infecting the boot loader that calls the operating system. This makes it very hard to detect or remove, as modern security measures protect the bootloader from easy access.

Categories: Hardware

Author Mel Hawthorne

You Might Also Like

  • vr-headset

    The Best Oculus Apps to Look Forward to in 2020

    MonaHardware
  • nubia

    Nubia Red Magic 5G Features and RAM

    MonaHardware
  • The Latest Foldable Phones – A Look At The Huawei Mate X2

    Mel HawthorneAndroid
  • What Is DIMM?

    Mel HawthorneHardware

Leave a Reply

Your email address will not be published. Required fields are marked *

average laptop lifespan

What Is an Average Laptop Lifespan?

fix 0x80070302 windows update error

How to Fix the 0x80070302 Windows Update Error

how to allocate more memory to a program

How to Allocate More Memory to a Program in Windows

marvel rivals memory leak fix

Marvel Rivals Using Too Much Memory – How to Fix

how to create a macro in word

How to Create a Macro in Word

profile pic

The Experts Behind Technipages

My name is Mitch Bartlett. I've been working in technology for over 20 years in a wide range of tech jobs from Tech Support to Software Testing. I started this site as a technical guide for myself and it has grown into what I hope is a useful reference for all.

Learn More

technipages logo white
linkedin icon

Technipages is part of Guiding Tech Media, a leading digital media publisher focused on helping people figure out technology. Learn more about our mission and team here.

© 2025 Guiding Tech Media All Rights Reserved

  • About Us
  • Contact
  • Legal & Privacy

© 2025 Guiding Tech Media All Rights Reserved

Information from your device can be used to personalize your ad experience.
Do not sell my personal information.

Last Updated on January 17, 2023 by Judy Sanhz