As usual, the free software for security is a bad idea.
Follow the manufacturer instructions if possible:
In the days since its discovery, Apple has acknowledged the threat is real, and the company is reportedly hard at work on an update that will remove the software. Until then, the Mac makers have posted a handy removal guide for those who prefer to take matters into their own hands. Follow the steps below — straight from Apple — to remove Mac Defender and make sure your computer is clean.
Move or close the Scan Window
Go to the Utilities folder in the Applications folder and launch Activity Monitor
Choose All Processes from the pop up menu in the upper right corner of the window
Under the Process Name column, look for the name of the app and click to select it; common app names include: MacDefender, MacSecurity or MacProtector
Click the Quit Process button in the upper left corner of the window and select Quit
Quit Activity Monitor application
Open the Applications folder
Locate the app ex. MacDefender, MacSecurity, MacProtector or other name
Drag to Trash, and empty Trash
Open System Preferences, select Accounts, then Login Items
Select the name of the app you removed in the steps above ex. MacDefender, MacSecurity, MacProtector
Click the minus button
Upon completing these steps, your Mac should be completely free of the program.
Apple via VentureBeat