Absolutely. Avast’s free antivirus will detect and remove spyware, malicious viruses, infections, trojans, ransomware, and other threats that want to gain access to your device. It does all this and it’s completely free.