Worked example · 2024-05
Gala Games — minter-role key compromised by a third-party contractor, 5 billion GALA minted — GALA token / Ethereum — 2024-05-20
Summary
On 2024-05-20 a third-party contractor of Blockchain Game Partners Inc. (Gala) compromised the private key of a minter-role address on the Ethereum side of GALA and minted 5 billion tokens (Gala incident report). Gala says its monitoring flagged the transfer on the afternoon of May 20, it activated the blocklist, and within 45 minutes about 90% of the minted GALA was locked (Gala update). Halborn adds that the attacker traded GALA for ETH in batches of up to 100 ETH, that the blocklist then caught the attacker's address, and that the attacker moved tokens back to the compromised minter account (Halborn).
After Gala said publicly that it knew the actor's identity, the actor sent 5,912 ETH to the Gala Finance cold wallet; Gala bridged it into GalaChain, bought GALA with it and burned it, and made a further burn from Gala's own wallets to cover the amount that price movement left uncovered (Gala incident report). After a vote of the Founder's Node operators, the 5 billion illegally minted tokens were burned by temporarily upgrading the contract with a burnExploitedTokens() function with the exploiter's address hardcoded and an admin-only modifier, calling it from the multi-sig, and upgrading again to remove it, all in a single block (Gala incident report).
Timeline (UTC)
Stages: Entry, Take, Money, Response. No source opened gives times of day; the 45-minute figure is Gala's.
| When | What happened | OAK |
|---|---|---|
| Before 2024-05-20 (undisclosed) | A third-party contractor obtains the private key of an address with a minter role; how is undisclosed (Gala incident report). Halborn says the account had been dormant for approximately six months (Halborn). | T11.014 |
| 2024-05-20 | 5 billion GALA are minted to a personal account (Gala incident report, Halborn). The mint transaction hash and the attacker's address are not printed in the pages opened. | T11.014 |
| 2024-05-20 | The attacker trades GALA for ETH in batches of up to 100 ETH (Halborn). Which venues were used is undisclosed. | undisclosed |
| 2024-05-20, within 45 minutes | Gala detects the transfer and blocklists the wallet; about 90% of the minted GALA is locked (Gala update). Halborn says the team identified the attack within a couple of hours and that the attacker moved the tokens back to the compromised minter account (Halborn). The two sources differ on the timing. | response |
| By 2024-05-21 | Gala reports more than $20M in ETH returned and federal law enforcement contacted (Gala update). | response |
| After the public statement (date undisclosed) | The actor sends 5,912 ETH to the Gala Finance cold wallet; Gala bridges it to GalaChain, buys GALA and burns it: 0xfe786355f9e36c490c1f73922cc4e623ff0cffe2e1a3bbb3d32483a0f64dc699, 0xaa6eb41d0cea3ec1c3638db1b6fe980847e7557912592ca5527d19a4008a8781, 0xa0cdf5aaa7fe7360f150879b3347ef287963148c9f6c7df3ff2230bf7e2b1e52, 0xf89a03cf5f9c5fc9c5357bd6cb0a0f5d92bbd69f00079f3af3bedc1099d68487, 0x6bf1f633f4de55e01d07c43df5b1bbcf073a87caa36656ba4e7719e86a9069b4, 0x3d1098c85c727ef94fd5da41247b97fcdf6d98209cc861ac301cd99ec6a0371f, 0x1541280aa8239f6c4cc9f003df7f381c87bb30d52a99d7ba86c7e6aa9ded67c6 (Gala incident report). |
response |
| Same report (date undisclosed) | A further burn from Gala's wallets covers the remainder: 0xff70c10bac7e81bd99f1e04f5c64b1a572782c00763822518c77898a7ad90dc1 (Gala incident report). The amount is not given. |
response |
| After the Founder's Node vote (date undisclosed) | The minted supply is burned through a temporary burnExploitedTokens() upgrade, execution and removal in a single block: 0x59d87edc805a83f1c6397f053dc3ffe159e3a752192bf709aac21d9d6bf71fb5 (Gala incident report). |
response |
| 2024-05-27 | Gala publishes the incident report, with the contractor-access review and security changes (Gala incident report). | response |
Key addresses: the minter-role address, the attacker's address and the Gala Finance cold wallet are not printed in full on any page opened. Only the transactions above are.
Root-cause evidence
- Technique: OAK-T11.014
- Source: https://news.gala.com/?p=14006738; https://news.gala.com/galachain/unauthorized-wallet-locked-down-in-record-time-funds-returned-as-security-measures-prove-effective/; https://halborn.com/blog/post/explained-the-gala-games-hack-may-2024
- Source type: operator
- Confidence: corroborated
- Evidence: The operator's report states the mechanism (minter-role key compromised, contract not breached) and Halborn independently describes the same compromised privileged minter account. The accounts differ on the actor (Gala: a third-party contractor; Halborn notes departures of some team members shortly before and does not confirm an insider attack) and on the order of events after the mint. How the key was obtained is undisclosed. Loss is reported as a nominal $200M mint value; realised proceeds are not stated.
Public references
- Gala News, "Incident Report: Unauthorized Token Minting - Blockchain Game Partners Inc." (2024-05-27): https://news.gala.com/?p=14006738
- Gala News, "Unauthorized Wallet Locked Down in Record Time & Funds Returned as Security Measures Prove Effective" (2024-05-21): https://news.gala.com/galachain/unauthorized-wallet-locked-down-in-record-time-funds-returned-as-security-measures-prove-effective/
- Halborn, "Explained: The Gala Games Hack (May 2024)" (2024-05-28): https://halborn.com/blog/post/explained-the-gala-games-hack-may-2024