Skip to main content
Mallory
Threat actorLinked to in-the-wild CVEs

LemonDuck

Updated 2 months ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 daysNo mention activity in the last 30 days.
CVEs5Associated
Malware2Families
ATT&CK56Techniques
IOCs63Tracked
Motivation
Financial
Targets
IN
Capabilities
Initial accessScanningBrute forceCredential theftReconnaissancePersistenceLateral movementPost exploitationDefense evasionExfiltration
Also known asLemon DuckLemonDuck

LemonDuck, also written as Lemon Duck or lemon_duck, is a financially motivated cybercriminal operation associated with a modular, self-propagating cryptocurrency-mining botnet first observed in 2019. It compromises Windows and Linux systems, primarily to deploy Monero miners such as XMRig, while also stealing credentials, establishing persistent access, and installing additional malware. Its activity is geographically widespread, including infections in India. Initially distributed through malicious email attachments, LemonDuck expanded to vulnerability exploitation and brute-force attacks against exposed Microsoft Exchange, Microsoft SQL Server, Hadoop, Redis, SMB, and RDP services. Its exploitation capabilities include EternalBlue, SMBGhost, and the Exchange vulnerabilities CVE-2021-26855, CVE-2021-26857, CVE-2021-26858, and CVE-2021-27065. LemonDuck has also compromised vulnerable HTTP File Server installations in activity associated with CVE-2024-23692. On SQL Server, it abuses xp_cmdshell and CLR stored procedures for command execution. LemonDuck uses obfuscated, multistage PowerShell scripts and legitimate administrative utilities to execute payloads, collect system information, disable security controls, and spread laterally. Persistence mechanisms include scheduled tasks, WMI event subscriptions, web shells, and accounts configured for remote access. Some Exchange attacks execute PowerShell directly through the IIS worker process without deploying a web shell. Additional tooling includes Cobalt Strike DNS beacons, XenoRAT, and Ramnit. Operators have also conducted hands-on-keyboard activity and abused compromised Exchange mailboxes to distribute malicious emails. A distinctive operational behavior is removing competing miners and other attackers' artifacts. LemonDuck sometimes patches exploited systems to prevent rivals from regaining access while retaining its own foothold. It also obscures command-and-control traffic through DNS communications and local hostname mappings. Its documented operations center on illicit cryptocurrency mining and broader post-compromise access; ransomware deployment has not been established.

Are they targeting you?See whether this actor's campaigns touch your sector, your geography, or the products you run, and get alerted when that changes.
Check your exposure
Operational profile

Targeting

Who, where, and from where this actor operates. Pulled from open-source reporting and Mallory's analyst review.

Who they target

Sectors the actor has been observed targeting.

  • Government & Administration
  • Software & Services

Where they target

Geographies tied to known operations.

  • India
MITRE ATT&CK

Tradecraft

56 distinct techniques observed across reporting, grouped by tactic. Hover any cell for the evidence excerpt.

14 of 15 tactics82 techniques
= intelligence reports citing the technique
TA0043Reconnaissance1 technique
T1595Active Scanning
TA0042Resource Development1 technique
T1583Acquire Infrastructure
T1583.001Domains
TA0001Initial Access5 techniques
T1078×2Valid Accounts
T1091Replication Through Removable Media
T1189Drive-by Compromise
T1190×6Exploit Public-Facing Application
T1566Phishing
T1566.001×2Spearphishing Attachment
TA0002Execution5 techniques
T1047×4Windows Management Instrumentation
T1053Scheduled Task/Job
T1053.005×3Scheduled Task
T1059Command and Scripting Interpreter
T1059.001×8PowerShell
T1059.003×3Windows Command Shell
T1059.006Python
T1203Exploitation for Client Execution
T1569System Services
T1569.002Service Execution
TA0003Persistence9 techniques
T1053Scheduled Task/Job
T1053.005×3Scheduled Task
T1078×2Valid Accounts
T1098Account Manipulation
T1112Modify Registry
T1136×3Create Account
T1505Server Software Component
T1505.003×5Web Shell
T1543Create or Modify System Process
T1543.003×2Windows Service
T1546Event Triggered Execution
T1546.003×2Windows Management Instrumentation Event Subscription
T1547Boot or Logon Autostart Execution
T1547.001Registry Run Keys / Startup Folder
TA0004Privilege Escalation8 techniques
T1053Scheduled Task/Job
T1053.005×3Scheduled Task
T1055Process Injection
T1068Exploitation for Privilege Escalation
T1078×2Valid Accounts
T1098Account Manipulation
T1543Create or Modify System Process
T1543.003×2Windows Service
T1546Event Triggered Execution
T1546.003×2Windows Management Instrumentation Event Subscription
T1547Boot or Logon Autostart Execution
T1547.001Registry Run Keys / Startup Folder
TA0005Stealth8 techniques
T1027×3Obfuscated Files or Information
T1036×2Masquerading
T1055Process Injection
T1070×2Indicator Removal
T1070.004File Deletion
T1078×2Valid Accounts
T1218System Binary Proxy Execution
T1218.010×2Regsvr32
T1564Hide Artifacts
T1564.001×2Hidden Files and Directories
T1620×3Reflective Code Loading
TA0112Defense Impairment3 techniques
T1112Modify Registry
T1685×6Disable or Modify Tools
T1686Disable or Modify System Firewall
TA0006Credential Access2 techniques
T1003×2OS Credential Dumping
T1110×3Brute Force
T1110.003Password Spraying
TA0007Discovery3 techniques
T1033System Owner/User Discovery
T1046×3Network Service Discovery
T1082System Information Discovery
TA0008Lateral Movement5 techniques
T1021Remote Services
T1021.001×4Remote Desktop Protocol
T1091Replication Through Removable Media
T1210×3Exploitation of Remote Services
T1550Use Alternate Authentication Material
T1550.002Pass the Hash
T1570Lateral Tool Transfer
TA0009Collection1 technique
T1114×2Email Collection
TA0011Command and Control4 techniques
T1071×4Application Layer Protocol
T1071.004DNS
T1090Proxy
T1090.001Internal Proxy
T1105×5Ingress Tool Transfer
T1219Remote Access Tools
TA0040Impact2 techniques
T1496×3Resource Hijacking
T1565Data Manipulation
T1565.001×2Stored Data Manipulation
Vulnerabilities

Associated vulnerabilities

5 CVEs Mallory has associated with this actor across public reporting. 5 of them are exploited in the wild (not necessarily by this actor).

CVE-2024-236922 evidence · Oct 9, 2026Exploited in the wildUnauthenticated template-injection RCE in Rejetto HTTP File Server2024년 5월 HFS의 원격 코드 실행 취약점인 CVE-2024-23692가 공개되었으며 이를 활용할 경우 공격자는 HFS에 명령이 포함된 패킷을 전송하여 HFS가 악성 명령을 실행하도록 할 수 있다.View vulnerability →
CVE-2021-268551 evidence · Aug 14, 2026Exploited in the wildProxyLogon SSRF in Microsoft Exchange ServerThe vulnerabilities being targeted, which Microsoft has since issued patches for, are CVE-2021-26855, CVE-2021-26857, CVE-2021-26858 and CVE-2021-27065. These vulnerabilities were reported on March 2, 2021 and affect Microsoft Exchange Server versions 2013, 2016 and 2019. They have been leveraged by multiple threat actors targeting Microsoft Exchange servers around the world.View vulnerability →
CVE-2021-268571 evidence · Aug 14, 2026Exploited in the wildMicrosoft Exchange Unified Messaging Insecure Deserialization RCEThe vulnerabilities being targeted, which Microsoft has since issued patches for, are CVE-2021-26855, CVE-2021-26857, CVE-2021-26858 and CVE-2021-27065. These vulnerabilities were reported on March 2, 2021 and affect Microsoft Exchange Server versions 2013, 2016 and 2019. They have been leveraged by multiple threat actors targeting Microsoft Exchange servers around the world.View vulnerability →
CVE-2021-268581 evidence · Aug 14, 2026Exploited in the wildPost-authentication arbitrary file write in Microsoft Exchange ServerThe vulnerabilities being targeted, which Microsoft has since issued patches for, are CVE-2021-26855, CVE-2021-26857, CVE-2021-26858 and CVE-2021-27065... For example, in late April 2021, another cryptocurrency mining botnet, Prometei, was reported to be exploiting two of the aforementioned Exchange Server vulnerabilities (CVE-2021-27065 and CVE-2021-26858) which allowed the attackers to achieve remote code execution on the host.View vulnerability →
CVE-2021-270651 evidence · Aug 14, 2026Exploited in the wildMicrosoft Exchange Server Arbitrary File Write in the ProxyLogon ChainThe vulnerabilities being targeted, which Microsoft has since issued patches for, are CVE-2021-26855, CVE-2021-26857, CVE-2021-26858 and CVE-2021-27065... For example, in late April 2021, another cryptocurrency mining botnet, Prometei, was reported to be exploiting two of the aforementioned Exchange Server vulnerabilities (CVE-2021-27065 and CVE-2021-26858) which allowed the attackers to achieve remote code execution on the host.View vulnerability →
Indicators of compromise

Observables

63 indicators attributed to this actor. Values are masked here and available in full in Mallory.

View all in app →
Indicator values are available in Mallory. Pivot on every hash, domain, URL, and IP, or pipe them straight into your SIEM.View all in Mallory
FAQ

Frequently asked questions

Who does LemonDuck target?
LemonDuck targets Government & Administration and Software & Services in India.
What malware does LemonDuck use?
LemonDuck is associated with XenoRAT and XMRig.
Activity feed

Recent activity

7 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.

View more in app →
+2 more in the timeline. Sign up to see them
Are they targeting you?See whether this actor's campaigns touch your sector, your geography, or the products you run, and get alerted when that changes.
Check your exposure
Mallory platform

The version that knows your environment.

This page is what's public. Mallory adds the parts that aren't: whether this actor's tooling has touched your footprint, the IOCs they're burning right now, and the detections to deploy next.
Target overlapMatch sector + geo + tech-stack targeting against your real footprint.
Tradecraft mapping56MITRE ATT&CK techniques reported for this actor, grouped by tactic.
Associated malware2Families linked to this actor, with IOCs and behavior.
Associated CVEs5CVEs linked to this actor, with the reporting behind each link.
Detection signaturesYARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Observables63Domains, IPs, and hashes tied to this actor, refreshed continuously.