LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   If I use an infected computer with a linux OS, and etcher validates my .iso transfer, does that mean my sd-card is clean? (https://www.linuxquestions.org/questions/linux-newbie-8/if-i-use-an-infected-computer-with-a-linux-os-and-etcher-validates-my-iso-transfer-does-that-mean-my-sd-card-is-clean-4175659328/)

hddfsck 08-17-2019 08:12 PM

If I use an infected computer with a linux OS, and etcher validates my .iso transfer, does that mean my sd-card is clean?
 
Hypothetically, if I use a computer with a linux OS, and let's say there is malware in the bios and the firmware and the hdd. And I download an .iso and transfer it to my usb-card reader using etcher, and etcher 'validates' my .iso transfer, and then unmounts immediately afterwards, as it does, would that mean the new linux OS on my sd-card is clean, or could it still be infected?

berndbausch 08-18-2019 05:36 AM

etcher just validates that the data on the card is identical to the data on the ISO file. It doesn't check for malware.

I don't know how your hypothetical infections can be transferred to the ISO file, but my ignorance won't protect you.

pan64 08-18-2019 05:46 AM

yes, it actually depends (may depend) on the malware itself. If that was able to do something tricky (unexpected) ...

fatmac 08-18-2019 06:14 AM

If worried about an infected download, I'd create an md5sum of your downloaded .iso, then check it online, (that is, don't download the md5sum), against the genuine md5sum issued by the distro website.

rtmistler 08-18-2019 09:38 AM

Quote:

Originally Posted by hddfsck (Post 6026273)
Hypothetically, if I use a computer with a linux OS, and let's say there is malware in the bios and the firmware and the hdd. And I download an .iso and transfer it to my usb-card reader using etcher, and etcher 'validates' my .iso transfer, and then unmounts immediately afterwards, as it does, would that mean the new linux OS on my sd-card is clean, or could it still be infected?

How is it that you've concluded that you have malware in BIOS, in firmware, as well as the HDD?
  1. You can upgrade BIOS by booting your system live and programming newer, or the same version to the BIOS. You just have to prepare all the files and utilities for this in advance.
  2. What exact firmware are you complaining about? For instance on a motherboard, the firmware is the BIOS. Granted there are other cards which can have firmware, but you've not been specific enough here.
  3. If you suspect a hard drive, you can set it aside and use an entirely clean one. You can also attempt to wipe a hard drive completely, but if you do not trust any wiping actions, then do not use the hard drive.
If you suspect that you have an infected system, and at several levels in that system, then deal with each component independently, clean them to your satisfaction, and the proceed to install a fresh OS. Further, do not use this system until you feel you have sufficiently cleaned it. If this is your only system and you have nothing else to use, then recommend you approach a friend, relative, or person you know who has a PC and see if they can help you download the utilities you need onto fresh media.

ehartman 08-18-2019 10:25 AM

Quote:

Originally Posted by fatmac (Post 6026393)
If worried about an infected download, I'd create an md5sum of your downloaded .iso, then check it online, (that is, don't download the md5sum), against the genuine md5sum issued by the distro website.

But what if your system is infected in such a way that md5sum (and other checking programs) are infected too and deliver the wrong (compared to NON-infected) answers.
With an infected system all bets are off.
Note that the OP was talking about a BIOS infection, so just booting up a live-system isn't enough, the only way is to check the iso on a NON-infected system (which on ITS turn should be checked first from an original live-system DVD, preferable NOT a burned one).


All times are GMT -5. The time now is 03:43 PM.