Skip to main content

The Windows Defender Antivirus Sandbox in Windows 10

Microsoft implemented new functionality in Windows Defender Antivirus for Windows 10 recently that makes the antivirus solution run in a sandbox on the system.


The feature, which is available in Windows 10 version 1703 and newer, needs to be enabled for the time being as it is not active by default currently.


Microsoft hopes that Windows Defender Antivirus' new restrictive process execution environment helps protect the application against attacks that are targeted directly at it. Antivirus solutions often need to run with high privileges to protect the entire system against malicious attacks; the need to run with high privileges make antivirus programs high profile targets, especially if they are used widely.


Microsoft stated that it is unaware of  targeted attacks "in-the-wild" against Windows Defender Antivirus but that security researchers identified ways to attack Windows Defender Antivirus successfully in the past.


A sandboxed environment adds another layer of protection to the antivirus solution. Malware that aims to exploit Windows Defender Antivirus successfully would have to exploit a vulnerability in the application itself and find a way to break out of the sandboxed environment that Microsoft created for the security software.


Running Windows Defender Antivirus in a sandbox ensures that in the unlikely event of a compromise, malicious actions are limited to the isolated environment, protecting the rest of the system from harm.


Enable Windows Defender Antivirus sandboxing


windows defender antivirus sandbox


Sandboxing is not enabled by default at the time of writing. It is available, however, on all devices running Windows 10 version 1703 or higher.


Tip: if you are unsure about the Windows version run winver.exe on Start to display it.


Here is what you need to do to enable Windows Defender Antivirus sandboxing right now:



  1. Open the Start menu.

  2. Type powershell.exe to display PowerShell as one of the results.

  3. Right-click on the result and select "run as administrator" or hold down the Shift-key and the Ctrl-key before you select the result. Both options execute PowerShell with elevated rights.

  4. Confirm the UAC prompt that may be displayed.

  5. Run setx /M MP_FORCE_USE_SANDBOX 1.

  6. Restart Windows.


The command sets a new system variable that tells Windows to run Windows Defender Antivirus with sandbox functionality.


Verifying that the sandbox is running is simple: open the Windows Task Manager with a tap on Ctrl-Shift-Esc and make sure you display all details (click on more details if not), and look on the Details tab of the program.


Locate MsMpEngCP.exe there. If you see it, the sandbox is up and running. The process runs with low privileges and uses "all available mitigation policies" according to Microsoft.


You can use third-party programs like Process Explorer as well if you prefer those to verify that the sandbox is enabled.


Check out Microsoft's blog post on the Microsoft Secure blog for implementation details and challenges that Microsoft faced during research and development.


Now You: Which antivirus solution do you run?


Ghacks needs you. You can find out how to support us here or support the site directly by becoming a Patreon. Thank you for being a Ghacks reader. The post The Windows Defender Antivirus Sandbox in Windows 10 appeared first on gHacks Technology News.

Comments

Popular posts from this blog

How A/B Partitions and Seamless Updates Affect Custom Development on XDA

When Android Nougat released, it had us talking about all kinds of new features . We got a newly updated user interface for starters along with long-awaited multiwindow capabilities and Vulkan Graphics API support. But one under-the-hood addition flew over the heads of most users. Android Nougat introduced “Seamless Updates” on devices that support A/B partitions. The vast majority of existing Android devices (excluding the new Google Pixel and Google Pixel XL ) did not have A/B partitions at the time and thus couldn’t take advantage of seamless updates. The basic premise of this feature is that the device has a second set of the system, boot, vendor, and other important partitions, and when you get an OTA update the update happens in the background while the second set of partitions are patched which lets you reboot into an updated software build seamlessly. If an update fails, you’ll be kicked back to a working build, meaning companies will have fewer headaches to deal with and con...

Can you use the Tor Browser without Tor connection?

Tor Browser is a web browser specifically designed for privacy and anonymity. The web browser is a modified version of Firefox ESR that includes privacy tweaks and even some extensions to improve privacy and security on the Internet. What makes it special is that all connections go through several severs of the Tor network before they connect to the destination. Connections to Tor improve privacy when you are online but could you, in theory, run Tor Browser without Tor? Tor Browser without Tor would still provide better out-of-the-box privacy than Firefox ESR or Firefox Stable -- and other browsers. It is arguably the browser with the best default privacy configuration which might make it attractive to some users. Dropping Tor reduces privacy while online but that can be compensated, e.g. by connecting to a VPN or even chaining VPN services  and it would speed things up significantly. Tor is the better choice when it comes to critical tasks, e.g. leaking documents or communication...

Microsoft debuts ad-blocker in Edge for Android

The most recent version of Microsoft Edge for Android includes built-in ad-blocking functionality that users of the web browser may enable. Microsoft released Microsoft Edge, a new web browser for Windows 10 when it released the first version of Windows 10 to the public. Edge did not support extensions by default but launched support for extensions in 2016 . While Microsoft Edge does support extensions, the overall count of extensions available for the browser is quite low . Microsoft revealed that it planned to release mobile versions of Edge for Android or iOS in 2015 but it took the company more than two years to release the first preview version for mobiles. The mobile version did not support extensions when it was released and it does not support extensions up to this day. Edge for Android with Content Blockers Android users who run Microsoft Edge on their devices as a browser or the browser may have noticed a new content blocking feature in the browser recently. The new...