Slimelite BBS

bios wiping?!?!

Back to C_PLUSPLUS

From Denis MOREAUX · 1996-04-04 06:59 · #75069 in C_PLUSPLUS

In reply to bios wiping?!?! by Jeffrey Bloss

Hi Jeffrey Bloss,

Saturday, 30 March 1996 14:06:00, Jeffrey Bloss wrote to Filip De Smet

FDS>>> > DEADSET??? did it really wipe the bios chip....gee that sounds
FDS>>> > like so
FDS>>> And why shouldn't it be possible? After all, there are computers
FDS>>> where
FDS>>> can re-program the BIOS (BIOS-upgradable ones), and if it's
FDS>>> software

 JB> Some flash BIOS's use a physical jumper to prevent access to
 JB> the flash functions. These simply do not allow normal software to
 JB> access the flash functions.

That is an Hardware protection against Bios-Wiping, no problem.

 JB> All the non-jumpered flash BIOS implementations I've come
 JB> across or heard about require three things to start the flash
 JB> upgrade process... a cold boot, a keypress combination, and a
 JB> special floppy disk. 

Seems to be a software protection...

 JB> The cold boot + keypress triggers a POST
 JB> error, the BIOS checks for the specific key combination, checks for
 JB> the floppy if the correct keys are pressed, and allows the flash
 JB> process to begin if everything is in place.

And what if the Virus simply implement the flash process routine as it is
stored in the Bios/floppy ???

 JB> The problems a virus
 JB> would have to overcome before it's able to infect a flash BIOS is
 JB> first simulating a POST error, then getting the keystrokes right,
 JB> then redirecting the BIOS's search for a floppy to a file on a
 JB> fixed disk.

Or directly accessing the ports via IN/OUT commands to enable the BIOS writing
change it then disable the BIOS writing...

 JB> The POST error problem alone makes flash BIOS viruses
 JB> impossible as far as I can tell, and since the location of the
 JB> upgrade files is hard coded into the BIOS itself, the virus would
 JB> have to be run from an already infected program or dropper on a
 JB> floppy.

Not sure...

The only "software controlled" mean to protect the bios is the following :
have a flip-flop that is resetted when the RESET button is pushed (it's
an hardware control). The bios is then launched (after a push of the RESET
button, you can be sure that it is really the bios) and test for the keys
and the floppy. If these aren't right, it write to a port, setting the
flip-flop. There should be no mean to reset the flip-flop by software and
if it is set, it should be impossible to write to the Flash Rom chip.


                      Denis MOREAUX

.!. Appuyer sur (F13) pour attraper un virus...
--- Terminate 3.00/Pro
 * Origin: 2:293/3212.89  FM 101:320/7105.89  SK 74:292/7101.89 (2:293/3212.89)