Showing posts with label Open Source. Show all posts
Showing posts with label Open Source. Show all posts

Thursday, September 23, 2010

Diaspora - Social Networking startup learns security no easy task

Diaspora is the brainchild of four new York University students. Earlier this year they announced their plan to create a privacy respecting Facebook clone and tried to raise a modest $10,000. They were inundated with over $200,000 in donations.

Dan Goodin reports at the Register that Diaspora has released pre-Alpha code for it's open source version of Facebook. Pre-Alpha code is code that has been written and may perform the basic functions intended, but has not been tested. It may (and probably will) have major bugs and flaws that will have to be found and fixed before final release. And Diaspora's initial code definitely has flaws. Dan reports that Patrick Mckensie, a software developer, has found major security holes:

“The bottom line is currently there is nothing that you cannot do to someone's Diaspora account, absolutely nothing,” said Patrick McKenzie, owner of Bingo Card Creator, a software company in Ogaki, Japan.

“About the only thing I haven't been able to do yet is to compromise the security of the server that Diaspora is installed on. That's not because that isn't possible. If a professional security researcher goes after this, I have every confidence that they will be able to do that.”

That's pretty extreme, even for pre-alpha code. But the good news is that the project is open source, so there are more eyes on the code than just the initial programmers. So the odds that the errors will be fixed is pretty good. But there's also bad news. Mackenzie participates in the projects email list, and has seen people trying to get Diaspora sites running, despite the programmers clearly stating it's not ready for the real world yet. He's concerned they're going to be burned very badly because they don't understand the problems.

Diaspora is a good idea. Since the first boy asked the first girl to watch the stars with him, people have been social without revealing everything about themselves to everybody. Facebook ignores that history, claiming that it is only giving people what they want - despite public outcry everytime privacy controls are opened up. People use Facebook for a number of reasons, one being that despite it's flaws, it's the best game in town. It could use some real competition, but Diaspora has an uphill battle both because of it's code problems and the fact it's set it's sites on the Goliath of social networking. Only this Goliath is the size of the Empire State Building, and the David that is Diaspora is smaller than an ant.

Good luck, Diaspora.

Monday, April 5, 2010

Linux: As vulnerable as Windows?

Before any Linux users burn me in effigy, please read a little further. Enterprise Linux is rock solid and as secure as anything out there - and more secure than most. But how secure is desktop Linux?

Before answering that, perhaps we should think about why Linux in the Enterprise is so secure. Actually, we don't have to think about it because Fewt of the Fewt blog already has. And the conclusion he has come to is that the things that make installing and using desktop Linux so user friendly are exactly the things that make it insecure.

I'm ashamed to admit that I've never considered that the changes made to make desktop Linux simpler to install and run than enterprise Linux could create security risks. For instance, creating a single partition instead of having different partitions for different directories removes one of the security features of enterprise Linux. Fewt says it much better than I can:
With a Desktop Linux system, non enterprise savvy users are given the keys to a wide open platform and nothing protects them from the elements. We as a community have falsely sold our users that this platform inherits the security capabilities that you find within Enterprise Linux, we just aren't telling them the whole story.

By default, every single Desktop Linux system I have reviewed or tested fails in every possible way. None of the measures normally applied to protect Enterprise Linux systems are present to reduce risk of vulnerability. In addition those enterprise controls must be altered slightly as the use case is so greatly different than that of an Enterprise Linux deployment.

Are you using desktop Linux? Do you have the know-how to secure it, and if you do, have you? If you've convinced friends to run Linux, have you secured their systems for them?

Fewt doesn't just bemoan the fact that desktop Linux is not secure. He points users who want to secure their systems to resources to help them do exactly that:

https://help.ubuntu.com/community/Security
http://www.nsa.gov/ia/_files/os/redhat/rhel5-guide-i731.pdf
http://people.redhat.com/sgrubb/files/hardening-rhel5.pdf
http://ubuntuforums.org/showthread.php?t=510812

He then offers the advice that if you find the information at any of those links too complicated you should stop using linux. He's not being snobbish or suggesting you have to be a Linux administrator to secure Linux. He's saying that if you're not comfortable taking the steps needed to protect your data - and perhaps your reputation - you should use an operating system that protects you while staying in your comfort zone.

If you are a user or a fan of desktop Linux I suggest you check out fewts blog entry and the links he gives to help you secure your desktop. He gives a very clear, very informative case for desktop Linux's insecurity.

In any security situation you're only as secure as the weakest point. Often that's the users password. In desktop Linux it looks like the OS itself may be the weak point. There are already enough weak links in any OS without opening the lock and throwing open the gate for the bad guys.

Tuesday, March 30, 2010

Apple sprays for worms

In my inbox today I had an email from Apple detailing over 80 vulnerabilities plugged in their latest OS update - OSX 10.6.3. Included in the details are the people who reported the various vulnerabilities. It fixes everything from a bug that allows a Mac to be hijacked when a user performs a spell check to the Apache web server built into OS X. This is a large update, and it really covers a lot of stuff. If you want to learn more, you can check out Apple's page on it.

Apple also released a security update for Leopard (10.5).

If you have a Mac running OS X Leopard (10.5) or Snow Leopard (10.6) you can get the updates through Software Update (either automatically or under the Apple menu) or the Apple download page.

Wednesday, March 10, 2010

United States national worker ID card

From Laura Meckler at the Wall Street Journal:
"Lawmakers working to craft a new comprehensive immigration bill have settled on a way to prevent employers from hiring illegal immigrants: a national biometric identification card all American workers would eventually be required to obtain."

Really neat idea, except that it won't work. It won't even be an improvement on the current method. People paying illegals cash under the table will continue to do so. This ID card won't do anything to change that. It will give the government increasing ability to monitor law-abiding citizens without doing anything to affect the problem it's supposed to solve.

While this should be self evident, Senator Chuck Schumer (D., N.Y.) obviously thinks that biometrics are magically going to force all employers to check employees eligibility and pay by traceable means that make it necessary for all employees to be legal. He actually believes that requiring a biometric card is more effective than requiring a Social Security Card. Talking about illegal immigration he says,  "If you say they can't get a job when they come here, you'll stop it."  The only problem is, we say that now, and it's patently a lie.

Of course, not everyone thinks a national employee ID is a bad thing. The Christian Science Monitor is very much a believer in a national employee ID. In an editorial entitled "Immigration reform rests on a national worker ID" the CSM editorial board states:
"Obama could quickly reduce the nation’s high jobless rate with passage of a law requiring legal residents and Americans, even teenagers, to obtain a federal ID as legal workers. Migrants working outside the law would then be forced to come clean on their illegal activity, leave the country, and perhaps properly apply for a US visa – as millions of law-abiding people do around the world who wait years to enter the US.

To reach full employment, Obama needs to create about 8 million jobs – or nearly the number of illegal immigrants in the US."

I have two problems with that quote. The first regards illegal workers having to come clean. Why? What is this ID going to do that will force illegal workers (or their employers) to suddenly 'fess up? Even assuming most illegals bother with forged or stolen Social Security numbers, what's to keep employers from paying in cash and misreporting their number of employees anyway? Admittedly, if you're paying more than two or three employee’s cash can be problematic.

The other is the figure of 8 million illegals. That may be the suspected or deduced number, but it is impossible to prove. Even if it's correct, to say that all 8 million are working is a stretch.

On Foxnews.com, Alex Nowrasteh's article, "5 Reasons Why America Should Steer Clear of a National ID Card" gives a very clear, thought out explanation of the problems inherent in a national ID card. Briefly, they are:
1. Workers would have to ask the Federal Government before getting a job.

2. National ID's are perfect for controlling citizens movements: "Your papers, please."

3. The system will accidentally exclude millions of legal workers and fail to catch the majority of illegal ones.

4. The scanners are up to $800 - or employers can make a trip down to the local DMV to check their workers ID.

5. Law abiding citizens are treated like criminals - we will have to divulge information that the government cannot require of us now because we are not criminals. (That's the biometric data, in case you're wondering).

There is one way the national employee ID card would work. It would require a fundamental change in the way we live, not to mention being a harbinger of the end times. If we move to an entirely electronic economy we get rid of all but an insignificant amount of illegal alien employees. If we go to an entirely electronic economy and make your biometric employee ID your bankcard, too, then the only way to buy anything is with your employee ID card. It can be tied to your credit cards, debit cards, and all of your accounts. Utilities, insurance, gym memberships, all pulled from your national employee ID card. It would solve so many problems. It would be much harder for illegal aliens to find employment, it would encourage employers to hire U.S. citizens or legal aliens, and it would give the government what it wants - a way to track all citizens at all times. All you have to do is surrender your privacy and freedom.

Thursday, January 28, 2010

TOR cracked to catch child pornographers

Tuesday I wrote about TOR, The Onion Router. Wednesday in ZDNets "Zero Day" blog I read about a TOR server patch written for the purpose of catching child pornographers. Not just to the geographic location they are operating from, but to the computer they are working at. A worthy endeavor. But since the author, HD Moore of Metasploit fame, is releasing the source code, modified versions of the patch can be created to track anyone using TOR. This means TOR as a standalone item has become useless for protecting people who need protecting, i.e. human rights activists in oppressive countries, journalists and police under cover, and anyone with a legitimate need to keep their location hidden.

Moore (arguably) had good reason to do this. In Germany, at least, TOR is being heavily used, or is suspected of being heavily used, to traffic in child pornography, and the German authorities have been cracking down on TOR servers. But is the possible benefit in one admittedly important area worth the cost in several other important areas?

But there is an alternative the the TOR package by itself. It is also cross platform, and free. It will run on Intel Macs, Windows, and Linux. It is called JanusVM and runs in a virtual machine. It plugs the holes used by Moore's patch, and keeps your location obscured. From the Janus website:
JanusVM is powered by VMware, built on the Linux 2.6.14 kernel, and brings together openVPN, Squid, Privoxy, and Tor, to give you a transparent layer of security and privacy that is compatible with all your TCP based applications. DNS request are also passed through Tor so even your ISP doesn't know what web site you are looking at.

JanusVM is free, cross platform, and can take a little more setup than the basic TOR package, depending on how your network is setup. But if you need anonymity online, it's the best thing going now.