Archive for posts tagged with ‘Hack’

Happy Twitter Dictionary Attacks

I guess, most of you that follows some technical or security related sites have heard about the Twitter hack that happend in the very beginning of this week, but how could this happen? The answer is kinda simple and you can get it from the subject: it was a dictionary attack of course. Here’s a short summary taken from the Wired Blog:

An 18-year-old hacker with a history of celebrity pranks has admitted to Monday’s hijacking of multiple high-profile Twitter accounts, including President-Elect Barack Obama’s, and the official feed for Fox News.

The hacker, who goes by the handle GMZ, told Threat Level on Tuesday he gained entry to Twitter’s administrative control panel by pointing an automated password-guesser at a popular user’s account. The user turned out to be a member of Twitter’s support staff, who’d chosen the weak password “happiness.”

Cracking the site was easy, because Twitter allowed an unlimited number of rapid-fire log-in attempts.

“I feel it’s another case of administrators not putting forth effort toward one of the most obvious and overused security flaws,” he wrote in an IM interview. “I’m sure they find it difficult to admit it.”

For sure it’s always a bad idea to have such a easily guessable password — especially as an administrator or support staff member — but the main problem here was that Twitter allowed unlimited, rapidly fired login attempts what definitly is never a good idea.

As Bruce Schneier figuered out in his analysis of 34,000 MySpace passwords captured from a pishing attack in late 2006, the average MySpace user has an 8 character alphanumeric password. At least they are alphanumeric you may think, that’s correct, until you find out that 28 percent of those alphanumerics were all lowercase with a single final digit and two-thirds of that digit was 1. That’s pretty scary.

Brute force attacks aren’t really rocket science, actually they are for dummies. So even those scary MySpace passwords — eight characters, all lowercase and ending in 1, would require 8 billion login attempts.

26^7 x 10^1 = 8,031,810,176

At one attempt per second, it would take ~250 years per user to crack one of those passwords by pure brute force.

But for a dictionary attack like the one that has been used in the Twitter-case? That’s a completely different story. The Oxford Dictionary for example contains around 171,000 words. As you might imagine, the average person only uses a tiny fraction of those words, by some estimates somewhere between 10 and 40 thousand. Let’s assume our one login attempt per second again, than we can try each single word in the Oxford English Dictionary in less than two days.

So the last thing you want, is to offer unlimited login attempts to an attacker. All you need is one user with a weak password to provide attackers a toehold to your boxes. The ironically thing about the Twitter-case, the attacker hit the jackpot: the user with the weakest password happend to be a member of the Twitter administrative staff who choose: happiness.

Read the rest of this entry »

2 Comments

Rounded corners for less (Safari solution)

In addition to the previous article, I’ve got also a solution for the Safari 3.x users/developers out there. Like Mozilla, Apple added some CSS enhancements to their CSS-rendering engine. For getting the same effect as in Firefox, you can use -webkit-border-bottom|top-left|right-radius:

1
<p style="-webkit-border-top-left-radius: 5px; -webkit-border-bottom-right-radius: 5px; background-color: #ebebeb; padding: 10px; color: #000;">Lorem ipsum dolor sit amet, consectetuer sadipscing elitr, sed diam nonumy...</p>

This should result in something like:

Lorem ipsum dolor sit amet, consectetuer sadipscing elitr, sed diam nonumy…

By the way: the W3C offers new options for border in CSS3, of which one is the border-radius stuff.

No Comments

Rounded corners for less?

Okay I’ve to confess that this trick will only work in Firefox, but for those who doesn’t want to start their Gimp/Photoshop-something for getting rounded corners on page elements, this CSS hack might be a proper solution:

1
<p style="-moz-border-radius-topleft: 5px; -moz-border-radius-bottomright: 5px; background-color: #ebebeb; padding: 10px; color: #000;">Lorem ipsum dolor sit amet, consectetuer sadipscing elitr, sed diam nonumy...</p>

By using the CSS extension -moz-border-radius-direction made by Mozilla, this will result in something like:

Lorem ipsum dolor sit amet, consectetuer sadipscing elitr, sed diam nonumy…

No Comments

We’ll hit on your building next

Not sure if this one is real or just a good made fake — but anyways it’s a nice idea :)

No Comments

Cisco.com suffers lower case t breakdown

Cisco T-Less Cisco.com suffers lower case t breakdown. Thanks to the unwesen for pointing my interest to it. Also thanks to my co-worker Michael for taking the source code screenshot.

2 Comments