hackpsu-2018

We made a tool to help you understand the breadth of data Facebook collects and stores on its users. Check it out!

How it Works

In the wake of recent news of data leakage on Facebook, a tool was created to allow you to download a dataset containing personal profile information stored by Facebook. Our tool parses some of this dataset and performs certain analytics to help the user make sense of the vast swaths of data.

To download the data:

From your news feed, click on settings under the top-right corner drop-down: Picture of the drop-down

Click the hyperlink that reads "Download a copy of my Facebook data". The hyperlink

Unzip the downloaded file.

To use our tool: Be sure that the unzipped directory containing your Facebook data is in the same directory as the python source file fb.py. Run the following command in a command window or terminal:

$ python fb.py --dir <facebook_data_dir_name>

When the script finishes running, several CSV files will be placed in your current directory. These files can easily be ingested into Splunk using the provided XML, creating a dashboard with nicely organized metrics:

Our analytics

Facebook keeps a record of every IP address that has been associated with your account. We geolocated these and placed them on a map, giving a fairly accurate picture of where the user has lived and travelled:

A map of where you have been

Using information from the user-agent string of the connecting web browser, we are able to determine with high confidence the type of device used to connect to Facebook. If compromised, this information could be leveraged to launch tailored attacks or ad campaigns based on the types of devices that a user has:

Primary device and friend info

Facebook keeps a log of every friend you have, every friend you have removed, every friend request you have blocked, and outstanding friend requests that have not been accepted or rejected. Aggregating this data has the capacity to reveal major life events, such as an uptick in new friends when the user moves, starts college, or joins a new social community:

Friend Graph

The spikes in the graph tend to correspond to major life events.

Built With

Share this project:

Updates