Technowand
Secure Score How-To

← Back to Secure Score Hub

How to Block Untrusted and Unsigned Processes Running from USB Drives

Last updated: November 2026

USB drives are still one of the easiest ways to get malware past network defences. This guide shows you how to turn on the Microsoft Defender Attack Surface Reduction rule "Block untrusted and unsigned processes that run from USB" in Microsoft Intune, check that it is working, and close the matching Microsoft Secure Score recommendation.

Estimated time: 15 minutes. No end-user disruption expected.

What you'll achieve

Block USB-based malwarePrevent executables and scripts delivered via USB from launching, reducing your attack surface against physical media threats.
Improve your M365 Secure ScoreOnce the rule is in Block mode on your devices, Microsoft marks this Secure Score recommendation as Completed.
Deploy without end-user disruptionThe Attack Surface Reduction rule targets only unsigned and untrusted processes, leaving normal USB file access unaffected for users.

Why block untrusted USB processes?

USB drives remain one of the most effective ways to introduce malware into a corporate environment — even in organisations with strong perimeter security. Attackers use USB-delivered executables to bypass network-based defences entirely.

Microsoft’s Attack Surface Reduction (ASR) rules let you block untrusted and unsigned processes launched from removable storage at the OS level, enforced via Intune — no additional software required.

In Block mode, only untrusted and unsigned programs launched from USB are stopped. Users can still open and copy files on USB drives as normal.

Before you start

  • Microsoft Intune licence (included in Microsoft 365 Business Premium, E3, or E5).
  • Global Administrator or Intune Administrator role.
  • Windows 10 / Windows 11 devices enrolled in Intune.
  • Microsoft Defender Antivirus active (not in passive mode).

Step-by-step

Follow these steps in the Microsoft Intune Admin Center to configure the Attack Surface Reduction rule.

1

Log in to Microsoft Intune Admin Center

Open your browser and go to https://intune.microsoft.com/. Sign in with your Global Administrator or Intune Administrator account. Confirm you land on the Intune Home dashboard.

Log in to Microsoft Intune Admin Center
2

Navigate to Endpoint Security › Attack Surface Reduction

In the left navigation, click Endpoint Security. Under the Manage section, click Attack Surface Reduction. You will see the Attack Surface Reduction policies list.

Navigate to Endpoint Security › Attack Surface Reduction
3

Create a new policy

Click Create Policy. In the Create a profile panel on the right, set Platform to Windows and Profile to Attack Surface Reduction Rules. Click Create to open the policy wizard.

Create a new policy
4

Set "Block untrusted and unsigned processes that run from USB" to Block

On the Configuration Settings tab, scroll to find ‘Block untrusted and unsigned processes that run from USB’. Change the dropdown from Not configured to Block. Leave all other rules as Not configured unless separately required. Click Next.

Set "Block untrusted and unsigned processes that run from USB" to Block
5

Configure Scope Tags and Assignments

On the Scope Tags tab, the Default tag is pre-selected — click Next. On the Assignments tab, click Add groups and select All Devices (or a specific device group). Click Next to proceed to Review + create.

Configure Scope Tags and Assignments
6

Review and save the policy

Review the summary — confirm Basics shows the correct name, Settings shows 1 setting, and Assignments shows your chosen group. Click Save. The policy will appear in your Attack Surface Reduction policies list and begin deploying to enrolled devices.

Review and save the policy

How to confirm it worked

  • In Intune, open the policy and check the Device and User check-in status — look for Succeeded.
  • In Microsoft Secure Score (security.microsoft.com), search for ‘Block untrusted and unsigned processes that run from USB’ — the status should update to Completed within 24–48 hours.
  • Your Secure Score total will reflect the additional points once Microsoft processes the policy state.
  • Event Viewer on a test device: open Applications and Services Logs > Microsoft > Windows > Windows Defender > Operational. Event ID 1121 means the rule blocked a process, 1122 means it would have blocked it (audit mode), and 5007 means Defender settings changed.
  • PowerShell: run Get-MpPreference | Select AttackSurfaceReductionRules_Ids, AttackSurfaceReductionRules_Actions and look for rule ID b2b3f03d-6a65-4f7b-a9c7-1c7ef74a9ba4. Action 1 = Block, 2 = Audit, 6 = Warn, 0 = Off.
  • Quick test: on a test device, run an unsigned .exe from a USB drive. You should see a Microsoft Defender notification and a 1121 event.
  • Microsoft reference: Attack surface reduction rules reference (Microsoft Learn).

FAQ

Will this policy block normal file access from USB drives?

No. The rule only blocks untrusted and unsigned executable processes launched from USB. Standard file access — opening documents, photos, or other files — is not affected. Users can still copy files to and from USB drives as normal.

Which operating systems does this rule support?

The Attack Surface Reduction rule applies to Windows 10, Windows 11, and Windows Server. Devices must be enrolled in Intune (MDM-managed) and must have Microsoft Defender Antivirus running in active mode.

How long does it take for the Secure Score to update after applying the policy?

Microsoft Secure Score typically reflects policy changes within 24 to 48 hours after devices check in. The policy itself starts deploying immediately, but the score calculation runs on a delayed reporting cycle.

What happens if I set the rule to Audit instead of Block?

Setting the rule to Audit mode logs events when an unsigned USB process would have been blocked, but does not actually prevent it from running. Audit mode is useful for testing impact before enforcement, but it will not contribute points to your Secure Score — only Block mode does.

Do I need Microsoft Defender for Endpoint to use this rule?

No. Microsoft Defender Antivirus (included with Windows) is sufficient for ASR rules to function when managed via Intune. Microsoft Defender for Endpoint (Plan 1 or 2) is not required, though it provides additional reporting and investigation capabilities if you have it.

How do I allow a trusted tool that runs from USB?

Add a per-rule exclusion in the same Intune Attack Surface Reduction policy (ASR Only Per Rule Exclusions) for the specific file path of the trusted tool. Keep exclusions as narrow as possible, one file rather than a whole drive or folder, and review them regularly. Test in Audit mode first so you can see in Event Viewer (event 1122) what would be blocked before you switch to Block.

Need help reviewing your Microsoft 365 security?

Technowand’s security team can audit your Microsoft 365 environment, implement Secure Score improvements, and manage your ongoing security posture — so your team can focus on the business.