Yep, Macs get infected

Malwarebytes Anti-Malware for Mac scans for and removes code that degrades performance or attacks your system. Making your Mac, once again, your Mac.

Click the image to be taken to the Malwarebytes webpage to automatically  download anti-malware utility. Copy the utility to your Applications folder and then run the utility.