Good anti-virus and malwarebytes would be perfect to protect your computer from these attacks,using hardwallet would be the most secured way to protect your cryptocurrencies its either ledger or trezor these are the trusted hardwallets plus use metamask extension to protect your private keys whenever you are using or trading in dex or decentralize exchanges like forkdelta/etherdelta.