To lessen the chances of this type of malware getting installed on your iMac, there is a setting you can change in Safari.
Open Preferences > General
Remove the check mark from the "Open "safe files" after download"
Perhaps Apple will start to ship new machines with that setting already made
Release a Security Update that changes it.
Hoarding photos on your phone?
Those picture are hogging memory and could be slowing down your phone.