THE DUQU 2.0 Technical Details Version: 2.1 (11 June 2015) www.kaspersky.com THE DUQU 2.0 2 Technical Details CONTENTS EXECUTIVE SUMMARY 3 INITIAL ATTACK 4 LATERAL MOVEMENT 4 ANALYSIS OF A DUQU 2.0 MSI PACKAGE 7 File properties 7 First Layer: ActionDLL (msi.dll) 10 Second Layer: ActionData0 10 Third Layer: klif.dll 11 Attacking AVP.EXE 12 CTwoPENC.dll zero-day and KMART.dll 14 PAYLOAD CONTAINERS AND MIGRATION 15 Payload type “L” 15 Payload run type “G” 16 Payload run type “I” 16 Payload run type “K” 17 Payload run type “Q” 17 PLATFORM PLUGGINABLE MODULES 17 PERSISTENCE MECHANISM 33 COMMAND AND CONTROL MECHANISMS 33 The “portserv.sys” driver analysis 35 SIMILARITIES BETWEEN DUQU AND DUQU 2.0 37 VICTIMS OF DUQU 2.0 42 ATTRIBUTION 43 CONCLUSIONS 44 REFERENCES 45 For any inquiries, please contact
[email protected] THE DUQU 2.0 3 Technical Details EXECUTIVE SUMMARY Earlier this year, during a security sweep, Kaspersky Lab detected a cyber intrusion affecting several of its internal systems. Following this finding, we launched a large-scale investigation, which led to the discovery of a new malware platform from one of the most skilled, mysterious and powerful groups in the APT world – Duqu. The Duqu threat actor went dark in 2012 and was believed to have stopped working on this project - until now. Our technical analysis indicates the new round of attacks include an updated version of the infamous 12011 Duqu malware, sometimes referred to as the step-brother of 2Stuxnet. We named this new malware and its associated platform “Duqu 2.0”.