StubMaker RubyGems Campaign Uses Embedded Malware to Steal Credentials and Wallet Data

· Original article ↗

Summary

StubMaker typosquatted RubyGems packages install a Windows infostealer that embeds later stages, steals browser credentials, wallets, seed phrases and Telegram data, then exfiltrates it.

Key points

  • Malicious RubyGems typosquats used an extconf.rb installation hook to send a platform beacon and download a Windows loader; the campaign expanded to 16 gems.
  • The Rust loader decrypts an embedded Go infostealer in memory; the Go payload also contains a DLL that targets Chromium App-Bound Encryption keys.
  • The malware collects browser passwords, cookies, session tokens, payment-card data, wallet files and seed phrases, Telegram Desktop data, and host information.
  • Stolen data is packaged in a password-protected ZIP and uploaded to Gofile; the resulting link and victim summary are sent to dresslee[.]com over HTTP.
  • The report found no additional remote payload downloads after the initial loader and no confirmed persistence mechanism.
  • The authors recommend investigating RubyGems installation-time network activity, suspicious Downloads/main.exe execution, browser injection, and related collection and exfiltration behavior.

Article Details

Attack Vectors
  • Typosquatted RubyGems packages execute code through an extconf.rb installation hook.
  • The installer sends a platform beacon and, on Windows, downloads and executes a Rust loader from a GitHub release.
  • The loader decrypts an embedded Go infostealer in memory; the stealer injects an embedded DLL into browser processes to recover Chromium App-Bound Encryption keys.
  • The infostealer collects browser credentials, cookies, payment-card data, cryptocurrency wallets and seed phrases, Telegram Desktop data, and host information, then uploads an archive and reports its link.
Defensive Notes
  • Monitor Ruby and RubyGems installation processes for outbound connections during extconf.rb execution, especially requests to the reported beacon endpoint.
  • Investigate Ruby writing or executing main.exe from a user's Downloads directory, and look for browser-process injection, elevation-service COM activation, and named-pipe activity.
  • Look for rapid access to Chromium profile databases, wallet-extension directories, Telegram tdata, and BIP-39 seed phrases, followed by Gofile uploads and connections to the reported webhook.
  • If execution is suspected, isolate the system, revoke browser and Telegram sessions, rotate browser-stored credentials from a clean device, treat saved payment cards as compromised, and move cryptocurrency to newly generated wallets using a trusted device.

Indicators of compromise

TypeIndicatorContext
DOMAINdresslee[.]comAttacker webhook domain receiving the Gofile link and victim summary.
IPV4193[.]70[.]34[.]101Beacon endpoint contacted by the malicious Ruby installer to report the victim's platform.
SHA2561afff50ca4064310d3492c652e1c3168216dcb42063e0b26c223038db46b8731SHA-256 hash of the recovered Go infostealer.
SHA2562edf1494951ea52eb86c606212668822081b3c589b821e8ec33cde59b65141a7SHA-256 hash of the malicious Ruby installation runner.
SHA25667719fa6fcaa97936bf678565d6777db5c194e14efeba16864be8dac966e24bcSHA-256 hash of the recovered embedded ABE helper DLL.
SHA2566f088ade49456db2422c3edfbb9998f4a3e9cce7c4c00a7279fb45d672a82b7dSHA-256 hash of the downloaded Rust loader, main.exe.
SHA256a280b369c95b04530af11598f15a58328722af0325509fe1c55028c3fa873111SHA-256 hash of a malicious extconf.rb file.
URLhxxp[:]//193[.]70[.]34[.]101:20099/voteHTTP platform-beacon endpoint used by the malicious Ruby installer.
URLhxxp[:]//dresslee[.]com:20027/xf39jMJ9P1Attacker webhook endpoint receiving the Gofile link and victim summary over HTTP.
URLhxxps[:]//github[.]com/bebraz1/qPzM50V1AKG0rVlH/releases/download/null/main.exeSpecific GitHub release URL used to deliver the Windows loader.
URLhxxps[:]//upload[.]gofile[.]io/uploadfileUpload endpoint used by the infostealer to exfiltrate the password-protected archive.

MITRE ATT&CK

Malware

Products

Related Articles