Microsoft Defender update kills Start Menu shortcuts and program files on Windows

Alfonso Maruccia

Posts: 1,016   +301
Staff
Facepalm: Microsoft Defender should provide plenty of security features for Windows-based home and enterprise customers. Some of those features, however, are turning against users and making system administrators regret yet another unlucky Friday the 13th.

Last Friday was a rather unlucky day for Windows users and system administrators worldwide. According to multiple reports, Microsoft Defender for Endpoint turned into a shortcut and file "killer" that fateful day, after the security suite began to delete application shortcuts from the Windows Taskbar and Start Menu, sometimes even removing the linked program files from disk.

The issue was experienced by multiple system admins on Windows 10 and Windows 11, and its likely cause was soon pinned down to an ASR rule modified by a recent update for Defender. Attack surface reduction (ASR) rules target certain software behaviors like launching executables and scripts, running obfuscated scripts or "performing behaviors that apps don't usually initiate during normal day-to-day work," Microsoft explains.

The ASR rule in question is "Block Win32 API calls from Office macro," sysadmins discovered, and it went haywire after Microsoft released the 1.381.2140.0 signature update for Defender. In some cases, the modified rule pushed the system antimalware to both remove the shortcuts and uninstall the Office productivity suite altogether.

In addition to Office, many other programs were affected by the shortcut and file-killer update, including Google Chrome, Mozilla Firefox, Slack, Visual Studio, Notepad++, Adobe Acrobat, and more. A subsequent bulletin from Microsoft confirmed that the issue was indeed the updated "Block Win32 API calls from Office macro" ASR rule.

As a mitigation measure, the Redmond corporation said system administrators could change ASR behavior to "Audit Mode" by using Intune or Windows's own Group Policy. A definitive solution then came a day later, with a new ASR rule included in the 1.381.2164.0 update for Defender. However, shortcuts and programs deleted by the AV were lost for good, Microsoft said, as they had to be recreated or reinstalled from scratch.

A further update posted on Microsoft Community Hub offered a partial solution to this last issue, with a PowerShell script designed to recreate the deleted shortcuts for 33 of the most popular programs affected by the bug (see list below). Needless to say, the script didn't bring joy to those sysadmins that were forced to reinstall deleted programs or recreate the shortcuts that were deployed per-user in a multi-user organization.

Adobe Acrobat Adobe Photoshop 2023
Adobe Illustrator 2023 Adobe Creative Cloud
Firefox Private Browsing Firefox
Google Chrome Microsoft Edge
Notepad++ Parallels Client
Remote Desktop TeamViewer
Royal TS6 Elgato StreamDeck
Visual Studio 2022 Visual Studio Code
Camtasia Studio Camtasia Recorder
Jabra Direct 7-Zip File Manager
Access Excel
OneDrive OneNote
Outlook PowerPoint
Project Publisher
Visio Word
PowerShell 7 (x64) SQL Server Management Studio
Azure Data Studio  

Permalink to story.

 
This is the first piece of junk software that gets deleted anytime I do a fresh install of windows. Along with the entire app store and all the silly apps with it.
 
This is the first piece of junk software that gets deleted anytime I do a fresh install of windows. Along with the entire app store and all the silly apps with it.
Yeah, right, "deleted", cool story bro. No, don't tell us about it, we really don't care.
 
Deleted like it's gone for good lol

MS just adds it all back with the next update. Granted you can turn off Windows Update but then why not just use another OS? **** happens. It's apart of our lives. Adapt or move on.

Didn't have any issues over the weekend but I'm not in IT or a Admin. If you are those then you are use to it by now, part of the job. Don't like, time for a new job.
 
Windows Defender is defending you from being lazy by removing all shortcuts and links. =p

In all seriousness, I will never recommend anyone to immediate update their Windows because it is not uncommon the botch up the update. In fact, it will be surprising if they don't botch up an update. So while you think you are "securing" your system, but the system is "killing itself" because of the updates.
 
Now if Windows Defender would remove Windows again as they've done in the past. Very nice. Of course, in my case, I'm already to switch to FreeBSD and dump Windows simply due to the incompetence they've shown over the years in regards to security.
 
Let's get this clear this not about the default Microsoft defender that comes with any win 10 / 11 install this is Microsoft Defender Endpoint the paid product
which is a sad thing indeed I'd expect this sort of behaviour from the free version but not the paid app
I've not had a problem with the free OTB version at all
 
So Defender had become aware off itself on Jan the 13th 2023 and started deleteing anything that could be a risk for his user.
Like Skynet but defending humans?

;-)
 
Yeah, right, "deleted", cool story bro. No, don't tell us about it, we really don't care.
Speak for yourself. They're right. Windows Defender is more headache than it's worth.

Yet another reason to disable automatic updates.
 
Windows Defender is defending you from being lazy by removing all shortcuts and links. =p

In all seriousness, I will never recommend anyone to immediate update their Windows because it is not uncommon the botch up the update. In fact, it will be surprising if they don't botch up an update. So while you think you are "securing" your system, but the system is "killing itself" because of the updates.
Neither does MS. They just tell you to keep up with updates, not actually push the button. Hence the whole auto update.
 
Back