Ragnar Locker
- Type
- Ransomware
- Capabilities
- ExtortionDefense evasionExfiltrationLateral movementReconnaissance
- Delivery
- Cracked software
- Platforms
- Windows
RagnarLocker is a Windows ransomware family used in targeted enterprise intrusions since late December 2019. It encrypts files on local volumes and mapped network drives and displays victim-specific ransom notes. Its operators combine encryption with data theft and threats to publish stolen information. Victims have included organizations across multiple critical infrastructure sectors, including energy and healthcare. The ransomware is associated with Viking Spider, and UNC2447-affiliated actors have also deployed it. RagnarLocker is distinct from Ragnarok ransomware.
Operators conduct reconnaissance before deployment and customize ransomware executables, ransom notes, and encryption parameters for individual victims. Intrusions have involved compromised Remote Desktop Protocol access and managed service provider infrastructure. After obtaining domain administrator access, attackers have used PowerShell and Group Policy to distribute ransomware to Windows clients and servers. The malware terminates selected database, backup, security, and remote-management processes and services to release files and impede response. It also deletes volume shadow copies, disables Windows recovery features, and maps otherwise unmounted volumes for encryption. Samples check system language settings and terminate without encrypting systems configured for specified languages associated with former Soviet countries.
A distinctive deployment technique runs the ransomware inside an attacker-supplied Windows XP virtual machine using Oracle VirtualBox. Host disks, removable drives, and mapped network drives are exposed to the guest through writable shared folders. Encryption consequently appears on the host as activity by legitimate virtualization software, reducing direct visibility into the ransomware process. Other defense-evasion measures include executable packing with VMProtect and anti-debugging hooks.
The operators maintained data-leak infrastructure and cooperated with Maze by publishing victim data through its leak platform. The RagnarLocker operation was subsequently disrupted by international law enforcement.
Associated vulnerabilities
1 CVE Mallory has correlated with this family across public research and vendor advisories. Each card links to the full Mallory page for that vulnerability.
Associated threat actors
6 distinct threat actors Mallory has associated with this family across public reporting. Open in Mallory to see the full evidence chain and overlapping campaigns.
We observed with medium confidence that IAB (Broker1) sold access to Sierra Packaging & Converting, and later the organization was compromised by Ragnar_Locker ransomware group.
A 2021 report by Mandiant notes the group had previously deployed RagnarLocker.
The organization in question came to Sophos Rapid Response after falling victim to a Ragnar Locker attack in early 2020.
In November 2020, the company announced it was hit by a crippling ransomware attack. The attack was orchestrated by the RagnarLocker group.
The Russian-speaking cybercriminal group has a dark web site under a different name, dubbed "Dunghill Leak," and doesn't have its own ransomware; Dark Angels has used variants of other ransomware such as Ragnar Locker.
Techniques & procedures
63 distinct techniques documented for this family, organized by ATT&CK tactic.
Reconnaissance
2 techniques
Reconnaissance
After reconnaissance and pre-deployment stages, the attackers drop a highly targeted ransomware executable
On Sept. 27, 2021, Conti’s open source intelligence (OSINT) team leader had a conversation that revealed he updated the group’s ransom note by copying a portion of the text from the Ragnar Locker ransom note.
Resource Development
1 technique
Resource Development
These ransomware strains include both exclusively managed ransomware and RaaS (Ransomware-as-a-Service) type, which involves cooperating with initial access brokers for initiating attacks and affiliates for performing them.
Initial Access
6 techniques
Initial Access
The threat actor begin the attack by compromising the company’s network via RDP service, using brute force to guess weak passwords or with stolen credentials bought on the Dark Web.
In past attacks, the Ragnar Locker group has used exploits of managed service providers or attacks on Windows Remote Desktop Protocol (RDP) connections to gain a foothold on targeted networks.
Может распространяться путём... обманных загрузок... вредоносной рекламы, веб-инжектов, фальшивых обновлений...
In most cases, the initial vector of attack is exploiting some already known vulnerabilities in commercial VPN software.
Maze mentioned that its member breached SEI Investments company using information previously stolen from BHiveLab and M.J. Brunner.
Может распространяться путём... email-спама и вредоносных вложений...
Execution
6 techniques
Execution
Ragnar Locker can be run with ‘-list’ or ‘-force’ command-line options.
After gaining administrator-level access... they have used native Windows administrative tools such as Powershell and Windows Group Policy Objects (GPOs) to move laterally across the network.
[Ragnar Locker](https://attack.mitre.org/software/S0481) has used cmd.exe and batch scripts to execute commands.(Citation: Sophos Ragnar May 2020)
VirtualBox имеет функцию, которая позволяет операционной системе хоста обмениваться папками и дисками как сетевым ресурсом внутри виртуальной машины... \VBOXSVR
Может распространяться путём... эксплойтов...
[Ragnar Locker](https://attack.mitre.org/software/S0481) has used sc.exe to execute a service that it creates.(Citation: Sophos Ragnar May 2020)
Persistence
5 techniques
Persistence
The threat actor begin the attack by compromising the company’s network via RDP service, using brute force to guess weak passwords or with stolen credentials bought on the Dark Web.
In past attacks, the Ragnar Locker group has used exploits of managed service providers or attacks on Windows Remote Desktop Protocol (RDP) connections to gain a foothold on targeted networks.
CreateProcessAsUserWを使用してログインしたユーザーの権限で起動させたNotepad.exeのプロセスの引数に渡すことで画面に表示させます。
[Ragnar Locker](https://attack.mitre.org/software/S0481) has used sc.exe to create a new service for the VirtualBox driver.(Citation: Sophos Ragnar May 2020)
To start the ransomware, a batch file called vrun.bat is located in C:\Documents and Settings\Administrator\Start Menu\Programs\Startup\.
Privilege Escalation
7 techniques
Privilege Escalation
ntdll.dllのDbgUiRemoteBreakinの先頭5バイトを自身のオリジナルのフック関数へジャンプするようにメモリを書き換えます。
To elevate privileges, the attacker exploits the CVE-2017-0213 vulnerability in the Windows COM Aggregate Marshaler to run arbitrary code with elevated privileges.
The threat actor begin the attack by compromising the company’s network via RDP service, using brute force to guess weak passwords or with stolen credentials bought on the Dark Web.
The Ragnar Locker actors used a GPO task to execute Microsoft Installer (msiexec.exe), passing parameters to download and silently install a 122 MB crafted, unsigned MSI package.
CreateProcessAsUserWを使用してログインしたユーザーの権限で起動させたNotepad.exeのプロセスの引数に渡すことで画面に表示させます。
[Ragnar Locker](https://attack.mitre.org/software/S0481) has used sc.exe to create a new service for the VirtualBox driver.(Citation: Sophos Ragnar May 2020)
To start the ransomware, a batch file called vrun.bat is located in C:\Documents and Settings\Administrator\Start Menu\Programs\Startup\.
Stealth
14 techniques
Stealth
RagnarLocker uses VMProtect, UPX, and custom packing algorithms
RagnarLocker uses VMProtect, UPX, and custom packing algorithms
暗号化ファイルの拡張子変更は、以下のようにMoveFileExを使用し、ファイル移動させることでリネームします。
ntdll.dllのDbgUiRemoteBreakinの先頭5バイトを自身のオリジナルのフック関数へジャンプするようにメモリを書き換えます。
Удаляет теневые копии файлов командами: WMIC.exe shadowcopy delete ... vssadmin delete shadows /all /quiet
wmicを使用し、ボリュームシャドウコピーを削除するコマンドを実行
The threat actor begin the attack by compromising the company’s network via RDP service, using brute force to guess weak passwords or with stolen credentials bought on the Dark Web.
[Ragnar Locker](https://attack.mitre.org/software/S0481) has been delivered as an unsigned MSI package that was executed with <code>msiexec.exe</code>.(Citation: Sophos Ragnar May 2020)
[Ragnar Locker](https://attack.mitre.org/software/S0481) has used regsvr32.exe to execute components of VirtualBox.(Citation: Sophos Ragnar May 2020)
[Ragnar Locker](https://attack.mitre.org/software/S0481) has used rundll32.exe to execute components of VirtualBox.(Citation: Sophos Ragnar May 2020)
Ragnar Locker ransomware was deployed inside an Oracle VirtualBox Windows XP virtual machine to hide the ransomware from view.
Ragnar Lockerは、実行された環境がロシア語など特定の言語情報が設定された端末であった場合、感染を行いません。具体的には、GetLocaleInfoにより感染端末の言語設定情報を取得し、特定の国リストと比較した結果、同じであった場合、最終的に自身のプロセスを強制終了させます。
[Ragnar Locker](https://attack.mitre.org/software/S0481) has used VirtualBox and a stripped Windows XP virtual machine to run itself. The use of a shared folder specified in the configuration enables [Ragnar Locker](https://attack.mitre.org/software/S0481) to encrypt files on the host operating system, including files on any mapped drives.(Citation: Sophos Ragnar May 2020)
デバッガを使用し単純に解析を行おうとすると、パッカーによるエラーメッセージが表示され、Ragnar Lockerの実行ファイルはすぐに強制終了します。
Defense Impairment
2 techniques
Defense Impairment
The Ragnar Locker actors used a GPO task to execute Microsoft Installer (msiexec.exe), passing parameters to download and silently install a 122 MB crafted, unsigned MSI package.
[Ragnar Locker](https://attack.mitre.org/software/S0481) has attempted to terminate/stop processes and services associated with endpoint security products.(Citation: Sophos Ragnar May 2020)
Credential Access
1 technique
Credential Access
The threat actor begin the attack by compromising the company’s network via RDP service, using brute force to guess weak passwords or with stolen credentials bought on the Dark Web.
Discovery
14 techniques
Discovery
同様に特定のサービスを強制停止させます。特定のサービス名と一致するサービスが起動していると判断した場合...
as well as the MachineGUID of the computer using the Microsoft RegKey Crypthography or the ProductName using the RegKey Windows NT\Current Version
Next, the attacker performs second-stage reconnaissance.
In all cases, the original entry point is to start network reconnaissance, then lateral movement, then data exfiltration.
端末で起動しているプロセスの一覧を取得したあと、自身にハードコーディングされている強制終了リストと比較します。
The binary gathers the unique machine GUID, operating system product name, and user name currently running the process.
マッピングされたドライブを含む、全てのドライブに対してファイルを検索し、見つかったファイルを暗号化していきます。
[Ragnar Locker](https://attack.mitre.org/software/S0481) may attempt to connect to removable drives and mapped network drives.(Citation: Sophos Ragnar May 2020)
The install.bat script then goes on to enumerate all local disks, connected removable drives and mapped network drives on the physical machine... This means that the ransomware in the guest environment can now fully access the host’s local disks, mapped network and removable drives.
Ragnar Locker ransomware was deployed inside an Oracle VirtualBox Windows XP virtual machine to hide the ransomware from view.
Ragnar Lockerは、実行された環境がロシア語など特定の言語情報が設定された端末であった場合、感染を行いません。具体的には、GetLocaleInfoにより感染端末の言語設定情報を取得し、特定の国リストと比較した結果、同じであった場合、最終的に自身のプロセスを強制終了させます。
Before executing malicious code, [Ragnar Locker](https://attack.mitre.org/software/S0481) checks the Windows API <code>GetLocaleInfoW</code> and doesn't encrypt files if it finds a former Soviet country.(Citation: FBI Ragnar Locker 2020)
when first started Ragnar Locker will check the configured Windows language preferences and if they are set as one of the former USSR countries, will terminate the process and not encrypt the computer.
デバッガを使用し単純に解析を行おうとすると、パッカーによるエラーメッセージが表示され、Ragnar Lockerの実行ファイルはすぐに強制終了します。
Lateral Movement
3 techniques
Lateral Movement
...uses a PowerShell script to move from one company network asset to another one. | The threat actor begin the attack by compromising the company’s network via RDP service, using brute force to guess weak passwords or with stolen credentials bought on the Dark Web.
In past attacks, the Ragnar Locker group has used exploits of managed service providers or attacks on Windows Remote Desktop Protocol (RDP) connections to gain a foothold on targeted networks.
After gaining administrator-level access to the domain... they have used native Windows administrative tools such as Powershell and Windows Group Policy Objects (GPOs) to move laterally across the network to Windows clients and servers. In the detected attack, the Ragnar Locker actors used a GPO task to execute Microsoft Installer (msiexec.exe), passing parameters to download and silently install a 122 MB crafted, unsigned MSI package from a remote web server.
Collection
2 techniques
Collection
The adversaries behind Ragnar Locker have been known to steal data from targeted networks prior to launching ransomware... [they] claimed to have stolen 10 terabytes of sensitive company data.
the Ragnar Locker operators state that they have stolen 1 TB of unencrypted files from the corporate networks in Japan, the USA, and Canada.
Command and Control
2 techniques
Command and Control
C2 embedded in malware (snmp.dat and bash.dat and esync.exe)
[msiexec.exe] pass[ed] parameters to download and silently install a 122 MB crafted, unsigned MSI package from a remote web server.
Exfiltration
4 techniques
Exfiltration
Before encrypting a victim's network, most network-targeting ransomware operations will steal a victim's unencrypted files.
According to the attackers, one of these pre-deployment tasks is to first steal a victim's files and upload it to their servers. They then tell the victim that they will release the files publicly if a ransom is not paid.
one of these pre-deployment tasks is to first steal a victim's files and upload it to their servers
As 14 ransomware gangs are now stealing data and publishing it in their blogs, we can assume that more ransomware operators will adopt the tactic and will require double ransoms.
Impact
6 techniques
Impact
[Ragnar Locker](https://attack.mitre.org/software/S0481) encrypts files on the local machine and mapped drives prior to displaying a note demanding a ransom.(Citation: Sophos Ragnar May 2020)(Citation: Cynet Ragnar Apr 2020)
[Ragnar Locker](https://attack.mitre.org/software/S0481) has attempted to stop services associated with business applications and databases to release the lock on files used by these applications so they may be encrypted.(Citation: Sophos Ragnar May 2020)
[Ragnar Locker](https://attack.mitre.org/software/S0481) can delete volume shadow copies using <code>vssadmin delete shadows /all /quiet</code>.(Citation: Sophos Ragnar May 2020)
Triple extortion follows a straightforward formula: adding DDoS attacks to the aforementioned encryption and data exposure threats.
Кроме того, используют DDoS-атаки, чтобы заставить жертву связаться с ними и договориться о выкупе.
These files are then used as leverage by threatening to release them publicly on data leak sites if a ransom is not paid.
Observables
66 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.
Recent activity
97 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.