In This Article

Early Warning Signs of a Ransomware Attack

Brian Jefferson | 6 min read| Updated On - December 7, 2022

Early Warning Signs of a Ransomware Attack

One of the biggest challenges we face when it comes to protecting our networks from ransomware attacks is that there are very few warning signs that we can watch out for.

A typical ransomware attack would arrive in the form of an email attachment, and as soon as the attachment is opened, the malicious program will begin encrypting the users’ files.

There are, however, certain vulnerabilities and events we can look out for, that will help us minimize the likelihood of an attack, detect ransomware attacks more easily, or at least prevent the attack from spreading.

Phishing Attacks

As mentioned above, most ransomware attacks arrive in the form of an email attachment. In this case, you need to ensure that you are using a sophisticated email filtering and monitoring solution, which not only flags suspicious emails but also provides information to the administrators about why the email was flagged. For example, if an email has an attachment with a .zip or .exe file extension, the administrator should be alerted, as this is more than likely a malicious attachment.

This can allow them to issue a warning to their employees and advise them to be vigilant. Of course, you cannot monitor an employee’s personal email account; however, you should monitor business email accounts, especially those that are associated with privileged users.

Administrators should also be alerted when an email is sent from a public email domain, such as Gmail.com. Ideally, your solution should be able to detect grammatical mistakes, as many spammers are from non-English-speaking countries.

It should also check for misspelled domain names, suspicious HTML elements such as buttons, and messages/attachments that contain certain keywords, such as invoice, FedEx, financial statement, notification, and so on.

Unpatched Operating Systems

While not directly associated with ransomware, it is crucially important that all software is patched as soon as a vulnerability is found. Let’s not forget the WannaCry ransomware attack in May 2017, which infected hundreds of thousands of computers across the globe.

The attack exploited a vulnerability found in the Windows implementation of the Server Message Block (SMB) protocol, even-though a patch was available as much as two months prior to the attack.

To get around this problem, it is a good idea to use an automated patch management solution.

Events That Match A Threshold Condition

These days, most sophisticated real-time auditing solutions are capable of detecting and responding to events that match a pre-defined threshold condition.

They can detect and respond to multiple failed login attempts, which will provide a warning sign to the administrators that they might be under attack. However, in the context of ransomware attacks, they can detect and respond to events where multiple files have been encrypted within a given timeframe.

While this won’t prevent a ransomware attack from being initiated, it can at least prevent the attack from spreading, and mitigate the need to restore a full backup, assuming you have one.

Remote Access Using RDP

Microsoft’s Remote Desktop Protocol (RDP) is used to allow end-users to remotely access files and applications stored on an organization’s server. However, RDP is often used by attackers to deploy ransomware, and it is becoming one of the most popular attack vectors, as increasingly more employees are working from home.

Attackers typically start by scanning the entire Internet for exposed RDP ports using open-source port-scanning tools, such as angry or Advanced Port Scanner. The attacker will then try to gain access to the network using stolen credentials or by trying to brute-force their way in.

Once they have gained access to the network, they will try to disable or disrupt as many security systems as they can, which may include deleting backups, disabling antivirus software, or changing configuration settings.

Finally, they will deliver the payload, or in other words, they will install the ransomware program. Fortunately, there are solutions available that can monitor the status of the RDP service in real-time, as well as detect and respond to multiple failed login attempts (as mentioned above).

Using a real-time auditing solution, you should detect and respond to the deletion of any backups, since there is little reason for anyone to delete a backup. To disable anti-virus software, attackers will likely use software such as Process Hacker, IOBit Uninstaller, GMER, and PC Hunter.

As such, you will need to scan your network regularly for these types of applications.

The Presence of Mimikatz

Mimikatz is a commonly used hacking tool that is mostly used for stealing credentials. It works by exploiting Windows Server’s single sign-on (SSO) functionality and was used to carry out the NotPetya and BadRabbit ransomware attacks.

While it is theoretically possible to use endpoint security tools and anti-virus software to detect known variants of Mimikatz, they are not always effective in doing so. Not only that, but since an attacker must have root access to use Mimikatz in the first place, the attacker has already circumvented your perimeter defenses. In which case, the best way to protect yourself from MimiKatz-based ransomware attacks would be to first ensure that admin privileges are only granted to users who really need them.

You will also need to monitor user behavior for unusual activity. This is typically done using machine learning algorithms that learn typical usage patterns, and then fire an alert when these patterns deviate beyond a given threshold. However, as opposed to monitoring regular files and folders, you will need to pay close attention to the Server Message Block (SMB) activity.

Test Ransomware Attacks

In some cases, attackers will carry out test ransomware attacks on a small subset of network devices to see if the ransomware executes successfully. If the deployment fails, for whatever reason, the attackers will try a different approach, and continue until they are successful. Naturally, if you can detect these test attacks in a timely manner, you can prepare yourself accordingly.

Inactive User Accounts

While not directly related to ransomware, it is a good idea to use a real-time auditing solution to automatically detect and manage inactive user accounts. Of course, the discovery of inactive user accounts doesn’t directly imply that you will be subject to a ransomware attack, however, attackers often target inactive user accounts to deploy ransomware and other such attacks.

At Lepide, we have developed a Data Security Platform that enables users to automatically detect and react to the potential signs of ransomware attacks. If you’d like to see how it works, schedule a demo with one of our engineers today.

Brian Jefferson
Brian Jefferson

Born and raised in the heart of Texas, Brian joined Lepide in 2019 after spending 3 years with an international IT reseller and seeing security driven projects first-hand. Brian takes pride in trying to solve his customers’ problems and providing a quality service from cradle to grave. He believes it is all about how well you connect with the heart-beating people you’re trying to help and communicate your understanding and knowledge back to them. Brian runs our SMB Sales practice for the US and tries to bring the same level or professionalism to each and every customer.

See How Lepide Data Security Platform Works
x
Or Deploy With Our Virtual Appliance

By submitting the form you agree to the terms in our privacy policy.

Popular Blog Posts