How Malvertising Creates Malware Piece by Piece
Your browser might be building malware right under your nose, and you wouldn’t have a clue. The SourTrade malvertising campaign, which has been slipping through digital cracks since late 2024, is a reality check for anyone convinced of their online safety. It’s especially worrisome for retail traders and crypto enthusiasts—SourTrade doesn’t care about borders or language barriers, having hit targets in 12 countries across 25 languages. Confiant's July 23, 2026, report spells out the scale: three SHA-256 hashes, nearly a hundred malicious domains. I’ll say it: if you’re still brushing off online ads as harmless, you’re asking for trouble.
This campaign is more than just slick—it’s slippery. Instead of pushing out a complete malware package, SourTrade fragments its payload, then relies on your browser to quietly piece everything together. The use of a legitimate Bun runtime as the backbone is a particularly sly move. Instead of a static malicious download, the browser grabs and decompresses Bun directly from purelogicbox[.]org—something Confiant flagged as a linchpin in the delivery method. Bitdefender spied on a similar TradingView malvertising cluster back in September 2025, but The Hacker News skipped over Bun in its coverage. If that doesn’t tell you how rapidly attackers are adapting, I don’t know what will.
SourTrade is more than just a clever hack. It’s a masterclass in dodging detection. The landing page fingerprints you, checking if you’re a real person or a bot. Only those who pass muster get the full treatment: the browser registers a ServiceWorker at /sw.js, then sneakily spins up a SharedWorker using embedded JavaScript. By keeping the worker source inside the page and not fetching it separately, attackers add a stealth factor that’s tough to spot. If you manage web infrastructure and you’re not tracking these, you’re missing the bigger picture.
Once the SharedWorker is in play, it requests all the puzzle pieces from the attacker’s server—a template, a secondary runtime, some session-tied random values. These bits and bytes combine to make a tailor-made executable. The browser mixes in elements from the Bun runtime, throws in pseudorandom data, and even includes attacker-controlled code. The result? A unique file for every session, making hash-based detection basically useless. Bitdefender calls the final payload a stealer named JSCEAL (Check Point’s label), while WithSecure prefers WeevilProxy. What’s still murky is whether credential theft or remote access features from past campaigns are packed into these new builds. My own take: it’s only a matter of time before we find out.
Confiant’s analysis ends as soon as the file lands on disk; there’s no clarity on whether the download is automatic or needs a click. What does that tell us? The old playbook—sniffing out complete binaries on the network—isn’t enough anymore. By skipping the usual delivery routes, attackers are sidestepping security controls that many organizations still trust. Even more interesting: there’s no browser exploit, no Mark of the Web removal, and no patch to roll out. For defenders, that’s a headache and a half.
It’s a sneaky evolution in malvertising: using legit software like Bun to hide malicious intent. When you stop and think about it, the fact that the browser is actively rebuilding malware points to a glaring weakness in current defenses. Security tools have to get creative, too—not just block known threats, but actually watch the whole process unfold. Defenders are now stuck in a high-stakes cat-and-mouse game, trying to spot the attack as it develops in real time. If you’re still relying on blocklists and signature-based tools, you’re already a step behind. I can’t stress enough: understanding the whole delivery chain is now non-negotiable.
It’s time for security teams to face facts: file-based strategies just aren’t holding up. SourTrade’s per-session payloads and invisible binaries demand a new, comprehensive approach that covers everything from ad clicks to browser assembly of malware. Browser threats are not some fringe concern—they’re front and center. If you’re still treating them as an afterthought, you’re not just behind the curve—you’re on the wrong side of it.
VTechX Intelligence: Security teams are under real pressure to step up threat detection. Behavioral analysis is no longer optional if you want to spot weird browser activity. This means investing in tools that monitor odd requests, and paying close attention to service worker registrations—they’re more than just technical details, they’re early warning signs. If your organization manages public-facing apps, tracing the whole malware chain is now basic hygiene. Advanced EDR tech that can inspect browser behaviors deeply? That’s no longer a luxury.
VTechX Take
The SourTrade malvertising campaign highlights a significant shift in cyber threats, as attackers leverage browser capabilities to assemble malware on-the-fly, complicating detection efforts for security teams. As a result, companies like Bitdefender will likely enhance their behavioral monitoring solutions to address this evolving threat landscape, recognizing that traditional static defenses are insufficient. Watch for increased investment in dynamic behavioral analysis tools among cybersecurity firms as they adapt to these new malvertising tactics.
What the Rise of Malvertising Means for Cybersecurity
Confiant's findings on SourTrade make it clear: cybercriminals are upping their game. Their reach is impressive—multiple countries, dozens of languages, all targeted through fingerprinting and session-specific tactics. By weaving legitimate software into their attack chain, they force defenders to rethink everything. The smart money says this is just the start. Attackers are already adapting faster than most security teams can respond. The move toward browser-based malware assembly is only going to get more popular, and defenders who don’t start monitoring browser behavior closely could quickly find themselves outmatched. Is your organization ready for threats that are built right in the browser—or are you betting on yesterday’s defenses?
Frequently Asked Questions
What is the SourTrade malvertising campaign?
The SourTrade malvertising campaign is an operation that uses a legitimate Bun runtime to make victims' browsers build malware themselves, targeting retail traders and cryptocurrency investors across 12 countries in 25 languages.
How does SourTrade evade detection?
SourTrade evades detection by fragmenting its malware payload and relying on the browser to assemble it, meaning no complete malicious file ever travels over the network, complicating hash-based detection methods.
What should users do to protect themselves from SourTrade?
To protect themselves from SourTrade, users should install trading and wallet software directly from the vendor's official site rather than from advertisements.
What technologies does SourTrade utilize to deliver malware?
SourTrade utilizes a combination of ServiceWorkers and SharedWorkers to deliver malware, allowing it to assemble a unique executable for each victim without fetching the worker source separately.
