OAK — OnChain Attack Knowledge

Worked example · 2024-06

CoinStats — attacker reached the services that held wallet keys and took the private keys of 1,590 CoinStats Wallets — CoinStats Wallet / multi-chain — 2024-06-22

Loss
~$2.2M in crypto from 1,590 CoinStats Wallets, about 1.3% of all CoinStats Wallets, per CoinStats' incident report as relayed by DL News and The Block. CoinStats' first count of 1,590 wallets was posted on 2024-06-22 (CoinStats on X); Security Affairs notes that some users reported thefts from wallets not on that list. No recovery is reported in DL News. On reimbursement, The Block says CoinStats declined to share specifics; affected users were asked to fill in a form by 2024-08-15 to be eligible for "any future support".
OAK Techniques observed
OAK-T15.004 (Operator-Side Credential Compromise — primary, operator-stated). CoinStats says the attacker got in through "a combination of unauthorized intrusions across multiple services – including outside of CoinStats" (The Block), including a HashiCorp Vault instance in its own infrastructure and a third-party wallet-as-a-service provider (CoinStats report, relayed). See techniques/T15.004-operator-credential-compromise.md. OAK-T4.011 (Push-Notification Infrastructure Compromise — secondary, partial fit): a scam notification announcing a 14.2 ETH prize went out through the app's push and in-app channels to iOS and Android users and led to a drainer website (CryptoSlate); The Block says the attacker hijacked the platform and sent fraudulent notifications to mobile users. It was a separate lure, not the way the 1,590 wallets were drained. CoinStats' own report as relayed does not describe notifications, how the channel was reached is undisclosed, and no source says a MetaMask Snap was involved. See techniques/T4.011-push-notification-infrastructure-compromise.md.
Attribution
inferred-weak — CoinStats says it believes the attacker is the Lazarus Group or a similar nation-state-backed group (DL News). Its CEO linked the attack to the FBI-described TraderTraitor activity (CEO on X, 2024-06-23). CoinStats has not published the evidence, and no government source is cited.
Key teaching point
Keep the keys of a non-custodial wallet out of reach of the operator's own cloud accounts, and treat the secrets that gate a wallet-as-a-service provider (2FA PINs, API credentials) as key material. CoinStats says private keys were supposed to stay outside its control, yet the attacker obtained them for 1,590 wallets after reaching a vault and a third-party provider (CoinStats report, relayed).

Summary

CoinStats is a crypto portfolio tracker that also offers its own wallet, the CoinStats Wallet. On 2024-06-22 CoinStats told users that the attack was mitigated, that it had shut the application down to isolate the incident, and that 1,590 wallets were affected (CoinStats on X). Connected wallets and exchanges tracked read-only were not affected, because CoinStats does not import their keys (CoinStats report, relayed). Its incident report followed on 2024-07-12 and put the loss at about $2.2M. It describes intrusions into CoinStats' infrastructure and into third-party providers, and says the investigation continues (DL News). The report as relayed names a HashiCorp Vault instance that held wallet 2FA PINs and API credentials for a third-party wallet-as-a-service provider. How the intruders first got in is undisclosed.

Timeline (UTC)

Entry is undisclosed. Execution is the key theft and drain of 1,590 wallets. Money: no tracing is public. Response is the shutdown, the affected-wallet list and the rebuild. Times are from CoinStats' own X post (read directly) and from its report (relayed through a summarising fetch).

When What happened OAK
Before 2024-06-22 (undisclosed) The attacker gains access to CoinStats infrastructure and third-party providers, including a HashiCorp Vault instance and a wallet-as-a-service provider's API credentials (CoinStats report, relayed). How access was first obtained is undisclosed. T15.004
2024-06-22 (time undisclosed) A scam notification announcing a 14.2 ETH prize reaches iOS and Android users by push and in-app message and links to a drainer website (CryptoSlate). CryptoSlate's author reports funds leaving their own CoinStats wallet about 1.5 hours before the notification. CoinStats' own report as relayed does not mention it. T4.011
2024-06-22, about 18:00 (relayed) CoinStats sees abnormal transfers from its non-custodial wallet, takes the whole platform offline and contacts the wallet provider (CoinStats report, relayed). Private keys of 1,590 wallets were accessed. T15.004
2024-06-22 Where the stolen funds went: undisclosed. CoinStats says SEAL, ZachXBT and MetaMask's head of security were tracing them as of the report (DL News). No addresses or hashes are published on the pages opened. —
2024-06-22 21:53 CoinStats posts that the attack is mitigated, the app is shut down, and 1,590 wallets are affected, with a list of affected addresses in a spreadsheet it links (post). response
2024-06-23 06:49 CoinStats' CEO says there is evidence the attack belongs to the group of hacks the FBI report ties to North Korea (post). response
2024-07-03 (relayed) CoinStats restores all functions after rebuilding its production environment from scratch and moving to new cloud accounts (CoinStats report, relayed). response
2024-07-12 CoinStats publishes its incident report: about $2.2M, 1,590 wallets, attribution to Lazarus or a related group; reports to local police and the FBI (DL News). response

Key addresses: none are printed in full on the pages opened. The affected wallets are listed in the spreadsheet CoinStats linked, which was not opened.

Root-cause evidence

Public references

Techniques demonstrated (2)

More incidents