Created
April 16, 2016 20:05
-
-
Save 3on/53b4ca37f54e9c2e625b919b36951bb7 to your computer and use it in GitHub Desktop.
Clean you mac from MacCleaner/Mackeeper malware in 3 steps.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 1. List all the daemons running on you mac that are not published by apple. | |
# Search on google any name that you do not trust. | |
# MacKeeper has at least one with a strange name. | |
launchctl list | grep -v com.apple | |
# 2. Remove all the suspecious daemons. | |
# You won't be able to simply kill -9, they all restart each other and redownload themselves. | |
launchctl remove com.malware.something | |
# 3. Remove all associated files | |
sudo find / -name "*malware*" -print -delete 2>/dev/null | |
# Sometimes find failed to actually remove the files, run it a second time to make sure | |
find / -name "*malware*" -print 2>/dev/null | |
# If anything still show up | |
sudo rm -rf /path/to/file/or/directory/to/remove | |
# If it comes back you have probaly missed one so back to step one. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment