Fake RDCMan Installer Uses Python Loader to Inject Payload into SmartScreen

· Original article ↗

Summary

Analysis of a signed fake RDCMan installer found a Python script disguised as an HTML credits page, evasion checks, and code injection into smartscreen.exe. The final payload’s family and server remain unidentified.

Key points

  • The 81 MB MSI impersonates Microsoft RDCMan and installs the genuine tool as a decoy, while also launching bundled Python with COMPONENTS.html.
  • COMPONENTS.html disguises a Python script as a credits page; it decodes and executes code that loads shellcode in memory.
  • The hidden injector checks for debuggers and analysis environments, then uses indirect system calls and reflective loading.
  • The injector starts smartscreen.exe with a forged parent process and injects about 1.2 MB of code into it.
  • The final stage contains a web client and cryptographic functions, but researchers did not observe it contact a server or identify its malware family.
  • The article recommends downloading RDCMan from Microsoft, scrutinizing mismatched signer identities, and monitoring suspicious Python launches and SmartScreen process creation.

Article Details

Attack Vectors
  • A signed MSI impersonates Microsoft’s Remote Desktop Connection Manager and installs the genuine tool as a decoy while launching a bundled Python interpreter with COMPONENTS.html as its argument.
  • The HTML-like file contains Python code that decodes and decompresses a script, which loads shellcode and subsequent stages in memory.
  • An injector checks for analysis environments, starts smartscreen.exe with a forged parent process, writes code into it, and queues that code as an APC.
  • The final in-memory stage contains an encrypted-session-capable web client; the article reports that it did not reach a command-and-control server during analysis.
Defensive Notes
  • Download RDCMan only from Microsoft Sysinternals; the article says the legitimate software is distributed as a ZIP containing a single EXE, not as an MSI.
  • Treat a Microsoft-branded product signed by a private individual as suspicious, and hunt for MSI files claiming Microsoft authorship that were created with msitools.
  • Look for pythonw.exe launched with an .html or other non-.py argument, especially from a Microsoft-named folder under %LOCALAPPDATA%.
  • Monitor for smartscreen.exe launched without its usual -Embedding argument; use kernel process-creation telemetry because the displayed parent process can be forged.
  • Block the certificate identified in the article and scan memory dumps for the listed stage hashes.

Indicators of compromise

TypeIndicatorContext
DOMAINgudu-tools[.]netDomain listed as the purported support site in the malicious installer; the article says it did not resolve.
SHA25611910c35a60b11ff95849f7291212fca4e07f44a89d5834493bf87e627eac042SHA-256 of the injector rebuilt from memory.
SHA2569797a904ae1ef143c30301cf4122c557bae53c075a87ff9bbf3417283cb35c6dSHA-256 of the final stage rebuilt from memory.
SHA256a2838f23808176bfc5abfca3e5ec7658c91752e0dbb71d9cdb2b95e81f3e785cSHA-256 of the shellcode block used by the installer’s in-memory loader.
SHA256ba521f0e912ab3cf84ce2d76a01af39c4bd78f7686eb0988ded004308f613ecfSHA-256 of the code injected into smartscreen.exe; the article notes it exists in memory only.
SHA256ec2457d6b7baf73f4936a02886c1f466daa7e8028e9beaafd1d717fddc6453bcSHA-256 of the malicious RDCMan.msi installer.
SHA256f0c9b33dee94615855e944222df49b3701b74d446f1f2e712d39d23643b8eccfSHA-256 of COMPONENTS.html, identified as the Python loader in the installer.

MITRE ATT&CK

T1036.005 · Match Legitimate Resource Name or LocationThe installer and hidden program use Microsoft and RDCMan product names and version information to resemble the legitimate Remote Desktop Connection Manager.T1055.004 · Asynchronous Procedure CallThe injector writes code into smartscreen.exe and queues it as an asynchronous procedure call for execution by a thread.T1059.006 · PythonThe installer launches bundled pythonw.exe with COMPONENTS.html, which contains Python code that decodes and runs the loader.T1134.004 · Parent PID SpoofingThe injector starts smartscreen.exe with a forged parent process, which the article describes as PPID spoofing.T1140 · Deobfuscate/Decode Files or InformationThe Python loader reverses, Base64-decodes, and decompresses embedded content before executing the resulting code.T1497.001 · System ChecksThe injector checks system information and the running-process count, and exits on near-empty systems such as emulators or stripped-down analysis environments.T1497.003 · Time Based ChecksThe injector compares the system clock before and after a brief wait to detect environments that fast-forward through sleeps.T1620 · Reflective Code LoadingReflective loaders manually map program sections and run the next stages from memory without using the normal Windows loading path.T1622 · Debugger EvasionThe intermediate program checks for an attached debugger, reads thread processor state for hardware breakpoints, and may quit when its system-call instructions are tampered with.

Vendors

Products

Tools

Related Articles