MoiClient Backdoor Uses UAC Bypass and Vulnerable Driver to Deploy Browser Stealer

· Original article ↗

Summary

AhnLab details MoiClient, a backdoor delivered in an invoice-themed VHDX that uses DLL side-loading, an RPC-based UAC bypass, and a vulnerable driver to disable security tools, persist, and deploy a browser-information stealer.

Key points

  • The malware arrives in an invoice-themed VHDX email attachment containing a disguised PDF viewer and a malicious DLL loaded through DLL side-loading.
  • MoiClient injects code into a suspended Explorer process and downloads additional payloads from its command-and-control server.
  • An RPC-based AppInfo technique lets it bypass UAC and run processes with elevated privileges.
  • It abuses a vulnerable Lenovo PC Manager driver to terminate processes associated with security products, and separately attempts to disable Windows Defender.
  • A scheduled task relaunches the malware every 30 minutes using the legitimate SumatraPDF program and the malicious DLL.
  • The additional payload, identified as MoiXD Stealer, targets browser information, including stored passwords.
  • AhnLab recommends checking for suspicious Explorer processes, scheduled tasks, and specified MoiClient-related files.

Article Details

Attack Vectors
  • MoiClient is distributed in an email attachment: a VHDX file disguised as an invoice.
  • Executing Invoice.Pdf.Exe loads the malicious uxtheme.Dll through DLL side-loading.
  • MoiClient injects shellcode into a suspended explorer.Exe process and loads a further payload in memory.
  • MoiClient uses an AppInfo RPC-based UAC bypass to run sc.Exe and PowerShell with elevated privileges.
  • MoiClient exploits the vulnerable BootRepair.Sys driver from Lenovo PC Manager to terminate processes associated with security products.
  • MoiClient downloads defendnot.DLL and defendnot-loader.Exe from its C2 server and executes them through PowerShell in an attempt to disable Windows Defender.
  • MoiClient establishes persistence with a Task Scheduler job that reloads the malicious DLL every 30 minutes.
  • MoiClient downloads the MoiXD Stealer payload and executes it in memory; the stealer uses ChromeElevator to steal browser information, including stored passwords.
Defensive Notes
  • Check for unintended explorer.Exe processes and terminate any that are found.
  • Inspect Task Scheduler for suspicious jobs, including entries that run `demo.Exe` with `-print-to-default -silent file.Pdf`, and delete suspicious tasks.
  • Check for and delete the listed suspected attack files if present: `%Public%\moimoi.Sys`, `%LOCALAPPDATA%\uxtheme.Dll`, `%LOCALAPPDATA%\data.Dat`, `%LOCALAPPDATA%\defendnot-loader.Exe`, and `%LOCALAPPDATA%\defendnot.Dll`.

MITRE ATT&CK

Malware

Products

AvastThe processes targeted for termination include those from various security products, such as the Windows Defender family, Malwarebytes, Bitdefender, Kaspersky, Avast, AVG, and McAfee.AVGThe processes targeted for termination include those from various security products, such as the Windows Defender family, Malwarebytes, Bitdefender, Kaspersky, Avast, AVG, and McAfee.BitdefenderThe processes targeted for termination include those from various security products, such as the Windows Defender family, Malwarebytes, Bitdefender, Kaspersky, Avast, AVG, and McAfee.BootRepair.SysIn this attack, version 2.5.30.11281 Of BootRepair.Sys—a vulnerable driver in Lenovo PC Manager—was exploited.KasperskyThe processes targeted for termination include those from various security products, such as the Windows Defender family, Malwarebytes, Bitdefender, Kaspersky, Avast, AVG, and McAfee.Lenovo PC ManagerIn this attack, version 2.5.30.11281 Of BootRepair.Sys—a vulnerable driver in Lenovo PC Manager—was exploited.MalwarebytesThe processes targeted for termination include those from various security products, such as the Windows Defender family, Malwarebytes, Bitdefender, Kaspersky, Avast, AVG, and McAfee.McAfeeThe processes targeted for termination include those from various security products, such as the Windows Defender family, Malwarebytes, Bitdefender, Kaspersky, Avast, AVG, and McAfee.SumatraPDFInvoice.Pdf.Exe is SumatraPDF, a legitimate PDF viewer; all other files are marked as hidden, making it difficult for ordinary users to detect the presence of related files such as uxtheme.Dll.Windows DefenderThe processes targeted for termination include those from various security products, such as the Windows Defender family, Malwarebytes, Bitdefender, Kaspersky, Avast, AVG, and McAfee.

Tools

Related Articles