Python RAT Loader
ConfirmedOverview
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 Server1VenomRAT 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:
.urlfiles whose target is a remotefile://or@SSL\DavWWWRootpath- WebDAV client traffic (the
DavWWWRootpath, WebClient service activity) to tunnel providers - A portable
python.exelaunched from a user-writable folder, spawningexplorer.exeornotepad.exe - Directory listings served by WsgiDAV through tunnel subdomains