librehash Profile picture
20 Mar, 16 tweets, 10 min read
1/ This post is going to break down the @monero backdoor that I've been referencing (that got @fluffypony so riled up he had to make false, defamatory claims about me "exit scamming"; imagine he was red in the face banging his keyboard when he wrote this one) Image
2/ To be clear, this post is referring to this Monero proposal: ccs.getmonero.org/proposals/xiph…; which was successfully funded with 181 XMR, currently worth > $40,000.

Here's the relevant GH repo we're going to dissect = github.com/tevador/monero… (linked from the proposal) ImageImageImage
3/ To start, the idea that this wallet repo will save "5 bits reserved" for "future updates", makes zero sense.

The bits he's referring to here are generated from entropy & only exist in an ephemeral, indistinguishable form (how would one select the "5-bits"?) Image
4/ The first picture is from the backdoored wallet app ; the second one is from the actual BIP39 specification (which this guy tried - and failed, to replicate)

bip39 = github.com/bitcoin/bips/b… (ref.) ImageImage
4a/ Let's take a step back and breakdown BIP39 real quick.

First priv/pubkeys.

Bitcoin compressed public + private keys are supposed to be 32-bits each. But the public is 33-bits because its a signed integer (the private key is unsigned). Image
4b/ Every bit = 8 bytes

So 1 byte = 8 bits (2 bytes in hexadecimal)

128 / 32 = 4 bytes / 8 byte hexadecimal ; (take a checksum from each pair)

End up with 4 checksums appended at the end of each.
4c/ That's where the additional '4' comes from in that mnemonic word matrix table

Each checksum = 1 bit (4 bytes) ; 4 checksums = 16 bytes / 32 bytes (hexadecimal)

This is how your classic BTC address gets crafted

From the Bitcoin Wiki = en.bitcoin.it/wiki/Technical… ImageImage
4d/ You can see the developer of this repo clearly had no clue what they were doing because they erroneously mention "11 bits" (which isn't stored in each word; every 3 words = 32-bit SHA256 'word')

That # was not chosen arbitrarily in BIP39 specification ImageImage
5/ Moving forward, things get questionable at the KDF part.

For some reason they opted for the HMAC-SHA256 construction vs. SHA512 (which is what Bitcoin uses); why use a different, weaker hash signature there? ImageImage
5a/ For the sake of thoroughness, this tweet has a picture capturing an excerpt from 'Mastering Bitcoin' written by @aantonop , where it clearly specifies HMAC-SHA512 ImageImageImage
5b/ Then to make matters worse he makes the *completely* false claim that a seed generated with 128-bits of entropy imbues the same security assurances as an elliptic curve algorithm with a 128-bit strength rating.

Those two concepts are *completely* unrelated to one another. Image
6/ At the outset, this swap to SHA256 vs. SHA512 may seem trivial, but it isn't - only due to a quirk in how HMAC works.

Keys longer than the byte size of the input 'word' cause the construction to first 'hash the key' "using H"; resulting in pseudo-collisions ImageImage
7/ Here's where that dev shot himself in the foot.

The SHA256 construction has a 64-byte block size [and takes two 32-bit words as input]. Many don't know this, but SHA256 = two separate processes (there's a midstate cache) <-- this laid foundation for ASIC optimizations ImageImageImage
7a/ Remember the bit length that "dev" proffered? They claim to be piping in *154-bits*, which is >128-bit size for the HMAC construction (something this dev stated explicitly themselves)

That means end users *would* find themselves victimized by pseudo-collisions. ImageImage
7b/ To back up this claim, I wrote up a brief Python script which you can check out on Repl here = replit.com/@Librechain/Py… ImageImage
8/ You can read the rest of the report here = librehash.org/monero-wallet-…

I tore the repo to pieces.

Strongly reconsider *ever* using Monero for anything - whether you need privacy or not.

@fluffypony is clearly a stooge that's in over his head.

• • •

Missing some Tweet in this thread? You can try to force a refresh
 

Keep Current with librehash

librehash Profile picture

Stay in touch and get notified when new unrolls are available from this author!

Read all threads

This Thread may be Removed Anytime!

PDF

Twitter may remove this content at anytime! Save it as PDF for later use!

Try unrolling a thread yourself!

how to unroll video
  1. Follow @ThreadReaderApp to mention us!

  2. From a Twitter thread mention us with a keyword "unroll"
@threadreaderapp unroll

Practice here first or read more on our help page!

More from @librehash

23 Mar
1/ Assuming you're referring to the CFTC report on Coinbase's market activity, you can trace this via unusual activity occurring in one of the deposit addresses.
2/ That's how I discovered that QuadrigaCX was trading on its own exchange (and more specifically, that it was Gerry Cotten or someone else in an administration role). The analysis was painstaking, but I'll walk down a super brief example in the next tweets.
3/ Attached to this tweet is a screenshot of the 0x0247BC4E03142079CfA2E3Daf500722Ed0F9A6b2 address.

The pattern we see of funds being sent in and then immediately being swept to the exchange means that this is more than likely a deposit address (i.e., should be a custie addy) Image
Read 11 tweets
20 Mar
1/ ICYMI, I schooled the entire @monero community and exposed @fluffypony as a pseudo-intellectual wannabe bully that forgot he ran into the crypto space's biggest bully.

See them get humbled here - reddit.com/r/Monero/comme…
2/ To be clear, the original Reddit post was created to urge the community to pay @veorq more money than what they offered because he's actually worth more - and he has the intelligence, expertise & proven ability to help curate unique solutions that could enhance Monero. ImageImageImage
3/ @fluffypony attempted to respond...and, well, let's just say that this is where it got embarrassing (he was mad that I pointed out that Monero is trying to push a wallet solution with a backdoor in it) Image
Read 5 tweets
20 Mar
1/ There are many that are shocked by the @CFTC's press release condemning @coinbase (and @brian_armstrong) criminal behavior.

But that's likely because you all forgot that this is who @coinbase has always been!

Let's take a trip down memory lane, shall we?
2/ In 2015, it was revealed that Coinbase had lied about its regulatory status - sfgate.com/business/artic…
3/ On July 18th, 2018, Coinbase published an announcement informing the cryptocurrency space that it had lied about receiving regulatory approval from the U.S. government to “list coins considered securities” - cointelegraph.com/news/coinbase-… (Coinbase Retracts Announcement)
Read 10 tweets
17 Jan
1/ Wrote an article here about an exchanger that allows you to swap several different cryptocurrencies for Monero without KYC or logins at all

librehash.org/alfacash-a-mon…
2/ Being the eternal skeptic, wanted to test if this website was actually legitimate (there are a lot of crypto scams out there; way too many)..

So we start off visiting the main website and set up a LTC:XMR conversion.
3/ The Monero address that you see in the picture above was created using this "mindwallet" altered tool created by Pactito (patcito.github.io)
Read 11 tweets
17 Jan
1/ Polkadot is a really well-designed project with some extremely smart folks at the helm - but their plan for interoperability with Bitcoin won't work for a few reasons that will be explained in detail within this thread. #Polkadot $DOT #Parity
2/ Documentation on the proposed 'bridges' for $DOT can be found here = wiki.polkadot.network/docs/en/learn-…

This is where the 'XClaim' protocol is introduced.
2a/ One major setback stopping this from being trustless from the jump is the fact that Polkadot does not use Proof of Work (that is necessary) - but even putting this to the side, there are critical elements missing.
Read 21 tweets
16 Jan
1/ Anyone can be in crypto if they want to be.

But there needs to be a lot more transparency in this space for those using the technology directly as well as those that are investing.
2/ The Electrum wallet hacks are a prime example of how you can get screwed in this space even if you are just a "user"..

zdnet.com/article/bitcoi…

This problem has been pervasive for Electrum wallet users for over 2 years.
3/ Of course, we don't even need to speak on Ledger wallet users - that debacle has only gotten worse over time.

cointelegraph.com/news/ledger-da…
Read 5 tweets

Did Thread Reader help you today?

Support us! We are indie developers!


This site is made by just two indie developers on a laptop doing marketing, support and development! Read more about the story.

Become a Premium Member ($3/month or $30/year) and get exclusive features!

Become Premium

Too expensive? Make a small donation by buying us coffee ($5) or help with server cost ($10)

Donate via Paypal Become our Patreon

Thank you for your support!

Follow Us on Twitter!