← All families

Python RAT Loader

Confirmed
Aliases
PythonRatLoader
Category
Loader
Platform
Windows / Python
Latest analysis
2024-11-27
Python RAT Loader execution flow observed identifies payload DELIVERY Payment-receipt lure → .zip from Dropbox archive holds a single .url internet shortcut STAGE 1 · WEBDAV .url target: file:// path to a WebDAV share broadcast-enquiry-pro-hanging[.]trycloudflare[.]com serves .js + .bat · WsgiDAV 4.3.3 STAGE 2 · WEBDAV .bat fetches payload kit from a second tunnel des-ip-catering-viewing[.]trycloudflare[.]com .zip · ~42 MB PAYLOAD KIT Portable Python 3.12 + loader .py + loader .bin three encrypted payload .bin files .bin → DCRat DCRAT BANNER .bin → XWorm XWORM BANNER .bin → VenomRAT VENOMRAT BANNER INJECTION python.exe → sacrificial explorer.exe parent process spoofed · Early Bird APC injection reported by the loader's own console output PAYLOAD HOST RAT runs inside the injected explorer.exe notepad.exe is also used as a host NETWORK VenomRAT C2 111[.]90[.]143[.]248 · port 3232 Identification strings VenomRAT Server1 · VenomRAT By qwqdanchun1 CONFIRMS PAYLOAD FAMILY
Execution flow. Sizes are this sample's; indicators are defanged.

Overview

This loader delivers commodity .NET RATs (XWorm, VenomRAT, AsyncRAT, DCRat) using a chain built almost entirely from legitimate infrastructure. A Windows internet shortcut (.url) opens a remote folder over WebDAV. The WebDAV server sits behind a free TryCloudflare tunnel, so the attacker needs no registered domain and no exposed server. The second stage downloads a complete, portable Python distribution with a small loader script and several encrypted .bin payloads. Each payload is decrypted in memory and injected into a Windows process.

Because the interpreter is shipped with the payload, the chain works on hosts with no Python installed, and the Python process tree is the main host-side signal.

This entry records a single triage from November 2024 and has not been re-validated since.

Observed Execution and Behavior

Stage Observed activity
Lure German-language payment-receipt email ("thank you for your payment") with a download link.
Delivery A .zip from a Dropbox user-content URL, containing a single .url internet shortcut named like an invoice reference.
Stage 1 The shortcut's target is a file:// path to a WebDAV share. Opening it lists a .js and a .bat.
Stage 2 The batch file fetches a ~42 MB .zip from a second WebDAV share on a different tunnel.
Payload kit The archive unpacks to a portable Python 3.12 install, a small Python loader script (.py), a loader .bin, and three encrypted payload .bin files.
Injection The loader's own console output reported launching a sacrificial explorer.exe with a spoofed parent process, then injecting shellcode via an Early Bird APC queue.
Payloads One .bin each for DCRat, XWorm and VenomRAT; the RAT ran inside the injected explorer.exe (notepad.exe is also used).

Getting at the share. The .url target uses the Windows UNC form for WebDAV-over-HTTPS (\\host@SSL\DavWWWRoot\...). Dropping the @SSL suffix and browsing to the host over HTTP shows the directory listing directly, which is the quickest way to pull the next stage during triage.

Both WebDAV listings identified the server software as WsgiDAV 4.3.3, an open-source Python WebDAV server. An open WsgiDAV listing reached through a trycloudflare.com subdomain is a strong hunting pivot.

Payload Identification

Strings recovered from the running payloads:

  • VenomRAT Server1
  • VenomRAT By qwqdanchun1: VenomRAT's DcRat/AsyncRAT lineage shows in the shared author handle
  • XWorm and DCRat identified from their own banners (see the DCRat entry for its strings)

Network Indicators and Roles

Indicator Assessment
broadcast-enquiry-pro-hanging[.]trycloudflare[.]com Stage 1 WebDAV share (.js and .bat)
des-ip-catering-viewing[.]trycloudflare[.]com Stage 2 WebDAV share (payload .zip files)
111[.]90[.]143[.]248:3232 VenomRAT C2, recovered from strings
dl[.]dropboxusercontent[.]com Initial archive host; a legitimate service, not an indicator on its own

TryCloudflare subdomains are random, short-lived and free. The parent domain is used legitimately, so hunt on WebDAV access to trycloudflare.com from a .url or Explorer context, not on the domain.

Assessment

The chain matches public reporting on Python-based loaders that deliver AsyncRAT-family payloads through TryCloudflare-hosted WebDAV. The loader's console output, which announces parent spoofing and Early Bird APC injection, is unusually candid. It makes the injection technique an observed fact, not an inference.

Useful detections, roughly in order of durability:

  1. .url files whose target is a remote file:// or @SSL\DavWWWRoot path
  2. WebDAV client traffic (the DavWWWRoot path, WebClient service activity) to tunnel providers
  3. A portable python.exe launched from a user-writable folder, spawning explorer.exe or notepad.exe
  4. Directory listings served by WsgiDAV through tunnel subdomains

References

Indicators above are defanged and reflect the specific sample and campaign analyzed. Treat them as campaign indicators rather than universal family identifiers, and validate any derived signature against additional malicious and benign samples.