Video Screencast Help
Symantec to Separate Into Two Focused, Industry-Leading Technology Companies. Learn more.
Security Community Blog

Facebook Scams Actively using Open Graph protocol

Created: 20 Aug 2012 • Updated: 15 Jan 2013
abhinav_singh's picture
+2 2 Votes
Login to vote

The Graph API presents a simple, consistent view of the Facebook social graph, uniformly representing objects in the graph (e.g., people, photos, events, and pages) and the connections between them (e.g., friend relationships, shared content, and photo tags). Every object in the social graph has a unique ID. You can access the properties of an object by requesting.

For example, profile picture can be accessed using the graph API in the following manner:

Profile pictures: http://graph.facebook.com/jack.jill.7906932/picture

Similarly, by directly calling the graph protocol for any profile, we can access the information of any user.

Eg: http://graph.facebook.com/jack.jill.7906932

Visiting the above mentioned URL reveals the following information:

{

   "id": "100002111319352",

   "name": "Jack Jill",

   "first_name": "Jack",

   "last_name": "Jill",

   "link": "http://www.facebook.com/jack.jill.7906932",

   "username": "jack.jill.7906932",

   "gender": "female",

   "locale": "en_US"

}

The same URL pattern works for all objects in the graph:

Scammers are actively using the Graph API to make their scams look more realistic. For example, one of the most actively flowing scam on Facebook is “Who is viewing your profile.”

On viewing the source of the scam we can figure out that it is using an array to store different graph API URLs that consists of profile pictures. The only restriction that is imposed while loading these URLs is that we shall have an active facebook session to call these URLs.

Further the scam uses a randomization script to  select different URLs from the array and display it on the scam page.

var i = Math.floor(10*Math.random());

;document.write('<img src="' + img_rnd[i] + '" alt="" />');

The scam further uses affiliate networks and asks the users to fill fake scams before they can proceed with the application. Scams using Open graph protocol are not new, but they have not vanished either.

Blog Entry Filed Under: