Duqu
- Type
- RAT
- Capabilities
- Credential theftKeyloggingLateral movementPrivilege escalationDefense evasionProcess injectionReconnaissance
- Delivery
- Spearphishing
- Platforms
- Windows
Duqu is a modular Windows remote-access and cyberespionage malware family with substantial code and architectural similarities to Stuxnet. Its primary purpose is intelligence collection rather than industrial sabotage. Duqu infections have been identified across Europe, Asia, the Middle East and Africa. Targets associated with the family include industrial computing organizations, security technology companies and venues involved in negotiations over Iran’s nuclear program.
Early Duqu attacks used targeted emails containing malicious Microsoft Word attachments that exploited CVE-2011-3402, a Windows TrueType font-parsing vulnerability. Its architecture combines a kernel-mode rootkit loader with encrypted user-mode components. Payload packing, custom encryption, dynamically resolved APIs, debugger checks and process injection help conceal execution. Duqu selects injection targets according to installed security software, and analyzed variants use shared-section mapping to execute code inside legitimate processes. Its modules capture keystrokes, obtain credentials and collect process and network configuration information. Operators can direct lateral movement by copying malware to accessible network shares and using compromised credentials to create remote scheduled tasks. Command-and-control communications can use AES-CBC encryption.
Duqu 2.0, identified in 2015, substantially expanded the platform and operated predominantly in memory. It supported more than 100 plugin variants for credential theft, screenshots, remote desktop access, command execution, discovery and collection of documents, email and database information. It exploited CVE-2015-2360 for kernel privilege escalation and used remotely executed Windows Installer packages to deploy encrypted payloads. Rather than relying on conventional endpoint persistence, it could use infected high-uptime servers to reinfect other machines after reboot. Extensive code similarities link Duqu 2.0 to the original platform’s developers or collaborators, but definitive national attribution has not been established.
Associated vulnerabilities
2 CVEs Mallory has correlated with this family across public research and vendor advisories. Each card links to the full Mallory page for that vulnerability.
Associated threat actors
3 distinct threat actors Mallory has associated with this family across public reporting. Open in Mallory to see the full evidence chain and overlapping campaigns.
“The large number of similarities between the Duqu 2011 code and the new Duqu 2.0 samples indicates that the new code represents a new iteration of the malware platform.”
“The large number of similarities between the Duqu 2011 code and the new Duqu 2.0 samples indicates that the new code represents a new iteration of the malware platform.”
Researchers connected Duqu to the development of Stuxnet early on.
Techniques & procedures
42 distinct techniques documented for this family, organized by ATT&CK tactic.
Resource Development
1 technique
Resource Development
The discoveries of the Stuxnet virus – and then the Duqu and Flame viruses – herald a new era of highly complex weaponised software made by powerful states to attack weaker states.
Initial Access
1 technique
Initial Access
Adversaries can instruct [Duqu](https://attack.mitre.org/software/S0038) to spread laterally by copying itself to shares it has enumerated and for which it has obtained legitimate credentials (via keylogging or other means). The remote host is then infected by using the compromised credentials to schedule a task on remote machines that executes the malware.(Citation: Symantec W32.Duqu)
Execution
3 techniques
Execution
"used a valid account to maintain persistence via scheduled task"; "schedule a task on remote machines that executes the malware"
Adversaries can instruct [Duqu](https://attack.mitre.org/software/S0038) to spread laterally by copying itself to shares it has enumerated and for which it has obtained legitimate credentials (via keylogging or other means). The remote host is then infected by using the compromised credentials to schedule a task on remote machines that executes the malware.(Citation: Symantec W32.Duqu)
Instead, the code, delivered via exploitation, installs drivers and encrypted DLLs that function very similarly to the original Stuxnet code.
Persistence
4 techniques
Persistence
"used a valid account to maintain persistence via scheduled task"; "schedule a task on remote machines that executes the malware"
Adversaries can instruct [Duqu](https://attack.mitre.org/software/S0038) to spread laterally by copying itself to shares it has enumerated and for which it has obtained legitimate credentials (via keylogging or other means). The remote host is then infected by using the compromised credentials to schedule a task on remote machines that executes the malware.(Citation: Symantec W32.Duqu)
Adversaries can instruct [Duqu](https://attack.mitre.org/software/S0038) to spread laterally by copying itself to shares it has enumerated and for which it has obtained legitimate credentials (via keylogging or other means). The remote host is then infected by using the compromised credentials to schedule a task on remote machines that executes the malware.(Citation: Symantec W32.Duqu)
[Duqu](https://attack.mitre.org/software/S0038) creates a new service that loads a malicious driver when the system starts. When Duqu is active, the operating system believes that the driver is legitimate, as it has been signed with a valid private key.(Citation: Symantec W32.Duqu)
Privilege Escalation
8 techniques
Privilege Escalation
"used a valid account to maintain persistence via scheduled task"; "schedule a task on remote machines that executes the malware"
Adversaries can instruct [Duqu](https://attack.mitre.org/software/S0038) to spread laterally by copying itself to shares it has enumerated and for which it has obtained legitimate credentials (via keylogging or other means). The remote host is then infected by using the compromised credentials to schedule a task on remote machines that executes the malware.(Citation: Symantec W32.Duqu)
Aria-body has the ability to inject itself into another process such as rundll32.exe and dllhost.exe... BlackEnergy injects its DLL component into svchost.exe... ComRAT has injected its orchestrator DLL into explorer.exe... Stuxnet injects an entire DLL into an existing, newly created, or preselected trusted process.
[Duqu](https://attack.mitre.org/software/S0038) will inject itself into different processes to evade detection. The selection of the target process is influenced by the security software that is installed on the system (Duqu will inject into different processes depending on which security suite is installed on the infected host).(Citation: Symantec W32.Duqu)
[Duqu](https://attack.mitre.org/software/S0038) is capable of loading executable code via process hollowing.(Citation: Symantec W32.Duqu)
Adversaries can instruct [Duqu](https://attack.mitre.org/software/S0038) to spread laterally by copying itself to shares it has enumerated and for which it has obtained legitimate credentials (via keylogging or other means). The remote host is then infected by using the compromised credentials to schedule a task on remote machines that executes the malware.(Citation: Symantec W32.Duqu)
[Duqu](https://attack.mitre.org/software/S0038) examines running system processes for tokens that have specific system privileges. If it finds one, it will copy the token and store it for later use. Eventually it will start new processes with the stored token attached. It can also steal tokens to acquire administrative privileges.(Citation: Kaspersky Duqu 2.0)
[Duqu](https://attack.mitre.org/software/S0038) creates a new service that loads a malicious driver when the system starts. When Duqu is active, the operating system believes that the driver is legitimate, as it has been signed with a valid private key.(Citation: Symantec W32.Duqu)
Stealth
12 techniques
Stealth
SIG4 ... Snake/Uroburos ... fdisk.sys driver ... SIG35 ... most likely related to Duqu ... looks for kernel driver ... SIG8 StuxNet ... mrxcls.sys, mrxnet.sys, s7otbxdxa.sys drivers.
“Duqu… a PROPERTY=VALUE pair containing a 56-bit encryption key has been used to decrypt the main payload from the installer packages.”
hiding payload inside PNGs using LSB steganography... Least Significant Bit (LSB) Steganography, which hides data inside the LSBs of image pixel values. This allows attackers to embed payload within an image file without altering its visual appearance.
installs drivers and encrypted DLLs... The PNF file is an encrypted DLL that is decrypted and injected into arbitrary system processes.
temporary Windows files generated by Wiper begin with a tilde character (~), followed by the letter d (either capital or lower case), followed by other letters or numbers. This “tilded platform,” as researchers have come to call the convention, is also found in both Stuxnet and Duqu.
Aria-body has the ability to inject itself into another process such as rundll32.exe and dllhost.exe... BlackEnergy injects its DLL component into svchost.exe... ComRAT has injected its orchestrator DLL into explorer.exe... Stuxnet injects an entire DLL into an existing, newly created, or preselected trusted process.
[Duqu](https://attack.mitre.org/software/S0038) will inject itself into different processes to evade detection. The selection of the target process is influenced by the security software that is installed on the system (Duqu will inject into different processes depending on which security suite is installed on the infected host).(Citation: Symantec W32.Duqu)
[Duqu](https://attack.mitre.org/software/S0038) is capable of loading executable code via process hollowing.(Citation: Symantec W32.Duqu)
Adversaries can instruct [Duqu](https://attack.mitre.org/software/S0038) to spread laterally by copying itself to shares it has enumerated and for which it has obtained legitimate credentials (via keylogging or other means). The remote host is then infected by using the compromised credentials to schedule a task on remote machines that executes the malware.(Citation: Symantec W32.Duqu)
[Duqu](https://attack.mitre.org/software/S0038) examines running system processes for tokens that have specific system privileges. If it finds one, it will copy the token and store it for later use. Eventually it will start new processes with the stored token attached. It can also steal tokens to acquire administrative privileges.(Citation: Kaspersky Duqu 2.0)
[Duqu](https://attack.mitre.org/software/S0038) has used <code>msiexec</code> to execute malicious Windows Installer packages. Additionally, a PROPERTY=VALUE pair containing a 56-bit encryption key has been used to decrypt the main payload from the installer packages.(Citation: Kaspersky Duqu 2.0)
This file is hidden using the same method as the other modules.
Defense Impairment
2 techniques
Defense Impairment
And while Stuxnet and Duqu each “have variants where the kernel driver file is digitally signed using a software signing certificate,” Dell says this commonality is insufficient evidence of a connection “because compromised signing certificates can be obtained from a number of sources.”
The strings indicate these modules have the capability to disable security tools, targeting some specific antivirus products.
Credential Access
1 technique
Credential Access
[Duqu](https://attack.mitre.org/software/S0038) can track key presses with a keylogger module.(Citation: Symantec W32.Duqu)
Discovery
8 techniques
Discovery
The discovery modules used with [Duqu](https://attack.mitre.org/software/S0038) can collect information on open windows.(Citation: Symantec W32.Duqu)
The reconnaissance modules used with [Duqu](https://attack.mitre.org/software/S0038) can collect information on network configuration.(Citation: Symantec W32.Duqu)
The discovery modules used with [Duqu](https://attack.mitre.org/software/S0038) can collect information on network connections.(Citation: Symantec W32.Duqu)
The discovery modules used with [Duqu](https://attack.mitre.org/software/S0038) can collect information on process details.(Citation: Symantec W32.Duqu)
They check for the existence of specific files, windows registry entries, and other signs ... For example, this script looks for the existence of an actual file “winver32.exe” in the very specific $docsandsettings\\$subkey\\Application Data\\winver32.exe path.
“actors used the following commands… to enumerate user accounts: net user >> %temp%\download; net user /domain >> %temp%\download … APT1 used the commands net localgroup, net user, and net group to find accounts… APT32 enumerated administrative users using the commands net localgroup administrators … OilRig has run net user, net user /domain, net group "domain admins" /domain …”
The discovery modules used with [Duqu](https://attack.mitre.org/software/S0038) can collect information on accounts and permissions.(Citation: Symantec W32.Duqu)
"spread laterally by copying itself to shares it has enumerated"
Lateral Movement
3 techniques
Lateral Movement
Adversaries can instruct [Duqu](https://attack.mitre.org/software/S0038) to spread laterally by copying itself to shares it has enumerated and for which it has obtained legitimate credentials (via keylogging or other means). The remote host is then infected by using the compromised credentials to schedule a task on remote machines that executes the malware.(Citation: Symantec W32.Duqu)
APT29 used scheduler and schtasks to create new tasks on remote hosts as part of lateral movement... Naikon has used schtasks.exe for lateral movement in compromised networks... RemoteCMD can execute commands remotely by creating a new schedule task on the remote system.
Duqu ... spread laterally by copying itself to shares it has enumerated ... The remote host is then infected by using the compromised credentials to schedule a task on remote machines that executes the malware.
Collection
4 techniques
Collection
[Duqu](https://attack.mitre.org/software/S0038) can track key presses with a keylogger module.(Citation: Symantec W32.Duqu)
The content repeatedly describes adversaries and malware storing collected data, command output, credentials, archives, or files in local temporary folders, working directories, hidden directories, registry locations, recycle bins, or specific files prior to exfiltration.
Modules can be pushed to and executed by [Duqu](https://attack.mitre.org/software/S0038) that copy data to a staging area, compress it, and XOR encrypt it.(Citation: Symantec W32.Duqu)
Modules can be pushed to and executed by [Duqu](https://attack.mitre.org/software/S0038) that copy data to a staging area, compress it, and XOR encrypt it.(Citation: Symantec W32.Duqu)
Command and Control
8 techniques
Command and Control
When the [Duqu](https://attack.mitre.org/software/S0038) command and control is operating over HTTP or HTTPS, Duqu uploads data to its controller by appending it to a blank JPG file.(Citation: Symantec W32.Duqu)
[Duqu](https://attack.mitre.org/software/S0038) uses a custom command and control protocol that communicates over commonly used ports, and is frequently encapsulated by application layer protocols.(Citation: Symantec W32.Duqu)
[Duqu](https://attack.mitre.org/software/S0038) can be configured to have commands relayed over a peer-to-peer network of infected hosts if some of the hosts do not have Internet access.(Citation: Symantec W32.Duqu)
The code in question is part of the Payload DLL, a section of the trojan that sends and receives instructions from an outside source once it has infiltrated a system.
Duqu provides attackers with remote access to compromised computers with the ability to run arbitrary programs, and can theoretically be used to target any organization, Dell said.
[Duqu](https://attack.mitre.org/software/S0038) uses a custom command and control protocol that communicates over commonly used ports, and is frequently encapsulated by application layer protocols.(Citation: Symantec W32.Duqu)
The content is a catalog of malware and threat groups that encrypt command-and-control communications using algorithms such as DES, AES, RC4, XOR, Blowfish, RSA, Camellia, RC2, RC6, and custom ciphers.
The [Duqu](https://attack.mitre.org/software/S0038) command and control protocol's data stream can be encrypted with AES-CBC.(Citation: Symantec W32.Duqu)
Observables
5 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.
Recent activity
86 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.