Poisoned Pipeline / Incidents / AS512
aurum-pay 1.2.0 was a working casino payment SDK whose first API call ran a server-supplied command and installed a persistent Linux RAT
aurum-pay is a PyPI package that presents itself as the payment SDK for
aurum-casino.com, an online casino. OpenSourceMalware found version 1.2.0
on 11 November 2026 and published the analysis the same day; the package
and its PyPI account were still live at publication. The SDK is not a
hollow shell. Deposits, payouts, refunds, balances and signed webhooks are
documented and the methods work, and the casino site is a functioning
site, so a developer evaluating it sees a normal product.
Nothing happens on install or import. Every network operation goes
through AurumPay.request(), which calls _boot_once() before sending the
real API call. That bootstrap flags itself as done, then sends
GET https://aurum-casino.com/sdk/ping?p=<win|darwin|linux>&v=1.2.0 and
treats the response as a command rather than as configuration. On Windows
it runs the response in a hidden PowerShell job. On Linux and macOS it
runs it through bash with output discarded in the background. Network
failures and launch errors are swallowed, and the payment request that
triggered it proceeds normally, so the developer sees a working SDK and a
normal response.
The Linux response OpenSourceMalware recovered was a 165-byte shell
command that downloaded a file from Dropbox to /tmp/.c, marked it
executable and ran it. The file is a 5,071,320-byte stripped, statically
linked x86-64 ELF that calls itself RCMD Remote Agent. Its configuration
is XOR-obfuscated and resolves to controller 209.99.184.80 on port 443
with the embedded token k9Fv2Qm7Xp4Lw8Rt3Nc6Hb1Zy5Jd0Ms, overridable
through RCMD_TOKEN, and a self-signed CA certificate whose common name is
that IP, valid from 8 October 2026 to 10 January 2029.
Before entering its command loop the agent installs itself for
persistence. With root it writes /etc/systemd/system/chromium.service;
without it, it copies itself to $HOME/.local/bin/chromium and writes
$HOME/.config/systemd/user/chromium.service, then runs loginctl
enable-linger so the service survives logout. The unit is described as
RCMD Remote Agent and restarts every five seconds. Over the TLS channel
the operator gets an interactive /bin/sh with state for cd, export, unset,
pwd, echo and exit; directory listing and chunked file read, write and
upload; screenshots staged at /tmp/.rcmd-ss.jpg through scrot, direct X11
capture or a Pillow fallback, with DISPLAY and XAUTHORITY recovered from
/proc/<pid>/environ and /tmp/.X11-unix; and host reconnaissance from
/etc/os-release, /proc/cpuinfo and /proc/meminfo. File-transfer URLs come
from the controller, so later payload locations and exfiltration
destinations cannot be recovered from the binary. No fourth stage is
embedded.
The brand is part of the infrastructure. aurum-casino.com serves the
first-stage command and is also the SDK's default API host, so requests
that carry bearer API keys, payment and payout bodies, customer email
addresses, customer IDs and idempotency keys may be sent to the same
domain that delivers commands. Passive records put the domain in a newly
registered .com list on 7 October 2026, one day before the controller
certificate became valid, and an older web-classification list records it
as a gambling domain years earlier. OpenSourceMalware's assessment is that
an expired gambling domain was re-registered and reused as brand cover;
it does not have the WHOIS history to prove the ownership change. The
controller address sits in 209.99.184.0/21, announced by AS402253, and
public records associate that exact address with gfta-api.online; other
addresses in the allocation have hosted casino-themed and impersonation
domains, which the report treats as context rather than proof of common
ownership.
Mapped techniques
- T0109 Publish malicious artifact
- T0138 Backdoor in code
- T0159 Malicious artifact execution
- T0172 Runtime backdoor
supply-chain A functioning payment SDK is published with a loader behind its first API request
aurum-pay 1.2.0, import name aurum_pay, was live on PyPI with a
working payment API and documentation that points at
aurum-casino.com. The package account was still live at
publication.
The loader sits inside the same method that sends legitimate API
calls, named _boot_once() and called from AurumPay.request().
There is no install hook, no import-time code and no encoded blob,
so install and client construction stay inert and the package
reads as a normal SDK.
post-supply-chain The first real request executes whatever the casino domain returns
The bootstrap sends the host platform and SDK version to
/sdk/ping and pipes the response to a hidden PowerShell job on
Windows or to bash on Linux and macOS. The recovered Linux body
downloaded and ran the RCMD ELF from Dropbox. The internal
_booted flag makes it run once per Python process.
post-supply-chain RCMD Remote Agent persists as a fake Chromium service and gives the operator a shell
The ELF installs a systemd unit named chromium.service with
Description=RCMD Remote Agent and Restart=always, at system level
as root or in the user manager with linger enabled otherwise. It
dials 209.99.184.80:443 with an embedded token and serves an
interactive shell, file transfer, screenshots and host
reconnaissance.
Framework gaps noted
- The package is not a typosquat, a dependency-confusion publish or a compromised maintainer account. It is an attacker-operated product with a real API and a real brand site, so T0108/T0120/T0129 do not describe how it was placed.
- Activation on the first legitimate API call is not its own technique. T0150 is a runtime logic bomb with a destructive payload; here the trigger only delays a loader, so the behavior is recorded in T0159's comment and the description instead.
- Whether aurum-casino.com collected deposits, credentials or identity documents directly, and whether any payment data reached the operator, is unconfirmed. OpenSourceMalware did not use the site's deposit or registration flows and had no backend records.
- The domain's prior ownership and expiry date are not established; passive classification and a new-registration list support the re-registration hypothesis but are not WHOIS proof.
- No fourth stage is embedded in the ELF. The controller can supply further commands and transfer URLs at runtime, so anything after RCMD is unknown without captured C2 traffic.
- No install or download count is given, so the number of applications that made a first API call is unknown.