BlackRuby Ransomware
This content has been archived
This article no longer conforms to NHS Digital's standards for cyber alerts, and may contain outdated or inaccurate information. Use of this information contained in this page is at your own risk
Summary
Affected platforms
The following platforms are known to be affected:
Threat details
At present it appears that BlackRuby is delivered via spam emails containing malicious documents, although there are unconfirmed instances of devices being compromised through Remote Desktop Protocol (RDP) brute-force attacks.
Once installed, BlackRuby uses the FreeGeoIP API to check if the compromised device has an Iranian IP address, terminating itself without performing any malicious activity if it does. If the device is non-Iranian then BlackRuby will extract and execute a Monero miner before running a series of commands to delete Volume Shadow Copies and disable Windows Error Recovery and Log Messages services. The mining programme will attempt to mine as fast as possible, consuming large amounts of CPU and memory resources and noticeably slowing down the affected device.
BlackRuby uses hybrid RSA and AES encryption, with files renamed with the format Encrypted_[scrambled_filename].BlackRuby, before dropping a ransom note in every directory. The mining programme will continue to run throughout the encryption process and will persist even if ransom payments are made.
Threat updates
| Date | Update |
|---|---|
| 10 Apr 2018 |
It has come to CareCERT's attention that BlackRuby is part of a larger ransomware family, known as InfiniteTear, along with Zenis and WhiteRose. |
Remediation steps
| Type | Step |
|---|---|
|
If a computer on your network becomes infected with ransomware it will begin encrypting local machine files and files on any network the logged-in user has permission to access. For system administration accounts this may include backup storage locations. To avoid becoming infected with ransomware, ensure that:
Identifying the source of infection: Identifying the infected machine and unplugging / disconnecting or quarantining it from the network is essential to damage limitation.
To limit the damage of ransomware and enable recovery: All critical data must be backed up, and these backups must be sufficiently protected/kept out of reach of ransomware.
The only guaranteed way to recover from a ransomware infection is to restore all affected files from their most recent backup. Additionally, if RDP is not used then ensure port 3389 (TCP/UDP) is blocked at your internet firewall. If RDP is used:
|
Last edited: 17 February 2020 12:38 pm