SecPod

Learn Search

Search across all Learn content

← Back to Security Research
Lemon Duck Malware : Infecting outdated Windows systems using EternalBlue

Lemon Duck Malware : Infecting outdated Windows systems using EternalBlue

Feb 5, 2020By Vidita V Koushik4 min read

Lemon Duck is a monerocrypto-mining malware. This malware was first spotted in China but has hence spread to other parts of the world. Lemon Duck starts with single infection and spreads rapidly across the entire network. Converting the resources of an organization into cryptocurrency mining slaves. However, a vulnerability management tool detects this malware.

Researchers from TrapX-Labs have reported that Lemon Duck has especially targeted IoT Devices running Windows 7 Embedded in its campaigns. Microsoft declares that no further updates is released for Windows 7. In the absence of regular updates, the severity of the upcoming malware attacks on systems running Windows 7 could be disastrous. Also, it is distressing to indicate that 200 million devices are still using the old Windows 7. However, a patch management tool can patch and update these devices.

Lemon Duck malware written in Python using PyInstaller for compilation. However, this malware’s main strategy is fileless infection using PowerShell modules. Moreover, the infection on the network happens through the exploitation of a critical SMB vulnerability(CVE-2017-0144) and brute-force attacks.

Malware Capabilities

  • Delivers XMR miners to mine for cryptocurrency.
  • Uses fileless infection techniques.
  • Steals information such as computer name, machine UUID, MAC address, and IP address, etc. and sends them to the C&C server.
  • Modifies Windows Firewall settings to open port 65529/TCP on complex machines.
  • Implants 32- and 64-bit versions of malicious DLL components to removable and network drives.
  • Register shortcut (LNK) files in the startup folder to execute malicious javascript upon reboot.
  • Executes PowerShell code remotely using WMI.
  • Uses open-source tools such as PowerDump, freerdp, and Mimikatz to carry out various actions.
  • Includes an Installation Tracking C2 module which reports the machine profile and status of every executed module to the C2 server. Uses another Continuous Monitoring C2 module to send details about the compromised user accounts, machine configuration, user privilege and exploitation or mining payloads status.
  • Leverages the Windows Scheduled Tasks mechanism to download fresh copies of malicious scripts at regular intervals.

Malware Infection and Propagation Methods:

1) EternalBlue Exploit (CVE-2017-0144): Lemon Duck scans the network on TCP Port 445 using the PingCastle scanner to look for devices with the EternalBlue vulnerability. Lemon Duck launches ‘SMB Exploitation Module’ on devices that are vulnerable to the EternalBlue exploit.

2) Windows LNK Remote Code Execution Vulnerability (CVE-2017-8464): LemonDuck infects removable USB drives and network drives by implanting malicious DLLs in a folder along with a shortcut (LNK) file. When a user opens the drive in any application which parses the .lnk Shortcut file, the shortcut executes the malicious DLL component.

3) Mimikatz module and PassTheHash attacks: A powershell script is used to download a Mimikatz module from a specific URL. The Mimikatz module is used for collecting user information. Moreover, this information along with hard-coded lists of passwords and NTLM hashes is used to launch PasstheHash(PtH) and brute force attacks.

4) RDP brute force attacks: Firstly, Lemon Duck includes an RDP module which scans for the open servers using the default RDP Port 3389 and attempts to login with the “administrator” user name. Secondly, a freerdp module downloaded with the Mimikatz module, provides a list of hardcoded passwords which are used in RDP brute force attacks.

5) Brute forcing of MS-SQL servers: A script included in the malware checks for an open port 1433/TCP used by the Microsoft SQL service and tries to brute force against the “SA”(system administrator) user account.

SanerNow lists the potential targets for malwares in an enterprise network (shown in the figures below).

Fig1. SanerNow listing of potential targets in an organization for Lemon Duck Malware

SanerNow-dashboard
SanerNow-dashboard

Fig2. Details about Lemon Duck Malware

However, SanerNow detects and mitigates the vulnerabilities which uses as infection vectors for spreading Lemon Duck Malware. Moreover, download SanerNow and keep your systems updated and secure.

General Recommendations

1) Keep your systems up-to-date with the latest security patches.
2) Use strong and complex passwords
3) Refrain from opening any suspicious emails or links.
4) Manage network shares and disable anonymous logins.

Featured Posts

Open November 2026 Linux Security Updates for Debian, Fedora, Red Hat and Ubuntu: Critical Browser, .NET and Enterprise Infrastructure Vulnerabilities
November 2026 Linux Security Updates for Debian, Fedora, Red Hat and Ubuntu: Critical Browser, .NET and Enterprise Infrastructure Vulnerabilities

CVE Research

November 2026 Linux Security Updates for Debian, Fedora, Red Hat and Ubuntu: Critical Browser, .NET and Enterprise Infrastructure Vulnerabilities

Nov 27, 2026

Open Drupal Installer Flaw Under Attack: Site Takeover Risk Persists
vulnerability researchDrupal Installer Flaw Under Attack: Site Takeover Risk Persists

CVE Research

Drupal Installer Flaw Under Attack: Site Takeover Risk Persists

CVE-2026-136716 is a highly critical Drupal core installer access-bypass vulnerability that is under active exploitation. An unauthenticated attacker can take over sites left in unusual or incomplete installation states, including some production sites. The earlier fix for CVE-2026-132165 does not cover every affected state. Fixed releases are Drupal Core 11.4.14, 11.3.23, and 10.6.23. This article covers how the flaw works, its relationship to the prior installer issue, impact, and remediation steps.

Nov 27, 2026

Open GT13 Campaign Targets 22 Organizations Through Check Point Security Management Server Exploitation
GT13 Campaign Targets 22 Organizations Through Check Point Security Management Server Exploitation

CVE Research

GT13 Campaign Targets 22 Organizations Through Check Point Security Management Server Exploitation

The GT13 campaign targeted at least 22 organizations worldwide by exploiting vulnerabilities in exposed services and Check Point Security Management Servers. The attackers used forged authentication sessions, SSH-based persistence, internal reconnaissance, lateral movement, and data exfiltration techniques to compromise systems and access sensitive information.

Nov 26, 2026

Open GeoServer Flaws Under Attack: Inside the Exploit Chain to Remote Code Execution
vulnerability researchGeoServer Flaws Under Attack: Inside the Exploit Chain to Remote Code Execution

CVE Research

GeoServer Flaws Under Attack: Inside the Exploit Chain to Remote Code Execution

Six vulnerabilities in GeoServer’s November 2026 security update can expose sensitive files, bypass service authorization, and enable administrator impersonation. Several of these flaws can be chained for unauthenticated remote code execution with the permissions of the GeoServer process. CVE-2026-120705 and CVE-2026-129243 have been reported as exploited. Fixed releases include GeoServer 3.0.2, 2.28.6, and 2.27.7. This article covers the flaws, the public five-CVE chain, impact, affected versions, and remediation guidance.

Nov 26, 2026