Exploiting Facebook traffic in the passive environment to obtain specific information

Open PDF
Creating agency: GCHQ Government Communications Headquarters (UK)
Document date: -
Pages: 6
Genre: slides
Banner:
Classification: TOP SECRET SI
Dissemination: REL FVEY

A GCHQ Global Telecommunications Exploitation presentation on extracting information about Facebook users from passively collected traffic: why online social networks are a rich source, how Facebook's use of the Akamai content delivery network exposes a user's ID inside image URLs, and how profile and album images are then obtained through SPRING BISHOP, GODFATHER and JTRIG.

Long Description:
No extended description available.
Programs:
GTE, SPRINGBISHOP, JTRIG, GODFATHER

People mentioned:
-

Countries:
-

Tags:
Facebook, social networks, passive collection, Akamai, content delivery network, HTTP, profile images, target discovery, pattern-of-life

Identifier:
exploiting-facebook-traffic-in-the-passive-environment-to-obtain-speci

PDF SHA-256:
f5240debacb6b14f6e061c93363d2d56b4d1465710569b8b817ebcf8c1a20cae

TOP SECRET//SI//REL FVEY

GCHQ GTE

Exploiting Facebook traffic in the passive environment to obtain specific information

[REDACTED] Capability Developer
Global Telecommunications Exploitation (GTE)
GCHQ

TOP SECRET//SI//REL FVEY
This information is exempt from disclosure under the Freedom of Information Act 2000 and may be subject to exemption under other UK information legislation. Refer disclosure requests to GCHQ [REDACTED]


TOP SECRET//SI//REL FVEY

GCHQ GTE

Why OSNs?

  • Targets increasing usage of Facebook, BEBO, MySpace etc.
  • A very rich source of information on targets:
    • Personal details
    • 'Pattern of Life'
    • Connections to associates
    • Media

TOP SECRET//SI//REL FVEY
This information is exempt from disclosure under the Freedom of Information Act 2000 and may be subject to exemption under other UK information legislation. Refer disclosure requests to GCHQ on [REDACTED]


TOP SECRET//SI//REL FVEY

GCHQ GTE

Looking to the Passive Environment

  • Many targets on Facebook lock down their profiles, so it is not possible to view all of their information...

But passive offers the opportunity to collect this information by exploiting inherent weaknesses in Facebook's security model.

TOP SECRET//SI//REL FVEY
This information is exempt from disclosure under the Freedom of Information Act 2000 and may be subject to exemption under other UK information legislation. Refer disclosure requests to GCHQ on [REDACTED]


TOP SECRET//SI//REL FVEY

GCHQ GTE

Facebook's use of the Akamai CDN

Username/Password Authentication

Users
HTML
HTTP Request for Image
Mobile/Desktop Web-browser or Facebook Client
Images

Akamai
Facebook Content Delivery Network (CDN) Servers
Profile images, album images..

Core Facebook Servers

Facebook Content Delivery Network (CDN) Servers
Profile images, album images...

TOP SECRET//SI//REL FVEY
This information is exempt from disclosure under the Freedom of Information Act 2000 and may be subject to exemption under other UK [REDACTED]


TOP SECRET//SI//REL FVEY

GCHQ GTE

Exploiting the FB CDN

  • Weaknesses
    • Assumed Authentication
    • Security through obscurity

It is possible to dissect the CDN URL's generated by Facebook in order to extract the Facebook User ID of the user whose picture the file pertains to. For example, below is a typical profile image URL:

http://profile.ak.fbcdn.net/hprofile-ak-sf2p/hs621.snc3/27353[REDACTED]_2215_q.jpg

The text highlighted in green specifically relates to the specific server within Facebooks CDN. And the text highlighted in yellow is the users Facebook User ID.

TOP SECRET//SI//REL FVEY
This information is exempt from disclosure under the Freedom of Information Act 2000 and may be subject to exemption under other UK information legislation. Refer disclosure requests to GCHQ on [REDACTED]


TOP SECRET//SI//REL FVEY

GCHQ GTE

Obtaining profile and album images

Target
Mobile/Desktop Web-browser or Facebook Client

HTTP GET Request for Profile Image
01010
01011

Passive Collection

Akamai

Request Profile Image
Profile Image of Target

GCHQ

URL pointing to targets Facebook Profile Image

SPRING
BISHOP

Godfather

JTRIG

Analyst

TOP SECRET//SI//REL FVEY
This information is exempt from disclosure under the Freedom of Information Act 2000 and may be subject to exemption under other UK information legislation. Refer disclosure requests to GCHQ on [REDACTED]

Archive note: Extracted from pages 82-87 of the compilation “Documents from No Place to Hide”, which the archive keeps only as a source file — see the publication entry for the release.