Article Details
Scrape Timestamp (UTC): 2025-12-16 15:42:47.622
Source: https://thehackernews.com/2025/12/rogue-nuget-package-poses-as-tracerfody.html
Original Article Text
Click to Toggle View
Rogue NuGet Package Poses as Tracer.Fody, Steals Cryptocurrency Wallet Data. Cybersecurity researchers have discovered a new malicious NuGet package that typosquats and impersonates the popular .NET tracing library and its author to sneak in a cryptocurrency wallet stealer. The malicious package, named "Tracer.Fody.NLog," remained on the repository for nearly six years. It was published by a user named "csnemess" on February 26, 2020. It masquerades as "Tracer.Fody," which is maintained by "csnemes." The package continues to remain available as of writing, and has been downloaded at least 2,000 times, out of which 19 took place over the last six weeks for version 3.2.4. "It presents itself as a standard .NET tracing integration but in reality functions as a cryptocurrency wallet stealer," Socket security researcher Kirill Boychenko said. "Inside the malicious package, the embedded Tracer.Fody.dll scans the default Stratis wallet directory, reads *.wallet.json files, extracts wallet data, and exfiltrates it together with the wallet password to threat actor-controlled infrastructure in Russia at 176.113.82[.]163." The software supply chain security company said the threat leveraged a number of tactics that allowed it to elude casual review, including mimicking the legitimate maintainer by using a name that differs by a single letter ("csnemes" vs. "csnemess"), using Cyrillic lookalike characters in the source code, and hiding the malicious routine within a generic helper function ("Guard.NotNull") that's used during regular program execution. Once a project references the malicious package, it activates its behavior by scanning the default Stratis wallet directory on Windows ("%APPDATA%\\StratisNode\\stratis\\StratisMain"), reads *.wallet.json files and in-memory passwords, and exfiltrates them to the Russian-hosted IP address. "All exceptions are silently caught, so even if the exfiltration fails, the host application continues to run without any visible error while successful calls quietly leak wallet data to the threat actor's infrastructure," Boychenko said. Socket said the same IP address was previously put to use in December 2023 in connection with another NuGet impersonation attack in which the threat actor published a package named "Cleary.AsyncExtensions" under the alias "stevencleary" and incorporated functionality to siphon wallet seed phrases. The package was so-called to disguise itself as the AsyncEx NuGet library. The findings once illustrate how malicious typosquats mirroring legitimate tools can stealthily operate without attracting any attention across the open-source repository ecosystems. "Defenders should expect to see similar activity and follow-on implants that extend this pattern," Socket said. "Likely targets include other logging and tracing integrations, argument validation libraries, and utility packages that are common in .NET projects."
Daily Brief Summary
A rogue NuGet package, "Tracer.Fody.NLog," was discovered impersonating a popular .NET library to steal cryptocurrency wallet data, affecting developers and users within the ecosystem.
The package, available since February 2020, has been downloaded over 2,000 times, exploiting a minor name variation to deceive users into downloading the malicious software.
The malware scans the default Stratis wallet directory on Windows systems, extracting and exfiltrating wallet data and passwords to a server in Russia.
Threat actors employed tactics like using Cyrillic lookalike characters and hiding malicious code in generic functions to avoid detection during casual reviews.
The same IP address was linked to a similar attack in December 2023, indicating a pattern of using NuGet impersonation tactics to target cryptocurrency wallets.
Security experts warn of potential future attacks targeting other common .NET libraries, urging developers to remain vigilant against typosquatting threats.
Organizations are advised to enhance their software supply chain security measures to prevent similar breaches and protect sensitive data.