The credits page that runs Python

About this post: Thanks to MalwareHunterTeam for the malware sample. This analysis and write-up were produced by Claude (Opus 5.5), working as an agent in Claude Code on a REMnux analysis VM. Tools used: Malcat, msitools, osslsigncode/OpenSSL, Python, Wine, gdb, Recorded Future Triage and ANY.RUN.

TL;DR

A signed Windows Installer package presents itself as Microsoft’s Remote Desktop Connection Manager (RDCMan), a free tool that many IT administrators use to manage server connections. It does install the real, Microsoft-signed RDCMan. At the same time, it quietly starts a bundled copy of Python on a file called COMPONENTS.html. That file looks like a software licence page but is really a Python script. The script unpacks a hidden program in memory, which checks that it is not being watched or emulated and then slips the final payload into Windows’ own smartscreen.exe.

  • Signing: the MSI carries a valid signature from an SSL.com certificate issued to an individual, “Johnathon Shepherd“, although the package names Microsoft as its author.
  • Disguise: a Python script dressed as an HTML “Credits” page, a middle stage dressed as RDCMan.exe 3.20, and a hijacked smartscreen.exe.
  • Evasion: the hidden program avoids the usual Windows functions, looks for debuggers, and quits on near-empty systems such as emulators. Other checks we could not fully identify stopped it in a public sandbox.
  • Injection: it starts smartscreen.exe under a forged parent process and makes it run 1.2 MB of injected code.
  • Final payload: a program with a web client and modern encryption. We could not identify its family or its server.
From a double-click on the RDCMan installer to a hijacked SmartScreen process.
Image: From a double-click on the RDCMan installer to a hijacked SmartScreen process.

Step 1: a “Microsoft” installer signed by someone else

The file is RDCMan.msi, about 81 MB. Its metadata says “Microsoft” throughout: author, manufacturer, product name “Remote Desktop Connection Manager”, version 3.20.0.0. Two details don’t fit:

  • It was built with msitools, an open-source tool for creating MSI files on Linux. Current RDCMan comes from Microsoft Sysinternals as a ZIP with a single EXE, not as an MSI, let alone one built with a Linux tool.
  • It is signed by “Johnathon Shepherd”, an individual SSL.com certificate issued on 1 November 2026. The signature is valid.

A brand-new certificate issued to a person and immediately used to sign another company’s product is a pattern we see often with signed malware. The certificate has been reported to the CA and added to the CertGraveyard.

The installer needs no administrator rights. It copies eleven files into %LOCALAPPDATA%\Microsoft\Remote Desktop Connection Manager\ and creates RDCMan shortcuts on the desktop and in the Start menu. At the very end, it runs two “custom actions”:

Action What it starts
LaunchDecoy0 RDCMan.exe: the genuine, Microsoft-signed tool
LaunchPayload pythonw.exe "COMPONENTS.html"

The first is the decoy: the user gets exactly the program they wanted. The second is the attack. pythonw.exe is the official, signed Python interpreter, in the variant that never opens a console window. The installer ships a complete “embeddable” Python 3.11 alongside it, so the victim doesn’t need Python installed.

Step 2: a licence page that is really a program

Open COMPONENTS.html in a browser and you’ll see a page titled “Credits”, the kind of open-source licence listing that ships with Chrome-based apps. Underneath are 10 MB of jumbled CSS and JavaScript fragments with garbled headings.

The trick is in the very first characters: '''. In Python, three quotes start a long text string. To Python, almost the entire “web page” is two huge strings of about 3 million and 2 million characters that do nothing. Between them sit exactly two lines that matter:

  • a tiny function that reverses a block of text, Base64-decodes it and decompresses it;
  • an exec(...) call that runs the result as Python code.

The decoded script is short. It waits 10 seconds, copies a 4.3 MB block of machine code into memory, marks that memory as executable and jumps into it. This loader writes nothing new to disk: the next stages run only in memory.

Step 3: a loader inside a loader

That 4.3 MB block is shellcode: raw machine code that can run from any memory address without being a normal program file. It starts with a single jump into a reflective loader. A reflective loader does by hand what Windows normally does when you start a program: it lays out the program’s sections, fixes up addresses and sets memory permissions. As a result, the program never touches the disk or Windows’ normal loading path.

The loader’s own code is heavily obfuscated, with simple calculations rewritten as long chains of arithmetic. It also bypasses the usual Windows functions when it changes memory protections. Instead of calling the documented functions, which security tools like to watch, it jumps straight to the instruction inside Windows’ system library that hands the request to the kernel. This is known as an indirect system call.

What it loads is an ordinary-looking 64-bit Windows program. It even carries version information imitating the real tool: “Remote Desktop Connection Manager”, “Microsoft Corporation”, RDCMan.exe, 3.20.0.0. Anyone who later dumps this program from memory sees a familiar name.

Step 4: “am I being watched?”

This middle program is an injector: its only job is to plant the next stage in another process. It makes almost all of its requests to Windows through indirect system calls, and it is careful first:

  • Debugger checks: it asks Windows whether a debugger is attached and reads its own thread’s processor state, where hardware breakpoints would show up. In our tests it also quit when breakpoints were placed on the instructions it uses for its system calls. That suggests it checks those instructions for tampering.
  • A marker file: it checks for %APPDATA%\fontcache_ms. We never saw the file created, so its exact role is unclear; it may mark an already-infected machine.
  • The machine itself: it queries drive C:\ and reads basic system information (processor and memory).
  • How many programs are running: it takes the full list of running processes. On an almost empty test system with about ten processes, it stopped right there. With a few dozen more running, it carried on. That bar is low enough that any normal Windows installation clears it, so the check mainly weeds out emulators and stripped-down analysis setups.
  • A timing check: it waits briefly and compares the system clock before and after, a common way to spot environments that fast-forward through sleeps.

When we ran the extracted injector on its own in a public sandbox, it exited almost immediately. We could not tell whether one of these checks or the unusual way it was launched caused that.

Step 5: borrowing SmartScreen

After the checks, the injector picks a host. It looks for smartscreen.exe and ctfmon.exe in C:\Windows\System32, then for installed browsers: Chrome, Edge, Brave, Vivaldi, Yandex, Opera, Opera GX, Firefox and Chromium. smartscreen.exe, the Windows Defender SmartScreen component, is present on every Windows 10 and 11 machine, so in practice that is the host it picks. When none of these files exists, it exits.

When it found smartscreen.exe, we saw it:

  1. start smartscreen.exe with a forged parent. Windows lets a program name another process as the “parent” of a new one. Process trees and some security tools then show a harmless-looking ancestry. This is called PPID spoofing.
  2. write 1.2 MB of code into the new process.
  3. queue that code as an asynchronous procedure call (APC). An APC is a to-do item attached to a thread, which the thread runs at its next opportunity. Here that happens while the new process is still starting up.
  4. exit. From then on, the only process left from the attack carries a trusted Windows name.

Step 6: what runs inside SmartScreen

The injected 1.2 MB block holds another copy of the same kind of reflective loader, with the final program behind it. Inside smartscreen.exe we saw it:

  • load Windows’ cryptography libraries;
  • install an exception handler;
  • read and then change its thread’s processor state.

That last combination is consistent with hardware-breakpoint hooking. Here the CPU’s debug registers are set so that the processor raises an exception whenever a chosen function is reached, and the exception handler then changes what happens next, without patching a single byte of code. Malware often uses this to switch off security scanning, but we did not see which functions were targeted here.

The final program’s code contains a web client that checks HTTP status codes, plus a full set of modern cryptography: Curve25519 key exchange, AES encryption, and SHA-256 and HMAC message checks. That is what you would expect from a remote-access tool or stealer that sets up an encrypted session with its server.

What we couldn’t reach

We want to be clear about the limits here:

  • No command-and-control server. In none of our runs did the final stage get as far as contacting a server, and its address is stored encrypted. We don’t know where it reports to.
  • No family name. Automated family matching gave nothing meaningful. The web client and crypto fit a remote-access tool or stealer, but that is not enough to name one.
  • No sandbox detonation of the full chain. We found no earlier sandbox reports for the hidden stages. One public run of the whole installer never got past installation, and our own public run of the extracted injector came back clean.
  • The marker file. fontcache_ms may be created later in the infection, but we did not observe that.

Advice

For everyone:

  • Download admin tools like RDCMan only from the vendor. For RDCMan that is Microsoft Sysinternals (learn.microsoft.com/sysinternals), where it ships as a plain ZIP with a single EXE, not an 81 MB installer.
  • A valid signature only tells you who signed a file. A “Microsoft” product signed by a private individual is a red flag.

For defenders:

  • Look for pythonw.exe started with an .html (or any non-.py) argument, especially from %LOCALAPPDATA%\Microsoft\….
  • Treat a Python runtime appearing in a folder named after a Microsoft product as suspicious.
  • Watch for smartscreen.exe started without its usual -Embedding argument. Use kernel process-creation telemetry to see which process really created it, because the parent shown in a process tree can be forged.
  • Block the certificate below. Hunt for MSI files whose author says “Microsoft” but whose creating application is msitools.

Indicators of compromise

Type Indicator Note
SHA-256 ec2457d6b7baf73f4936a02886c1f466daa7e8028e9beaafd1d717fddc6453bc RDCMan.msi
SHA-256 f0c9b33dee94615855e944222df49b3701b74d446f1f2e712d39d23643b8eccf COMPONENTS.html (Python loader)
SHA-256 a2838f23808176bfc5abfca3e5ec7658c91752e0dbb71d9cdb2b95e81f3e785c shellcode block (memory only)
SHA-256 11910c35a60b11ff95849f7291212fca4e07f44a89d5834493bf87e627eac042 injector, rebuilt from memory
SHA-256 ba521f0e912ab3cf84ce2d76a01af39c4bd78f7686eb0988ded004308f613ecf code injected into smartscreen.exe (memory only)
SHA-256 9797a904ae1ef143c30301cf4122c557bae53c075a87ff9bbf3417283cb35c6d final stage, rebuilt from memory
Certificate “Johnathon Shepherd”, SSL.com, serial 70b469b39976381bfa037925963f275d signs the MSI
Path %LOCALAPPDATA%\Microsoft\Remote Desktop Connection Manager\COMPONENTS.html dropped loader
Path %APPDATA%\fontcache_ms checked by the injector
MSI ProductCode {594AE5C7-5365-4509-834B-4821AF3BF729}, UpgradeCode {F4F21C2D-4CD4-455E-90FC-7196E8B8D120}
Domain gudu-tools[.]net (www, support) listed as the “support” site in the installer; did not resolve

The “memory only” and “rebuilt” hashes are for scanning memory dumps and sandbox reports. Those files never exist on disk in that form.

Wrapping up

A lot of effort went into looking boring here:

  • a real Microsoft tool as the decoy;
  • a real, signed Python as the engine;
  • a licence page as the script;
  • an RDCMan.exe identity for the hidden program;
  • Windows’ own SmartScreen as the final hiding place.

Layer on debugger, emulator and timing checks, and the public sandbox runs we found never reached the payload. If you come across this campaign’s final stage running on a live system, we’d love to hear what it connects to.