Razy
- Type
- Infostealer
- Capabilities
- Credential theftExfiltrationPersistenceDefense evasionCrypto theftSpoofing
- Delivery
- MalvertisingCracked software
- Platforms
- Windows
Razy is a Windows malware family best characterized as an infostealer and browser-manipulation trojan focused on cryptocurrency theft and online fraud. It targets Chromium-based browsers, Mozilla Firefox, and Yandex Browser by tampering with browser components, disabling extension integrity protections, and suppressing browser auto-updates so its modifications persist. Razy can install a malicious browser extension or hijack an existing one, including legitimate or built-in extensions, then use injected scripts to alter web content viewed by the victim.
Its core behavior centers on web injection and theft of cryptocurrency transactions. Razy replaces cryptocurrency wallet addresses embedded in webpages, substitutes QR codes used for wallet payments, alters pages on cryptocurrency exchanges, injects fraudulent prompts intended to trick users into transferring funds, and modifies search-engine results to insert scam or malware-lure content. It has also been observed replacing donation prompts with attacker-controlled cryptocurrency payment requests and loading phishing content when users visit selected high-interest sites. Auxiliary scripts support page injection, advertising insertion, telemetry, and remote content loading.
Razy has been distributed through deceptive software offerings on free file-hosting services and through malicious advertising. It has also appeared as a payload in exploitation campaigns abusing WinRAR path traversal vulnerability CVE-2018-20250, where archive extraction could place malware for execution and persistence on Windows systems. In addition, Razy has been referenced in broader intrusion activity in which state-linked operators used commodity malware families alongside other tooling, including campaigns associated with suspected Chinese threat activity targeting manufacturing, retail, chemicals, sporting goods, cosmetics, product and IT firms, and critical infrastructure for sensitive data theft and intellectual property theft.
The malware is notable for combining browser compromise, defense evasion, and financially motivated fraud. By disabling browser updates and integrity checks, infecting extensions, and injecting remotely supplied scripts into browsing sessions, Razy can maintain long-lived manipulation of user web activity while evading straightforward remediation until the underlying browser components are restored.
Associated threat actors
2 distinct threat actors Mallory has associated with this family across public reporting. Open in Mallory to see the full evidence chain and overlapping campaigns.
Campaign: 紅色撲克10(Redpoker10) ... Observed commodity malware: Razy trojan.
Campaign: 紅色撲克10(Redpoker10) ... Observed commodity malware: Razy trojan.
Techniques & procedures
11 distinct techniques documented for this family, organized by ATT&CK tactic.
Initial Access
1 technique
Initial Access
The infected extension loads content on the telegram.org site from the phishing web resource ton-ico[.]network
Execution
2 techniques
Execution
The scripts bgs.js and extab.js are malicious... extab.js inserts a call to the script i.js... The culmination of the infection is main.js – a call to the script is added to each page visited by the user.
Razy edits the file ‘%PROGRAMFILES%\Google\Chrome\Application\ \chrome.dll’ to disable the extension integrity check. It renames the original chrome.dll file chrome.dll_ and leaves it in the same folder.
Persistence
3 techniques
Persistence
To disable browser updates, it creates the registry key ‘HKEY_LOCAL_MACHINE\SOFTWARE\Policies\YandexBrowser\UpdateAllowed” = 0 (REG_DWORD).
Last year, we discovered malware that installs a malicious browser extension on its victim’s computer or infects an already installed extension.
To do so, it disables the integrity check for installed extensions and automatic updates for the targeted browser.
Stealth
2 techniques
Stealth
For Firefox, the Trojan installs an extension called ‘Firefox Protection’... Then the extension Yandex Protect is installed... The ID acgimceffoceigocablmjdpebeodphgc corresponds to a legitimate extension for Chrome called Cloudy Calculator, version 6.1.6_0.
Razy edits the file ‘%PROGRAMFILES%\Google\Chrome\Application\ \chrome.dll’ to disable the extension integrity check. It renames the original chrome.dll file chrome.dll_ and leaves it in the same folder.
Defense Impairment
2 techniques
Defense Impairment
To disable browser updates, it creates the registry key ‘HKEY_LOCAL_MACHINE\SOFTWARE\Policies\YandexBrowser\UpdateAllowed” = 0 (REG_DWORD).
To do so, it disables the integrity check for installed extensions and automatic updates for the targeted browser.
Credential Access
1 technique
Credential Access
To do so, it disables the integrity check for installed extensions and automatic updates for the targeted browser.
Command and Control
3 techniques
Command and Control
Putting into place the security measures to detect the C&C server communications of a malicious Chrome extension, or any malware for that matter, will fill this gap.
The script i.js is distributed from the web resource gigafilesnote[.]com... The script main.js is distributed from the addresses: Nolkbacteria[.]info/js/main.js...
If a user clicks on the banner, they are redirected to phishing resources (located on the domain ooo-ooo[.]info )
Impact
1 technique
Impact
The screenshot above shows the function findAndReplaceWalletAddresses that searches for Bitcoin and Ethereum wallets and replaces them with the addresses of the threat actor’s wallets.
Observables
31 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.
Recent activity
4 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.