Three M.E.Doc updates carried a backdoor in ZvitPublishedObjects.dll, the last on 22 June 2017.
The attackers used the backdoor to deliver the XData and NotPetya ransomware. The update servers of the vendor, Intellect Service, sent it out as a normal update.
Major incident. Microsoft observed infections in Ukraine and another 64 countries after the NotPetya outbreak. Impact source
What happened
ESET analyzed the DLL. It is a 5 MB .NET file.
- The backdoor class is named
MeCom. - It collected EDRPOU numbers, proxy settings and logins, and email user names and passwords.
- It saved them in the registry under
HKEY_CURRENT_USER\SOFTWARE\WC, in values namedCredandPrx. - It talked to the vendor's update host,
upd.me-doc.com.ua, and hid its data in HTTP cookies. - It had six commands, including shell execution, file extraction, system reconnaissance and running a DLL through
rundll32.exe.
BleepingComputer reports that a Ukrainian official said the vendor had installed no updates on the affected servers since February 2013. Police seized the vendor's servers on 4 July 2017.
Affected versions
- 10.01.175 to 10.01.176, released 14 April 2017.
- 10.01.180 to 10.01.181, released 15 May 2017.
- 10.01.188 to 10.01.189, released 22 June 2017.
- Updates before April 2017 were clean.
Indicators of compromise
- ESET detection name:
MSIL/TeleDoor.A. ZvitPublishedObjects.dllSHA-1:7B051E7E7A82F07873FA360958ACC6492E4385DD.ZvitPublishedObjects.dllSHA-1:7F3B1C56C180369AE7891483675BEC61F3182F27.ZvitPublishedObjects.dllSHA-1:3567434E2E49358E8210674641A20B147E0BD23C.- Registry key
HKEY_CURRENT_USER\SOFTWARE\WCwith valuesCredandPrx. - Traffic to
upd.me-doc.com.uawith data in cookies.
How to check
Hash the DLL in the M.E.Doc folder and compare it with the SHA-1 values above.
Get-ChildItem -Path C:\ -Recurse -Filter ZvitPublishedObjects.dll -ErrorAction SilentlyContinue | Get-FileHash -Algorithm SHA1
Then check for the registry key that the backdoor used.
reg query HKCU\SOFTWARE\WC
What to do now
- Isolate any machine with a matching hash or the registry key.
- Change the email and proxy passwords that the backdoor read.
- Check the machine for the ransomware and for other tools that the backdoor delivered.
- If you need a clean state, restore from a backup made before 14 April 2017.
Frequently asked questions
When was the last bad update?
On 22 June 2017, days before the NotPetya outbreak on 27 June.
Who analyzed the DLL?
ESET published the analysis and the SHA-1 values.
Sources
Send this page to the person who looks after AI at your company.