# Vidar Infostealer Strikes SMBs in Sophisticated Malvertising Campaign Combining Data Theft and Cryptomining


A financially motivated threat campaign is targeting small to midsize businesses and consumers globally with a two-pronged malware delivery combining the Vidar infostealer and XMRig cryptominer. Researchers from Palo Alto Networks' Unit 42 uncovered the operation in April, with detailed findings published July 7, revealing an operation that demonstrates both technical sophistication and effective monetization strategies.


## The Threat


Threat actors operating what appears to be an experienced affiliate of the Vidar malware-as-a-service (MaaS) operation are executing a coordinated malvertising campaign designed to compromise victims at scale. The campaign delivers a dual-payload attack: the Vidar infostealer—which harvests browser credentials, cookies, and cryptocurrency wallet data—paired with XMRig, an open-source cryptominer that hijacks victim CPU resources to mine Monero cryptocurrency.


The campaign represents a significant threat to SMBs, which often lack the advanced detection capabilities of enterprise organizations. By combining immediate financial gain through credential theft with passive income from cryptomining, the operators have created a resilient monetization model that maximizes returns per victim.


"The operator behind this campaign runs a dual-monetization scheme," wrote Palo Alto Networks Unit 42 researchers Bharath Nannaka and Pranay Kumar Chhaparwal. "Criminals sell credentials and session cookies stolen by Vidar stealer on criminal log markets, while XMRig provides passive income from hijacked victim CPU cycles."


## Background and Context


The Vidar infostealer has been a persistent threat in the cybercriminal ecosystem since at least 2018. Operating as a MaaS offering, Vidar has primarily targeted victims in the US and Europe, though the current campaign indicates geographic expansion. The malware has evolved significantly over its lifetime, incorporating improved evasion techniques and anti-analysis capabilities.


Malvertising—the practice of injecting malicious code into legitimate advertising networks—remains one of the most effective distribution vectors for commodity malware. Despite years of security awareness campaigns, users continue to fall victim to advertisements impersonating legitimate software offers, particularly for high-value targets like Adobe products, Microsoft Office, and game cracks.


The use of XMRig represents a pragmatic criminal strategy. Rather than deploying ransomware or more disruptive payloads that might trigger immediate detection, cryptomining malware operates quietly in the background, consuming computational resources while remaining largely invisible to end users. This creates a low-risk, sustained revenue stream.


## Attack Mechanism


The campaign's attack flow follows a familiar but effective sequence:


Initial Compromise: Victims encounter malicious online advertisements promoting cracked or pirated software versions of popular applications. These ads may appear on legitimate websites through compromised advertising networks or directly on attacker-controlled sites designed to impersonate legitimate vendors.


Redirect and Download: Clicking the advertisement redirects victims to attacker-controlled websites spoofing legitimate software distribution pages. Users are prompted to download what appears to be the cracked software they sought.


Malware Delivery: Rather than legitimate software, victims receive password-protected archive files containing a malware loader. The password protection serves multiple purposes—it bypasses email and web gateway security scanning, evades antivirus heuristics designed to analyze archive contents automatically, and creates a false sense of legitimacy (legitimate cracked software is often password-protected).


Payload Execution: Upon extraction, the loader executes with elevated privileges, dropping and executing both the Vidar infostealer and XMRig cryptominer onto the victim system.


### Sophisticated Evasion Techniques


What distinguishes this campaign is its implementation of multiple evasion strategies:


| Evasion Technique | Purpose |

|---|---|

| Password-protected archives | Defeats archive scanning by mail and web gateways |

| Factory-v3 MaaS framework | Modular architecture enables rapid payload customization |

| Multi-stage delivery | Separates loader from final payloads, reducing detection signatures |

| Process injection | Hides malware execution within legitimate processes |

| Anti-analysis checks | Detects and evades sandboxed and debugged environments |


The researchers noted that the operators also leverage Factory-v3, a framework for building MaaS infrastructure, suggesting this may be a side business—"a separate upstream service used by at least two distinct stealer affiliates."


## What the Malware Steals


Vidar's information-gathering capabilities are comprehensive:


  • Browser credentials – usernames and passwords stored by Chrome, Firefox, Edge, and other browsers
  • Browser cookies – session tokens that provide direct access to accounts without requiring passwords
  • Cryptocurrency wallets – private keys and wallet files from desktop and browser-based wallets
  • System information – data useful for profiling victim networks and systems
  • Browsing history – potentially revealing corporate connections or sensitive interest areas

  • ## Implications for Organizations


    The dual-payload approach creates multiple layers of organizational risk:


    Immediate Credential Compromise: Stolen browser credentials and cookies grant attackers immediate access to email, cloud services, VPNs, and business applications. An attacker with valid session cookies can often bypass multi-factor authentication entirely.


    Lateral Movement: System credentials and network information harvested by Vidar enable attackers to move laterally within compromised networks, potentially accessing sensitive data or systems far beyond the initial infected machine.


    Sustained Resource Drain: The cryptomining component consumes CPU resources continuously, degrading system performance, increasing electricity costs, and potentially accelerating hardware failure. For organizations with dozens of infected endpoints, the cumulative effect can be significant.


    Regulatory and Compliance Risk: Organizations in regulated industries (finance, healthcare, energy) that suffer credential theft may face mandatory breach notification requirements, regulatory fines, and reputational damage.


    Long Infection Duration: Unlike ransomware that announces its presence immediately, cryptomining malware can persist undetected for months, maximizing the attacker's return on investment while extending victim exposure.


    ## Recommendations for Defense


    Organizations should implement layered defenses against this campaign:


    User Awareness: Educate employees that legitimate software vendors distribute through official channels only. If a promotional offer seems suspicious, it probably is. Advise staff to never download cracked or pirated software.


    Endpoint Detection and Response: Deploy EDR tools capable of detecting process injection, unsigned code execution, and cryptomining signatures. Palo Alto Networks has published indicators of compromise (IOCs) for this campaign.


    Email and Web Gateway Controls: Configure gateways to block known malvertising distribution sites and to sandbox suspicious archives before delivery to end users.


    Credential Monitoring: If compromise is suspected, monitor for anomalous account activity, including logins from unexpected locations or at unusual times. Enable security alerts for sensitive account activity.


    Isolate Test Systems: If systems must test unverified software, isolate them from production networks and sensitive data.


    Network Segmentation: Limit lateral movement potential by segmenting networks so that a compromised client cannot directly access servers, databases, or sensitive systems.


    ---


    ## HackWire Analysis


    This campaign illustrates how cybercriminal business models have matured since the early days of malware distribution. Rather than the ransomware-or-nothing approach that dominated headlines in recent years, sophisticated operators now recognize that *sustained, passive income often exceeds a single big score*. A cryptominer running silently on 10,000 systems for six months generates reliable revenue without triggering incident response or law enforcement escalation.


    What's particularly notable is the industrialization of malware delivery. The Factory-v3 MaaS framework—described by researchers as "a separate upstream service used by at least two distinct stealer affiliates"—suggests a criminal supply chain where malware infrastructure has become commoditized. Just as SaaS democratized legitimate business infrastructure, MaaS frameworks democratize attack infrastructure. Any affiliate with marketing budget (malvertising) and zero technical skill can now launch campaigns.


    The targeting of SMBs is strategic. They're large enough to have valuable credentials and network resources, yet typically lack the budget for enterprise-grade EDR, advanced email gateways, or dedicated security staff. A mid-market company might have 200 employees, any of whom could click a malvertising link. Once compromised, that organization's credentials, customer data, and payment systems become attack stepping stones.


    The password-protected archive technique deserves attention—it's nearly invisible in traditional scanning layers (many gateways don't decompress password-protected files) yet trivial for an end user to extract once downloaded. This represents a genuine gap in the typical scanning stack and suggests defenders need to rethink the assumptions underlying email and web gateway architecture.


    Organizations should interpret this campaign not as a one-time threat but as validation that malvertising remains one of the highest-ROI attack vectors. Until legitimate advertising networks implement stronger advertiser verification, and until users stop clicking ads for pirated software, this attack class will persist and scale.


    — HackWire Editorial


    ---


    ## Related Coverage


  • Read more in our [Vulnerabilities](https://www.hackwire.news/category/vulnerabilities) coverage
  • Cross-reference with [Breaches](https://www.hackwire.news/category/breaches) and [Malware](https://www.hackwire.news/category/malware)
  • Stay current via the [HackWire homepage](https://www.hackwire.news/)