How to remove a malware from the time machine backup?
A malware file has been found on my mac. i can delete it but it remains in my time machine backup. how do i remove it and all backup copies from the time machine backup?
[Re-Titled by Moderator]
A malware file has been found on my mac. i can delete it but it remains in my time machine backup. how do i remove it and all backup copies from the time machine backup?
[Re-Titled by Moderator]
I'm not on my Big Sur machine right now to verify but not to long ago I did verify that you could Control (right) - click on an item in Time Machine and select the option to delete all copies of it.
The caveat to this is that you have to go to yesterday or before in order for that option to be available.
The router is new and the archive is not. The malware file was detected on both the Mac HD and the TM archive. So it did do the job of finding it in a place where it could potentially cause harm.
As I cannot remove the file from the archive, which I think is crazy, I have deleted the archive altogether and created a new one based on the content of my Mac at the present time.
Unfortunately that feature has been removed in Big Sur. It seems the only way to delete a file from a big Sur time machine backup it to delete the entire backup set.
Thats it for me on this topic. I just have one comment to people. Don’t be so aggressive. I asked an innocent and legitimate question about the functionality of a piece of apple software just to be met with a tirade on the pros and cons (none it seems) of malware detection software - completely irrelevant to my question and not any opinion I sought.
The point is nothing to do with the fact that the file was flagged as malware. It is the point that files which have been backed up to time machine cannot be removed from that backup.
it is that simple. Talking about Apple’s security an resilience to malware or viruses is irrelevant to my initial question.
I deleted my time machine backup and created a new one today. Drastic measures to delete ONE file.
But it does mean time machine cannot be used in Europe to back up files containing personal data. It is a requirement by law that such files are removed from ALL systems once they are no longer legitimately required by the business.
GDPR doesn’t protect purported or actual malware.
Anti-malware detection tools routinely encounter false positives. Routinely.
Time Machine can delete specific files from existing backups.
Time Machine can be configured to not back up certain files, or to not back up certain devices.
Run the suspect file through VirusTotal, and see if any other tools flag the file, and whether the other reports (if any) are sensible and consistent, or—and as routinely happens—bogus, such as some ancient Windows malware mis-detection within a macOS app file or macOS document.
As for what I’m reading in this thread, you will also definitely want to discuss this whole matter and data retention in general with legal counsel, as some of what I’m reading in this thread seemingly conflicts with my understanding of GDPR requirements.
Send your Time Machine feedback to Apple > Product Feedback - Apple
It won’t do any damage in your backup. Once you make another backup, then you won’t ever restore it either. Eventually, it will age out of Time Machine.
Hi there!
I would, personally uninstall this Netgear antivirus completely, and just install and run this:
https://www.malwarebytes.com/mac
(There is a temporary free version you can run as well).
Otherwise, If you are careful online, keep your Mac updated, as they come, and restart your Mac every now and then, it should be just fine. And chances are, after uninstalling your anti virus, the un-necessary pop ups will stop.
electrician1982 wrote:
Isn’t it strange that a request to deal with a misgiving in the Apple Time Machine backup software has. There could be many legitimate reasons to do so, including compliance with European GDPR rules which govern how long personal data can be kept.
All of which is completely irrelevant because there is nothing you can do about it. If it is a problem, use another backup solution.
electrician1982 wrote:
Is is being reported at malware every few hours by NETGEAR Armor security. Even if it can’t do any harm in time machine, it is annoying to get the threat notifications constantly.
That's also part of your problem. First, there is no reason to ever install or run any 3rd party "cleaning", "optimizing", "speed-up", anti-virus, VPN or security apps on your Mac. This user tip describes what you need to know and do in order to protect your Mac: Effective defenses against malware and other threats - Apple Community.
There are no known viruses, i.e. self propagating, for Macs. There are, however, adware and malware which require the user to install although unwittingly most of the time thru sneaky links, etc.
Anti Virus developers try to group all types as viruses into their ad campaigns of fear. They do a poor job of the detecting and isolating the adware and malware. Since there are no viruses these apps use up a lot of system resources searching for what is non-existent and adversely affect system and app performance.
There is one app, Malwarebytes, which was developed by a long time contributor to these forums and a highly respected member of the computer security community, that is desshoigned solely to seek out adware and known malware and remove it. The free version is more than adequate for most users.
Also, unless you're using a true VPN tunnel, such as between you and your employer's or bank's servers, they are useless from a privacy standpoint: Public VPN's are anything but private.
I did choose to delete the entire backup set today but not because I wanted to. Of course I could have lived with the single suspect file being in that backup.
Seriously, Apple have made a big mistake here. Organisations will not be able to use time machine backups in Europe if they handle personal data. A simple mailing list must be deleted once it has been used. So, if I’m running a direct marketing campaign that will span some weeks, I cannot back my files up using Time Machine as I would fall foul of the law when I couldn’t delete those files on completion of the campaign. My only option would be to delete a complete backup set and start a new one. That sounds like a flaw in the backup solution to me.
[Edited by Moderator]
Why do you considerate it as 'garbage'? Based on what evidence?
I would actually think the inability to delete files from TimeMachine backups is the issue here, not the merits or otherwise of the scanning utilityI am using.
All AV garbage is garbage. It’s really not arguable. It does absolutely nothing useful, but causes more harm than any malware.
I need to upgrade my router, and if there is no way to disable that garbage, I can leave Netgear products out of the search.
I would actually think the inability to delete files from TimeMachine backups is the issue here
That ship has sailed. There is no way to do that, likely due to using snapshots for the backup.
electrician1982 wrote:
A malware file has been found on my mac. i can delete it but it remains in my time machine backup. how do i remove it and all backup copies from the time machine backup?
Third party AV is not recommended— it typically does nothing but add issues, false positives, etc to the macOS and competes directly with Apples own built in security.
Apple uses its Software Update service (which also drives system software updates that show in the App Store or via the softwareupdate command-line tool) as a mechanism for installing “background and critical” updates that are installed silently in the background with no notifications to the user.
Gatekeeper mechanism, central to security services, which tries to ensure that any code loaded is ‘safe’. Code signatures are only part of this.
XProtect checks the security and integrity of files, including in broader ways too, vulnerable document types, such as JPEG images, are also screened to ensure that they’re not malicious.
Apple’s Malware Removal Tool (MRT) an app which often complements XProtect’s signature-based screening, and can automatically remove all traces of many different species of malware.
System Integrity Protection (SIP) which ensures that nothing can tamper with key system files, or even Apple’s bundled apps.
macOS - Security - Apple https://www.apple.com/macos/security/
Apple Platform Security - Apple https://support.apple.com/guide/security/welcome/web
Barney-15E wrote:
I need to upgrade my router, and if there is no way to disable that garbage, I can leave Netgear products out of the search.
Not only can you turn it off, but apparently people using it have to PAY to use it!
Isn’t it strange that a request to deal with a misgiving in the Apple Time Machine backup software has turned into a slagging match of NETGEAR!
The fact is, not being able to delete a file from an archive is nonsense. There could be many legitimate reasons to do so, including compliance with European GDPR rules which govern how long personal data can be kept.
How to remove a malware from the time machine backup?