Re: virus survive a format?
Quote:
Originally posted here by oso_1_
:confused:
can a virus survive a hard drive format?
well i try to answer ur question as correctly as i can answer...
a straight forward answer is "yes, a virus can survive HDD format"...but how...
to explain it..let me first explain some basic types of viruses...soon i will be writing a tut on viruses...
1. MBR/boot sector---those viruses which infect only MBR/Boot record and gets loaded whenever the system is booted from infected disk...doesnt matter if the disk is bootable or not.........
2. File --- those viruses which infect only executables.
3. those which infect both MBR/Boot record as well as files...
now lets consider a situation..........u are already infected from a virus...its either of type 1 or 3 ... u detect it..and format ur HDD...now let us see what will happen..........the virus is already in RAM of ur system....and is looking for uninfected MBR/boot record.....as soon as formating is over ... virus detects the HDD as uninfected target...and immediately infects it..........so it has survived a formatting...
solution to this type of problem is...first boot from a clean disk and then format.....
as far as viruses residing in CMOS etc are concerned....let me explain this to you.........
a virus needs some executable code to trigger it.....and CMOS hardly contains any executable code (as far as to my best knowledge)....furture CMOS may be vendor specific.........so a virus infecting CMOS only may never get triggered.......so at most a virus worth its salts....will never try to mess with CMOS...at most viruses can hide some of their data in CMOS....or can corrupt the data in CMOS.............