3

Case 1) Let's say some software isn't available in the repositories and you have to download it from a website and install it.

Case 2) You have downloaded a DRM free paid software but can no longer download the latest version (like Humble bundle without steam keys) and it has been sitting there forever and you find the need to use it again, but are not sure if it has been infected and you can't take a chance.

Case 3) You backed up your software to a USB storage and are not sure if it has been modified or infected but want to install it.

Case 4) You get software from a friend. You want to install it.

What can be done in the above cases to reduce the risk of malware?

Also please don't point that the chances of getting malware on linux are less.

closed as too broad by Zanna, Pilot6, Eric Carvalho, David Foerster, edwinksl Nov 22 '16 at 17:50

Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. Avoid asking multiple distinct questions at once. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.

0

Virus checker - run the code through Avast, AVG, BitDefender (must select "Evaluation version"), Comodo, and, of course, ClamTK (install from Synaptic).

How long has it been out there? How long has the maintainer been out there? Do a web search for complaints or bug reports. Old bug reports are a good sign... it's been around a while.

Download the source and recompile it. If the compilation matches the download, chances are low that it contains malware.

You may wish to enable SELinux, see more, see home page.

Best of all, review the code or ask a Linux guru to look at it.

Not the answer you're looking for? Browse other questions tagged or ask your own question.