(Not so) fun fact, a lot of Windows viruses work under Wine on Linux. If you have ransomware bundled with your pirated media, it will likely also encrypt your Linux files.
Use Bottles as a Flatpak, isolate all your applications from each other and from your host system.
I mean it's probably possible to craft a Windows virus that targets Linux through Wine, but I don't think a generic Windows malware would do any damage on Linux.