Replying to Avatar nick

Today we disclose Dark Skippy - a powerful new method for a malicious signing device to leak secret keys.

With a modified signing function, a device can efficiently and covertly exfiltrate a master secret seed by embedding it within transaction signatures

https://darkskippy.com/demo.mp4

If an attacker manages to corrupt a signing device, Dark Skippy can deliberately use weak & low entropy secret nonces to embed chunks of the seed words into transaction signatures.

It takes just two input signatures to leak a 12 word seedphrase onto the Bitcoin blockchain.

The attacker can watch on-chain until they spot an affected transaction, unblind and invert the low entropy nonces using an algorithm like Pollard's Kangaroo algorithm to learn the master secret seed.

Then the attacker can wait and steal the funds whenever they decide best.

Despite this attack vector not being new, we believe that Dark Skippy is now the best-in-class attack for malicious signing devices.

- The attack is impractical to detect

- Requires no additional communication channels

- Effective on stateless devices

- Exfils master secret

Beyond ensuring your device firmware is genuine and honest (opensource), mitigations include anti-exfil signing protocols and we present some new ideas for additions to PSBT specifications to disrupt this attack.

We encourage mitigation discussion and implementation exploration.

This attack highlights the importance of verifying and securing your device's firmware, and the danger of sharing stateless signing devices with other people.

We will be publicly releasing our code later this year.

Authors: nostr:npub1xh897wvhn93tda0zws94mdyc7eagc8qm0798clp7x48zh6kjwazq29gst6 (follow him so he gets onto nostr), Robin Linus, and myself.

If you have any concerns or questions we recommend checking out the FAQ page on our website:

https://darkskippy.com

Great work demonstrating this attack!

The BitBox02 was actually the first wallet to fix this:

https://bitbox.swiss/blog/anti-klepto-explained-protection-against-leaking-private-keys/

Reply to this note

Please Login to reply.

Discussion

I remember listening to Stadicus on a podcast right when the BitBox02 came out (was still quite a noob), explaining their approach to privacy and fully open source - and I know this is the only HWW I'd trust.

Never looked back since 🤙

Low IQ Boomer here... I like my BitBox02, but I prefer to use it on Sparrow Wallet. From reading the "Mitigations", I gather that the exfiltration threat can only be avoided by using the BitBox app. Is this correct?

It works with Sparrow as well, as it's part of our HWI integration!

Sorry if I'm being dumb here; but what do you mean by "it works"? I know the device works w/Sparrow Wallet; but does the protection against this darkskippy threat work on Sparrow as well as on the BitBox app?

Yes, it does