1

I'll describe a physical case of what I'm asking about -- we might call it the 'Just sign on the dotted line' attack. I'm asking if it's technically possible since one is required to open the hardware to input signals from the MEW website.

Blockchain technology works by signing transactions with our private key. This key is what our Ledger backup seed restores to the device. Once we sign the transaction, it's sent to and confirmed by the network.

Suppose someone is handed a check to sign with someone's name on it. The see the correct name on the check so they sign it. However, that correct name was actually a sticker and the criminal peels it off, revealing a different name on the check that now has the necessary signature on it. In this way one is tricked into signing a transaction with undesired information that appeared correct.

I am asking if the same thing can be done via the signals sent from the MEW site to the Ledger, i.e. such that the address displayed by the Ledger is in fact not the address involved in the transaction being signed.

If it is not possible, why not? If possible, can you cite the pertinent code demonstrating the impossibility?

1

It's not possible. The application that the ledger is interacting with constructs the transaction and sends it to the Ledger. The Ledger then displays the address for you to verify. You verify it shows the expected address, click confirm, and the Ledger signs it. The signature is actually a signature of the hash of the whole transaction, which includes the receiving address. This means that a malicious party can't just take your transaction and replace the to address, because your signature would no longer be valid for the hash of the transaction, and the network would throw it out.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.