Dexphot Polymorphic Malware Attacking Windows Computer to Mine Cryptocurrency and Monitor Services

A new malware strain dubbed Dexphot attacking windows computers to mine cryptocurrency, monitoring services, and scheduled tasks to rerun the infection if windows defender removed it.

The malware uses filess techniques it gets malicious codes executed directly in memory and also it hijacks the legitimate process to hide the malicious activity.

Microsoft closely tracked the threat since 2018, the threat actors continuously improve the malware, target new processes, and defense mechanism.

Malicious Behaviour

Dexphot Behaviour & Infection Chain

The malware employs multiple levels of polymorphism across the binaries it distributes, files techniques and behavior-based detection for protection.

The malware abuses the following legitimate process that includes

  • msiexec.exe – Microsoft process to install, modify, and perform operations on Windows Installer
  • unzip.exe – Extraction Utility
  • rundll32.exe – Used to run DLL files
  • schtasks.exe – To create scheduled tasks
  • powershell.exe – Automation framework
  • svchost.exe – Win32 Services
  • tracert.exe – Network command line tool
  • setup.exe

The infection starts with the installer downloading MSI package from the two URL’s embedded and then uses msiexec.exe to perform a silent installation.

It also checks for antivirus software installation, if any antivirus found it halts the installation immediately, if not then it decompresses the password-protected ZIP. The file unzipped using unzip.exe that exists within the package.

The zip file has three files such as loader DLL, clean DLL to avoid detection and encoded data. These files decompressed to the system’s Favorites folder.

Infection Chain

Rundll32.exe was used to decrypt the encrypted data file, the decrypted contains three executable, those executables are run by Dexphot directly in memory via processing hollowing method. The process hollowing is a method to hide a malicious process withing a legitimate process.

To initiate process hollowing, the loader DLL targets two legitimate system processes, the loader DLL replaces the contents of these processes with the first and second decrypted executables(nslookup.exe) they are monitoring services and then loader targets setup.exe and replace that with XMRig and JCE Miner script.

Persistence

To maintains persistence, it continuously checks for the status of the three malicious processes, if any of the process it intercepted then monitors terminate the entire process and starts the infection again.

Also, Microsoft observed it uses schtasks.exe to create scheduled tasks, with the command below as a final fail-safe method to maintain persistence.

The Dexphot campaign aimed to install coin miners on the targeted machine and attackers steal the computer resource stealthily to generate revenue.

You can follow us on LinkedinTwitterFacebook for daily Cybersecurity and hacking news updates.

Gurubaran

Gurubaran is a co-founder of Cyber Security News and GBHackers On Security. He has 10+ years of experience as a Security Consultant, Editor, and Analyst in cybersecurity, technology, and communications.

Recent Posts

Researchers Detailed Tools Used By Hacktivists Fueling Ransomware Attacks

CyberVolk, a politically motivated hacktivist group, has leveraged readily available ransomware builders like AzzaSec, Diamond,…

6 minutes ago

Blue Yonder Ransomware Attack Impacts Starbucks & Multiple Supermarkets

A ransomware attack on Blue Yonder, a leading supply chain management software provider, has created…

2 hours ago

Dell Wyse Management Suite Vulnerabilities Let Attackers Exploit Affected Systems Remotely

Dell Technologies has released a security update for its Wyse Management Suite (WMS) to address…

2 hours ago

CISA Details Red Team Assessment Including TTPs & Network Defense

The Cybersecurity and Infrastructure Security Agency (CISA) recently detailed findings from a Red Team Assessment…

2 hours ago

IBM Workload Scheduler Vulnerability Stores User Credentials in Plain Text

IBM has issued a security bulletin warning customers about a vulnerability in its Workload Scheduler…

3 hours ago

Multiple Flaws With Android & Google Pixel Devices Let Attackers Elevate Privileges

Several high-severity vulnerabilities have been identified in Android and Google Pixel devices, exposing millions of…

3 hours ago