Binance heist: what we know, and what RL sees in TraderTraitor's toolkit
TraderTraitor (Lazarus Group) stole $6.34B from Binance via trojanized Terraform provider delivered through fake job interviews, compromising developer systems and wallet signing infrastructure. RL telemetry captured the trojanized terraform-provider-awsbeta 77 days before public disclosure. The provider drops a Bash loader that downloads AES-256-CBC-encrypted FLATROOF backdoor hidden in WOFF font files. FLATROOF steals credentials and deploys ROOFDECK for persistent C2 via Telegram and Nostr. Earlier ROOFDECK builds date to September 2025, circulating under generic threat names.
Detection / HunterZ.ai
Immediate Actions
- Block lookalike HashiCorp domains at DNS resolver and firewall
- Hunt for .terraform.lock.hcl files referencing non-registry.terraform.io sources
- Search for safari_updater scripts and WOFF files with @@ENDFONT@@ marker
- Monitor EVM wallets for EIP-7702 delegation transactions
Key Takeaways
- RL detected trojanized Terraform provider 77 days before Zscaler's October 8 publication.
- FLATROOF payload hidden in WOFF font files using @@ENDFONT@@ marker and AES-256-CBC encryption.
- ROOFDECK backdoor builds date to September 2025, ten months before reported discovery.
- Malware classified under generic names (Multiverze, Flatroof, Gaslight, GetShell) not TraderTraitor.
- HivePro indicators are 2020-2022 AppleJeus-era artifacts, not 2026 campaign IOCs.
Attack Chain
- Initial Access: Fake recruiter delivers malicious coding assignment repository via spearphishing lure
- Execution: terraform init pulls trojanized Terraform provider from lookalike registry
- Persistence: Provider drops safari_updater loader; FLATROOF backdoor installed with shell hooks
- Credential Theft: FLATROOF runs Python stealers for browser cookies, keychain, shell history
- Lateral Movement: Stolen credentials enable access to internal systems and wallet signing infrastructure
- Exfiltration: Unauthorized transactions initiated through compromised signing path, draining $6.34B
Affected Systems
- macOS developer workstations
- Linux developer workstations
- Windows developer workstations
- Terraform/IaC build environments
- EVM cryptocurrency hot wallets
- Binance wallet signing infrastructure
Detection Availability
- Published: YARA, Sigma, Other detection logic
- Platforms: ReversingLabs blog post, GitHub repository
YARA rules for FLATROOF WOFF containers and loader script, Sigma rule for Terraform provider shell spawning, and hunting queries for lock files and persistence artifacts.
Detection Engineering Assessment
Hunting Hypotheses
| Hypothesis | Telemetry | Stage | FP Risk |
|---|---|---|---|
| Terraform provider plugin processes spawning shell, curl, openssl, xattr, or codesign (T1059.004, T1195.001) | Process creation logs with parent-child relationships | Execution | Low — rare for providers to shell out |
| WOFF font files containing @@ENDFONT@@ text marker followed by Base64-encoded data (T1027) | File system scans and YARA matches on build artifacts | Defense Evasion | Low — legitimate fonts lack text markers |
| Processes launched with --type=renderer argument outside browser install directories (T1036) | Process creation logs with command line arguments | Defense Evasion | Medium — legitimate Chromium renderers exist |
| EIP-7702 delegation transactions setting code at EOA addresses on treasury wallets | EVM wallet transaction monitoring and blockchain analytics | Exfiltration | Low — plain EOAs should not receive code |
Required Log Sources
- Process creation logs (macOS/Linux)
- File system event logs
- DNS resolution logs
- Network connection logs
- Terraform execution logs
- EVM wallet transaction logs
Control Gaps
- Fuzzy-hash allow-listing passes trojanized provider identical to legitimate builds
- Generic threat classifications do not surface TraderTraitor linkage
- Reputation-based domain blocking misses lookalike registries with zero vendor flags
- Endpoint security evaded by ad-hoc code signing and quarantine removal
- Stale 2020-2022 HivePro IOCs on blocklists cause false positives
Recommendations
Infrastructure Hardening
- Pin Terraform providers to registry.terraform.io with verified signatures
- Block engineer machines from resolving lookalike registries
- Separate engineer endpoints from wallet signing paths with hardened device requirement
- Require human approval step for any system requesting wallet signatures
User Protection
- Never run interview or take-home repositories on work machines
- Use disposable VMs with no corporate SSO or cloud credential access for coding tests
- Treat infrastructure-as-code tooling as code execution with full sandboxing
- Apply published YARA and Sigma rules to scan developer artifacts
MITRE ATT&CK Mapping
- crypto_address0x15104a9ce0f08a8f0075a0869ae80e795fe0feb7Shared address receiving Binance and Bitget proceeds
- crypto_address0x7c8601d4645b93cea45f71e118a729332e6b5ca0Operator wallet funded by Tornado Cash
- domainarusupport-region1-webhook[.]onlineFLATROOF C2 endpoint
- domaindelay[.]servehttp[.]comROOFDECK C2 resolved via Nostr profile
- domaindiagnose[.]hashicorp-terraform[.]iosafari_updater Bash loader download host
- domainregistry[.]hashicorp-aws[.]comLookalike Terraform AWS registry
- domainregistry[.]hashicorp-terraform[.]ioLookalike Terraform registry for initial access
- domainsupportaru[.]serveftp[.]comFLATROOF payload primary download host
- domaintechnicais[.]sytes[.]netHistorical malicious download host from HivePro
- filenamecollected_data.zipArchive of stolen credentials by FLATROOF
- filenamesession.lockRun-once marker written by trojanized provider
- filenameterraform-provider-awsbeta_v1.0.0Trojanized Terraform AWS provider filename
- file_path$HOME/AppData/Local/Microsoft/Edge/service.exeWindows FLATROOF payload drop location
- file_path$HOME/.config/git/updateLinux FLATROOF payload drop location
- file_path$HOME/Library/com.apple.iTunesCloud/SystemUpdatemacOS FLATROOF payload drop location
- file_path~/.zlogoutmacOS persistence hook executing FLATROOF
- ip176[.]97[.]114[.]232Historical malicious IP from HivePro advisory
- md5116f7189ed7b41f1b339a749d56e63beZscaler-published FLATROOF container not in RL
- md52621753691be9521288664bb551dfba6Zscaler-published FLATROOF container not in RL
- md52d0ab2e7342f8face5b1558fddea1712Unpublished WOFF container match
- md534a52e6a4d803e94fe497bab682abfd3Zscaler-published FLATROOF container not in RL
- md53826dc7a9ba8bd5b1c143560c1530d89Zscaler-published FLATROOF container not in RL
- md54b8509cde757b5428e5f99c8dffe73caZscaler-published FLATROOF container not in RL
- md558fa0d651898446d5f5d2ed8a27a3330Zscaler-published FLATROOF container not in RL
- md573adaea97f003735335505858c1c6defsafari_updater Bash loader
- md58d4caaa508cdb6f04fa670a339026f6cUnpublished WOFF container match
- md59d78ece09457907b730d139e4e0c64ddTrojanized Terraform AWS provider
- md5ad0b1b6d2c8b9d09d6473a4a299470abZscaler-published FLATROOF container not in RL
- registry_keyHKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Run\powershell-config-serviceWindows persistence for ROOFDECK backdoor
- sha105683f6207251be0c085de35fcb7c5d2ac1d0b68Unpublished WOFF container match
- sha14402e44c0bc959ac22340041413de2482e8b5d53FLATROOF WOFF container (macOS ARM64)
- sha18473f85bda00dfa3ecd2385dd38f69600d1d64a6Trojanized Terraform AWS provider
- sha1959ad1ba59212c69526eae10e12d8dc58ecaf2ddUnpublished WOFF container match
- sha1d81081691c3631f3adc1a6db0ee22ab19682ef30safari_updater Bash loader
- sha256188bd4fc222c9615540884920caf37ea88bcbea7488e1fb98709e357dd096666Trojanized Terraform AWS provider binary
- sha2561f96fc738fecc8e137244b5c3d0890ba2e618c57975478716bf20848eecda1e0Unpublished WOFF container match from YARA hunt
- sha256451b586ec9d3c997b319986a1177829653e8ae641c953c05ede6a38616f2da97safari_updater Bash loader script
- sha25662e988e9affcd000657bef4db47eb2e85c9a4cc42f4832780a02e19624e36e38FLATROOF WOFF font container payload
- sha25676ec916464baf025c9573f78fc413f5eab0d03f4ada6cd247671f0f4ab4fbcaeUnpublished WOFF container match from YARA hunt
- urlhxxp://arusupport-region1-webhook[.]online/FLATROOF C2 URL
- urlhxxps://diagnose[.]hashicorp-terraform[.]io/plugins/grpc/v6/schema/metrics/333afe63-c5a2-43f0-b046-7cbaa7797e8aFull loader download URL on lookalike domain
- urlhxxps://raw[.]githubusercontent[.]com/bluearuhost/hospitalrun-frontend/refs/heads/main/public/fonts/version1/GitHub mirror for FLATROOF font containers
- urlhxxps://stage-fashion365[.]vercel[.]app/static/tinymce4[.]7[.]5/plugins/fonts/v1104Vercel mirror for FLATROOF font containers