News for hackers. Stuff that matters.
Re:Bitcointalk Server Compromised by CyberShadow on Sunday May 24, 2015 @10:02AM (#9596258)
> Somehow, the attacker got KVM access credentials for the server. [...] After he got KVM access, the attacker convinced NFOrce that he was me (using his KVM access as part of his evidence) and said that he had locked himself out of the server. So NFOrce reset the server's root password for him, giving him complete access to the server and bypassing most of our carefully-designed security measures...

Ugh. We need to remember that social engineering your ISP, hosting provider, etc. is a very real attack vector. Do not trust them.

Reminds me of the "N" twitter username story: https://medium.com/@N/how-i-lost-my-50-000-twitter-username-...

Re:Bitcointalk Server Compromised by nadams on Sunday May 24, 2015 @07:28PM (#9597989)
> convinced NFOrce that he was me

> So NFOrce reset the server's root password for him

So a couple of things:

I do my hosting with gandi (moving away from self hosting as Comcast business is...well anyways...). I had setup TOTP with their service and my phone died and I lost my OTP key (lesson learned - always backup OTP keys - hint gitlab developers...). I had submitted a ticket and they called the number that was on the account and had me answer a few questions. I don't remember what the questions were - but they weren't certainly "can you reboot this server?".

The simple fact that the company used that as verification should be a red flag.

Here is another red flag - why does the hosting provider have the ability to reset a VM's root password? Gandi states that in their FAQ that they won't reset the root password - though they give you instructions on how to do that.

Though if he had access to KVM (through virtsh or virt-manager ?) he could have easily reset it himself (which would require a reboot). Perhaps he wanted to be discrete as possible?

Re:Bitcointalk Server Compromised by sytse on Sunday May 24, 2015 @08:11PM (#9598072)
GitLab CEO here, I don't understand the hint, when you set up 2FA on GitLab we give you backup codes to recover, but that might not be what you mean.
Re:Bitcointalk Server Compromised by h1fra on Sunday May 24, 2015 @10:18AM (#9596317)
Strangely, the N username now look likes a legit account. Or is it the same guy?

https://twitter.com/n

Re:Bitcointalk Server Compromised by jimlei on Sunday May 24, 2015 @10:28AM (#9596351)
He got it back like a month later. Just browse back in N's twitter feed (late february 2014)
Re:Bitcointalk Server Compromised by hobarrera on Sunday May 24, 2015 @12:46PM (#9596733)
I've had Digital Ocean reset a VM on a different account (a client's) just by asking politely from my own account (not impersonation or anything alike on my part).

While it was helpful on that occasion, it should probably go completely against policy to do stuff like this.

Re:Bitcointalk Server Compromised by grubles on Sunday May 24, 2015 @04:22PM (#9597443)
You literally only asked politely? I feel like there was at least /some/ sort of info you had to provide.
Re:Bitcointalk Server Compromised by nadams on Sunday May 24, 2015 @07:30PM (#9597994)
When he submitted the ticket or whatever he was probably logged into his account and to DO that is probably a "the user is logged in so we don't have to verify his identity".
Re:Bitcointalk Server Compromised by cpach on Sunday May 24, 2015 @01:58PM (#9596979)
Ouch. That makes me wary of using DO.
Re:Bitcointalk Server Compromised by mzjs on Sunday May 24, 2015 @06:02PM (#9597802)
This is an issue with all providers, though. It's not specific to just DO.
Re:Bitcointalk Server Compromised by toxicFork on Sunday May 24, 2015 @06:05PM (#9597810)
Of course. The weakest link seems to be customer support when it comes to security.
Re:Bitcointalk Server Compromised by cpach on Monday May 25, 2015 @12:49PM (#9600711)
Yep. That’s why it’s so crucial that these companies try to adapt solid guidelines in order to minizime the risks of social engineering attempts.
Re:Bitcointalk Server Compromised by nadams on Sunday May 24, 2015 @07:34PM (#9598001)
I wouldn't say all - but many. However, there is always more than one way to skin a cat.

Gandi states that they won't reset it - but offers instructions on how to do it [1]. Which, presumably if you are spinning up VMs the owner of the account should get an email notification.

[1] - https://wiki.gandi.net/en/hosting/gandi-expert/change-root-p...

Re:Bitcointalk Server Compromised by tedunangst on Sunday May 24, 2015 @12:34PM (#9596702)
> The forum will pay up to 15 XAU

Somewhat interesting that the bounty is not priced in terms of Bitcoin.

Re:Bitcointalk Server Compromised by weinzierl on Sunday May 24, 2015 @12:45PM (#9596728)
If it would be priced in terms of Bitcoin it would make the bounty less attractive for a lot of people. Bitcoin is highly volatile and not everyone believes it will rise.

15 XAU is by the way currently around USD 18000.

Re:Bitcointalk Server Compromised by firethief on Sunday May 24, 2015 @02:20PM (#9597037)
The bounty is to be paid in Bitcoin anyway; I don't see how your attractiveness explanation is applicable.

The problem with setting the price in Bitcoin is the volatility: someone with information could attempt to time their contact with Theymos to maximize their bounty. This could significantly delay revealing the information, if the bounty claimant felt the price were temporarily in a slump, and could cost Theymos a lot more than expected if they got lucky.

Re:Bitcointalk Server Compromised by kbenson on Sunday May 24, 2015 @03:41PM (#9597303)
Although, over a two week period in late February and early March, gold appears to have dropped from 75.94 to 63.78. That's less volatile than BTC, but if that's the metric that we are measuring, why not use USD?
Re:Bitcointalk Server Compromised by psykovsky on Monday May 25, 2015 @05:38AM (#9599286)
Bitcoiners don't use the devils money.
Re:Bitcointalk Server Compromised by colinbartlett on Sunday May 24, 2015 @12:41PM (#9596719)
XAU is ounces of gold so the price of 15 ounces is about 18,000 USD at the moment.
Re:Bitcointalk Server Compromised by ah- on Sunday May 24, 2015 @11:44AM (#9596556)
What's the best way nowadays to protect yourself as a user against this? You certainly can't trust anyone to store your password securely, so you're forced to have a strong password per site, and it's impossible to memorize that many passwords.

I'm currently using Password Hasher (https://chrome.google.com/webstore/detail/password-hasher-pl...), but that only works well because I mostly use just one machine.

Re:Bitcointalk Server Compromised by hobarrera on Sunday May 24, 2015 @12:45PM (#9596729)
pass[1] is a pretty good choice. But you also have to make sure your provider really follows decent security practices.

gandi.net is a pretty decent provider not full of BS (as their slogan states).

[1]: http://zx2c4.com/projects/password-store/

Re:Bitcointalk Server Compromised by ufmace on Sunday May 24, 2015 @03:18PM (#9597232)
I've come to the conclusion that the most important thing by far is a different password for every site. If you do nothing else, figure out a way to do that. It's probably also a good idea to make sure that your security question answers are anything but the actual answers to those questions. I prefer looking up random words for each one, and storing them in the Lastpass entry for the site.

I view password complexity and obsessing over how hard it would be to crack your password hash with various setups to be of little value. If they're far enough in to get your password hash, it's better to assume they can see and do anything and everything on the site even if they can't crack your password. If you've actually used a different password on every site, there isn't much left to worry about. Still, if you're using a password manager, it's cheap to make all of your passwords long, random strings with upper, lower, numbers, and specials, so why not do it?

Re:Bitcointalk Server Compromised by yuvadam on Sunday May 24, 2015 @11:47AM (#9596562)
Use a password manager. KeepassX is a good choice if you only trust yourself (and your backups).

LastPass and 1Password are good choices if you don't care about letting others host your (supposedly encrypted) passwords.

Re:Bitcointalk Server Compromised by mannkind on Sunday May 24, 2015 @12:38PM (#9596708)
> LastPass and 1Password are good choices if you don't care about letting others host your (supposedly encrypted) passwords.

That statement doesn't apply to 1Password; AgileBits does not host your data.

Re:Bitcointalk Server Compromised by becausecomputer on Sunday May 24, 2015 @01:18PM (#9596833)
1Password works with Dropbox, unless you manage the storage and backup manually.
Re:Bitcointalk Server Compromised by tetrep on Sunday May 24, 2015 @02:09PM (#9597001)
> 1Password works with Dropbox...

Because it has the amazing feature of storing all your passwords in a file. It's nothing like the features offered by lastpass with respect to serving you your passwords from a remote host and if you can't trust your password manager to KDF & encrypt then you really shouldn't be using it as it's doubtful it's properly generating secure passwords.

Re:Bitcointalk Server Compromised by imrehg on Sunday May 24, 2015 @11:57AM (#9596592)
Thumbs up for KeePassX too!

Also, there's Mitro, encrypted password manager living inside a Chrome extension: https://www.mitro.co/

Re:Bitcointalk Server Compromised by jiayo on Sunday May 24, 2015 @12:05PM (#9596616)
I am using KeePass Password Safe v2 (while on Windows), and KeePassX on linux and OS X.

I use a strong password, and a key file, which is just a blob of random bytes. The encrypted password database (.kdbx) is published to Dropbox, which handles sync across devices. The key file (.key) stays on an encrypted USB stick on my physical keychain, and is physically backed up in a few safe places. It is never published online. This makes it effectively a second factor.

I have a domain, example.com, which is set up for wildcard email forwarding. When I sign up for a service, I use [email protected] (recently I have started obscuring this a bit more, e.g. [email protected]). This limits password reset exposure, and also the ability for other services that are in cahoots with each other to link my accounts together by email address.

Everything connected to this domain (registrar, DNS provider, email provider) is protected by separate TOTP 2FA tokens.

I simply do not access any authenticated services if I don't have access to KeePass and my password vault.

I have over 250 entries in my vault. At this point, it's less about remembering and generating passwords than it is about keeping track of what I've signed up for and when. Some things, you only look at once every few years, and my S.O.P. before KeePass was usually password resets.

For extremely high value accounts, I have memorized a "prefix" which I prepend to generated passwords. This limits exposure in the case my entire password database leaks, to just things like hackernews, reddit and other low value services.

I do not use KeePass for my dropbox password, because I could end up locked out entirely.

So this is really 3 things to remember: Password vault password, Dropbox password, and high security prefix.

There are some weaknesses in this scheme. As another user mentioned below, I am not invulnerable to an @N style hijacking. Someone could socially engineer my registrar, DNS provider or email provider, hijack my email and then initiate a password reset. I'm not sure how to defend against this. Common knowledge is to not use custom domains, since it's easier to hijack example.com than gmail.com, but for me the value of having unique email accounts per service is too high to give up.

The other obvious point of vulnerability is keyloggers and trojans that attack the KeePass processes directly. This is not something I've spent a lot of time thinking about. It is a scorched earth scenario, and in that case I won't be the only one in trouble.

This method has served me well for over 5 years. I've acknowledged there's some flaws here, but I fundamentally do not trust any of the online password management services (LastPass, 1Password, etc.) and I find the idea of paying to store/access them distasteful at best and extortionate at worst.

edit: I also use KeePass to generate my security questions. Very few online services are savvy enough to use a one-way hash on these questions, that are the keys to the castle. I've had to recite these to support reps over the phone, who can see them in clear text.

e.g.,

What was the name of the street you grew up on? => xcmqbbpgpuuxyrdw

What was your first pet's name? => owuynnfhwscgigciq

Re:Bitcointalk Server Compromised by ams6110 on Sunday May 24, 2015 @12:28PM (#9596681)
Nitpick, "mydomain.com" is a real domain (registrar). Use "example.com" for example domains.
Re:Bitcointalk Server Compromised by jiayo on Sunday May 24, 2015 @12:34PM (#9596703)
Fixed, thanks!
Re:Bitcointalk Server Compromised by unclebucknasty on Sunday May 24, 2015 @04:15PM (#9597414)
Sad part is that, even with all of this, you're only as secure as each service not being otherwise breached, and that scenario is probably more likely in aggregate than your credentials being compromised. We are all as vulnerable as the engineering practices of each service with which we engage.

We (especially in the tech community) tend to focus strictly on tech solutions. But, one of things that isn't discussed nearly enough is the legal aspect of all of this. That is, penalties for hacking, international cooperation, etc. As it is, the scammers have an unlimited free pass to just keep coming at us/services. The worst that can happen to them in most cases is that they simply don't get what they are after. It's all upside and little risk. With that motivation, they will simply persist until they find the weak links.

Re:Bitcointalk Server Compromised by crobertsbmw on Sunday May 24, 2015 @02:35PM (#9597086)
You probably already know this, but you can set up unique emails through gmail using the "+" character. [email protected]. This will let you keep track of who is using what email address. Although, as this becomes more common knowledge, people could just strip off the anything after the "+" when saving email addresses.
Re:Bitcointalk Server Compromised by tokenizerrr on Sunday May 24, 2015 @06:45PM (#9597918)
Why not use regular Keepass on Linux? It runs under Mono.
Re:Bitcointalk Server Compromised by Buge on Sunday May 24, 2015 @06:41PM (#9597904)
What registrar do you use?
Re:Bitcointalk Server Compromised by scanr on Sunday May 24, 2015 @12:36PM (#9596704)
Anyone know what this table means:

        1 word   0
        2 words  0
        3 words  0
        4 words  3m
        5 words  19d
        6 words  405y
        7 words  3My
Does it mean that if your password contains only 4 words, it 3 minutes to crack regardless of the words?

Is https://xkcd.com/936/ bad advice?

Re:Bitcointalk Server Compromised by TheLoneWolfling on Sunday May 24, 2015 @01:06PM (#9596788)
That XKCD comic is good advice. But use a long enough passphrase.

Also, he's being (very) conservative. In other words, he's assuming a very fast password cracker. Roughly speaking, he has a wordlist of ~8070 words, which works out to ~13 bits of entropy / word. Which implies at 3My to crack 7 words he's assuming ~26 trillion (!) password hashes per second.

That's potentially realistic if you're using a fast hash - but you should be using something that's slow (and memory-constrained) for a password hash.

Re:Bitcointalk Server Compromised by DanBlake on Sunday May 24, 2015 @06:24PM (#9597864)
Doesnt the english language consist of 500,000-1,000,000 words?

* http://www.merriam-webster.com/help/faq/total_words.htm

Re:Bitcointalk Server Compromised by TheLoneWolfling on Sunday May 24, 2015 @07:17PM (#9597969)
Yes. But most of them are far too close to each other to remember easily. Or relatively not used words.

It's (generally) easier to just use a longer passphrase and a shorter wordlist of only relatively common words.

Re:Bitcointalk Server Compromised by Buge on Sunday May 24, 2015 @06:50PM (#9597926)
The xkcd is bad advice. It mentions 1000 guesses per second.

In reality GPU crackers can do 100,000,000,000 guesses per second. https://hashcat.net/oclhashcat/

You need to add another 2-3 words.

Re:Bitcointalk Server Compromised by 001spartan on Sunday May 24, 2015 @03:23PM (#9597257)
The way password crackers work now, it is quite easy to crack passwords that are combinations of words, even with alphanumeric substitution. The best passwords are completely random, and 24+ characters.
Re:Bitcointalk Server Compromised by desantis on Sunday May 24, 2015 @01:05PM (#9596782)
This threw me off as well, I think you are suppose to use the first chart if your password was generated randomly and the second chart if you used words. I am not 100 percent sure though.
Re:Bitcointalk Server Compromised by psykovsky on Sunday May 24, 2015 @02:39PM (#9597097)
That is how many time to break the answer to the security question, not the passwords. The security questions have a weaker hashing function.
Re:Bitcointalk Server Compromised by crobertsbmw on Sunday May 24, 2015 @02:30PM (#9597069)
Interesting that he says, "If your password is not completely random (ie. generated with the help of dice or a computer random number generator), then you should assume that your password is already broken."

1) When he says "dice" is he talking about physical dice or something, or is there some protocol called dice that I am not aware of?

2) I feel like even though a computer generated random string isn't completely random, that it could still be effective. Could someone elaborate on this a little bit more? What if you do tricky things like concatenate multiple random strings together? What about functions like urandom (I'm pretty sure that is truly random.)?

Re:Bitcointalk Server Compromised by imaginenore on Sunday May 24, 2015 @02:56PM (#9597152)
Yes, he is talking about real dice. He comes from Bitcoin security point of view: don't trust anything.

Dice, being physical objects outside of computer networks can be trusted to a pretty good degree.

When it comes to creating something random on a computer, it's actually incredibly hard to guarantee randomness. Most RNGs are black boxes or are so non-transparent that they might as well be black boxes.

You might have an idea how your *nix /dev/random works, but can you actually guarantee your OS is not compromised? Can your guarantee your BIOS is not compromised? Can you guarantee that your hardware is not compromised?

That's why if you want a truly secure Bitcoin cold storage, you generate a wallet offline using something like dice or coinflips (dice are quicker).

Re:Bitcointalk Server Compromised by Dylan16807 on Sunday May 24, 2015 @03:06PM (#9597187)
I don't quite follow your logic. You still need an airgapped computer to turn those random bits into a working address, don't you? Is there a way to do that by hand?

Is it more likely that the RNG is compromised than the bitcoin software?

Re:Bitcointalk Server Compromised by imaginenore on Sunday May 24, 2015 @04:02PM (#9597364)
Yes, but you have eliminated one vector of attack - a faulty or compromised RNG.

> Is it more likely that the RNG is compromised than the bitcoin software?

1) That's a weird question. It's not like they are mutually exclusive. Both are possible. Dice allows you to eliminate the RNG problems.

2) http://en.wikipedia.org/wiki/Random_number_generator_attack#...

Re:Bitcointalk Server Compromised by Dylan16807 on Sunday May 24, 2015 @05:47PM (#9597754)
If I think the risk is high enough to worry about, I'm going to use a method that gets close to eliminating it. I'm not going to settle for only removing one vector.
Re:Bitcointalk Server Compromised by imaginenore on Monday May 25, 2015 @06:00AM (#9599334)
So don't. Using an airgapped computer will not save you against against a compromised RNG (e.g. reduced entropy). Your computer-generated numbers might look random to you, but you can't really be sure.
Re:Bitcointalk Server Compromised by Dylan16807 on Monday May 25, 2015 @09:10AM (#9599893)
>So don't.

Isn't that my argument? Maybe I should try again to clarify my position.

'Just' an airgapped computer solves neither backdoored RNG nor backdoored bitcoin software.

A trusted airgapped computer comes close to solving both.

Using dice only gives me half a solution; why bother?

Re:Bitcointalk Server Compromised by imaginenore on Tuesday May 26, 2015 @05:59AM (#9603742)
Airgapped computer definitely solves the compromised software/firmware problem, because it can't send your private keys to the attacker.
Re:Bitcointalk Server Compromised by Dylan16807 on Wednesday May 27, 2015 @02:04PM (#9613195)
Compromised software can do anything a compromised RNG can do and more. Especially with something finicky like asymmetric crypto.
Re:Bitcointalk Server Compromised by Dylan16807 on Sunday May 24, 2015 @03:01PM (#9597169)
Dice map trivially to alphabet+numbers, and you know there are no flaws in the generation.

It doesn't have to be competely random, but when humans make up passwords they grossly overestimate the entropy levels; it's easier to say not to do it at all. Especially since the longer a password a human makes, the more likely they are to use shortcuts to gut the entropy, such as involving not only words but actual sentences.

Biased random number sources are okay, but you have to understand the bias, and it's easier to use an unbiased source. urandom is nearly perfect (post-boot) so use that.

Re:Bitcointalk Server Compromised by M4v3R on Sunday May 24, 2015 @02:42PM (#9597104)
They probably refer to Diceware [1].

[1] http://world.std.com/~reinhold/diceware.html

Re:Bitcointalk Server Compromised by Buge on Sunday May 24, 2015 @06:44PM (#9597914)
That quote is not saying computer generated random numbers are bad. It is saying computer generated random numbers are good. (And human generated random numbers are bad.)

If you simply use the C rand function that is bad. But he's assuming you're using something with real randomness, like urandom.