If I use an infected computer with a linux OS, and etcher validates my .iso transfer, does that mean my sd-card is clean?
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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?
Distribution: Mainly Devuan, antiX, & Void, with Tiny Core, Fatdog, & BSD thrown in.
Posts: 5,521
Rep:
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.
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?
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.
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.
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.
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).
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.