Gremlin Stealer Adds Resource-Hidden Payloads and Live-Session Hijacking

· Original article ↗

Summary

Unit 42 compares Gremlin Stealer variants, detailing .NET resource and XOR payload concealment, virtualization and staged loading, plus theft of browser credentials, Discord tokens and clipboard data, crypto clipping, and live-session hijacking.

Key points

  • Newer variants hide payloads in .NET resources with XOR encoding, then decrypt and map functions into memory as needed.
  • A commercial packing utility transforms code into custom bytecode executed by a private virtual machine, complicating analysis.
  • The stealer targets browser cookies and session tokens, clipboard contents, cryptocurrency wallets, FTP and VPN credentials, and payment card details.
  • New modules extract Discord tokens and replace copied cryptocurrency wallet addresses with attacker-controlled ones.
  • A WebSocket-based module requests data from running browser processes to hijack active sessions.
  • The malware bundles harvested data into ZIP archives named with the victim’s public IP address and uploads them to an identified publishing site; VirusTotal showed zero detections for the site and related artifacts at discovery.

Article Details

Attack Vectors
  • Gremlin Stealer hides its payload in an embedded .NET resource and uses XOR encoding, encrypted strings, staged loading, and control-flow obfuscation to hinder analysis.
  • The malware collects browser cookies, session tokens, clipboard data, cryptocurrency wallet information, FTP and VPN credentials, and payment card details.
  • A crypto clipper monitors the clipboard and replaces detected cryptocurrency wallet addresses with an attacker-controlled address.
  • A WebSocket-based module reportedly accesses data from running browser processes to hijack live sessions.
  • Stolen data is bundled into ZIP archives named using the victim’s public IP address and uploaded to attacker-controlled infrastructure.
Defensive Notes
  • The article says Advanced WildFire models and analysis techniques were reviewed and updated based on the indicators shared in the research.
  • The article says Advanced URL Filtering and Advanced DNS Security identify known domains and URLs associated with this activity as malicious.
  • The article recommends Cortex XDR protections for preventing malware execution, credential gathering, and detecting post-exploitation activity.

Indicators of compromise

TypeIndicatorContext
IPV4194[.]87[.]92[.]109Identified in the article as the attacker-controlled backend hosting the Gremlin Stealer publishing site.
SHA2561bd0a200528c82c6488b4f48dd6dbc818d48782a2e25ccd22781c5718c3f62f5SHA-256 hash of a Gremlin Stealer sample analyzed in the article.
SHA2562172dae9a5a695e00e0e4609e7db0207d8566d225f7e815fada246ae995c0f9bSHA-256 hash of a Gremlin Stealer sample analyzed in the article.
SHA256281b970f281dbea3c0e8cfc68b2e9939b253e5d3de52265b454d8f0f578768a2SHA-256 hash of a Gremlin Stealer sample analyzed in the article.
SHA256691896c7be87e47f3e9ae914d76caaf026aaad0a1034e9f396c2354245215dc3SHA-256 hash of a Gremlin Stealer sample analyzed in the article.
SHA256971198ff86aeb42739ba9381923d0bc6f847a91553ec57ea6bae5becf80f8759SHA-256 hash of a Gremlin Stealer sample analyzed in the article.
SHA2569aab30a3190301016c79f8a7f8edf45ec088ceecad39926cfcf3418145f3d614SHA-256 hash of a Gremlin Stealer sample analyzed in the article.
SHA2569fda1ddb1acf8dd3685ec31b0b07110855832e3bed28a0f3b81c57fe7fe3ac20SHA-256 hash of a Gremlin Stealer sample analyzed in the article.
SHA256a9f529a5cbc1f3ee80f785b22e0c472953e6cb226952218aecc7ab07ca328abdSHA-256 hash of a Gremlin Stealer sample analyzed in the article.
SHA256ab0fa760bd037a95c4dee431e649e0db860f7cdad6428895b9a399b6991bf3cdSHA-256 hash of a Gremlin Stealer sample analyzed in the article.
SHA256d11938f14499de03d6a02b5e158782afd903460576e9227e0a15d960a2e9c02cSHA-256 hash of a Gremlin Stealer sample analyzed in the article.
SHA256f76ba1a4650d8cafb6d3ff071688c5db6fd37e165050f03cece693826f51d346SHA-256 hash of a Gremlin Stealer sample analyzed in the article.

MITRE ATT&CK

Malware

Vendors

Products

Related Articles