Backmydata
BackMyData is a ransomware strain identified as a variant of the Phobos ransomware family. It was used in the February 2024 ransomware attack that disrupted Romanian hospitals via the Hippocrates/Hipocrate hospital management system after attackers compromised Bucharest-based software provider RSC. The campaign affected more than 100 healthcare facilities that disconnected systems as a containment measure, with authorities later confirming direct infection in at least 25-26 hospitals. The malware encrypted hospital files and databases and demanded ransom in Bitcoin; reporting cited demands of 3.5 BTC, roughly €157,000-€160,000. Impacted hospitals lost access to digital workflows and reverted to paper-based processes for admissions, prescriptions, records, lab requests, radiology, medicines, and supplies. Romanian authorities stated there was no evidence of data theft at the time of reporting and advised victims not to pay; most affected hospitals restored operations from backups within days.
Technical reporting on an analyzed sample (SHA-256: 396a2f2dd09c936e93d250e8467ac7a9c0a923ea7f9a395e63c375b877a399a6) describes BackMyData as storing an encrypted configuration protected by a hard-coded AES key and using an embedded RSA public key to wrap per-file AES-256 keys. It implements AES internally, checks locale settings and avoids systems associated with Cyrillic alphabets, and uses mutexes derived from a BID value and the volume serial number. The malware resolves APIs dynamically, disables file system redirection, duplicates the explorer.exe token, and respawns itself in that security context. It establishes persistence by copying itself to %AppData%\Local, creating Run registry entries under HKLM\Software\Microsoft\Windows\CurrentVersion\Run (with HKCU Run also noted as an IOC location), and placing itself in the Startup folder. It executes commands to delete Volume Shadow Copies, disable automatic repair, delete the backup catalog, and disable the Windows firewall.
BackMyData enumerates logical drives, network resources, and local IPv4 addresses, attempts TCP connections to hosts on port 445 to reach network shares, and uses multiple worker threads for traversal and encryption. It enables SeDebugPrivilege and terminates processes including sqlservr.exe, oracle.exe, mysqld.exe, outlook.exe, winword.exe, excel.exe, thunderbird.exe, and steam.exe to unlock files. It skips selected files and directories, including info.hta, info.txt, boot.ini, bootfont.bin, ntldr, ntdetect.com, io.sys, backm, C:\WINDOWS, and C:\ProgramData\microsoft\windows\caches, and avoids re-encrypting files associated with other ransomware extensions. Files smaller than 1.5 MB are fully encrypted, while larger files are partially encrypted. Encrypted filenames receive a .backmydata extension together with the volume serial number and threat actor email address. Each encrypted file contains an unencrypted 16-byte IV, an RSA-encrypted AES key, and the 6-byte marker DD F9 CC F5 B3 44. The ransomware drops ransom notes named info.txt and info.hta and instructs victims to contact the operators via email or Session messenger.
Techniques & procedures
19 distinct techniques documented for this family, organized by ATT&CK tactic.
Initial Access
1 technique
Initial Access
The attack began when hackers infiltrated the systems of Bucharest-based software company RSC, compromising its widely used hospital management platform, Hippocrates. As the malicious software rapidly spread to connected hospitals...
Execution
1 technique
Execution
The ransomware creates a “cmd.exe” process that will execute multiple commands.
Persistence
1 technique
Persistence
Persistence is achieved by creating an entry under the Run registry key and copying the malware to the Startup folder.
Privilege Escalation
4 techniques
Privilege Escalation
The DuplicateTokenEx API is utilized to create a new access token... The ransomware spawns itself running in the security context of the newly created token.
The DuplicateTokenEx API is utilized to create a new access token that duplicates the token mentioned above... The ransomware spawns itself running in the security context of the newly created token.
Persistence is achieved by creating an entry under the Run registry key and copying the malware to the Startup folder.
The malicious process enables the above privilege via a call to AdjustTokenPrivileges... 'SeDebugPrivilege' privilege
Stealth
4 techniques
Stealth
The unencrypted file is overwritten with zeros and deleted afterwards.
The DuplicateTokenEx API is utilized to create a new access token... The ransomware spawns itself running in the security context of the newly created token.
The DuplicateTokenEx API is utilized to create a new access token that duplicates the token mentioned above... The ransomware spawns itself running in the security context of the newly created token.
The ransomware tries to open two mutexes called “Global\\<<BID>><Volume serial number>00000001” and “Global\\<<BID>><Volume serial number>00000000”, and then creates them.
Defense Impairment
1 technique
Defense Impairment
It deletes all Volume Shadow Copies and runs commands to disable the firewall.
Discovery
5 techniques
Discovery
The malware takes a snapshot of all processes in the system... The processes are enumerated using the Process32FirstW and Process32NextW APIs.
The malware extracts the major and minor version numbers of the operating system using the GetVersion method.
The files are enumerated using the FindFirstFileW and FindNextFileW methods.
WNetOpenEnumW is used to start an enumeration of all currently connected resources... The enumeration continues by calling the WNetEnumResourceW function.
The GetLocaleInfoW function is used to obtain the default locale... The binary verifies whether the 9th bit, which represents Cyrillic alphabets, is cleared.
Lateral Movement
2 techniques
Lateral Movement
It tries to connect to every host on the network on port 445 in order to encrypt every available network share.
It tries to connect to every host on the network on port 445 in order to encrypt every available network share.
Impact
3 techniques
Impact
distributed BackMyData ransomware to encrypt data | criminals got hold of a hospital management system called Hippocrates and, using it as a vector, distributed BackMyData ransomware to encrypt data
Any target process is stopped using the TerminateProcess method.
vssadmin delete shadows /all /quiet – delete all Volume Shadow Copies; wmic shadowcopy delete – delete all Volume Shadow Copies | bcdedit /set {default} bootstatuspolicy ignoreallfailures; bcdedit /set {default} recoveryenabled no; wbadmin delete catalog -quiet
Observables
1 indicator attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.
Recent activity
8 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.