Can Software Damage Hardware?

chrstrbrts

Senior member
Aug 12, 2014
522
3
81
Hi,

Can software actually damage hardware?

Specifically, can malicious software e.g. viruses, worms, Trojan horses, etc. actually damage processors, ICs, gates, multiplexers, etc.?

Thanks.
 

alkemyst

No Lifer
Feb 13, 2001
83,967
19
81
Hi,

Can software actually damage hardware?

Specifically, can malicious software e.g. viruses, worms, Trojan horses, etc. actually damage processors, ICs, gates, multiplexers, etc.?

Thanks.

Depending on software and hardware, yes it's possible.
 

LevelSea

Senior member
Jan 29, 2013
943
53
91
In the microcontroller world, driving a pin that's wired to be in an input from an IC can damage the IC.
 

alkemyst

No Lifer
Feb 13, 2001
83,967
19
81
Interesting. Will you explain further, please? Can you cite an example?

Hardware in many modern devices is more protected now, but there were viruses that could overwrite a BIOS (CIH) and others that could bump up voltages and the like.

It's rare as most are looking for data to capture/sell rather than destroy some kids PC.
 

chrstrbrts

Senior member
Aug 12, 2014
522
3
81
In the microcontroller world, driving a pin that's wired to be in an input from an IC can damage the IC.

Thanks.

What does it mean to "drive a pin"? I know that a pin on a chip is essentially a connection to the rest of the system where current flows and across which a potential difference exists.

But what does "driving" it mean?

In your example above, the pin is on the microcontroller, and it's supposed to accept an input signal from an integrated chip, yes?

And if you drive that pin (whatever that means) you end up destroying the IC, not the microcontroller, yes?

Can you write software to "drive" pins?
 

slugg

Diamond Member
Feb 17, 2002
4,722
73
91
Software can also have negative effects on hardware, even though it's not considered damage. For example, if you have some kind of infinite loop bug on a background process, it'll eat the battery of a phone in no time. Rapid battery discharge is not a good thing.

To another extreme, if you have a bug in a fly-by-wire mechanical system, you'll definitely damage something. This concept gave birth to the moniker "die-by-wire."
 

KWiklund

Member
Oct 30, 2013
35
0
16
Absolutely. Remember software controls not just your personal computer, but also other devices such as automobiles, train systems, rocket controls, medical equipment, etc. A bug in any of those systems can have catastrophic consequences.

For example:
http://en.wikipedia.org/wiki/Cluster_(spacecraft)

http://en.wikipedia.org/wiki/Therac-25

In the case of your PC, there are some more protections than there used to be, but I have heard of nasty software-related problems.

http://en.wikipedia.org/wiki/Killer_poke
 

MongGrel

Lifer
Dec 3, 2013
38,751
3,068
121
Absolutely. Remember software controls not just your personal computer, but also other devices such as automobiles, train systems, rocket controls, medical equipment, etc. A bug in any of those systems can have catastrophic consequences.

For example:
http://en.wikipedia.org/wiki/Cluster_(spacecraft)

http://en.wikipedia.org/wiki/Therac-25

In the case of your PC, there are some more protections than there used to be, but I have heard of nasty software-related problems.

http://en.wikipedia.org/wiki/Killer_poke

Was going to mention that myself.

Staged cyber attack reveals vulnerability in power grid

https://www.youtube.com/watch?v=fJyWngDco3g
 

Exophase

Diamond Member
Apr 19, 2012
4,439
9
81
My Chromebook has a blown audio codec chip because it doesn't have protections against enabling conflicting line mux settings, which must have shorted it out. So yeah, it can happen. A lot of hardware designs will go to at least some effort to try to protect against these conditions, though.
 

Red Squirrel

No Lifer
May 24, 2003
67,936
12,384
126
www.anyf.ca
I would imagine it would not be hard to load phony firmware on various devices as well, such as a network card or disk controller to essentially brick it. A lot of firmwhere can be updated right from within the OS, so a piece of malicious code could easily do the same. TBH I'm surprised this is not something that you hear about. I guess it's too much work for a virus writer as you'd have to target specific devices in specific environments.

In the micro controller world there was a recent one where FTDI released an update that will actually BRICK non genuine FTDI chips. They got a lot of flack for it though, but the damage is done. Typically the average user is not playing around with micro controllers though.
 

alkemyst

No Lifer
Feb 13, 2001
83,967
19
81
I would imagine it would not be hard to load phony firmware on various devices as well, such as a network card or disk controller to essentially brick it. A lot of firmwhere can be updated right from within the OS, so a piece of malicious code could easily do the same. TBH I'm surprised this is not something that you hear about. I guess it's too much work for a virus writer as you'd have to target specific devices in specific environments.

In the micro controller world there was a recent one where FTDI released an update that will actually BRICK non genuine FTDI chips. They got a lot of flack for it though, but the damage is done. Typically the average user is not playing around with micro controllers though.

This has happened with other things too. Usually a ton of whatever is made in China / Et Al and for some of the chips they hardcode a vendor into it.

Sometimes they are burned slightly different. What usually happens is the vendor of the branded chip blocks non-branded versions; but if the reverse is tried sometimes the update is possible and it bricks the device.
 

postmortemIA

Diamond Member
Jul 11, 2006
7,721
40
91

Spungo

Diamond Member
Jul 22, 2012
3,217
2
81
Pretty much anything with moving parts is prone to failure. My Diablo 2 and Neverwinter Nights CDs were scratched in the drive because the copy protection required a CD in the drive at all times, and I would play those games almost every day. I think it was Sony that got in trouble for causing CD drive failures because their copy protection would cause the drive to constantly spin up and spin down. Hard drives seem to die faster if they're constantly doing random read/write, spin up and spin down.
 

Tweak155

Lifer
Sep 23, 2003
11,448
262
126
Anyone recall when Starcraft II was frying video cards because it didn't cap the FPS on the menu screens? That's the first thing that came to mind.

It would overheat and fry video cards quite frequently.
 

Cogman

Lifer
Sep 19, 2000
10,278
126
106
Anyone recall when Starcraft II was frying video cards because it didn't cap the FPS on the menu screens? That's the first thing that came to mind.

It would overheat and fry video cards quite frequently.

That one is more a hardware fault than a software fault. The software wasn't doing anything illegitimately with the hardware, it was just running as fast as possible. The problem is the hardware had a fault in it when it was ran as fast as possible.
 

alkemyst

No Lifer
Feb 13, 2001
83,967
19
81
That one is more a hardware fault than a software fault. The software wasn't doing anything illegitimately with the hardware, it was just running as fast as possible. The problem is the hardware had a fault in it when it was ran as fast as possible.

Almost all hardware will fail if the clocks are ran as fast as possible.
 

tential

Diamond Member
May 13, 2008
7,355
642
121
I'd say in general it's not the INTENT of viruses to destroy the hardware.
The virus wants to get your information, or use your PC's resources.
As a result of utilizing your PC's resources it could damage your hardware.

Example: A virus infects your PC, and continuously downloads/uploads files.
That could destroy your Hard Drive eventually by having it consistently run 24/7, especially if it was in a poorly ventilated laptop.

Or a bug can ruin hardware as well. Example of this is there used to be a bug in WMP (May still be there), that would download metadata for WMP. However, it would sometimes freak out, and continually download metadata files for CDs. Left unchecked, it would download MILLIONS of 1 byte files which is not only terrible for your HDD, but when you tried to open the directory to delete the files, it would lock the PC up making it almost impossible to delete the files. Deleting the files took days to finish.

You could have a virus where it's utilizing your PC's CPU to brute force a password. That would keep your CPU running at 100% constantly which shouldn't fry your CPU since your CPU should downclock and has safety measures to save it but in combination with other things (like bad ventilation, or maybe your CPU fan fails after running at 100% speed consistently), it may fail.

It's not something I'd worry about though if I was you....
 

Cogman

Lifer
Sep 19, 2000
10,278
126
106
Almost all hardware will fail if the clocks are ran as fast as possible.

But the software in question wasn't doing anything with the clock speeds. It was simply running very fast code without any rate limiters.

The equivalent is running something like superpi and having the CPU fail. Would you say that super pi damaged the CPU? no, because superpi was only using the CPU as intended.

In the case of starcraft 2, the GPU was being taxed by the starcraft menu system. The fact that GPUs were damaged is the fault of the GPU manufacturers, not blizzard. The GPU manufacturers are the ones that should have downclocked their GPUs when the temps got high or delivered GPUs with fans that could dissipate the heat they were generating in the first place.
 
sale-70-410-exam    | Exam-200-125-pdf    | we-sale-70-410-exam    | hot-sale-70-410-exam    | Latest-exam-700-603-Dumps    | Dumps-98-363-exams-date    | Certs-200-125-date    | Dumps-300-075-exams-date    | hot-sale-book-C8010-726-book    | Hot-Sale-200-310-Exam    | Exam-Description-200-310-dumps?    | hot-sale-book-200-125-book    | Latest-Updated-300-209-Exam    | Dumps-210-260-exams-date    | Download-200-125-Exam-PDF    | Exam-Description-300-101-dumps    | Certs-300-101-date    | Hot-Sale-300-075-Exam    | Latest-exam-200-125-Dumps    | Exam-Description-200-125-dumps    | Latest-Updated-300-075-Exam    | hot-sale-book-210-260-book    | Dumps-200-901-exams-date    | Certs-200-901-date    | Latest-exam-1Z0-062-Dumps    | Hot-Sale-1Z0-062-Exam    | Certs-CSSLP-date    | 100%-Pass-70-383-Exams    | Latest-JN0-360-real-exam-questions    | 100%-Pass-4A0-100-Real-Exam-Questions    | Dumps-300-135-exams-date    | Passed-200-105-Tech-Exams    | Latest-Updated-200-310-Exam    | Download-300-070-Exam-PDF    | Hot-Sale-JN0-360-Exam    | 100%-Pass-JN0-360-Exams    | 100%-Pass-JN0-360-Real-Exam-Questions    | Dumps-JN0-360-exams-date    | Exam-Description-1Z0-876-dumps    | Latest-exam-1Z0-876-Dumps    | Dumps-HPE0-Y53-exams-date    | 2017-Latest-HPE0-Y53-Exam    | 100%-Pass-HPE0-Y53-Real-Exam-Questions    | Pass-4A0-100-Exam    | Latest-4A0-100-Questions    | Dumps-98-365-exams-date    | 2017-Latest-98-365-Exam    | 100%-Pass-VCS-254-Exams    | 2017-Latest-VCS-273-Exam    | Dumps-200-355-exams-date    | 2017-Latest-300-320-Exam    | Pass-300-101-Exam    | 100%-Pass-300-115-Exams    |
http://www.portvapes.co.uk/    | http://www.portvapes.co.uk/    |