How to Block USB Storage Access and Set Exclusions Using Intune - Netwoven

How to Block USB Storage Access and Set Exclusions Using Intune

By Subhankar Bhattacharjee  •  September 11, 2024  •  1372 Views

How to Block USB Storage Access and Set Exclusions Using Intune

Introduction

USB drives, while convenient, pose a significant security risk, as they can easily introduce malware or facilitate data exfiltration. For organizations using Microsoft Intune and Microsoft Defender, it’s possible to set up a robust system to restrict USB drive access. This guide will walk you through the steps to achieve this.

Prerequisites

Before you start, ensure you have the following:
Microsoft Intune Subscription

Intune is part of Microsoft’s Enterprise Mobility + Security (EMS) suite. It allows you to manage devices and apps, including setting policies for device access.

Microsoft Defender for Endpoint

Defender provides advanced security features and integration with Intune to enhance endpoint protection.

Administrative Access

You need to have administrative rights on both Intune and Defender to configure these settings.

Create “Attack Surface Reduction Rules”

1. Create Approved USB Mass Storage Device List

  • Sign in to the Microsoft Intune admin center
  • Go to Endpoint Security  
  • Select Attack Surface Reduction under Manage 
  • Select Reusable Settings and click on Add
  • Provide a policy name and description (optional) 
Reusable Settings
  • Click Next 
  • Under Configuration Settings click Add and select Removable Storage 
Configuration Settings
  • Click on Configure Settings
Configure Settings Processing
  • In the next pop-up window set the USB Mass Storage device details

Note: In this document, we have used serial no.

Storage device details
  • Click on Save 
  • The list should now show the device that you have added 
  • For Match Type select Match Any
configure reusable settings
  • Click Next to go to Review section and click Save

2. Create “Block All USB Mass Storage Policy”

  • Go to Endpoint Security  
  • Select Attack Surface Reduction under Manage 
  • Select Reusable Settings and click on Add
Attack Surface Reduction
  • Provide a policy name and description (optional)
reusable settings
  • Click Next 
  • Under Configuration Settings click Add and select Removable Storage
Configuration Settings process
  • Click on Configure Settings
Reusable settings
  • In the next pop-up window enter this text string “RemovableMediaDevices” in Name and Primary ID field and click Save
  • For Match Type select Match Any
  • Click Next to go to Review section and click Save

Create “Attack Surface Reduction rule”

  • Go to Endpoint Security  
  • Select Attack Surface Reduction under Manage 
  • Go to Summary tab (by default selected) 
  • Click on Create Policy 
  • In the Create a Profile pop-up window select Platform as Windows 10, Windows 11, and Windows Server 
  • In Profile select Device Control 
  • Click Create 
  • Provide Name and Description (optional) of the policy
  • Click Next 
  • In the next window scroll down and go to Device Control 
  • Click on Add 
  • Provide a policy name. 
  • Click on Set Reusable Setting under Included ID and Excluded ID one by one 
  • Add the block all USB Mas storage policy created in earlier under Included ID and Add the Approved USB Mass Storage policy created in earlier under Excluded ID 
  • Save 
  • The policy should look like this if configured correctly

Policy Assignment

Once the Attack Surface Rule is configured it should be targeted to device groups.

Click on the ASR policy we have created 
  • Navigate to Assignments 
  • Add the desired group under Included Groups 
  • If any device group needs to be excluded, then add it under Excluded Groups (Optional) 
  • Click Save

Download USB Mass Storage Details Viewer

References

There are several ways available to achieve the USB Mass Storage restriction with exclusion. Below are some links for configuring the policy as per business needs.

Conclusion

Securing your organization from unauthorized USB devices is a critical aspect of maintaining data integrity and protecting the organization from malware. By using Microsoft Intune to block all USB drives and Microsoft Defender to allow only approved devices, you create a robust security posture that minimizes risk while ensuring productivity remains unaffected. 

Netwoven provides expert guidance to enterprises throughout the migration process, ensuring meticulous execution from tenant configuration to scenario validation. Our comprehensive testing phase plays a pivotal role in validating the migration strategy, ensuring smooth and seamless functionality in the new Intune environment. If you’re looking to block USB storage access and set exclusions using Intune, feel free to contact us for expert assistance. 

Leave a comment

Your email address will not be published. Required fields are marked *

Dublin Chamber of Commerce
Microsoft Partner
Microsoft Partner
Microsoft Partner
Microsoft Partner
Microsoft Partner
Microsoft Partner
Microsoft Fast Track
Microsoft Partner
Microsoft Fabric
MISA
MISA
Unravel The Complex
Stay Connected

Subscribe and receive the latest insights

Netwoven Inc. - Microsoft Solutions Partner

Get involved by tagging Netwoven experiences using our official hashtag #UnravelTheComplex