StepDrainer
Techniques & procedures
8 distinct techniques documented for this family, organized by ATT&CK tactic.
Initial Access
2 techniques
Initial Access
The stager script dynamically injects a <script> element at runtime using constructs like document.createElement() and document.head.append(), with Object.assign() used to set properties such as the script’s source URL. This approach allows the malware to fetch additional code from a server-side PHP loader while keeping the injection process invisible to the user.
Modern drainer operations consistently rely on highly polished social‑engineering surfaces as their primary initial access vector... contemporary drainers are introduced through web properties that imitate the aesthetics, functionality, and behavioral patterns of legitimate financial and analytic platforms.
Execution
1 technique
Execution
This “settings.js” script is a browser‑side wallet drainer written in JavaScript using Ethers.js and Web3.js. The script operates entirely in the browser and relies on the wallet provider injected by extensions.
Stealth
1 technique
Stealth
The archive included several anomalous auxiliary files... attackers hide the core JavaScript payload inside encrypted or obfuscated .dat files... During execution, EtherRAT contacted domains such as wpuadmin[.]shop... and handled encrypted configuration elements stored using AES‑256‑CBC with bundled keys and IVs.
Credential Access
2 techniques
Credential Access
Drainers operating on Ethereum and other EVM‑compatible chains often request unlimited token‑spending approvals across multiple assets... while in reality, the approval grants the drainer full control over the victim’s assets.
permitSteal() - This function targets ERC‑20 tokens that support EIP‑2612 permit signatures. Instead of requiring an on‑chain approval transaction, the script requests a signed permit message from the victim. Once the signature is obtained, the attacker can submit it to authorize and execute a token transfer.
Command and Control
1 technique
Command and Control
Decoding the returned Base64‑encoded data reveals a domain used by the campaign infrastructure... The Solana account “8ycauMwVE61B4uWz87B2k2G8mMK7iFjRoBHooaVAcP4k” has been active since September 2025 and functions as a campaign configuration store.
Exfiltration
1 technique
Exfiltration
Notably, these deep links ultimately redirect users to URLs hosted on “Vercel”, a cloud platform commonly used for hosting and deploying web applications and serverless front-end services.
Observables
3 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.
Recent activity
1 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.