Notepad++, a popular free and open-source source code editor, was targeted in a sophisticated supply chain attack by a Chinese Advanced Persistent Threat (APT) group named Lotus Blossom. The hackers exploited the software's update infrastructure, not its source code, to deploy malware.
Key points:
update.exe installer dropped a harmful DLL (log.dll) and an encrypted shellcode (BluetoothService).log.dll performed DLL sideloading, decrypting and executing the shellcode to establish a persistent backdoor on the victim's machine.GUP.exe), which, if enabled on an outdated version, was exploited to deliver malicious payloads. [2:55]GUP.exe connected to a hacker-controlled server instead of the legitimate Notepad++ update server. [4:06]update.exe program, an NSIS installer, performed the following steps: [4:21]log.dll, identified as a malicious DLL. [4:32]BluetoothService in a hidden directory. [4:50]BluetoothService.exe (a renamed legitimate Bitdefender Submission Wizard). [5:09]BluetoothService.exe then performed DLL sideloading, loading log.dll instead of the legitimate library. [5:14]log.dll decrypted and executed the final malicious payload in memory, creating a persistent backdoor on the victim's machine. [5:22]