Did your machine do anything typical of malware, such as throw up a ransom notice? Did a run of anti-virus software identify a known piece of malware?
Hmm. Which anti virus software should I buy
Well, first, you don't have to "buy" one. There are a number of anti-virus (AV) programs for the Macintosh that are free. For instance:
ClamXAV
ClamXav
avast! Free
avast! Free Antivirus for Mac | Security Software for Apple OS X
AVG AntiVirus
http://www.avg.com/us-en/avg-antivirus-for-mac
Avira Mac Security
Free Antivirus for Mac - Download the best Mac antivirus
BitDefender
Bitdefender Virus Scanner for Mac
Download one, and do a scan. However, you may want to uninstall that program afterwards so that it doesn't slow down or destabilize your Mac, as many fully interactive AV programs have been known to do.
Why do I recommend that you get an AV program and run it on you Macintosh? Well, many switchers, used to the horrible malware situation on Windows, instinctively assume that any and all problems that they experience with their Mac must be due to "a virus." They don't know yet that when encountering a problem with your Mac, it isn't logical to automatically assume that malware in the cause. Especially if the problem is manifesting itself in such a way that no known malware exists to cause it.
If you run an AV program on your Mac, and it doesn't find any malware, then...you don't have one. So you will then have proven to yourself that your Mac is not infected with malware and that you have to move on and do other sorts of (more fruitful) troubleshooting on your computer.
By the way, Macintosh AV software will also scan for a subset of Windows viruses. It isn't uncommon for AV software to find that you have a Windows virus on your Mac; usually a file attachment to an e-mail message. These Windows viruses can't run on a Mac, nor can they damage your Mac in any way. So if the AV software that you run flags something and gratuitously tells you that it saved you from an infection, make sure that you write down what that infection was. It was likely nothing that you needed saving from.
...for the system that claims no viri ? Or malware?
Who claimed that there is "no malware" for the Macintosh? I didn't. Did anyone?
There definitely is malware for the Macintosh. There isn't much of it. What exists is extremely rare to encounter. And, at least for now, just about all of what exists can't harm your Mac. Your Mac even defends itself to a point with built-in AV software called XProtect/Gatekeeper.
Not a slam. A question. If there isn't any, why was it written?
I bet you can answer this one yourself. Have you ever encountered a product that you didn't need in the store? Possibly even a product that *no one* needs?
To avoid a long discussion, let me just tell you: To make MONEY.
That's also the answer to the reason why a company might exaggerate the need for something that you don't need, possibly to the point of causing some folks to become paranoid.
I really don't want to have to keep on regurgitating the same thing in this thread. May I instead recommend an article.
Rich Mogul, a well known Mac security expert, wrote this article last year. He was asked last week if he had changed his outlook, and he said that his view had not changed and referred folks back to this article:
Do You Need Mac Antivirus Software in 2013?
TidBITS: Do You Need Mac Antivirus Software in 2013?