1

Apart from File Sharing what are good reasons to not disable the Windows SMB service by default on a corporate environment?

This protocol seems to have a lot of security vulnerabilities and been using extensively for malicious lateral moves within the network.

Andre
  • 1,333
  • 4
  • 18
  • 31
  • What to jou mean with "SMB Service"? The (lanman)server or the SMB protocoll? – marsh-wiggle Nov 09 '18 at 17:11
  • SMB1 should definitely be disabled. I would use the Windows Firewall for any other blocks instead of disabling the Server service entirely, because you may need to have exceptions and a way to manage them. – Greg Askew Nov 09 '18 at 17:42

2 Answers2

4

When Windows servers are used in a a corporate environment, they mostly use an Active Directory infrastructure. At least there SMB (used by shares and share access by clients) is indispensable.

Domain Controller
In a Active Directory environment at least domain controllers definitely need administrative shares ...

You may receive errors when you try to perform administrative tasks on a domain controller. For example, MMC snap-ins such as Active Directory Users and Computers or Active Directory Sites and Services may not start, and you may receive an error message that is similar to the following:

quote from: Overview of problems that may occur when administrative shares are missing

... specially, for replication purposes, when jou have multiple domain controllers:

Domain controllers without SYSVOL shared cannot replicate inbound because of upstream (source) domain controllers being in an error state.

quote from: DFS Replication: How to troubleshoot missing SYSVOL and Netlogon shares

To access an (administrative) share, SMB is needed.

Domain Clients
Workstations and domain member servers need the workstation service (also SMB) to access the domain controller to run logon scripts etc.

marsh-wiggle
  • 2,075
  • 4
  • 26
  • 44
3

The answer about SYSVOL is huge, so there's that. Also, a lot of workstation management/software deployment technologies depend on the target workstations having a c$ share for file distribution.

mfinni
  • 35,711
  • 3
  • 50
  • 86
  • Not just file distribution, almost any sort of remote management depends on SMB, e.g., if you want to reboot a computer, see who is logged on, etc., etc. – Harry Johnston Nov 09 '18 at 21:28