11.07.2015 Views

Improving Web Application Security: Threats and - CGISecurity

Improving Web Application Security: Threats and - CGISecurity

Improving Web Application Security: Threats and - CGISecurity

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Chapter 18: Securing Your Database Server 513Disable Unused SQL Server ServicesDuring a SQL Service installation, the following four Windows services are installed:● MSSQLSERVER (or MSSQL$InstanceName for a named instance). This is theSQL Server database engine <strong>and</strong> is the only m<strong>and</strong>atory service.● SQLSERVERAGENT (or SQLAgent$InstanceName for a named instance). Withthis support service, you can schedule comm<strong>and</strong>s <strong>and</strong> notify operators whenerrors occur.● MSSQLServerADHelper. This provides Active Directory integration services,including database instance registration.● Microsoft Search. This provides full text search capabilities. This service mustalways run under the local system account.Only the MSSQLSERVER database engine is required. The remaining servicesprovide additional functionality <strong>and</strong> are required only in specific scenarios. Disablethese services if they are not required.Note SQL Server should not be configured to run as the local System account or any account thatis a member of the local Administrators group. For details about configuring the service accountused to run MSSQLSERVER, see “Step 4: Accounts.”Disable the Microsoft DTC (if not required)If you do not use distributed transactions through the Microsoft DTC, disable theservice.Step 3. ProtocolsBy preventing the use of unnecessary protocols, you reduce the surface area of attack.Configure SQL Server to support only clients that connect using the TCP/IP protocol.Disable all other protocols, unless required.In this step, you:● Restrict SQL Server to TCP/IP.●Harden the TCP/IP Stack.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!