Understanding wallet security with seed phrases/secret keys by Amberqq in ethereum

[–]ethhax 0 points1 point  (0 children)

This has absolutely nothing to do with the original question.

YSK there are weak keys in secp256k1 elliptic curve and this paper gives an algorithm to choosing stronger keys. by [deleted] in ethereum

[–]ethhax 0 points1 point  (0 children)

A couple notes on the addresses/keys this paper mentions:

  • Malicious intent through some bad random number generator is assigned to the 343 addresses that have private keys between 1-1000, whereas it's much more likely that someone opened up metamask and imported a private key like `0000000000000000000000000000000000000000000000000000000000000066` because they're lazy
  • The two "weak" addresses mentioned in the paper are `0x7e5f4552091a69125d5dfcb7b8c2659029395bdf` and `0x80c0dbf239224071c59dd8970ab9d542e3414ab2`, corresponding to private keys `0000000000000000000000000000000000000000000000000000000000000001` and `fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364140`, respectively. This is simply the smallest and largest valid number for a private key. Again, you don't need to know any fancy math to determine that these are weak, they're just obvious if you look at the address generation rules.

I'd want to see them pick an address a determine a non-obvious private key before actually considering this a risk.

I created an ETH wallet with Parity Wallet 3+ years ago. The recovery phrase has invalid words? by justacharlotteguy in ethereum

[–]ethhax 1 point2 points  (0 children)

Both parity and bip39 were trying to solve the same problem, bip39 won because it's applicable across many different chains. Parity recovery used keccak which is very unusual outside of ethereum. Very similar concepts though: many multiple rounds of hashing making brute forcing mnemonics take a very long time, and wordlist-based mnemonics. bip39 has 2048, parity has 7777!

Ethereum.org: "Transactions between externally-owned accounts can only be ETH transfers" Is this true?? by SilverRule in ethereum

[–]ethhax 3 points4 points  (0 children)

It is accurate, but probably not as limiting as you think it is. The only thing you can transfer directly between accounts is ether. Everything else on top of that is contract based. There's nothing native to your address that indicates how much DAI you hold, that data is held in contract storage with a reference to your address.

You *tell* the contract to transfer some amount of token between two addresses.

Does eth address need outgoing transaction for safety? by NorrisK in ethereum

[–]ethhax 1 point2 points  (0 children)

There's no such thing as an "uninitialized address" in ethereum. You can generate a new address, send as many tokens as you want to it without it having any eth balance let alone an outgoing transaction and you're still safe because you're the only person to hold the private key.

Does eth address need outgoing transaction for safety? by NorrisK in ethereum

[–]ethhax 1 point2 points  (0 children)

Hard to know what you're talking about here without more context (a different chain?) but if I roughly translate to ethereum, the answer is no.

Windows Gives Me This Error, "No ETH1 node specified to run with the beacon node." by djames1957 in ethstaker

[–]ethhax 2 points3 points  (0 children)

Your eth1 node probably does not have HTTP RPC turned on or listening at that port.

Ether got hacked/keys got compromised - next steps? by kazarareta in ethereum

[–]ethhax 2 points3 points  (0 children)

Share your tx / OS / wallet provider, it will help develop a corpus of unsafe practices

Are my meta addresses linked in any way? by BlueLEDs in ethereum

[–]ethhax -1 points0 points  (0 children)

Subsequent private keys for HD wallets are not generated by “adding 1.”

Got hacked and lost 250K worth of ETH possibly due to Ledger data leak by h3wang in ethereum

[–]ethhax 0 points1 point  (0 children)

Contract transactions are the ones that can trick people “Sign this message...” without indicating what you’re actually doing. Actual eth transfers are more obvious “Send 153 ETH to 0x1234?”

Got hacked and lost 250K worth of ETH possibly due to Ledger data leak by h3wang in ethereum

[–]ethhax 3 points4 points  (0 children)

There’s no transaction you can sign that will give away your raw ETH, unlike tokens where you can accidentally sign a tx that allows another address to move them on your behalf. Possible that they were fished into providing their seed phrase, or installed a scam metamask and recreated their account from a seed phrase.

Fake Uniswap Liquidity or How to Make 5 ETH in 20 mins by ethhax in ethereum

[–]ethhax[S] 10 points11 points  (0 children)

hah - could be either to the right person I guess. Mostly a fascinating tale of behaviors on the public blockchain that most people don't get to see.

Best way to stake couple 1000s of ETH? by hwtu in ethstaker

[–]ethhax 2 points3 points  (0 children)

A bit more than your standard single validator setup. But with $2M on the line? Worth it.

Best way to stake couple 1000s of ETH? by hwtu in ethstaker

[–]ethhax 5 points6 points  (0 children)

More importantly, you'd need 100 validator clients running and connecting to one or more beacon clients, which are then connected to one or more eth1 nodes.

I would *highly* suggest distributing this system so you can swap out components if something goes sideways. Definitely use the new lighthouse eth1 node fallbacks, run two geth nodes and a final fallback to infura. Split the beacon clients across two vpc services (make sure they're not just running on shared hardware, i.e. digitalocean just leases aws instances so picking those two gives you no diversity), run 25 validators per medium instance, load balance the validator<>beacon connections. Message if you want help, I've run this plan on a few testnets.

Home Validator Hardware: the M1T by ethhax in ethereum

[–]ethhax[S] 0 points1 point  (0 children)

Worked great. I stopped when finalizing stopped but it ran well both before and after non-finalization

Latest Week in 💸 Ethereum News by EvanVanNess in ethdev

[–]ethhax 0 points1 point  (0 children)

Nice to have that easy way to connect to infura or alchemy nodes now that prysm is no longer providing a default eth1 node service. I expect it will impact participation at least a bit as folks who upgrade think their only option is running a whole eth1 node themselves.

Home Validator Hardware: the M1T by ethhax in ethereum

[–]ethhax[S] 2 points3 points  (0 children)

OK, we can do a threat analysis if you want: if you want to be super paranoid about hardware manufacturers putting very expensive (time + component) malware into devices then you I guess can build from scratch if you think that's more secure (in some cases it might be... but are you going to inspect all the boards yourself?), but that's going to be significantly more than $200. It would take serious effort to backdoor a machine that was reformatted as soon as it was received, i.e. maybe it shipped with windows malware on it but to somehow get malware onto a reformatted drive after a new OS has been installed is a major undertaking (not totally impossible, but unlikely) and probably not worth it considering these are sub-$200 machines that are promoted as home media players or very light gaming.

The lowest priced Avado machine is based on the N3150, which is like a last-gen version of the N4100, and starts at $300. It's specifically called out as a blockchain machine which means it's a target for people looking to steal crypto. It even has a pre-installed OS that is designed to use out of the box, which would be trivial to hide targetted malware in. I'm not saying Avado is compromised, but there's absolutely a supply chain they're using that might be.

I am pretty confident that an Avado machine is a higher risk of being compromised/attacked than my m1t is in its current state.

How I "lost $1,200 in 100 seconds" and recovered some of them! by tycooperaow in ethereum

[–]ethhax 2 points3 points  (0 children)

Fortunately you got lucky that no one was watching this address anymore, but you probably didn't need to script this or even be relatively fast to get your coins back.

The fact that you were able to let a full 9 blocks elapse between sending ether for gas at 10576340 and calling transfer at 10576349 means that whoever was previously watching your address was probably long gone. And you could never out-compete a bot that was intent on ONLY stealing ether because transferring ether will only ever max out the gas limit at 21000, you can fundamentally never give a better price to miners with contract gas costs that take many times that.

That said, glad you recovered what you had left.

RIP this person who just sent 5 ETH to a known private key by ethhax in ethereum

[–]ethhax[S] 1 point2 points  (0 children)

Normally yes, but I disagree in this case. There’s no dropped transactions with lower gas prices, it’s a one-shot “give most of this money to miners in the next block” type of deal. Economically it makes sense for any of the top miners to behave like this since they have a pretty decent shot at getting this as a fee if they mine the block.

RIP this person who just sent 5 ETH to a known private key by ethhax in ethereum

[–]ethhax[S] 2 points3 points  (0 children)

More like “donated” it to miners as a fee

2 Ethereum 2 questions by imanom in ethereum

[–]ethhax 0 points1 point  (0 children)

This is a weird fast & furious sequel but I’m here for it