bit-tech.net

Researchers create BIOS malware

Researchers create BIOS malware

If you thought that reformatting your hard drive and replacing the operating system was enough to clear out even the most stubborn virus, think again.

The oft-given advice of 'reformat the site from orbit, it's the only way to be sure' in the event of virus attack may soon be rendered obsolete by new malware capable of remaining resident in a system's BIOS.

Security researchers Alfredo Ortega and Anibal Sacco of Core Security Technologies – as reported over on ZDNet – have successfully demonstrated methods for injecting persistent code into the Basic Input Output System (BIOS) of a computer, with the result that the infection is capable of surviving a complete OS reinstall and even a BIOS flash.

The code has been used successfully on both Windows and OpenBSD platforms, and even on a virtualised system via the VMware Player application. In all cases, the infection would re-initialise each time the computer was rebooted. Even by removing and re-installing the hard drive, the researchers were unable to remove the malware from the system.

Speaking to Threatpost.com, Ortega claimed that the pair could “put the code wherever we want.” Although the current demonstration is a proof of concept, the pair are working on a fully implemented rootkit – which would provide complete control over an infected system, even after a full OS reinstall – with Ortega saying that they can “patch a driver to drop a fully working rootkit,” and even stating that the pair has “ a little code that can remove or disable antivirus.

While the malware developed by the team is certainly persistent, infection is not a trivial matter. The pair readily admit that the code is only of use to an attacker who has already compromised a system by traditional means – or who has physical access to the box. In either of these cases, however, it certainly holds the possibility of making cleanup significantly more complicated.

Does the thought of resident malware that can survive an OS reinstall leave you worried, or do you think the techniques are beyond your average VXer? Share your thoughts over in the forums.

29 Comments

Discuss in the forums Reply
Bauul 24th March 2009, 13:33 Quote
At least they've developed something now in a controlled environment, giving software devs time to patch any holes, than something like this appearing in the wild.
GFC 24th March 2009, 14:14 Quote
Man this thought is scary, viruses that don't die from OS reinstall.. i feel like i'm gonna have nightmares tonight.. :p scary!
DXR_13KE 24th March 2009, 14:17 Quote
ow f***!
Neophyte4Life 24th March 2009, 14:40 Quote
initiate zombie plan......NOW!!!!
Turbotab 24th March 2009, 14:44 Quote
If the cyber criminals managed to get an inside man/woman, at a motherboard factory, that would be uber scary, given that the article states that the malware can even survive a bios flash. It is not like well-known companies haven't shipped products, with unwanted 'bonus' features before.
dyzophoria 24th March 2009, 14:53 Quote
I see this as a threat to servers where there is little to no interaction from admins, om a fully secured server that is monitored regularly, I doubt this is a threat, now if you are worried about "it" infecting your pc, the only way I can see this happening is if you have a really drunk friend in your room that is really pissed on you and decided to flash the bios on your motherboard. the threat is clear. but the way to execute it?... Is honestly.. rediculously/insanely impossible/though/difficult.
Nicb 24th March 2009, 15:09 Quote
Quote:
The pair readily admit that the code is only of use to an attacker who has already compromised a system by traditional means – or who has physical access to the box.

I know no one that is capable of doing this too my computer, I'm a lone ranger with non-tech friends. :( If there was somebody, I have two guest computers in the house they would use, and I'm guessing you have to have admin privileges to do this, they would not. My computer,.... no one gets on, and if so they would have to get past security and decrypts first, what a challenge. :)

I have a huge library or viruses, Trojans, malware, rootkits, creators, etc. Can't wait to add this to the library one day. I don't use them. I just quarantine them and keep them like preservation of once wild animals now for study.
proxess 24th March 2009, 15:31 Quote
Tho this was done in a controlled area, now cyber criminals know it's possible! Sooner or later someone will find out how, and it'll start off with school or public computers.
bogie170 24th March 2009, 15:54 Quote
Well the motherboard manufacturers must now look at a way to combat this as its bound to get out in the wild before too long.
Evildead666 24th March 2009, 15:55 Quote
How the HELL are we supposed to get an AV scanner in the BIOS ?
Is the BIOS gonna have to get bigger to adapt ? lol.

Get a typewriter... ;)
GoodBytes 24th March 2009, 16:06 Quote
When I update my BIOS, I need admin rights under Vista.
Soooooo.... This should not be any problem, unless I am dumb to allow permission to "picture.exe".
Same applies to Major thread. If I put a USB stick... I would be prompted for Admin... again a failed attempt.
Turbotab 24th March 2009, 16:07 Quote
Quote:
Originally Posted by Evildead666
How the HELL are we supposed to get an AV scanner in the BIOS ?
Is the BIOS gonna have to get bigger to adapt ? lol.

Get a typewriter... ;)

Somebody could swap the keys on the typewriter, you've been hackereeeerd:)
n3mo 24th March 2009, 16:36 Quote
Oh lol. I love when the "researchers" claim that they did something new. This technique is known for years, it was a side effect of researching new PDoS methods. Not really popular or widespread in any way, it was used to target specific machines. Also not a threat at all, at least for now, as it requires lots of code (basically due to the wicked ways manufacturers implement the BIOS you need to know the specific adresses to put your data in, if you erase or overwrite too much or anything at all (on some boards) you end up with unusable BIOS).
Only good for attacking specific machines, too many different BIOS implementations to write a code "good for all motherboards".
dicobalt 24th March 2009, 16:58 Quote
The thought of a reflash not removing the virus from bios is what is truly scary. Who cares about the OS install, that's something I would do in the event of an infection anyway.
Golygus 24th March 2009, 17:11 Quote
Push forward the development of EFI and make it secure.

I guess physically replacing the the BIOS with a new one which contains a clean BIOS would get it shifted...

I see soo many infected systems I can see how this will be a problem!!
Evildead666 24th March 2009, 19:05 Quote
Quote:
Originally Posted by Turbotab
Quote:
Originally Posted by Evildead666
How the HELL are we supposed to get an AV scanner in the BIOS ?
Is the BIOS gonna have to get bigger to adapt ? lol.

Get a typewriter... ;)

Somebody could swap the keys on the typewriter, you've been hackereeeerd:)

And switching around some of those swingarm letter things around would really annoy someone...
Marc5002 24th March 2009, 19:12 Quote
Bios Virus : first Time i heard that that Really scary : Either way it say if a such virus where to be lauch
it could spread and being immune to bios flash which mean the manifaturer to replace the bios With a whole new one all clean
At a Step Flash bios can't do or a Big enterprise in security will need to find a Cure :P

anyway did you hear of the Possible Confiker C : i hope it a joke lol cause by reading spec of it Devastation IS increidbly high
as the Blue Screen of Death Virus which made you unable to even try to Reformat ur hard drive if i remember
so you add to find a way To reformat hard Drive :D
GoodBytes 24th March 2009, 19:52 Quote
My Desktop computer has BIOS Virus check... it's an Nforce 4... Does that mean anything?
Captain Haddock 24th March 2009, 21:31 Quote
Master of the Bleedin' Obvious :-
Who's idea was it to save the odd 2p per motherboard and REMOVE the BIOS write protect jumper ?
aggies11 24th March 2009, 22:06 Quote
Manufacturers should love this. Now the answer to "I have a virus, should I buy a new computer?" becomes a "Yes". It's already a giant pain to remove many rootkits, will we have to now soldier EEPROMs to get around this??
Nicb 24th March 2009, 22:40 Quote
Not understanding is the basis of fear. A lot of fear on this topic. Watch your back people it's coming to get you........
Re read this again and again, go to all the links and read them again and again, then look up words and google tech stuff you don't understand and read it again....... and again.
Maybe if you loan your computer to a hacker convention (with admin rights open) for the weekend it might come back with this malware. But otherwise if it's sitting safe in your room and your looking at all the porn, opening all the e-mail coming your way, excepting every script on pages, and visiting shady sites that could infect your computer. You still have nothing to worry about when it comes to this.

Read, absorb, understand. I call this a "smoke and mirrors malware". I would not even call it malware. It's more like a couple of guys got creative and had their way with their own computer. They could not do the same to yours unless you "physically" let them.

With todays software and hardware components we use, this simply can not be done with out physically doing it, and I doubt what ever we innovate too in the future with computers the chances are this will not work remotely but only physically. So keep your computers close at hand and don't let untrusting people open up your case or give them admin rights to break down security to get busy "destroying" your property. And even then if that happens regardless of what any one says this could be resolved. It's only permanent to the non literate computer user.
n3mo 25th March 2009, 00:32 Quote
Quote:
Originally Posted by Golygus
Push forward the development of EFI and make it secure.

Actually, the other way around. EFI is (at least in theory) far more standardized by design than BIOS, thus making it more vulnerable. Only thing that makes developing BIOS-targeted attacks/exploits/etc. not worth the time is the fact that you'd need to write separate code for almost every motherboard available.
Otis1337 25th March 2009, 00:34 Quote
clear CMOS = virus gone
GG
dire_wolf 25th March 2009, 00:49 Quote
Quote:
Originally Posted by Otis1337
clear CMOS = virus gone
GG

CMOS and BIOS are not one and the same.

As far as I can tell the code re-flashes the bios image with the malware code attached.

As stated earlier in the thread, a simple BIOS write protect jumper/switch is all that needs to be implemented in future motherboards to stop this in it's tracks.
thehippoz 25th March 2009, 01:14 Quote
Quote:
Originally Posted by Nicb
Not understanding is the basis of fear. A lot of fear on this topic. Watch your back people it's coming to get you........
Re read this again and again, go to all the links and read them again and again, then look up words and google tech stuff you don't understand and read it again....... and again.
Maybe if you loan your computer to a hacker convention (with admin rights open) for the weekend it might come back with this malware. But otherwise if it's sitting safe in your room and your looking at all the porn, opening all the e-mail coming your way, excepting every script on pages, and visiting shady sites that could infect your computer. You still have nothing to worry about when it comes to this.

Read, absorb, understand. I call this a "smoke and mirrors malware". I would not even call it malware. It's more like a couple of guys got creative and had their way with their own computer. They could not do the same to yours unless you "physically" let them.

With todays software and hardware components we use, this simply can not be done with out physically doing it, and I doubt what ever we innovate too in the future with computers the chances are this will not work remotely but only physically. So keep your computers close at hand and don't let untrusting people open up your case or give them admin rights to break down security to get busy "destroying" your property. And even then if that happens regardless of what any one says this could be resolved. It's only permanent to the non literate computer user.


I could do it lol you forget all your admin rights are on your os.. what's to stop someone from just booting a linux distro or any tool- even just a dos boot with flash from a dvd.. and before you say password protect the bios.. it's as simple as popping the battery out or using the cmos clear jumper on the mb

I'll agree with the fear end of it.. I'm sure guys like the geek squad who are nothing more than salesmen- would love something like this to be deved and go wild.. far as it sticking, the cmos clear jumper won't clear everything- popping out the battery for a few does.. alot of peeps had to do this on the 680i mb's because of the c1 error- it would act like a dead board even with a clear.. pop the battery out, put it back and it magically worked.. nvidia ntune guy to thank for this :D
Nicb 25th March 2009, 01:41 Quote
thehippoz,
Quote:
alot of peeps had to do this on the 680i mb's because of the c1 error- it would act like a dead board even with a clear.. pop the battery out, put it back and it magically worked.. nvidia ntune guy to thank for this

I was one of them, dealt with it, I have a MSI 680i.

Personally no one is going to get inside my computer, I have a eletric fence around it. :)

But don't forget it's easy through admin rights to stop any boot disk from working. A few years ago the company I worked for did that on the laptops they gave us employees. For fun I tried cracking it... and I admitted to it, he just snickered and siad "Boot disk did not work?". (I wasn't going to physically do anything) I spent some time with the IT guy and learned how it was done and traded a few programs with him to even the scale. But of course that only helps if you do it, then again I would/did not on my desk top but did on my personal laptop since its placed in vulnerable situations and holds no valuable info. I use the boot disk when necessary or experimentations with the desktop.

It's like rock paper scissors. But I know you got me. It's just not happening to people like us,... but for the others, its the price you pay for not knowing about what you have and how to protect it. They just run around with there heads cut off screaming viruses and handing there computers over to Best Buy's Geek Squad and buying expensive virus protection software.

There is no fear to be had with this so called "malware".
Project_Nightmare 25th March 2009, 18:23 Quote
dang, these people created chiv in the form of malware. Nice work guys, now I'll have to throw away my bios chip when ever I reinstall my hard drive:(
OverQloker 27th March 2009, 22:08 Quote
how can a malware in bios, be able to diable the av, which runs in the kernel's memory space...
is it possible to keep track/scan of changing 2^32 memory bits, by just some little assemply level program writtn in <16KB :?
Log in

You are not logged in, please login with your forum account below. If you don't already have an account please register to start contributing.



Discuss in the forums