EKANS (Snake backward) ransomware continues to make its presence felt in the industrial control system environment.
Along those lines, Palo Alto Networks’ Unit 42 researchers observed EKANS ransomware activity affecting multiple industries in the U.S and Europe. As a result, the organization created a threat assessment report for the activities of this ransomware. EKANS Ransomware creators wrote it in GoLang, upon infection, relevant files end up overwritten with encrypted data. Each file has a string of EKANS in the end of the file.
The ransomware uses aAES-256 and RSA-2048 for encryption. Like many ransomwares the malware excludes critical system files from encryption, and even attempts to compromise network resources. Snake also has the capability of terminating numerous process related with SCADA platforms and enterprise environments.
If successful the ransom note will end up written to “C:\Users\Public\Desktop\Fix-Your-Files.txt”
More information on the ransomware’s techniques and campaigns are on the Unit 42 Playbook Viewer.
EKANS, first ended up observed this past January, has relatively basic ransomware behavior, as it primarily seeks to encrypt files and display a ransom note when finished. Although EKANS is basic in terms of file encryption, it’s worth mentioning that it does have some interesting functionalities that make it distinct from other ransomware strains, researchers said.
EKANS includes a static “kill list” that will stop numerous antivirus and Industrial Control System (ICS) processes and services, researchers said. After killing the processes, it then proceeds to delete shadow copies to disable any restoration capabilities. Like many ransomware malware families, EKANS attempts to also encrypt resources connected to the victim’s machine via the network.
After encrypting files, EKANS doesn’t follow a uniform extension change like other active ransomware. Instead, EKANS modifies the extension with five random characters. This may be an attempt by the creators of the ransomware to evade instant detection by just looking at the file extensions. One way to identify an EKANS infection is by looking for the hexadecimal string of EKANS at the end of the file, which is added by the ransomware, researchers said.
EKANS’ intrusion vector seems to be spearphishing, to compromise credentials. Having file-blocking policies in place, and securing any open Remote Desktop Protocol (RDP) ports will help prevent the malware from entering the network.
Unit 42 researchers suggest ICS asset owners to review their security posture against malware, such as EKANS, that aims to disrupt ICS operations. The EKANS operators have affected different industries including energy, architecture firms, healthcare, transportation, and manufacturing.
Although the Unit 42 researchers said they haven’t seen EKANS leveraging compromised RDP, one of ransomware’s top intrusion vectors are unsecured RDP ports. It’s always good practice to close those ports if they are not in use, or secure them.
ICS asset owners should particularly be aware of this ransomware as it tries to kill ICS-related processes, so reviewing the security posture against this threat is recommended.

