Cerber
- Type
- Ransomware
- Capabilities
- ExtortionDefense evasion
- Delivery
- MalspamMalvertisingExploit kit
- Platforms
- Windows
Cerber is a Windows ransomware family that emerged in 2016 and operated through a ransomware-as-a-service model, with developers maintaining the malware and sharing extortion proceeds with affiliates. It encrypts victims’ files and presents localized ransom instructions demanding payment for decryption. Its ransom interfaces supported more than ten languages, and some versions used spoken threats and changed the desktop wallpaper to announce encryption.
Cerber was distributed through malicious spam, malicious advertising, exploit kits, and exploitation of vulnerable internet-facing applications. Documented campaigns included Blank Slate spam carrying JavaScript attachments and exploit documents, Magnitude exploit-kit delivery through Adobe Flash vulnerability CVE-2016-1019, and attacks against Windows-hosted Apache Struts applications through CVE-2017-5638. Other delivery chains impersonated a Google Chrome download page and required victims to execute the downloaded program.
Its evasion techniques included avoiding malicious execution in analysis environments, using third-party packers, and server-side sample rotation that changed file hashes while preserving executable behavior. An analyzed variant queried Windows Management Instrumentation to identify security products and modified firewall rules to block their external communications, interfering with updates and reporting. Cerber also used encrypted Bitcoin transaction data retrieved through multiple APIs to locate command-and-control infrastructure.
The original operation disappeared in late 2019. A code-distinct operation subsequently reused the Cerber branding and is also known as CerberImposter or C3RB3R. Its Windows and Linux server attacks should not be treated as evidence that the original Cerber family resumed operation.
Associated vulnerabilities
18 CVEs Mallory has correlated with this family across public research and vendor advisories. Each card links to the full Mallory page for that vulnerability.
6 more CVEs associated with this family tracked in Mallory.
Associated threat actors
1 distinct threat actor Mallory has associated with this family across public reporting. Open in Mallory to see the full evidence chain and overlapping campaigns.
The Cerber ransomware was mentioned for the first time in March 2016 on some Russian underground forums, on which it was offered for rent in an affiliate program. Since then, it has been spread massively via exploit kits, infecting more and more users worldwide, mostly in the APAC (Asia-Pacific) region.
Techniques & procedures
29 distinct techniques documented for this family, organized by ATT&CK tactic.
Resource Development
1 technique
Resource Development
We also see 1-click exploit used in malvertising (malicious ads) mostly by cyber crime/FIN actors. In the scenario where 1-click exploits are integrated into a chain of redirects like we see everyday in malicious advertising attack
Initial Access
4 techniques
Initial Access
ユーザーがそのURLをクリックすると、(弊社が確認したケースでは)以下のような「Google Chrome」のダウンロードサイトの偽サイトが表示されます。そして自動的にファイルのダウンロードが促されます。
主にメール等でURLが送付され、ユーザーがそのURLをクリックすると、(弊社が確認したケースでは)以下のような「Google Chrome」のダウンロードサイトの偽サイトが表示されます。
The only content is a zip attachment containing a Word document with a malicious macro that downloads and installs ransomware. Sometimes, I'll see a .js file instead of a Word document, but it does the same thing.
The emails contain a link to a self-extracting archive, which has been uploaded to a Dropbox account controlled by the attackers. The target then downloads and opens it to infect a system.
Execution
5 techniques
Execution
The original decryptor was dirty patched to use the same SIGN as was previously paid.
Many fileless malware embed malicious PowerShell scripts whose commands are often the ones responsible for downloading and launching or executing the payload.
First, the script is run using the Windows Script Host.
The vulnerability, CVE-2022-26134, allows an attacker to spawn a remotely-accessible shell, in-memory, without writing anything to the server’s local storage.
この後、ダウンロードされた実行ファイルをユーザー自身が起動・実行することではじめて感染します。
Privilege Escalation
3 techniques
Privilege Escalation
The main payload of the loader is the injection of code in another process. In this case, the injected code is the whole Cerber binary...
This loader is designed to hollow out a normal process where the code of CERBER is instead run.
we managed to track down more than 10 (!) of their Windows Kernel Local Privilege Escalation (LPE) exploits, many of which were zero-days at the time of development.
Stealth
9 techniques
Stealth
その結果、「Cerber」のバイナリは動作に関わるコード領域はハッシュ値が異なる検体であっても同一であり、バイナリの末尾に毎回異なるランダムと思われるデータが付与されているだけであることがわかりました。
今回のようにサーバサイド側でダウンロードさせるマルウェアを多様に変化(ポリモーフィズム)させ、同一URLから異なる検体が時折またはアクセスする度にダウンロードされる仕組みを「サーバサイドポリモーフィズム」と呼びます。
以下のような「Google Chrome」のダウンロードサイトの偽サイトが表示されます。
The main payload of the loader is the injection of code in another process. In this case, the injected code is the whole Cerber binary...
This loader is designed to hollow out a normal process where the code of CERBER is instead run.
when encrypting files FuxSocy will skip files whose file path contain certain strings.
このウインドウはHTA(HTMLアプリケーション)により作成されています。
The script, in turn, loads the DLL file using rundll32.exe with the DLL's filename and exports as the arguments.
なお、「Cerber」は感染時にマルウェア解析ツール等が起動していると不正活動を行なわず終了します。
Defense Impairment
2 techniques
Defense Impairment
/bin/chmod +x ./qnetd ... /bin/chmod 755 ./qnetd ... /tmp/qnetd (ransomware execution)
Finally, after encrypting a computer the Windows desktop background will be changed to an almost identical background that was originally used by Cerber.
Discovery
2 techniques
Discovery
most files had the .locked suffix appended to their names, and every folder contained a file named __$$RECOVERY_README$$__.html
なお、「Cerber」は感染時にマルウェア解析ツール等が起動していると不正活動を行なわず終了します。
Command and Control
4 techniques
Command and Control
Blockchain-based C&C is the next step in a long evaluation of criminal TTPs, but it will be very difficult to mitigate this technique in the future
The first message contains only the machine ID, which is sent using the following format: "sign=%s" % SIGN ... The CAPTCHA solution, together with PRIVATE_KEY and SIGN, are sent to the server using the following format: "captcha=%d&sign=%s&private_key=%s" % (CAPTCHA, SIGN, PRIVATE_KEY)
The encoded command was an instruction to download and execute a Windows program, saved to the %temp% folder under the name svcPrvinit.exe, then delete it when execution was complete.
Option 1: Predict the domain names and stop them ... There is nothing to predict anymore. Nobody can remove transactions from the blockchain. No DNS lookups to unusual sites. Never any NXDomains
Impact
2 techniques
Impact
If successful, [payload downloads] led to single-system Cerber ransomware deployment on the exploited Confluence server.
その後、感染が完了すると、以下のように「Cerber」により暗号化された旨の警告文に壁紙が変更されます。
Observables
109 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.
Recent activity
68 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.