News for hackers. Stuff that matters.
Re:Weak passwords brute forced by pavs on Tuesday November 19, 2013 @10:32PM (#6766118)
From the blog post:

"While we aggressively rate-limit login attempts and passwords are stored properly, this incident has involved the use of nearly 40K unique IP addresses. These addresses were used to slowly brute force weak passwords or passwords used on multiple sites. We are working on additional rate-limiting measures to address this. "

Re:Weak passwords brute forced by ChuckMcM on Tuesday November 19, 2013 @10:49PM (#6766178)
This is one of the more insidious scraping techniques. At Blekko if we see the same exact same query coming in from a bunch of different addresses, differing only by which page of the results they want we temporarily ban the entire lot of them.

I'm sure a similar situation would work here, especially with a decent geoip database. If you get 3 - 5 failed attempts on an account separated by more than a few miles (and not along an interstate :-)) you can probably assume someone is using a botnet to try to break in.

Re:Weak passwords brute forced by oelmekki on Wednesday November 20, 2013 @03:23AM (#6766915)
Bruteforce techniques are indeed evolving.

Before I switched my sshd ports a few weeks ago, I often saw break in attempts on my servers that would imply checking only a single username and a single password.

My guess on that is that bruteforcers, rather than testing thousands of usernames with thousand of passwords on a single host will try a single username and single password on thousands of hosts.

Re:Weak passwords brute forced by werid on Wednesday November 20, 2013 @03:35AM (#6766956)
Re:Weak passwords brute forced by oelmekki on Wednesday November 20, 2013 @05:44AM (#6767292)
Very interesting article, thanks.

I double checked my log archives, it seems not to be exactly the same, though. In what is reported here, a same username will be tried with several password, allowing something like a minute to pass to make a new attempt.

In my logs, this is really just a single attempt. Other break in attempt may happen something like two days after, but with an other IP and username.

It may just be yet an other evolution of the same botnet knowing its previous pattern has been spotted, though.

(and in case you wonder, yes, I always have the nose in my logs, having a dedicated monitor for that :) )

Re:Weak passwords brute forced by recuter on Wednesday November 20, 2013 @01:36AM (#6766653)
How does IPV6 affect things?
Re:Weak passwords brute forced by dredmorbius on Wednesday November 20, 2013 @04:09AM (#6767043)
As with IPv4, DoS attacks which tend to be clustered from specific locations (I've seen them originating from multiple hosts within a hosting center's range, or from a particularly poorly managed ISP's allocation), using broader allocations (CIDR blocks and ASNs) to identify responsible networks can be useful. The challenge in general is translating from IP addresses to the administrative block responsible (there are IP reverse lookups which do this, in some cases the zonefiles are downloadable allowing lookups at local network speeds), and in translating the information to some sort of policy (few network management devices offer AS blocking rules, though CIDR is pretty much native).
Re:Weak passwords brute forced by gnur on Wednesday November 20, 2013 @03:28AM (#6766934)
It is probable that a single machine gets a /64 ipv6 range, but the first 64 bits are consistent. When ipv6 gets more common it will probably be more acceptable to block an entire /64 if you suspect a brute force attack.
Re:Weak passwords brute forced by Pxtl on Tuesday November 19, 2013 @10:49PM (#6766177)
I've seen this mentioned before - using a tremendous number of IP addresses across a tremendous number of sites and over a massive length of time to perform a very low-grade incessant brute-force attack. It means that any weak password anywhere is always vulnerable because everybody is always under low-grade brute force attack.
Re:Weak passwords brute forced by ye on Wednesday November 20, 2013 @09:54AM (#6768308)
Looks like they didn't rate-limit per-user, but only per-IP.

Now that is dumb. I expected more from GitHub.

Re:Weak passwords brute forced by gfxmonk on Wednesday November 20, 2013 @10:14PM (#6772840)
If they rate limited per user, you could trivially prevent someone from logging in by pummeling the server with login attempts for their username.
Re:Weak passwords brute forced by ye on Thursday November 21, 2013 @07:52AM (#6774420)
If there are limits per-user and per-IP, they would need a shit ton of IPs to do that to any reasonable number of users.
Re:Weak passwords brute forced by berlinbrown on Tuesday November 19, 2013 @11:33PM (#6766310)
Seems a bit excessive for a open source repo site.
Re:Weak passwords brute forced by jakobe on Wednesday November 20, 2013 @12:46AM (#6766524)
Actually not. I'm the maintainer of a popular Open Source project that is hosted on Github. If someone stole my credentials, they could replace the current release with a binary containing a Trojan.

Looking at the security history page I see a lot of failed login attempts. Makes me glad I enabled 2-factor-authentication!

Re:Weak passwords brute forced by enscr on Wednesday November 20, 2013 @01:45AM (#6766675)
Your post should be at the top for other Github maintainers to see.
Re:Weak passwords brute forced by yukkurishite on Wednesday November 20, 2013 @03:12AM (#6766889)
You put compiled files on github?
Re:Weak passwords brute forced by jakobe on Wednesday November 20, 2013 @04:48AM (#6767140)
Github recently introduced a "Releases" section where you can tag releases and provide binaries: https://github.com/PostgresApp/PostgresApp/releases

It's a great way to distribute Open Source software. (Previously Mattt hosted it on a personal Amazon S3 account which he paid out of his own pocket; now bandwidth is generously paid for by Github)

Re:Weak passwords brute forced by ersii on Wednesday November 20, 2013 @04:29AM (#6767095)
I don't know about you, but I seldom read through all the source code of the open source/free software I use. Yeah, even when I actually compile it myself.

If someone would slip in rogue code - it's quite likely some to many would actually run it and deploy it. Especially if it's a fast moving piece of software - like being so rapidly developed that distribution packages can't keep up for either time or stability reasons, leading people to compiling/deploying from source themselves.

Re:Weak passwords brute forced by est on Wednesday November 20, 2013 @01:03AM (#6766556)
lol the real motivation is Ripple offers giveaways. github account == $$$$
Re:Weak passwords brute forced by kazagistar on Tuesday November 19, 2013 @11:40PM (#6766337)
Many large companies use them as a SaaS dvcs provider for private, closed source repositories. They provide a great tool for an agile workflow at a good price, what more is there to say?
Re:Weak passwords brute forced by jader201 on Wednesday November 20, 2013 @12:12AM (#6766427)
Obviously I have nothing to go on for this, but just guessing, it would seem to make sense that:

- Of all users, only a small subset would have private repos

- Of those users, only a small subset would have private repos that would be of interest to third parties

- Of those users, only a small subset would have a weak enough password to allow brute force

To reverse it, of these accounts that were hacked, I can't see many of them having private repos that would be of interest.

And if so, then this would seem a bit excessive.

I know that's a lot of ifs, but it seems reasonable. I would be interested to see the number of total accounts vs. the number of accounts w/ private repos.

Re:Weak passwords brute forced by icambron on Wednesday November 20, 2013 @02:17AM (#6766769)
A couple of odd assumptions there:

- That private repos are the only thing worth targeting. What if you could inject a trojan into a popular open source project? You could do a lot of damage that way, probably way more than on private repo, because so many people incorporate them in their products. Imagine they hacked the Rails repo, for example. Worse, some repos host binaries, for which a meddling would be harder to detect (a bad idea, but doesn't mean it doesn't happen).

- That the users being attacked are random and not specifically targeted based on who the user is and what the work on. Not sure if that's the case or not, but I see no reason to assume it.

Re:Weak passwords brute forced by ersii on Wednesday November 20, 2013 @04:32AM (#6767103)
Well, if you're brute forcing user passwords - you've probably done a cursory crawl of all or some users first.

A good bet to find people with private repositories, would be to aim for all or a subset of those who belong to an Github "organisation".

Likelihood of valuable user greatly increased.

Re:Weak passwords brute forced by atgm on Wednesday November 20, 2013 @12:14AM (#6766435)
People often reuse user/password combinations. So if attackers can find working combinations here, those are combinations that they can try elsewhere as well.
Re:Weak passwords brute forced by akent on Tuesday November 19, 2013 @11:40PM (#6766333)
People have private repos too you know.