EKANS is a Go-based ransomware family targeting Windows systems, publicly disclosed in January 2020. It encrypts files for extortion and incorporates a hard-coded process termination list that includes industrial control system software, security products, and management applications. Its industrial targets include data historians and licensing servers. Terminating these processes releases file locks before encryption but can also interrupt production and other operational activities. This behavior consists of stopping named Windows processes rather than manipulating industrial control protocols or directly controlling physical equipment.
EKANS deletes Volume Shadow Copies to inhibit recovery, discovers running processes and the compromised host's domain, and can use Windows Management Instrumentation to execute operations. It uses a mutex to prevent repeated infection and has masqueraded as a legitimate software update executable. Targeted activity has affected manufacturing and critical infrastructure organizations, including automotive, electric power, oil and gas, medical, and pharmaceutical sectors. Its industrial process kill list overlaps with functionality observed in MegaCortex. EKANS has also been called Snake, but it has no established connection to the Turla/Snake espionage actor; the name EKANS distinguishes the ransomware from that unrelated threat.
25 distinct techniques documented for this family, organized by ATT&CK tactic.
In that case, they had access to the domain administrator’s account, compromised in the attack’s earlier stages.
[EKANS](https://attack.mitre.org/software/S0605) can use Windows Mangement Instrumentation (WMI) calls to execute operations.(Citation: Dragos EKANS)
Checking active tasks in the Windows Task Scheduler on workstations and servers for malicious code;
Checking active tasks in the Windows Task Scheduler on workstations and servers for malicious code;
In that case, they had access to the domain administrator’s account, compromised in the attack’s earlier stages.
Checking active tasks in the Windows Task Scheduler on workstations and servers for malicious code;
In that case, they had access to the domain administrator’s account, compromised in the attack’s earlier stages.
The malware was launched using a “nmon.bat” file detected by Kaspersky products in domain policy script folders.
[EKANS](https://attack.mitre.org/software/S0605) uses encoded strings in its process kill list.(Citation: FireEye Ransomware Feb 2020)
actors used the following command to rename one of their tools to a benign file name: ren "%temp%\upload" audiodg.exe ... APT1 ... used ... AcroRD32.exe ... as a name for malware ... APT28 ... changed extensions on files containing exfiltrated data to make them appear benign ... APT32 has renamed a NetCat binary to kb-10233.exe to masquerade as a Windows update.
[EKANS](https://attack.mitre.org/software/S0605) has been disguised as <code>update.exe</code> to appear as a valid executable.(Citation: Dragos EKANS)
一般的なランサムウェアは一ファイルずつファイルを暗号化→拡張子変更の流れをとるのではなく、全てのファイルに対する暗号化を一通り実施した後に、最後にまとめてファイルの拡張子だけを変更していきます。...挙動検知などに対する検知逃れの効果などが考えられます。
SNAKE first encrypts all files (without changing file extensions). Once all encryptions are done, it changes all file extensions at a time.
In that case, they had access to the domain administrator’s account, compromised in the attack’s earlier stages.
If the function that checks the attacked computer’s domain role returns “1” (i.e., the computer has the role of a primary or backup domain controller), the function that calls it returns “0”. This results in the malware terminating without performing any encryption.
本検体に特徴的な点として、実行された環境がドメインコントローラであると判断した場合、特別な挙動を行う事が挙げられます。まずSNAKEは、WMIのクエリを利用して、ドメインロールという値を参照します。 | 今回のSNAKEの個体に特に特徴的な挙動として、以下の特定ドメインの名前解決が行えるかどうかをチェックします。さらに、上記のドメインに対する名前解決が以下のIPアドレスと等しくなるかどうかを確認し、等しくない場合は動作を終了、等しい場合は動作を継続します。
The malware was launched using a “nmon.bat” file detected by Kaspersky products in domain policy script folders.
[EKANS](https://attack.mitre.org/software/S0605) stops processes related to security and management software.(Citation: Dragos EKANS)(Citation: FireEye Ransomware Feb 2020)
Then enable the firewall configuration by passing the following command to netsh.exe: Netsh advfirewall set allprofiles state on
[EKANS](https://attack.mitre.org/software/S0605) can determine the domain of a compromised host.(Citation: IBM Ransomware Trends September 2020)
A unique feature of this specimen is that it specially works when the work environment is a domain controller... First, SNAKE uses WMI queries to refer the domain role value.
[EKANS](https://attack.mitre.org/software/S0605) looks for processes from a hard-coded list.(Citation: Dragos EKANS)(Citation: FireEye Ransomware Feb 2020)(Citation: IBM Ransomware Trends September 2020)
ファイルの暗号化はシステムで使用可能な全てのドライブを取得し、ドライブの先頭から順番に暗号化していきます。
If the function that checks the attacked computer’s domain role returns “1” (i.e., the computer has the role of a primary or backup domain controller), the function that calls it returns “0”. This results in the malware terminating without performing any encryption.
本検体に特徴的な点として、実行された環境がドメインコントローラであると判断した場合、特別な挙動を行う事が挙げられます。まずSNAKEは、WMIのクエリを利用して、ドメインロールという値を参照します。 | 今回のSNAKEの個体に特に特徴的な挙動として、以下の特定ドメインの名前解決が行えるかどうかをチェックします。さらに、上記のドメインに対する名前解決が以下のIPアドレスと等しくなるかどうかを確認し、等しくない場合は動作を終了、等しい場合は動作を継続します。
As a general intrusion route for targeted ransomware, intrusion routes aimed at RDP, VNC, etc. may be targeted.
As a general intrusion route for targeted ransomware, intrusion routes aimed at RDP, VNC, etc. may be targeted.
It is most likely that the attackers used domain policies to spread the ransomware across the local network.
Snake is known to steal data before deploying the encryption routine
[EKANS](https://attack.mitre.org/software/S0605) uses standard encryption library functions to encrypt files.(Citation: Dragos EKANS)(Citation: Palo Alto Unit 42 EKANS)
[EKANS](https://attack.mitre.org/software/S0605) stops database, data backup solution, antivirus, and ICS-related processes.(Citation: Dragos EKANS)(Citation: FireEye Ransomware Feb 2020)(Citation: Palo Alto Unit 42 EKANS)
[EKANS](https://attack.mitre.org/software/S0605) removes backups of Volume Shadow Copies to disable any restoration capabilities.(Citation: Dragos EKANS)(Citation: Palo Alto Unit 42 EKANS)
The process kill lists were designed to amplify the effects of known ransomware strains.
14 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.
32 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.