Ransomware is a type of Trojan that modifies user data on a victim’s computer so that the victim can no longer use the data or fully run the computer.. Once the data has been “taken hostage” (blocked or encrypted), the user receives a ransom demand. The last tells the victim to send the malefactor money; on receipt of this, the cybercriminal promises to send a program to the victim to restore the data or restore the computer’s performance.
Ransomware is one of the most popular threats now facing the cyberworld due to the following reasons:
This threat has clear monetization model
It is easy to implement such malware
Ransomware can be complex or simple, depending on the planned victims:
Common ransomware is widely spread via malicious spam campaigns, exploit kits, etc.
Complex ransomware is used in targeted attacks
Ransomware attack has several stages:
Delivery to a victim machine: malicious attachment in spam letter, vulnerability exploitation, penetration in case of targeted attack
Execution: encrypting of important user files
Data decryption (optional)
For efficient protection against ransomware, a security solution has to use a multi-layered protection model. Kaspersky Lab’s multi-layered, next generation protection lets products detect ransomware at both the delivery stage and execution stage of the attack. Let’s look deeper at these stages.
Delivery stage: Malicious attachment in spam letter
One of the most common ways to distribute ransomware nowadays is to send archives with executable scripts in emails (spam mail). As an alternative, Microsoft Office documents with malicious macros are used as attachments.
In Kaspersky Lab’s products, component Mail AV analyses the whole context of the message (including email attachments) and applies strong heuristics to the content.
Delivery stage: Vulnerability Exploitation
Automatic Exploit Protection (AEP) is a special component to stop malware (including ransomware) penetration through software vulnerabilities. Among the most important applications protected by AEP are browsers, office applications, pdf readers, and so on. On every suspicious action from the mentioned software, like child process start, the component applies additional security analysis of their behavior against malicious patterns. AEP helps to block ransomware, including CryptXXX and many others.
In 2017, the world become aware of the use of network vulnerabilities as a method of ransomware distribution. WannaCry ransomware was proliferated by means of SMB vulnerability exploitation. Such an exploit can only be stopped on the network level. Kaspersky Lab’s products have a special component for network traffic analysis – intrusion detection system (IDS). This component analyses network packets in low level and applies heuristic patterns to them to detect malicious network activity. This component successfully detects EternalBlue/EternalRomance exploits. This helped to prevent the WannaCry infection.
Threat actors try to bypass static detection by different methods. In this case Behavioral Detection becomes the last but the most powerful line of defense. Analysis of each process activity allows to reveal the malicious patterns. After that the product terminates the process and rollback the changes. Behavioral based detection is efficient even with previously unknown threats, including ransomware. A basic ransomware pattern consists of several steps:
Find important files on victim’s machine
Read content of each file
Encrypt content and save changes to disk
Matching such malicious behavior pattern, Behavior Engine blocks the process and rollbacks the changes. Among examples of successful ransomware detection by means of such pattern are Polyglot, WannaCry (encryption part of the malware), etc.
Detection of ransomware is not limited by the mentioned pattern, and many others could be efficient against these type of threats.
Efficiency of the approach was proven during the July 2017 attack by ransomware ExPetr. Threat actors used low level part of Petya ransomware for Master File Table (MFT, contains all file, directory and file metadata of NTFS file system) encryption. To execute it, they run a high-level component, which rewrites the Master Boot Record (MBR) of hard disk. Threat Behaviour Engine component marks such behaviour as malicious and stops the process. Even if other threat actors write similar ransomware, its functionality would fail regardless of the used types of obfuscation / anti-emulation techniques.
Ransomware in targeted attacks
In 2017, Kaspersky Lab registered several groups which were attacking organizations with one main goal: encrypt their data.
In many cases of targeted attacks, legitimate utilities for disk/file encryption were used. For example, DiskCryptor for encryption and PSExec for mass installation through corporate network. Static and basic behavior-based detections of legitimate utilities would be inefficient due to producing false positives in case of legitimate usage. This creates requirement of collecting and analyzing full context of utility usage. For the mentioned example, the pattern of installation of the legitimate utility for encryption through PSExec utility could be suspicious and corresponding protection enforcement by the product would prevent data from damaging without extra False Alarms for other users.
Safeguards your PC and all the precious things you store on it
Independent researchers reveal and confirm that Kaspersky Internet Security blocked attack of EternalBlue exploit with installation of backdoor DoublePulsar used by ransomware WannaCry
AV-Comparatives: Proactive protection against the WannaCry ransomware (not the exploit)
Comparative Efficiency Assessment of Enterprise security Suites against In-The-Wild Ransomware. Kasperky Endpoint Security for Business, Kaspersky Endpoint Security Cloud and Kaspersky Anti-Ransomware Tool for Business were tested, with all three demonstrating outstanding results, detecting and blocking 100$ of the attacks
MRG-Effitas 360 degree assessment & Certification Q2 2017
Automatic Exploit Prevention (AEP) protects against malware that takes advantage of software...