The way to protect yourself from malware (of any type) is to avoid running dubious software on your PC ie software you have no good reason to trust. Keep your system patched and up to date. Linux ...