Malicious Rust crates impersonate proc-macro2 to drop PowerShell backdoor
cyb3rops · x · 2026-08-20
Security researchers identified two malicious Rust crates—proc-macro1 v1.0.107 and proc-macro-en v1.0.10—that spoof the legitimate proc-macro2 ecosystem.
Attack Vector:
Both contain a malicious build.rs that downloads and executes a platform-specific payload during cargo build, cargo check, or cargo test.
Windows Payload Capabilities:
- Profiles host and installed applications
- Steals Chrome, Edge, and Brave login domains and usernames
- Enumerates Chromium browser extensions
- Establishes persistence via Registry Run keys
- Uses a 5-day DGA for fallback C2 infrastructure
The payloads currently have a low detection rate on VirusTotal.
Related event: Rust Ecosystem Hit by Supply Chain Attacks with Malicious Crates(2 posts)→
More from Safety
- AI pause debate: regulate speed or require safety directly? — birchlse · 2026-11-30
- Google nukes 20-year-old account over 'Gemini misuse' — a lesson in concentration risk — l4rz · 2026-11-30
- Neel Nanda slams ARC-AGI champs' work on hard-to-monitor agent communication as harmful to safety — akbirthko · 2026-11-30
- Philosophy Is 'Antifragile': Could Diverse-Argument Reasoning Bypass MIRI-Style Alignment Problems? — jessi_cata · 2026-11-30
- NRDC concedes BAAJA makes data centers pay grid costs, countering 'giveaway' claim — zacharynado · 2026-11-30
- 187 African books tested: AI detectors show no systematic false positives on Black authors — TuhinChakr · 2026-11-30