Cyber Security

LemonDuck Malware Exploiting SMB Vulnerabilities To Attack Windows Servers

LemonDuck malware has evolved from a cryptocurrency mining botnet into a “versatile malware” that is capable of “stealing credentials,” “disabling security measures,” and “propagating through various methods.” 

It targets both “Windows” and “Linux” systems by using techniques like ‘brute-force attacks’ and ‘exploiting known vulnerabilities’ like “EternalBlue” to gain access to networks. 

Aufa and NetbyteSEC Interns (Irham, Idham, Adnin, Nabiha, Haiqal, Amirul) recently discovered that LemonDuck malware has been actively exploiting SMB vulnerabilities to attack Windows servers. 

LemonDuck Malware Exploiting SMB Vulnerabilities

LemonDuck malware was found exploiting vulnerabilities in Microsoft’s Server Message Block (SMB) protocol, particularly the “EternalBlue” (‘CVE-2017-0144’) vulnerability.

Analyse Any Suspicious Links Using ANY.RUN’s New Safe Browsing Tool: Try for Free

The malware initiates its attack via brute-force attempts on “SMB services,” using IP address “211.22.131.99” from Taiwan. 

Upon gaining access, it creates hidden administrative shares and executes a series of malicious actions via batch files and PowerShell scripts. 

Graph flow of the attack (Source – NetbyteSEC)

These include ‘creating and renaming executables’ (“msInstall.exe” to “FdQn.exe”), ‘manipulating firewall settings,’ and ‘establishing port forwarding to “1.1.1.1” on “port 53”.’ 

LemonDuck ensures persistence by setting up “scheduled tasks” (‘NFUBffk,’ ‘Autocheck,’ ‘Autoload’) that run at regular intervals by executing malicious payloads from remote URLs, reads NetbyteSEC report.

It employs anti-detection mechanisms like “monitoring command prompt instances” and “forcing system reboots.” 

The malware disables Windows Defender, creates exclusions for the “C:” drive and “PowerShell process,” and uses base64 encoding to obfuscate its activities. 

Notable components include “svchost.exe” (disguised as a ‘legitimate system service’) and ‘various scheduled tasks’ that maintain the infection. 

One-liner command executed that contains a series of malicious activities (Source – NetbyteSEC)

The attack concludes with cleanup procedures to remove evidence which shows the comprehensive approach of LemonDuck to “cryptomining” and “system compromise.”

The malware is disguised as “svchost.exe,” which is placed in “C:\Windows\Temp” and uses a file (“ipc.txt”) for signaling. 

It disables Windows Defender, adds “C:\” to exclusion lists, and opens “TCP port 65529” for “C2 communication.” The malware renames itself to evade detection (‘HbxhVCnn.exe’) and sets up scheduled tasks for persistence. 

It exploits the “EternalBlue vulnerability” (‘CVE-2017-0144’) in SMB services for lateral movement. 

Mimikatz code execution (Source – NetbyteSEC)

Not only that, it even makes use of PowerShell to download additional scripts from URLs like “http://t[.]amynx[.]com/gim[.]jsp, and employs Mimikatz for credential theft. 

The attack manipulates system services, modifies firewall rules, and uses multiple techniques to maintain stealth and ensure repeated execution. 

Key components offer “brute-force attacks,” “privilege escalation to SYSTEM level,” and the “creation of malicious batch files (‘p.bat’)” for further system compromise. 

The malware’s actions span ‘network manipulation,’ ‘file operations,’ and ‘scheduled task creation,’ this illustrates a complex approach to “system infiltration and control.”

IoCs

Hash

  • msInstall.exe (MD5: 3ca77a9dfa6188ed9418d03df61fea7a)

Domain

  • t.amynx.com (URL: http://t.amynx.com/gim.jsp)
  • w.zz3r0.com (URL: http://w.zz3r0.com/page.html?pSVR-ESCWEBAPP)

IP Address

  • 211.22.131.99 (Taichung, Taiwan)

Strategies to Protect Websites & APIs from Malware Attack => Free Webinar

Tushar Subhra Dutta

Tushar is a senior cybersecurity and breach reporter. He specializes in covering cybersecurity news, trends, and emerging threats, data breaches, and malware attacks. With years of experience, he brings clarity and depth to complex security topics.

Recent Posts

NSA, CISA and NIST Release New Security Guidelines to Detect and Shut Down Rogue AI Agents

NSA, CISA, and NIST have released joint security guidelines to help organizations detect, contain, and…

3 hours ago

Hackers Exploit SiteGuard WAF Vulnerability That Could Give Them Full Control of Servers

Hackers are exploiting a command injection flaw in SiteGuard Server Edition, a web application firewall…

3 hours ago

Hackers Registered New Teams-Based Domains and Used a Login Page to Steal Your Logins

A newly registered domain copies Microsoft Teams’ login page and interface, raising concerns about a…

4 hours ago

16-Year-Old Broadcom Wi-Fi Flaw Lets Attackers Hack Routers Without Knowing Passwords

A 16-year-old flaw in Broadcom’s Wi-Fi software can let attackers within wireless range take control…

4 hours ago

Google Unveils New Android AI Protections to Block Scam Calls, Phishing Links and OTP Theft

Google has announced a new set of Android security protections designed to stop mobile scams…

9 hours ago

Hackers Exploiting Plex Vulnerabilities in the Wild to Deploy Cryptominer Malware

Hackers are exploiting flaws in Plex Media Server to install cryptocurrency mining malware, with a…

11 hours ago