Microsoft Removes WMIC from Windows 11 After Years of Abuse as LOLBIN by Ransomware and Attackers

Microsoft has begun permanently removing the legacy WMIC command-line utility from Windows 11, starting with versions 24H2 and 25H2. The tool is no longer available in fresh installations, has been dropped as an optional component, and is absent from the latest beta builds. WMIC provided text-based access to Windows Management Instrumentation for querying hardware, processes, services, and security software, as well as performing administrative tasks. Although the underlying WMI technology remains untouched, Microsoft has deprecated the command shell due to its long-standing use as a LOLBIN in cyberattacks. Ransomware operators have leveraged WMIC to delete shadow copies and hinder recovery, while other attackers used it to enumerate and disable security tools or add exclusions in Microsoft Defender. Administrators are directed to migrate to PowerShell, COM API, .NET libraries, and modern scripting languages, which will require rewriting legacy automation scripts.

AntiMalwareTranslated from Russian

Read at source

Microsoft has started the final removal of the legacy command-line utility WMIC from Windows 11. The tool is already missing from new installations of versions 24H2 and 25H2, is no longer offered as an optional component, and has disappeared from the latest beta builds of the operating system.

WMIC allowed administrators to manage Windows Management Instrumentation through text commands, retrieving information about hardware, processes, services, and security software while also executing administrative operations. The core WMI technology itself remains intact; only the old command-line interface has been retired.

Microsoft has been preparing this deprecation for years. WMIC was first marked as deprecated in Windows Server 2012, then again in Windows 10 21H1. In Windows 11 22H2 it was moved to optional components, later disabled by default, and is now being fully removed.

The decision stems not only from the tool's age but also from its widespread abuse as a LOLBIN. Attackers have long used the signed Microsoft binary instead of deploying suspicious executables. Ransomware groups have employed WMIC to delete shadow copies, preventing victims from restoring encrypted data. Other threat actors have used it to discover installed security products, disable them, or add exclusions to Microsoft Defender.

Administrators are advised to transition to PowerShell, the COM API for WMI, .NET libraries, and contemporary scripting languages. Existing scripts that rely on WMIC commands will need to be rewritten after the update, or automation workflows will stop functioning.

The change reduces the number of built-in tools available to attackers but also removes a familiar utility from the toolkit of system administrators.

Meridian digestThe week's most consequential security stories, distilled into one briefing.See the digest

More in Malware & Botnets

Yoba Campaign Uses Signed ChatGPT and Claude Binaries for DLL Sideloading and XMRig Deployment
uCreator Spyware Infiltrates Modified Telegram, WeChat and GCash Builds on Android
Researchers Deploy Cowrie Honeypot Disguised as NVIDIA H100 Server to Study SSH Botnet Tactics