Proprietary 2017-03-11 · 185 days ·Backdoor, Data Theft, Remote Access Targeted Second Stage

CCleaner installer shipped multi-stage backdoor

Attackers compromised Piriform's build environment and inserted a backdoor into official CCleaner releases before Avast completed the acquisition.

Story

The CCleaner compromise began before the public software update. Avast later found that attackers first entered Piriform's network on March 11, 2017, using TeamViewer on an unattended developer workstation. The single successful sign-in suggested the attacker already had valid credentials. Initial DLL drops failed without admin rights; the third attempt used VBScript and succeeded.

On March 12, the actor moved to a second unattended computer and opened a backdoor through Windows Remote Desktop. In April, a customized ShadowPad payload appeared inside Piriform as mscoree.dll, including on a build server. Avast found no proof that this ShadowPad stage was later delivered to the 40 selected CCleaner victims, but it showed the attacker had months of internal access before the customer-facing payload shipped.

The delivery was the official CCleaner installer. On August 2, attackers replaced the normal build path with a backdoored CCleaner release, and version 5.33.6162 was later downloaded by roughly 2.27 million users. The first stage collected system information and contacted command-and-control, acting less like broad ransomware and more like a filter for targets worth a second step.

The second stage went to 40 computers at major technology and telecommunications companies. Cisco Talos detected the malicious official download on September 13 and notified Avast; with FBI help, Avast took down the command-and-control server within three days. The lasting lesson was bleak and simple: a free utility with a trusted update path can become an intelligence platform if its build chain is owned.

Affected Artifacts

CCleaner second-stage DLL

windows dll · piriform.com · Binary Archive
Observed
2017-09-12
Compromised Versions
Unknown
Fixed
Not listed
Hashes
  • sha256:36b36ee9515e0a60629d2c722b006b33e543dce1c8c2611053e0651a0bfdb2e9
  • Second-stage DLL deployed only to selected high-value targets after the first-stage CCleaner compromise.
  • Avast reported 40 selected second-stage victims at major technology and telecommunications companies.

Incident Context

Motive
Espionage
Attribution
State
Cause
Build System Compromise
Transitive
No
Actor
Nation-state
User Impact
2270000

Indicators

External References

Source record: proprietary/ccleaner/meta.yaml