Hackers News Hackers News
  • CyberSecurity News
  • Threats
  • Attacks
  • Vulnerabilities
  • Breaches
  • Comparisons

Social Media

Hackers News Hackers News
  • CyberSecurity News
  • Threats
  • Attacks
  • Vulnerabilities
  • Breaches
  • Comparisons
Search the Site
Popular Searches:
technology Amazon AI
Recent Posts
North Korean Hackers Use Fake Job Interviews to Infect 30,000 PCs, Steal $10.7M Crypto
September 21, 2026
Critical OpenAI Codex Sandbox Flaws Let Attackers Execute Commands
September 21, 2026
Top 10 Identity Governance & Administration (IGA) Tools for 2026
September 21, 2026
Home/Threats/XMRig Miner Hides in Windows Registry, PNG, WAV Files to Evade Detection
Threats

XMRig Miner Hides in Windows Registry, PNG, WAV Files to Evade Detection

Key Takeaways A new multi-stage malware campaign is deploying the XMRig cryptocurrency miner on Windows systems. The attackers employ advanced evasion techniques, including hiding malicious code...

Sarah simpson
Sarah simpson
September 21, 2026 4 Min Read
2 0

Key Takeaways

  • A new multi-stage malware campaign is deploying the XMRig cryptocurrency miner on Windows systems.
  • The attackers employ advanced evasion techniques, including hiding malicious code within the Windows Registry, PNG image files, and seemingly innocuous WAV audio files.
  • The infection chain utilizes PowerShell scripts, DNS TXT records for C2 communication, and in-memory execution to minimize its footprint.
  • Initial impact includes unauthorized CPU usage for mining, but the persistent command-and-control channel poses a broader threat for future attacks.

Cybersecurity researchers have uncovered a sophisticated, multi-layered attack chain designed to stealthily deploy the XMRig cryptocurrency miner on Windows operating systems. This operation meticulously conceals its malicious components within common file types and system locations, making traditional detection methods significantly less effective.

Table Of Content

  • Key Takeaways
  • Hackers Hide XMRig Miner in Windows Registry, PNG, and WAV Files
  • Memory Execution Extends the Threat
  • What You Should Do

The intricate attack begins with a PowerShell script that retrieves subsequent stages from a Windows Registry value. It then leverages DNS TXT records to pinpoint the download location of a PNG image file, a technique that builds upon previously observed stealth-focused Windows intrusions involving registry-stored PowerShell payloads.

Analysts at K7 Security Labs said in a report, which detailed the multi-stage infection, after their investigation into recurrent PowerShell alerts on a compromised system. The campaign, as documented in their findings, integrates encoded data, remote instructions, persistence mechanisms, security control evasion, and memory-only execution to achieve its objectives.

The immediate consequence for affected systems is the unauthorized utilization of CPU resources for cryptocurrency mining, leading to degraded system performance and increased power consumption. Crucially, the presence of the miner is not the only concern; the established command-and-control (C2) channel remains active, potentially enabling threat actors to deliver additional commands or deploy further malware even after mining operations have commenced.

Hackers Hide XMRig Miner in Windows Registry, PNG, and WAV Files

The initial phase of the attack involves executing a PowerShell script with its execution policy bypassed. This script retrieves obfuscated code from a specific Registry value. It then disables PowerShell command history and repeatedly queries DNS TXT records, converting decimal values into text to ultimately obtain a URL for a PNG file acting as a payload container.

This image file is not merely a decoy. The script extracts hidden data from the red pixel channel of the PNG to reconstruct another malicious script. This steganographic technique is designed to embed hostile instructions within an otherwise ordinary file format. Following this, the reassembled script establishes contact with its controller to receive the next PowerShell component.

Subsequently, another script clears the PublicMusic directory and downloads a ZIP archive containing two files: Atsg.wav and Tmav.wav. Despite their .wav extensions, which typically denote audio files, these are processed by the scripts as data containers. This method allows the malware to bypass basic file extension and type filtering, mirroring tactics seen in other campaigns where malware is hidden within WAV files.

Atsg.wav contains encoded PowerShell instructions aimed at diminishing system visibility and security. It modifies the execution policy, purges command history, adjusts security and telemetry settings, and adds extensive exclusions for Windows Defender. Furthermore, it creates hidden scheduled tasks and a WMI event subscription to ensure persistence. This stage also employs DNS-over-HTTPS TXT queries to locate its command-and-control server.

Memory Execution Extends the Threat

A subsequent WAV file download, named Realtek HD Audio.wav, carries a .NET assembly. The loader component bypasses the standard 44-byte WAV header, reconstructs portions of the following bytes, and loads the resulting assembly directly into the PowerShell process. This in-memory execution prevents the malicious code from being written to disk as a conventional executable.

Tmav.wav operates on a similar principle, capable of fetching mav.wav if it is not present locally. The resulting .NET executable runs entirely in memory and is configured as an XMRig-based miner. It utilizes the RandomX algorithm, employs encrypted communication with its mining pool, and respects a CPU thread limit to avoid immediate suspicion. The malware also drops a signed driver, WinRing0.sys, to optimize mining performance. This illustrates how resource theft can mask a broader compromise, with the persistent C2 channel remaining a significant concern.

While multi-stage delivery methods for XMRig miners are not new, this particular campaign significantly enhances stealth by incorporating Registry, image, audio, and memory-based stages to minimize visible forensic evidence.

What You Should Do

  • Monitor PowerShell Activity: Investigate any unusual PowerShell execution, especially instances of execution policy bypasses, dynamic code loaded from Registry values, and DNS TXT lookups followed by file downloads.
  • Review Scheduled Tasks and WMI Subscriptions: Regularly audit unexpected scheduled tasks and WMI event subscriptions that could indicate persistence mechanisms.
  • Inspect Defender Exclusions: Scrutinize any unauthorized additions or modifications to Windows Defender exclusions.
  • Analyze File Access Patterns: Monitor for scripts accessing or processing WAV or PNG files in unusual ways, particularly if these files are treated as data containers rather than their intended media formats.
  • Isolate and Remediate: If compromise is detected, immediately isolate the affected host, preserve logs and volatile memory for forensic analysis, block all identified command-and-control infrastructure, and reset all compromised security settings.
  • Comprehensive Cleanup: Do not merely remove the miner. Ensure all persistence mechanisms, including Registry-held launchers and scheduled tasks, are eradicated, and confirm that the command channel can no longer communicate with the device.

Indicators of Compromise (IoCs):-

Type Indicator Description
Registry key HKLM:Softwareuf42a9660377vstdfehzr Registry location holding the encoded PowerShell stage
File vstdfehze.ps1 PowerShell script used in the initial execution command
Domain sslvalidcert[.]com DNS TXT record domain used during payload retrieval
URL http[:]//txtcdn[.]net Later infrastructure used for encoded retrieval data
URL https[:]//frames-1zm[.]pages[.]dev/frames.png PNG payload container download
Domain httptls[.]org DNS-over-HTTPS TXT lookup domain used for C2 discovery
URL https[:]//wavmain[.]pages[.]dev/main.wav WAV payload download location
URL https[:]//publicwavlib[.]pages[.]dev/mav.wav Fallback location for mav.wav
URL https[:]//config-rg7[.]pages[.]dev/config.txt Remote XMRig configuration resource
URL https[:]//softtestcopapool[.]pages[.]dev/rxconfig.txt Remote mining configuration resource
URL https[:]//publicwavlib[.]pages[.]dev/hdaudio.wav Download location for Realtek HD Audio.wav
File Atsg.wav WAV container carrying encoded PowerShell and persistence functions
File Tmav.wav WAV container carrying the in-memory .NET execution stage
File Realtek HD Audio.wav WAV container carrying a hidden .NET assembly
File mav.wav WAV container carrying a hidden .NET executable
File fp.dll Malware-associated DLL artifact
File upgrade.exe Malware-associated executable artifact
File WinRing0.sys Signed driver dropped for XMRig CPU optimization
MD5 ED276B2312F641B00F87FA18E85C48EB Realtek HD Audio.wav
MD5 BE860A15B7E5D44B0B3D67F598238FAD mav.wav
MD5 C024189E1E7FA0AE6D24353367E8B98D tmav.wav
MD5 94B50ACE73CC03790678C73B867BE129 atsg.wav
MD5 F94DE28BD66AFC4679F546500DB184D4 fp.dll
MD5 F1D2FDB7F3B699DA69A050C5352A33C2 upgrade.exe
C2 endpoint 104[.]21[.]2[.]193:8443 Observed command-and-control server
Mining endpoint xmr-asiannanopoolorg:10343 XMRig pool endpoint shown in the embedded configuration

Note: IP addresses and domains are intentionally defanged (e.g., [.]) to prevent accidental resolution or hyperlinking. Re-fang only within controlled threat intelligence platforms such as MISP, VirusTotal, or your SIEM.

Disclaimer: HackersRadar reports on cybersecurity threats and incidents for informational and awareness purposes only. We do not engage in hacking activities, data exfiltration, or the hosting or distribution of stolen or leaked information. All content is based on publicly available sources.

Tags:

AttackHackerMalwareSecurityThreat

Share Article

Sarah simpson

Sarah simpson

Sarah is a cybersecurity journalist specializing in threat intelligence and malware analysis. With over 8 years of experience covering APT groups, zero-day exploits, and advanced persistent threats, Sarah brings deep technical expertise to breaking cybersecurity news. Previously, she worked as a security researcher at leading threat intelligence firms, where she analyzed malware samples and tracked cybercriminal operations. Sarah holds a Master's degree in Computer Science with a focus on cybersecurity and is a regular contributor to major security conferences.

Previous Post

Cisco, Android Critical 0-Days Patched; Claude Opus Hacked OpenAI

Next Post

Top 10 Best Identity & Access Management (IAM) Solutions in 2026

No Comment! Be the first one.

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Popular Posts
New Android Malware Uses AI to Steal Bank Logins and Reconstruct PINs
September 21, 2026
Exim 4.100.1 Patches 4 Vulnerabilities, Including SMTP Smuggling and Heap Corruption
September 21, 2026
Top 10 Best Identity & Access Management (IAM) Solutions in 2026
September 21, 2026
Top Authors
Marcus Rodriguez
Marcus Rodriguez
David kimber
David kimber
Jennifer sherman
Jennifer sherman
Let's Connect
156k
2.25m
285k

Related Posts

Jennifer sherman
By Jennifer sherman
Threats

GlassWorm Attacks macOS via Malicious VS Code…

January 1, 2026
Emy Elsamnoudy
By Emy Elsamnoudy
Attacks

ClickFix Attack Hides Malicious Code via Stegan Security

January 1, 2026
Sarah simpson
By Sarah simpson
Vulnerabilities

MongoBleed Detector Tool Released to Detect MongoDB Vulnerability(CVE-2025-14847)

January 1, 2026
Emy Elsamnoudy
By Emy Elsamnoudy
Breaches

Conti Ransomware Gang Leaders & Infrastructure Exposed

January 1, 2026
Hackers News Hackers News
  • [email protected]

Quick Links

  • Contact Us
  • Privacy Policy
  • Terms of service

Categories

Attacks
Breaches
Comparisons
CyberSecurity News
Threats
Vulnerabilities

Let's keep in touch

receive fresh updates and breaking cyber news every day and week!

All Rights Reserved by HackersRadar ©2026

Follow Us