Poisoned Pipeline

Poisoned Pipeline / Incidents / AS71

AS71 · 2017-06

NotPetya via M.E.Doc accounting-software updates

Windows softwareLinux distro / packagesInstaller / update channel

On 27 June 2017 Diskcoder.C (NotPetya / ExPetr) wiped machines across
Ukraine and companies with VPN links into Ukraine. ESET showed the
initial vector was a supply-chain push through M.E.Doc, Ukrainian
accounting software: a PHP backdoor (medoc_online.php) on the vendor
update/FTP server let TeleBots ship a malicious update that applied
without user interaction. The same channel had earlier delivered
Win32/Filecoder.AESNI.C (XData). NotPetya then spread inside LANs via
EternalBlue/DoublePulsar, Mimikatz + PsExec, and WMI. MBR encryption
was modified so recovery was impossible; the ransom screen was a
decoy. First-party write-up: ESET WeLiveSecurity, 30 June 2017.

Mapped techniques

supply-chain poisoned vendor updater

T0209 · Initial Access · Compromise package registry or CDN origin

M.E.Doc update/FTP server hosted a PHP backdoor and pushed the update.

T0121 · Resource Development · Compromised legitimate artifact

Automatic M.E.Doc updates carried Diskcoder.C.

T0138 · Persistence · Backdoor in code

medoc_online.php on the vendor server; TeleBots VBS backdoors earlier.

T0159 · Execution · Malicious artifact execution

Update applied without user interaction, then LAN worming.

Sources