Ransomware is now infecting mac computers - http://www.myce.com/news/security-researchers-discover-ransomware-apple-computers-tor-network-82111/
Do not believe it is the first, or the last. Same advise applies to Mac as to Windows, make sure you have a good backup!