Skip to content
Sponsor
3.0 preview2.3.0 stable

These docs describe the preview. Pick the version you run and every page marks what it doesn't have yet. Get the preview →
Maester 2.x docs (archived) →

SMBv1 should be disabled on all domain controllers

AD-DC-02HighActive DirectoryDomain controllers

Part of Active Directory · Active Directory · Domain controllers · All checks

Run this check
Invoke-Maester -TestId AD-DC-02

SMBv1 (Server Message Block version 1) is an outdated protocol with significant security vulnerabilities:

  • EternalBlue exploit: Used in WannaCry and NotPetya ransomware attacks
  • No encryption: SMBv1 traffic is not encrypted
  • No integrity checks: Vulnerable to man-in-the-middle attacks
  • Deprecated by Microsoft: Microsoft strongly recommends disabling SMBv1

Domain controllers with SMBv1 enabled pose a critical security risk as they are high-value targets for attackers.

Preventive

Disable SMBv1 on all domain controllers immediately.

To disable SMBv1 on a domain controller:

#### Check current status
Get-SmbServerConfiguration | Select-Object EnableSMB1Protocol
#### Disable SMBv1
Set-SmbServerConfiguration -EnableSMB1Protocol $false -Force
#### Disable SMBv1 feature (requires restart)
Disable-WindowsOptionalFeature -Online -FeatureName SMB1Protocol

This test queries the SMB server configuration on each domain controller to check if SMBv1 protocol is enabled. It reports:

  • Number of DCs with SMBv1 enabled
  • Names of affected DCs
  • Overall security status
  • Test-MtAdDcSmbSigningEnabledCount - SMB signing configuration
  • Test-MtAdDcSmbv311EnabledCount - SMBv3.1.1 protocol status
Every attribute of this check
FieldValue
Test IDAD-DC-02
SeverityHigh
SuiteActive Directory
ProductActive Directory
FeatureDomain controllers
AreaInfrastructure hardening
Resource typeDomainController
User impactLow
Implementation costMedium
MITRE ATT&CKT1210 Exploitation of Remote Services
Supports controlsnist-800-53-r5:CM-7
PowerShell testTest-MtAdDcSmbv1EnabledCount
ServicesActiveDirectory
PermissionsActiveDirectory:Remoting:Microsoft.PowerShell, ActiveDirectory:Cim:root\Microsoft\Windows\SMB:MSFT_SmbServerConfiguration:Read