Facebook privacy loophole allows cloaked spies among us

Facebook privacy loophole allows cloaked spies among us. (IMG:J.Anderson)

Shah Mahmood and Yvo Desmedt, from University College London, told attendees at the IEEE International Workshop on Security and Social Networking on Monday, that they’ve discovered a privacy loophole – not a vulnerability – which allows an attacker to monitor a person over time in complete stealth. In fact, such a loophole is perfect for social engineering and Phishing attacks. [See Update at the bottom of this story, 3-22-2012]

“We call this the deactivated friend attack. The concept of the attack is very similar to cloaking in Star Trek while its seriousness could be estimated from the fact that once the attacker is a friend of the victim, it is highly probable the attacker has indefinite access to the victims private information in a cloaked way,” the researchers note.

This loophole – and it’s important that this is how it is viewed as it isn’t a vulnerability – is made possible by the fact that Facebook has never limited the number of times a person can deactivate and reactivate their account.

One of the longest running privacy-related issues on the social networking giant’s website is the fact that if a person deletes their account, the data related to that account remains. So, should the person ever return, account reactivation restores it to the state it was in the day it was turned off.

Once the attacker has gained the victim’s trust, which is earned simply by them accepting a friend request, the privacy loophole is immediately available. This is because once someone is added to a friends list on Facebook, if that person deactivates their profile, it is impossible to remove them. With cloaking enabled, they will not appear with the other friends on a given person’s list.

“With targeted friend requests we were able to add over 4300 users and maintain access to their Facebook profile information for at least 261 days. No user was able to un-friend us during this time due to cloaking and short de-cloaking sessions. The short de-cloaking sessions were enough to get updates about the victims,” Mahmood said.

The attack is very serious for several reasons, explains the paper on the topic. “First, it is very hard to detect this attack.”

“The attacker can activate her account at the moment least likely to be detected and crawl her victim’s profile for information, keeping an updated record. Various groups of information aggregators including marketers, background checking agencies, governments, hackers, spammers, stalkers and criminals would find this attractive as a permanent back door to the private information of a Facebook user, once befriended.”

After that there is the issue of security settings. Users who adjust their privacy settings cannot apply them to someone on their friends list who is cloaked. The only way around this is to apply privacy settings to all friends, or lists where the cloaked attacker was previously assigned. Given that the cloaked friend is always missing from the list of friends, person by person privacy settings will have no effect.

“Thirdly, when the attacker can closely monitor a few users on Facebook, they can get a deeper insight into a large network. The attacker could be a cloaked spy monitoring and analyzing them,” the paper explains.

“Facebook recently added the feature of browsing friendships. This would help the attacker in analyzing the bond between two of his victims by browsing their friendship, which provides information including the month and year since when they are Facebook friends, the events they both attended, their mutual friends, things they both like, their photos, the messages they wrote on each others wall, etc. This would give a very deep insight about the level of their relationship, the duration when they were more or less interactive, etc. This information could be used for several attacks including social engineering and social phishing attacks.”

In order to address the problem, users should be notified when a friend deactivates and reactivated their account, the researchers note. In addition, Facebook could flag and monitor accounts that are constantly cycled between a state of activation and deactivation.

Either option however, would mean changes to Facebook’s platform and backend, so it’s unknown if either option is viable.

Another change to Facebook that could help is actually displaying deactivated profiles that exist on a given friends list, with blurred profile images in order to make them stand out, and to allow privacy settings and list assignments to be applied to them along with others on the list. Finally, Facebook could offer permanent account deactivation, which is highly unlikely.

We’ve reached out to Facebook for comment, and will update the story if we hear back from them.

The research paper is here.



Facebook responded to our email. A spokesperson sent the following:

Earlier this week a team of security researchers described a theoretical flaw in our user interface; users have been previously unable to unfriend deactivated accounts. We quickly worked to resolve this issue, and were able to deploy a modification to our UI within 48 hours of receiving these reports.

While we appreciate all work done to help keep Facebook safe, we have several legitimate concerns about this research by the University College London. We were disappointed that this was not disclosed to us through our Responsible Disclosure Policy and was done in violation of our terms. We encourage all of the security community to make use of our White Hat program, which providers researchers tools and bug reporting channels.  In addition, as always, we encourage people to only connect with people they actually know and report any suspicious behavior they observe on the site.

Like this article? Please share on Facebook and give The Tech Herald a Like too!

From our Other Sites

Awesome Stuff Made Out Of Car Parts

An awesome picture has started doing the rounds showing a bathroom with sinks made out of car tires and faucets created from gas pumps. It’s the ideal bathroom for any discerning car nut. That got us thinking — what other stuff is there made out of car parts and car paraphernalia. Here are some of the coolest […]

Range Rover Evoque Convertible Confirmed

Land Rover has officially confirmed that the Range Rover Evoque Convertible will go on sale in 2016. The company released some publicity photos showing a prototype of the Evoque Convertible driving through train tunnels under construction in London. The company says use of the Crossrail tunnels let them test the convertible in privacy. A Land […]

Mercedes-AMG GT3 Racing Car to Debut at Geneva Motor Show

The company says the standard Mercedes-AMG GT already provides the ideal base for the race model, with low centre of gravity, good weight distribution and wide track width.The driver sits on a carbon-fibre seat pan and is protected by a roll-over cage made from high-tensile steel.The engine cover, doors, front wing, sidewalls, side skirts, diffuser, […]

Man Makes Tiny Edible Pancakes with Tiny Kitchen Tools (Video)

This Japanese guy cooks up some pancakes…nothing special there right? Well he uses tiny implements to do it and makes perfect little pancakes. Kinda cool and they look tasty!

What Color is this Dress?

White and Gold or Blue and Black?
Well this one has been trending all over the web, just what color is this dress? It all started in Scotland when the mother of a bride-to-be sent a picture to her daughter asking what she thought of the dress. The bride and groom each saw the image differently, this then got posted online and picked up by some viral sites. The lighting in the photo is probably causing different people to see it as either white and gold or blue and black. Prof Stephen Westland, chair of color science and technology at a university in the UK told the BBC that it was impossible to see what other people see but that it […]

McLaren 675LT Pictures

Some great shots of the forthcoming McLaren 675LT. This coupe will get you to 60mph in less than 2.9 second and go all the way to 205mph.

McLaren 675LT Details

McLaren’s 675LT will debut at this year’s Geneva show and promises some eye-popping performance. The coupe only 675LT has a 3.8 liter V8 that will get you from 0-60mph in less than 2.9 seconds and to 124mph in less than 7.9 secondsMore than a third of the parts have been changed compared with its stable mate […]

McLaren 675LT Wallpaper

Some cool McLaren 675LT Wallpaper. The McLaren 675LT is the latest coupe to come from the supercar maker and has a top speed of 205mph.Click on an image to open a page with multiple sizes that you can download to use as wallpaper for your mobile or desktop.More McLaren Wallpaper.

Octopus hunts on land, grabs crab (Video)

This crab is minding its own business searching the rock pools for food when suddenly an octopus leaps out of the water and grabs it. The amazing thing is that the octopus does not just jump on the crab it actually pulls it all the way back to the rock pool it came from. If you check the second video you will see it is not unknown for octopus to come out of the water and the one in the second video has a crab with it, though is not hunting one! Octopus Walks on Land at Fitzgerald Marine Reserve The video was taken by Porsche Indrisie in Yallingup, Western […]

Stunning Mars Rover Selfie

This image by the Curiosity Mars rover is not exactly your typical selfie. It is made up of a bunch of images taken by the rover during January 2015 by the Mars Hand Lens Imager. This (MAHLI) camera is at the end of the robot’s arm. For a sense of scale the rover’s wheels are about 20 inches diameter and 16 inches wide. Check the annotated image below for more information on the surroundings. Also if you really want to see some detail click this very large image, 36mb, at NASA.