Ransomware first discovered in 2019 has undergone several variations, but it remains fairly consistent with its roots except changes to the file extension used for encrypted files and the look and feel of the ransom note.
While most of MedusaLocker’s functionality remains consistent with other modern ransomware families, said Cisco Talos’ Edmund Brumaghin and Amit Raut, there are features that set MedusaLocker apart from other ransomware families:
- MedusaLocker can encrypt the contents of mapped network drives that may be present on infected systems
- It manipulates Windows functionality to force network drives to be remapped so their contents can also be encrypted
- The malware uses ICMP sweeping to profile the network to identify other systems that can maximize the likelihood of a ransom payment
MedusaLocker can also perform ICMP sweeping to identify other systems on the same network. If the malware is able to locate them, MedusaLocker then attempts to leverage the SMB protocol to discover accessible network locations and if files are discovered in those locations, they are also encrypted and ransomed in the same manner as other locally stored data.
MedusaLocker features characteristics typical of ransomware. Upon execution, it copies itself to the %APPDATA%\Roaming\ directory, the researchers said in a post.
To achieve persistence, the malware creates scheduled tasks within Windows to execute the PE32 previously stored in %APPDATA%\Roaming.
Interestingly, the scheduled task is also configured to be executed every 15 minutes after the initial infection process, likely as a way to continue to maintain the ability to impact files and other data after the initial run of the ransomware, the researchers said.
The malware is configured to iterate through disk partitions that may be present and accessible on the infected system and encrypting the contents.
Encrupted files have a new file extension appended to them. As there are several variants currently being observed across the threat landscape this file extension varies. In the case of a sample analyzed that file extension was “.encrypted.”
Additionally, in each directory in which the malware discovers data to be encrypted, a ransom note is saved titled “HOW_TO_RECOVER_DATA.” This ransom note functions similarly to the ransom notes we’ve grown accustomed to seeing — it provides victims with instructions for contacting the threat actor to facilitate payment of their ransom demands.
Given the network awareness present within MedusaLocker, the amount of damage a single infected system could do inside of a corporate environment is high, the researcher said.
One interesting characteristic present across MedusaLocker samples is a static list of mutexes the malware uses.
Organizations may consider leveraging mutex blacklisting as an additional way to protect systems against MedusaLocker infections as this would effectively block the execution of any applications attempting to use these hardcoded values and prevent successful infection from taking place.
To defend against MedusaLocker, it is important to ensure a well-organized, multi-layered cybersecurity program is in place within your organization.
- Email and spam filters are critical in the case of MedusaLocker as email is one of the malware distribution vectors commonly abused by attackers
- Perform regular updates and system hardening as MedusaLocker attempts to encrypt the contents of SMB shares as well as local storage devices
- Give employees regular phishing training and conduct regular awareness programs
- Employ strong password policies and use multi-factor authentication
- Ensure updated endpoint security software is deployed across your network

