Poking into Facebook security
Posted on 4 Feb 2010 at 11:32
Davey Winder wonders if it's time Facebook adopted Apple's approval process for apps
Hacked Facebook apps are being used by Russian cybercrime gangs to peddle rogue antivirus software, part of an ever-increasing trend towards scareware-based schemes for raking in the cash. It should be noted that the applications’ developers are victims here too, leaving aside the fact that they left the loopholes that let the bad guys inject code.
These Facebook applications are web-hosted: when you add an app, you’re using Facebook’s servers to link to a third-party site hosting that app. What’s been happening is that the app has an extra iframe injected, which shows you a fake licensing frame, and when you accept the terms it points you to a Russian scam site that displays those “your site is infected” pop-ups – complete with a “click here to protect your computer” link.
At the time of writing, AVG has found eight such compromised applications, and you can view the complete list at the Thompson site. My advice, though, is don’t use Facebook applications – full stop.
Although this latest scare isn’t a matter of deliberately malicious applications, but rather a vulnerability being exploited in innocent apps, I can’t help but wonder whether an Apple-like approval process might not be a more secure route for Facebook to take. Despite there being more than 70,000 different iPhone apps available, and iPhone users having downloaded them more than 2 billion times, I don’t recall reading many security scare stories relating to iPhone apps.
I can’t help but wonder whether an Apple-like approval process might not be a more secure route for Facebook to take
In fact, I’ve not been made aware of a single one (if you discount pirated and hacked apps for jailbroken iPhones), and that’s pretty remarkable considering the tempting herd of newbies that the iPhone exposes to the bad guys. I suspect the reason is that Apple locks down iPhone app development pretty tightly, or to be more precise it locks down iPhone app distribution pretty tightly, courtesy of the App Store approval process.
All applications have to be signed by their developer and all are reviewed before being approved for distribution – the depth of that review isn’t revealed by Apple, but given that there have been no exploits of these apps so far, I imagine that some degree of server-side checking must take place for web-enabled applications. The majority of iPhone apps are “code static”, and so the Facebook iframe injection exploit doesn’t work with them.
At this point I should declare that I’m not an iPhone app developer and am more than happy to hear (in confidence, off the record, nudge nudge wink wink, by email) from any readers who are and who feel like sharing. However, my point is that whatever Apple is doing, and whatever Apple iPhone app developers are doing, it seems to be working.
The other point is that some checking is better than no checking, and to allow applications to be released to the public with no vetting at all is pretty dangerous when you’re dealing with social networks that have a ready-made audience ripe for exploitation. At the very least I’d like to see Facebook application developers required to disclose their identity and sign a contractually binding agreement in order to become an authorised developer.
Download a year of Davey Winder's Online Security columns by heading to our Free Downloads site
From around the web
Apple not quite so safe
There have been problem applications for apple (http://www.eweek.com/c/a/Security/Apple-iPhone-Ap
p-Security-in-Spotlight-at-Black-Hat-398696/).
Apple have always pulled applications they are not happy with (and plenty of good applications to). Facebook also have the ability to disable applications they are not happy with as each application requires an API key.
I have developed an application for facebook (called Fonebook its a windows application) and I think the level of security is pretty good. There are lots of information that you can't get access to (such as phone numbers and e-mail addresses of friends - apple give you access to this information). And facebook do vet application (as part of the submission process) in a similar manner to apple.
To say iPhone applications are code static is frankly wrong see here for an example of an app allowing downloadable content: http://www.pocketgamer.biz/r/PG.Biz/Pocket+God/new
s.asp?c=17078
Yes apple hasn't been targeted as much as facebook but that could be down to the number of uses (the same reason windows is attacked more than linux) Facebook has 350million users (http://www.facebook.com/press/info.php?statistics
) and whilst I'm struggling to find the accurate number of iphone users this article http://www.pcworld.com/article/163671/ipod_touch_i
phone_sales_total_37_million_units.html would suggest the are maybe up to 50 million.
Ross
By RossD on 5 Feb 2010 ![]()
Davey Winder
Davey is a contributing editor to PC Pro, having covered the internet as a topic since the magazine started in 1994. Since that time he's won numerous awards for his journalism, but remains a small-business consultant specialising in privacy, security and usability issues.
advertisement
- Why you have to be left in the dark on OS patches
- Is Microsoft mismanaging Windows on ARM?
- Dealing with spam surrogates
- Why 3G broadband can be better and cheaper than ADSL
- Is Twitter bad for business?
- Publishing your email address isn't a security disaster
- Why you'll need a fax machine to develop iOS apps
- Learning to adapt to the mobile web
- Why you shouldn't use WPS on your Wi-Fi network
- Disabled users suffer when software breaks the rules
- Laptop bag reviews: nine tested
- Sony VAIO T Series Ultrabook review: first look
- Revealed: the military standards and robots HP uses to test its laptops
- Windows 8: multi-monitors and double standards?
- Why is TalkTalk's year-old porn filter suddenly big news?
- Why are laptop screens so far behind mobiles?
- HP EliteBook Folio review: first look
- The shoebox-sized all-in-one printer
- Forget the Ultrabook: here comes the HP Sleekbook
- HP Spectre XT review: first look
- Autonomy's Lynch joins 27,000 on way out of HP
- ICO: no fines for breaking cookie rules
- HP set to slash up to 30,000 jobs
- Government sites to miss cookie deadline
- Microsoft tweaks multi-monitor support in Windows 8
- Apple patches Leopard, despite ending support last year
- Defra opens rural broadband funding applications
- BT's broadband sales surpass calls revenue
- Apple patches multiple security issues
- FBI warns travellers to beware attacks via hotel Wi-Fi
advertisement
