A Date with Data Botnet Command and Control Through Tinder A Date - - PowerPoint PPT Presentation

a date with data
SMART_READER_LITE
LIVE PREVIEW

A Date with Data Botnet Command and Control Through Tinder A Date - - PowerPoint PPT Presentation

A Date with Data Botnet Command and Control Through Tinder A Date with Data Botnet Command and Control Through Tinder (Almost) $whoami Nathaniel Beckstead Interests Blue team Homelab Network Security Find Me github.com/becksteadn


slide-1
SLIDE 1

A Date with Data

Botnet Command and Control Through Tinder

slide-2
SLIDE 2

A Date with Data

Botnet Command and Control Through Tinder (Almost)

slide-3
SLIDE 3

Nathaniel Beckstead Interests Blue team Homelab Network Security Find Me github.com/becksteadn scriptingis.life

$whoami

slide-4
SLIDE 4

Intercept Requests

slide-5
SLIDE 5

Certificate Pinning

Provides relative certainty of the host’s (server’s) identity App has a list of certificates it trusts. Does not establish a connection if the certificate is not in the pinset.

slide-6
SLIDE 6

Certificate Pinning

Tinder: Are you Buzz Lightyear? Burp Suite: Yeah, I’m Buzz Lightyear. Tinder:

slide-7
SLIDE 7

Cert Pinning Bypass

slide-8
SLIDE 8

Decompile, Alter, Recompile

Thank you Chaim and Anders. Sadly outdated. Code is now obfuscated.

slide-9
SLIDE 9

Decompile, Alter, Recompile

slide-10
SLIDE 10

Decompile, Alter, Recompile

Search files for functions using X509TrustManager. Add ‘return-void’ to the top and bottom.

slide-11
SLIDE 11

Cert Pinning Bypass Bypass

slide-12
SLIDE 12

The API

All the hard work is done. Translate to Python requests module. Use Postman to test.

https://github.com/fbessez/Tinder

slide-13
SLIDE 13

The API

All the hard work is done. Translate to Python requests module. Use Postman to test

https://github.com/fbessez/Tinder https://github.com/fbessez/Tinder

slide-14
SLIDE 14

The API

https://github.com/fbessez/Tinder

fb_auth_token.py - Uses robobrowser to log in using username/password and gets FB token and UID. tinder_api.py - Authenticates to Tinder using FB token and UID and returns token.

slide-15
SLIDE 15

The API

Host: api.gotinder.com X-Auth-Token: User-Agent: Tinder/7.5.3 (iPhone; iOS 10.3.2; Scale/2.00)

https://github.com/fbessez/Tinder

slide-16
SLIDE 16

Command and Control

slide-17
SLIDE 17

Command and Control

Endpoint Description Data Method

/like/_id Like someone a.k.a swipe right GET /user/matches/_id Send message to _id {"message": TEXT GOES HERE} POST /user/_id Get a user's profile data GET https://github.com/fbessez/Tinder

slide-18
SLIDE 18

Facebook Security

slide-19
SLIDE 19

Facebook and Bots

slide-20
SLIDE 20

Facebook and Bots

slide-21
SLIDE 21

Facebook and Bots

slide-22
SLIDE 22

Up Next: Workplace?