Does erasing the hard drive (SSD) + reinstalling OS from CMD + R on start up wipe out all viruses/keyloggers/exploirs/malware etc?

Hello,


As the title suggests, does erasing the hard drive + reinstalling OS from cmd+r on start up wipe out all viruses/keyloggers/exploirs/malware etc?


Feel free to ask any questions to better help my query and I will respond asap.


Thank you

macOS Sierra (10.12.6), Since updated further.

Posted on Oct 22, 2018 8:54 AM

Reply
Question marked as Top-ranking reply

Posted on Oct 22, 2018 9:48 AM

Fitaap05 wrote:


None of the above... just your average guy with anxiety


Wipe the disk, reinstall, you'll be just fine, then set up two-factor authentication on everything you can, use a password manager, don't download anything you didn't go searching for, disable Office document macros, disable the automatically-open-safe-files setting in Safari, upgrade to current software versions, be skeptical about all mail links and mail attachments and particularly from folks you trust, encrypt everything, choose longer passwords, remove Flash and Java Web Start, etc.


All that is standard and typical advice, too. Yes, Flash has been deprecated for a while and Java Web Start is finally gone with Java 11, but there are still older installations of both around.


Quite unfortunately, what we're dealing with now is past what any of us can reasonably cope with and there've been spoofing efforts that have fooled very competent folks. Everybody is eventually going to get fooled, too. Mistakes happen. We all get tired and hungry and distracted, on occasion.


Plan for it.


So... have backups and preferably have some of those backups rotated off-site and have some depth to your backups, as the backups are your recovery path. Backups are the recovery path for other data-adverse cases, too. Encrypted too, and particularly if copies are going off-site.


FWIW... macOS does have a more advanced and much more complex replacement for the functions provided by BIOS, and that replacement is known as EFI, and there is security research going into EFI, and there've been issues found with EFI. And there've been macro malware and other malware efforts targeting macOS users, and there'll likely be more. Apple added EFI validity checks a while back—ponder why they added that, too—though EFI is not the only place that a software or hardware implant or an exploit can be located within a computer. Apple is doing a pretty good job of hardening Mac security with these EFI checks, System Integrity Protection, encryption, and the T2 hardware. But folks will still find and other folks will still pay for exploits. There are folks actively looking for and finding exploits within the add-on anti-malware tools, too. Most of us will never be the subject of any of these or similarly-expensive exploits, though.

9 replies
Question marked as Top-ranking reply

Oct 22, 2018 9:48 AM in response to Fitaap05

Fitaap05 wrote:


None of the above... just your average guy with anxiety


Wipe the disk, reinstall, you'll be just fine, then set up two-factor authentication on everything you can, use a password manager, don't download anything you didn't go searching for, disable Office document macros, disable the automatically-open-safe-files setting in Safari, upgrade to current software versions, be skeptical about all mail links and mail attachments and particularly from folks you trust, encrypt everything, choose longer passwords, remove Flash and Java Web Start, etc.


All that is standard and typical advice, too. Yes, Flash has been deprecated for a while and Java Web Start is finally gone with Java 11, but there are still older installations of both around.


Quite unfortunately, what we're dealing with now is past what any of us can reasonably cope with and there've been spoofing efforts that have fooled very competent folks. Everybody is eventually going to get fooled, too. Mistakes happen. We all get tired and hungry and distracted, on occasion.


Plan for it.


So... have backups and preferably have some of those backups rotated off-site and have some depth to your backups, as the backups are your recovery path. Backups are the recovery path for other data-adverse cases, too. Encrypted too, and particularly if copies are going off-site.


FWIW... macOS does have a more advanced and much more complex replacement for the functions provided by BIOS, and that replacement is known as EFI, and there is security research going into EFI, and there've been issues found with EFI. And there've been macro malware and other malware efforts targeting macOS users, and there'll likely be more. Apple added EFI validity checks a while back—ponder why they added that, too—though EFI is not the only place that a software or hardware implant or an exploit can be located within a computer. Apple is doing a pretty good job of hardening Mac security with these EFI checks, System Integrity Protection, encryption, and the T2 hardware. But folks will still find and other folks will still pay for exploits. There are folks actively looking for and finding exploits within the add-on anti-malware tools, too. Most of us will never be the subject of any of these or similarly-expensive exploits, though.

Oct 22, 2018 9:12 AM in response to Danny Dorazio

Ah - if it helps, I wiped it because I was logged on (I'm the admin of this computer) and this guy showed me something on python (but I can't read code) so he opened terminal and wrote some code into it and I didn't know what it was.


I was afraid it was some key logger or something he could see my screen, personal info like passwords etc...


so based on the addition information - what do you think?

Oct 22, 2018 9:09 AM in response to Fitaap05

What's your exposure? Are you a journalist, political dissident, or have access to sensitive governmental or health or financial data, or have access to someone else that does, or otherwise someone of interest to a persistent or well-funded adversary?


Or are you an end-user who's not wealthy and not well-connected and not holding access to classified or military data, and not otherwise causing problems for somebody far richer than you?


Have untrusted folks had unrestricted physical access to your computer or to your network or network-connected devices? Compromised network-attached printers can provide network beachheads, and can make surprisingly effective network probes, for instance.


Most folks just aren't worth the effort and the costs and the risks of mounting a sophisticated attack. Are you?

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Does erasing the hard drive (SSD) + reinstalling OS from CMD + R on start up wipe out all viruses/keyloggers/exploirs/malware etc?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.