MedusaHVNC RAT Uses Hidden Windows Desktops to Evade Detection

· Original article ↗

Summary

BlackFog analyzed MedusaHVNC, a RAT with a hidden virtual desktop module. Its five-stage infection chain decrypts a payload that uses legitimate Windows functions for covert browser interaction, screen capture, and clipboard access.

Key points

  • BlackFog found a hidden virtual network computing (HVNC) module that opens Chrome, Edge, or Firefox on a separate Windows desktop.
  • The reported five-stage infection chain begins when wscript.exe runs a JScript launcher, which writes embedded files under %TEMP%.
  • A Startup-folder batch file provides persistence; AutoIt decrypts the payload and launches it through charmap.exe.
  • The loader uses repeating XOR and ChaCha20 encryption layers, according to the researchers.
  • The final payload communicates with a hardcoded C2 address, 51.89.204.28:4444.
  • Windows functions including BitBlt, PrintWindow, SendInput, and clipboard APIs support covert screen capture and interaction.
  • The article identifies unexplained outbound data as a potential detection opportunity.

Article Details

Attack Vectors
  • A JScript launcher is executed by wscript.exe and stages embedded files under %TEMP%\Nx2981Okkr2\.
  • A .bat file is placed in the Startup folder for persistence; AutoIT decrypts the payload and starts charmap.exe.
  • MedusaHVNC uses a hidden Windows desktop to operate a browser and interact with the session without the user seeing it.
  • The malware communicates with a hardcoded operator C2 address.
Defensive Notes
  • The article identifies detection of unexplained data leaving the network as the obvious mitigation.

Indicators of compromise

TypeIndicatorContext
IPV451[.]89[.]204[.]28Hardcoded operator C2 address for MedusaHVNC; the article gives port 4444.

MITRE ATT&CK

Malware

Products

Tools

Related Articles