Skip to main content
Mallory
Malware1 associated actor

proc-macro1

Tracked since Aug 20, 2026 · Updated 3 months ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 daysNo mention activity in the last 30 days.
Vulns0Associated
Actors1Associated
ATT&CK21Techniques
IOCs13Tracked
Is this in your environment?See whether this family's indicators match your telemetry and which of your assets are exposed to the CVEs associated with it.
Check your exposure
Threat actors

Associated threat actors

1 distinct threat actor Mallory has associated with this family across public reporting. Open in Mallory to see the full evidence chain and overlapping campaigns.

View more details →
APT38

Ces versions ajoutent une dépendance typosquattée (proc-macro1, imitant le légitime proc-macro2). Le script de build build.rs de proc-macro1 exécute la charge malveillante au moment de la compilation.

via cyberveillecyberveille.ch
MITRE ATT&CK

Techniques & procedures

21 distinct techniques documented for this family, organized by ATT&CK tactic.

Reconnaissance

1 technique
T1589Gather Victim Identity InformationEvidence2

the attacker subtly modified the package manifests to import an external, typosquatted dependency named proc-macro1.

Initial Access

4 techniques
T1195Supply Chain CompromiseEvidence7

Hackers compromised the maintainer account for the widely used Rust crate arrayref to introduce malware that executed on developers’ systems during compilation... Within a 23-minute window, the attacker also poisoned two other crates, append-only-vec and internment, in the same supply-chain attack.

T1195.001Compromise Software Dependencies and Development ToolsEvidence7

Version 0.3.10 kept the macro source byte for byte and added a single line to the manifest: [dependencies] proc-macro1 = "1.0.107"

T1195.003Compromise Hardware Supply ChainEvidence2

This rogue package took advantage of the automated build process in the Rust package manager, cargo, downloading and executing an unauthorized payload in the background... because build scripts run during compilation, building an affected project was sufficient to execute the payload.

T1566.002Spearphishing LinkEvidence1

A separate account, dtolney, published proc-macro1. The username closely resembles David Tolnay’s real dtolnay account.

Execution

6 techniques
T1059Command and Scripting InterpreterEvidence7

Cargo compiles and runs build scripts automatically during compilation, so resolving the dependency was enough.

T1059.001PowerShellEvidence5

Écrit le payload dans /tmp/rust-setup (Unix) ou %TEMP%\rust-setup.ps1 (Windows) Exécute le payload en lui passant l’adresse C2 comme argument

T1059.004Unix ShellEvidence1

Télécharge un payload spécifique à la plateforme... Écrit le payload dans /tmp/rust-setup (Unix)... Exécute le payload en lui passant l’adresse C2 comme argument

T1059.005Visual BasicEvidence4

On Windows it writes a PowerShell script and a VBScript launcher under %TEMP% and starts them hidden... let child = Command::new("wscript.exe")

T1204User ExecutionEvidence3

A script within proc-macro1, named "build.rs," executed during compilation...

T1204.002Malicious FileEvidence1

В пакете proc-macro1 обнаружен код, выполняющий загрузку и запуск вредоносного бинарного файла и открывающий обратную оболочку. В Unix-системах файл сохранялся как /tmp/rust-setup, а в Windows — %TEMP%\rust-setup.ps1 или %TEMP%\rust-setup-launch.vbs.

Stealth

3 techniques
T1027Obfuscated Files or InformationEvidence5

Reconstruit une URL C2 depuis des fragments Base64

T1036MasqueradingEvidence6

proc-macro1 is a typosquat of proc-macro2, a crate with more than 154 million downloads, and the malicious logic lives in its build.rs.

T1218System Binary Proxy ExecutionEvidence2

The launcher runs hidden and does not wait for the process. The source comment states that routing through WScript is what escapes Cargo’s job object, so PowerShell keeps running after the build finishes.

Defense Impairment

2 techniques
T1553.004Install Root CertificateEvidence1

Désactive la validation TLS via un vérificateur AcceptAll personnalisé

T1685Disable or Modify ToolsEvidence1

The loader: ... Disables TLS certificate verification.

Credential Access

1 technique
T1555Credentials from Password StoresEvidence1

The payload was designed to exfiltrate host information and credentials from browsers like Google Chrome, Brave, and Edge.

Discovery

2 techniques
T1082System Information DiscoveryEvidence2

The payload was designed to exfiltrate host information and credentials from browsers like Google Chrome, Brave, and Edge.

T1083File and Directory DiscoveryEvidence1

The build script picks the binary to fetch by operating system and architecture. It supports four targets and aborts the build on anything else.

Command and Control

1 technique
T1105Ingress Tool TransferEvidence6

The script rebuilds a payload URL from Base64 fragments, resolving to https://23.254.165[.]112:9089/.

Exfiltration

1 technique
T1041Exfiltration Over C2 ChannelEvidence1

The payload was designed to exfiltrate host information and credentials from browsers like Google Chrome, Brave, and Edge.

Indicators of compromise

Observables

13 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.

View all in app →
Indicator values are available in Mallory. Pivot on every hash, domain, URL, and IP, or pipe them straight into your SIEM.View all in Mallory
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets match these IOCs, which detections are missing, which campaigns to expect next, and what to do in the next 30 minutes.
IOC matching13Match every observed IP, domain, and hash against your live telemetry.
Associated threat actors1Groups linked to this family, with evidence pinned to each claim.
Associated vulnerabilitiesCVEs linked to this family, with the reporting behind each link.
Detection signaturesYARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
MITRE ATT&CK mapping21Every documented technique, ranked by evidence weight.
Researcher chatterReddit, Mastodon, and CTI community discussion around this family.