Team from Swedish Medical Center and LifeCenter Northwest climb Mt Rainier. Video from Ustream

by George Taniwaki

A group from Swedish Medical Center (a transplant center in Seattle) and LifeCenter Northwest (the organ procurement organization serving Alaska, Northern Idaho, Montana, and Washington) climbed to the summit of Mt. Rainier yesterday and held a live webcast and chat.

It was all done as part of an effort to educate the public on the importance of becoming an organ donor.

I missed the webcast, but I definitely support the effort. If you haven’t registered to be an organ donor, do it today. It only takes a few minutes. Just go to Donate Life website and register with the state where you live. Remember to tell your family about your decision. If you have an iPhone, you can download the DonateLives app.

Delectable huitlacoche. Photo from Wikipedia

by George Taniwaki

My quest to find a restaurant that serves fresh huitlacoche continues unabated. (I’ll admit my so-called quest has been pretty lackadaisical and sporadic.) My latest failure is El Sabor de Oaxaca in Pioneer Square which received a glowing review in the Stranger in Apr 2008. Alas, navigating to its website gives a 404 not found error. And a review on Yelp dated Jun 2009 says, “This place went out of business or moved. Guajillo’s is now at this location…”

And while Guajillo’s menu displays some tasty items, it does not serve huitlacoche. But then I found another Yelp review dated Jan 2010 that says, “This place is now closed :(“ Oh well.

If you’re not sure what huitlacoche is, check this description at Steve, Don’t Eat it!, a feature of a blog called TheSneeze. I think Steve would have liked it better if he tasted the fresh version rather than the canned stuff. I tried canned huitlacoche a few years ago and found it as appealing as canned spinach. It was overcooked and gooey with the texture of mush, and had an odd flavor. It was not firm with a nutty aromatic flavor like good blue corn smut should have. Fresh huitlacoche looks like this and is quite delicious.

I became an aficionado of huitlacoche during a vacation in Mexico City several years ago. I ended up having it at two different restaurants and liked it both times. In each case, it was offered by the waiter when I asked for a recommendation. Given what it is, I’m surprised they offered it to a gringo. But I’m glad they did. (Although, maybe they just wanted to see my reaction.)

* * * *

While perusing TheSneeze blog, I found a fascinating post regarding Steve’s father’s habit of drawing faces on cakes. He investigates his father’s self-taught art ability (or lack thereof) and accidentally discovers the original source materials with the help of several blog readers. This shows just how the Internet has changed everything. That’s right, because of the web, we can connect with complete strangers and learn extensive details about topics we previously would have just considered useless, random time killers. Now, if I could just find that restaurant…

F cartoon. Image from TheSneeze

My bank’s security reminder. Image from Charles Schwab

by George Taniwaki

For the past several months, every time I log into my bank’s website, there is a reminder that I should change my username to something more secure and change my password since I haven’t changed it recently. I’ve been ignoring both messages and there don’t appear to be any adverse consequences to my inaction. But I’ve decided to do some investigation regarding username and password best practices so that I could decide if my sloth and laziness are justified. I summarize my finding in this blog post.

Creating secure usernames

I tend to use the same username on all websites. Should I actually be using a different one for every site? Roberta Bragg, a security consultant, posts a knowledgebase reply that says she knows of no research that shows this increases user safety. On the website administrator side, she says that allowing users to change their usernames after initial registration can be an administrative burden and can actually create a security hole. For an example of the havoc that changing a username can cause, check out Episode 4 at TheWebSiteIsDown (warning NSFW).

Nearly all websites require a username and password combination to access system resources. Websites that use this access protocol require that usernames be unique, but do not require that passwords be unique. Usernames are often made widely available, so that users can contact each other for instance. Thus, I feel safe not changing the username I use to log on to my bank’s website.

Since usernames are widely available, access security is maintained as long as a malicious user cannot easily guess or uncover the password associated with a specific username, or guess or uncover the username(s) associated with a specific password.

Creating secure passwords

Let us assume that a malicious user has obtained a list of all usernames to a system but does not have a list of the corresponding passwords for those users. What can the malicious user do to try to breach the system? What can the system administrator do to mitigate this threat? And what can users do the reduce the threat that they will be the victim of an access breach?

The first thing that a malicious user will do is try different passwords with each username. A brute-force attack would use every possible combination of characters up to the length limit allowed by the website administrator. This would be extremely inefficient.

An excellent best practices paper from Hitachi shows how increasing the size of the character set and length of the password increases the number of possible passwords, making a brute-force attack more difficult. Assuming that passwords are randomly selected (which is not true), this is also the size of the search space for a brute force attack.

Character set (size)*5678910
0-9  (10)1.00E+051.00E+061.00E+071.00E+081.00E+091.00E+10
a-z  (26)1.19E+073.09E+088.03E+092.09E+115.43E+121.41E+14
a-z, 0-9  (36)6.05E+072.18E+097.84E+102.82E+121.02E+143.66E+15
a-z, A-Z  (52)3.80E+081.98E+101.03E+125.35E+132.78E+151.45E+17
a-z ,A-Z, 0-9  (62)9.16E+085.68E+103.52E+122.18E+141.35E+168.39E+17
a-z, A-Z, 0-9, symbols  (94)7.34E+096.90E+116.48E+136.10E+155.73E+175.39E+19
Table 1. Size of search space based on password character set size and password length

*Number of characters in the set

A much faster method of finding passwords is to obtain a list of common passwords and a rank order of their popularity. This will allow what is called a dictionary attack where each popular password is tried with each username until a correct guess is made.

So how efficient would a dictionary attack be? The data security firm Imperva has published a white paper that provides some statistics on popular passwords. The report is based on an analysis of 32 million passwords that were exposed by a breach of RockYou, a social media site. A dictionary attack using just the single most popular password among RockYou users (123456) would provide access to nearly 1% of accounts. The top 400 passwords would provide access to about 7% of all accounts, while the top 5,000 passwords would yield about 20% of all accounts. The top ten most popular passwords are shown in the table below. (For the moment, we will ignore the question of why RockYou was storing customer passwords in plaintext format.)

RankPasswordNumber of users (cumulative frequency)
1123456290,731 (0.90%)
21234579,078 (1.14%)
312345678976,790 (1.38%)
4Password61,958 (1.57%)
5iloveyou51,622 (1.73%)
6princess35,231 (1.84%)
7rockyou22,588 (1.91%)
8123456721,726 (1.98%)
91234567820,553 (2.04%)
10abc12317,542 (2.10%)
Table 2. The top ten passwords

According to Imperva, almost all of the top 5,000 most popular passwords were “trivial”. That is, they were names, words, consecutive digits or letters, adjacent keyboard keys, or common phrases. Beyond a dictionary attack, a password guessing algorithm can be expanded by combining a root with a prefix or suffix, or creating a text corpus from the user’s hard drive. These techniques are described in The Guardian Nov 2008.

Notice in the table above that the password 123456 is about three times more popular than 12345. I’m guessing RockYou users know that 5 characters is the minimum length password and so just to be safe choose a 6 character password. Yeah, that will stop those malicious hackers.

So what is a strong password? Microsoft has a TechNet article that suggests a strong password has the following characteristics.

  1. Is at least seven characters long
  2. Does not contain trivial patterns (username, proper names, dictionary words, etc.)
  3. Contains characters from each of the following four groups: uppercase letters, lowercase letters, numerals, and symbols

Note that your responses to the secret question that resets a password should have the same characteristics as above. Your secret pet’s name should not be “fluffy”, your secret high school should not be “jefferson”, and your mother’s maiden name should not be “smith”.

Most people have seen or heard of these recommendation. But many don’t follow them. First some good news (of sorts). The Imperva study shows that among RockYou users, 70% used a password that was 7 characters or longer. Only 4% used a password 5 characters long (the minimum allowed) while 26% used a password 6 characters long. Now for the bad news. Nearly 60% of passwords contain only lower case letters, only upper case letters, or only numerals. Only 3.8% of passwords contain any symbol characters and only 0.2% of password met the requirement of being 8 characters or longer and contain a mix of all four character types.

Changing passwords periodically

A separate Microsoft TechNet article provides the following best practices recommendations:

  1. Always use strong passwords (see above)
  2. Passwords may be written down on a piece of paper, but store the paper in a secure place and destroy it when it is no longer needed
  3. Never share passwords with anyone
  4. Use a different password for each user account (and make each significantly different). Passwords that increment (Password1, Password2, Password3 …) are not strong
  5. Change passwords immediately if they may have been compromised

Note that there is no suggestion to change a password on a regular basis. And yet that is a common requirement for many websites and to log into a computer. The Hitachi best practices paper recommends setting a password expiration policy such that it is shorter than the amount of time for a brute force attack to succeed. This means as computers get faster, we will need to change passwords more frequently. An entry in DailyBlogTips also recommends regularly changing passwords.

However, others disagree. At the end of an entry in Eric Wolfram’s blog, there is a comment from Tim McNerney that argues that users should never be required to change passwords. His logic is that users forced to regularly change their password will pick passwords that of lower quality than if they were only required to create it once. He also says that assuming the malicious hacker is not using the brute force method to break the password, it will take much less time than a reasonable expiration policy period to compromise the system. This same logic is expressed by Daniel Wesemann in a Nov 2009 blog post. Changing passwords regularly does not prevent a breach.

What website administrators can do

Historically, website administrators created rules for the construction of passwords that were based on length and character set used. But as we have seen above, they do not do a good job of protecting the user. An article in the Tech. Rev. Jul 2010 provides a good summary of a paper to be published at USENIX authored by Stuart Schechter et al. to reduce the risk of a dictionary attack by having the website owner ensure that no more than N users have the same password. The test works by using a hash filter called a count-min sketch. By replacing password creation rules with a popularity limit, presumably users will be able to create more memorable passwords without the risk of accidentally creating a password that is vulnerable to a dictionary attack.

The Tech. Rev. article also describes another paper that examines the password policies of 75 websites. The results are quite counterintuitive.

We find that none of the factors that might require greater security seems a factor. The size of the site, the number of user accounts, the value of the resources protected, and the frequency of non-strength related attacks all correlate very poorly with the strength required by the site. Some of the largest, highest value and most attacked sites on the Internet such as PayPal, Amazon and Fidelity Investments allow relatively weak passwords. We also examine several factors unrelated to security. We find that sites that accept advertising, purchase adwords, have a revenue opportunity per login, or where the user has choice, tend to have less restrictive policies.

Our analysis suggests that strong-policy sites do not have greater security needs. Rather, it appears that they are better insulated from the consequences of imposing poor usability decisions on their users. For commercial retailers like Amazon, and advertising supported sites like Facebook, every login event is a revenue opportunity. Anything that interferes with usability affects the business directly. At government sites and universities every login event is, at best, neutral, or, at worst, a cost. The consequences of poor usability decisions are less direct. That simple difference in incentives turns out to be a better predictor of password policy than any security requirement. This in turn suggests that some of stronger policies are needlessly complex: they cause considerable inconvenience for negligible security improvement.

The description above explains why my bank warns me that I should change my username and password, but doesn’t actually force me to do anything. They want to be helpful, but don’t want to lose me as a customer.

* * * *

[Update: For more on website security, see this Nov 2010 blog post.]

Two examples the new Facebook Questions widget showing related other user questions below the text edit box. Images from Facebook

by George Taniwaki

Facebook has a new application (or widget) currently in beta release called Questions that allows users to post questions and wait for another user to answer it. The questions are categorized into groups and users are shown questions that other people who have similar interests have answered. If you know anything about search and recommendation you realize that Facebook is trying to solve two really hard computing problems simultaneously.

First, how do you categorize the questions? What keywords and contexts do you use? For instance, what weight do you give to the interests of the person asking the question? And how do you categorize those interests? What weight do you give to the length of the question? How do you handle misspelled words? Do you give any weight to the fact that any words are misspelled?

Second, how do you decide which questions to show which user? Should you predict if the potential answerer is actually qualified to answer the question? Is it more important to generate lots of responses or to get the correct response quickly? Or is it actually more important to entertain users with a stream of interesting questions, regardless of whether they answer them? (This would be really hard to predict since Facebook will never get any feedback from users regarding the question they don’t answer.)

Community run Q&A sites are not new. Yahoo! Answers and Answers.com have both been around for years and are quite popular. However, I believe that most of the answers are written by a small group of dedicated users who vie for points and recognition. Facebook’s goal is to engage the entire community, since the longer you stay at their site, the more likely you are to click on some ads.

Anyway, I show two screenshots at the top of this blog post. This may violate some promise I made to Facebook. The widget appears in the right column under the Sponsored links widget. Notice how many of the questions seem to be factual and could be more quickly (and correctly) answered using standard web-based research skills.

If you click on a question in Questions, you will taken to a page showing all the responses for that question. You can then vote yea or nay for any response. The example below shows how introspective Facebook users are.

Question responses. Image from Facebook

Finally, if you click on the Asked about link, you will see a list of all the questions related to that category. Notice the example below for the category “Roots”. As I mentioned above, categorizing questions is tough. And was this question really asked by that Kristin Bell?

Category detail. Image from Facebook

Image from Left-HandedToons.com

by George Taniwaki

I’m not exactly sure how I ended up finding this great example of solving a topological problem. In May, The Consumerist reported that after three years of protest, Subway will stop the madness of unnecessary dairy overlap and require employees to flip half of the cheese slices to improve the coverage and taste of its sandwiches. Really, where else would you ever see the words “tessellate” and “cheese” in the same sentence?

You just got flickrolled. Image by boyshapedbox

by George Taniwaki

The graphic at the top of this blog entry is a couple of years old, but I just saw it and had to laugh. Not just laugh, but ROTFLMAOWPIMP. For those of you who don’t get it, you have to go back to an Internet meme called rickroll. Basically, the idea is to create a hyperlink that claims to link to something relevant, but actually redirects the web browser to the music video of a Rick Astley song “Never Gonna Give You Up.” A story in the New York Times Mar 2008 explains how rickroll is a descendent of duckroll.

OK, enough background. To get the full effect of the chart, you first have to queue up “Never Gonna Give You Up” so that it is playing. Now sing along while you read the legend of the chart. Unfortunately, the pie chart is missing the actual data, but the estimates seem right.

Note that the effect is ruined if you accidentally queue up the Nirvana remix of the song entitled, “Never Gonna Give Your Teen Spirit Up”. And it makes no sense at all if you queue up Lisa Stansfield’s rendition of the Barry White classic “Never, Never Gonna Give You Up” instead.

Check out the other song chart memes posted on Flickr by the friends of boyshapedbox. I guess I’m a social outcast. I understand fewer than half of the song references in these charts. Oh, and here’s the relevant link you must click.

Effect of lithium on ALS. Image from PatientsLikeMe

by George Taniwaki

An interesting story in Tech. Rev. May 2010 describes how a social media site called PatientsLikeMe can be used to quickly run clinical trials at low-cost. PLM is a free site where patients can record their daily health status, find other patients with similar conditions, and share ideas. Knowing that you are not alone and getting support from others like yourself are very powerful forces when dealing with complex and serious medical conditions.

On the flip side, PatientsLikeMe’s operating costs are paid for by healthcare companies that get access to anonymized patient data and permission-based access to the members. Clinicians can recruit volunteers, run clinical trials with them, and compare the outcomes between those that volunteered and those that did not. The results will not meet the standards for a double-blind study, but the ability to compare the attributes of participants and nonparticipants to control for bias is something that is very difficult to do in a typical study. One result reported in 2008 using PatientsLikeMe data showed that generic lithium was not effective at treating amyotrophic lateral sclerosis (ALS). The results appear to refute the conclusions of a study that had been published in Proceed Nat. Acad. Sci. Feb 2008. The PLM data is compelling, but there is a whole list of caveats that need to be considered.

Researchers can also present their results to the community as well as engage with members to consider fruitful areas for future research.

Like most healthcare websites, PatientsLikeMe has a privacy policy. But what makes PatientsLikeMe different, is it has an openness philosophy. Part of it reads,

Currently, most healthcare data is inaccessible due to privacy regulations or proprietary tactics. As a result, research is slowed, and the development of breakthrough treatments takes decades. Patients also can’t get the information they need to make important treatment decisions. But it doesn’t have to be that way. When you and thousands like you share your data, you open up the healthcare system. You learn what’s working for others. You improve your dialogue with your doctors. Best of all, you help bring better treatments to market in record time.

PatientsLikeMe currently has communities devoted to a range of common diseases including ALS, epilepsy, HIV/AIDS, multiple sclerosis, and Parkinson’s disease. It also has communities for several rare diseases I am unfamiliar with, like progressive supranuclear palsy. In March, PatientsLikeMe joined with Novartis to announce a community for organ transplant patients. I just joined the organ transplant community, registering as a community member rather than as a patient (there isn’t an option to join as a live organ donor). There are already 1,429 members in the community. I plan to track the site and will report any interesting findings in future blog posts.