~/talk

How to Leak a 100-Million-Node Social Graph in Just One Week?

Talkat Black Hat USA 2014 · 2014-08-02..08-07· [security, api-design]
name:Pili Hu
speakerdeck:hupili
links:none on file
slides:none on file

Demonstrates an OAuth 2.0 implicit-authorization-grant flow + bearer-token abuse that lets an attacker obtain app access tokens without the app secret, then use them to impersonate privileged apps. Uses simple browser scripts and cURL on AWS instances to crawl API endpoints; on one Facebook‑like OSN the attack collects a 100‑million‑user social graph in under a week for about $150, exploiting a privileged app with >1M queries/hour and coarse scope/rate controls.

AI-written summary · about

  1. 0:00Introduction
  2. 0:40Whats the problem
  3. 1:42Basic protocol
  4. 2:53Key idea
  5. 3:57Consequences
  6. 5:09Earth
  7. 9:32Conclusion
  8. 10:31Implicit Flow
  9. 11:48Token Type
  10. 15:38Feedback
  11. 16:17The Problem
  12. 17:41Factors
  13. 18:40App Impersonation Out
  14. 19:24How to Fix
  15. 21:41Protection
  16. 23:19Refresh Token
  17. 25:17App Impersonation Prevention
  18. 26:03Programmers are lazy
  19. 27:04Developers use the right way
  20. 28:34Facebook
  21. 29:25App Secret
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.