VPNs can protect you from malware injection because of their strong encryption, but some go the additional mile and provide malware blockers that block malicious Web-sites with the DNS amount, like CyberGhost does (read https://usagevpn.com/vpn/nigeria-vpn-chrome-extension/