Ragnar Locker
- Type
- Ransomware
- Capabilities
- ExfiltrationExtortionDefense evasionLateral movementDDOSReconnaissance
- Delivery
- Cracked software
- Platforms
- Windows
Ragnar Locker is a Windows ransomware family first observed in late 2019 and operated by the financially motivated cybercriminal group of the same name. It targets enterprise networks, including organizations in manufacturing, energy, financial services, government, and information technology. The operation uses double extortion: attackers steal sensitive information, encrypt files, and threaten to publish stolen data if victims refuse to pay. Ragnar Locker operators have also used DDoS attacks to increase payment pressure and cooperated with Maze by publishing victim data through its leak platform.
The ransomware encrypts files on local disks and mapped network drives and displays victim-specific ransom notes. Operators prepare customized executables for individual organizations. The malware enumerates drives and volumes, gathers host information, and stops selected database, backup, security, and remote-management processes and services to unlock files and impede detection or response. It deletes volume shadow copies and can disable Windows recovery features. Encryption exclusions preserve selected operating-system files and directories, while language checks prevent execution on systems configured for several former Soviet Union languages.
Observed intrusions have involved attacks against Remote Desktop Protocol connections and managed service provider infrastructure. After obtaining domain administrator access, operators have used PowerShell and Group Policy to distribute ransomware across Windows clients and servers. A distinctive deployment method packages the ransomware with Oracle VirtualBox and a stripped-down Windows XP guest inside an unsigned MSI installer. Writable shared folders expose host disks, removable media, and mapped network drives to the guest, allowing encryption to occur outside the direct visibility of host-based security tools while host file activity appears to originate from legitimate virtualization software. Other observed evasion measures include packing, debugger detection, and API hooking to interfere with debugger attachment. Law enforcement disruption subsequently brought the Ragnar Locker operation to a halt.
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
5 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.
The organization in question came to Sophos Rapid Response after falling victim to a Ragnar Locker attack in early 2020.
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.
Ragnar Locker encrypts files on the local machine and mapped drives prior to displaying a note demanding a ransom.
Techniques & procedures
54 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
4 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.
Execution
5 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)
The script’s first task is to register and run the necessary VirtualBox application extensions VBoxC.dll and VBoxRT.dll, and the VirtualBox driver VboxDrv.sys: regsvr32 /S "%binpath%\VboxC.dll" rundll32 "%binpath%\VBoxRT.dll,RTR3Init"
[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
12 techniques
Stealth
The ransomware code is protected with obfuscation techniques that include adding junk code as well as encryption.
暗号化ファイルの拡張子変更は、以下のようにMoveFileExを使用し、ファイル移動させることでリネームします。
ntdll.dllのDbgUiRemoteBreakinの先頭5バイトを自身のオリジナルのフック関数へジャンプするようにメモリを書き換えます。
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
13 techniques
Discovery
同様に特定のサービスを強制停止させます。特定のサービス名と一致するサービスが起動していると判断した場合...
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 VM is configured with 256 MB RAM, 1 CPU, a single 299 MB HDD file micro.vdi and an Intel PRO/1000 network adapter attached to NAT.
マッピングされたドライブを含む、全てのドライブに対してファイルを検索し、見つかったファイルを暗号化していきます。
[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
1 technique
Command and Control
[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
4 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)
These files are then used as leverage by threatening to release them publicly on data leak sites if a ransom is not paid.
Observables
27 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.
Recent activity
76 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.