- Audit on SQL Server (Server Audit)
- How to Create an Audit to Monitor Job Creation, Modification, and Deletion in SQL Server
- How to create an Audit trigger to log object manipulation in SQL Server
- SQL Server - How to implement audit and control of logins (Logon Trigger)
- Monitoring DDL and DCL Operations Using SQL Server fn_trace_gettable
- Using SQL Server Standard Trace to Audit Events (fn_trace_gettable)
- SQL Server - Permissions and privileges audit trigger at database and instance level (GRANT and REVOKE)
- SQL Server - How to Monitor and Audit Data Changes in Tables Using Change Data Capture (CDC)
- SQL Server 2016 - How to “Time Travel” Using the Temporal Tables Feature
- SQL Server - How to use auditing to map actual required permissions on a user
- SQL Server - Trigger to prevent and prevent changes to tables
- SQL Server - How to Create a Data Change History for Your Tables (Audit Logs)
- SQL Server - How to Avoid Brute Force Attacks on Your Database
- SQL Server Security Checklist - An SP with more than 70 security items to validate your database.
- SQL Server - How to know the date of a user's last login
- SQL Server - How to Avoid and Protect Against Ransomware Attacks Like WannaCry on Your Database Server
- SQL Server – Beware of server role securityadmin! Using privilege elevation to become sysadmin
- SQL Server - How to Avoid SQL Injection? Stop using Dynamic Query as EXEC (@Query). Now.
- SQL Server - Understanding the Risks of TRUSTWORTHY Property Enabled in a Database
- SQL Server - Password Policies, Password Expiration, Mandatory Password Change, and Login Lockout after N attempts
Speak guys!
In this article number 350 of the blog, I would like to share with you my experience during several tests that I did on Ransomwares on SQL Server database servers, such as WannaCry, which I downloaded and “infected” my VM just to perform these tests, understand how it acts and how we can protect ourselves against this type of attack, which, incredible as it may seem, is still common in the daily lives of DBA's who work in consulting companies.
For the creation of this article, I had valuable tips from MVP André Ruschel that helped me to better understand how this Ransomware works in general, remembering that WannaCry itself has several variations, so there is the possibility of another variant of it acting in slightly different ways than I will explain here.
What is Ransomware?
Click to view contentHow does WannaCry work on my computer?
Click to view contentHow can DBA protect against Ransomware attacks?
Click to view contentReferences:
- Technically, it's all about the biggest ransomware attack.
- WannaCry Malware Sample Analysis
- Wannacrypt0r-FACTSHEET
- Protecting Your Database from Ransomware like WannaCry
- WannaCry / Wcry / WannaCrypt ransomware: help / advice
Is that you? Have you had any Ransomware attack in your company? Share with me your experience in the comments and give feedback if you liked the article. I accept questions, suggestions and criticism too 🙂
I really hope you enjoyed it, a big hug and see you in the next article.