They targeted a generic NFC reader/writer device sold by a Chinese manufacturer. This device, often used for industrial programming, had the capability to write to the "lock pages" of NFC chips—the very area where the amiibo encryption key lived.
Example pseudocode for decryption:
Known from public research (2017–2024): amiibo encryption key