SQL SERVER – Ransomware Protection and Recoverable Offline Backups

Ransomware recovery depends on protected backups and controlled access. I test whether those recovery copies survive the loss of normal systems.

A detached protected recovery case stands apart from the active cabinet and everyday workspace.

When I first wrote about ransomware, more than eight customers had called during one busy weekend. Backups and preparation helped us recover those affected environments. That experience made me pay closer attention to the recovery copy itself.

Keep a recovery copy out of reach

Keep protected backups separate from the database server. An offline copy is disconnected after the backup finishes. An immutable copy needs retention and access controls that an attacker can’t easily change. A network share alone does not create either protection.

Test a restore into a separate environment. Record which backup files and keys are required and how long recovery takes. Encryption, retention, and a successful backup message don’t replace that exercise.

Reduce the paths into the server

Keep casual web browsing and email off the database server. Use individual administrative accounts, limited permissions, and approved network access. Segmentation reduces exposure; it does not guarantee that an attacker can’t cross the boundary.

Protect and patch the operating system

My older advice discouraged antivirus software on a database server because of performance concerns. That is too broad. Choose endpoint protection with the security team, apply the appropriate SQL Server exclusions, and test under representative load.

Use a tested patching process and prioritize urgent security fixes. Don’t treat an arbitrary waiting period as protection against ransomware. The risk of delaying a fix belongs in the same discussion as application compatibility.

Review the recovery plan

Ask who owns backup retention, who can delete recovery copies, and how an isolated restore will be performed. Keep the contact and response procedures available when normal systems are inaccessible. If you need help reviewing your SQL Server recovery arrangements, the consulting link below explains my current services.

Related reading

A reachable backup is not automatically a protected backup, it is a recovery copy whose deletion controls need testing.

Published by Pinal Dave on SQLAuthority. More of my work at pinaldave.com.


Discover more from SQL Authority with Pinal Dave

Subscribe to get the latest posts sent to your email.

SQL Backup and Restore, SQL Server, SQL Server Security
Previous Post
SQL SERVER – Fix: The EXECUTE Permission was Denied on the Object ‘xp_cmdshell’, Database ‘mssqlsystemresource’,schema ‘sys’.
Next Post
SQL SERVER – FIX: Msg 35250, Level 16, State 7 – The Connection to the Primary Replica is Not Active. The Command Cannot be Processed

Related Posts

5 Comments. Leave new

  • Hi,
    Is there a certain Anti-Virus program that you recommend?

    Reply
  • What about changing the db file extension name from mdf, ldf and ndf?

    The recent exploit targets special extensions.

    Reply
  • Thanks for the pointers. The people who send ransomware are becoming really smart and it has become
    really difficult to at times even those who are in the field to tell apart what link is good or not. I think it’s
    very important to have a good anti virus program and of course I myself delay updates at times which
    should not be the case.

    Reply

Leave a Reply

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

Fill out this field
Fill out this field
Please enter a valid email address.