+ All Categories
Transcript
Page 1: Hacking with Love

S W I F TO F F I C E H O U R S

03/23/2017

“Thinkdifferently.Don'tbeafraidtobedifferent.It'sthecrazyoneswhochangetheworld”―SteveJobs

Page 2: Hacking with Love

HACKINGW I T H L O V EOnce upon a time, in a connected world…

By: Suhaib Alfageeh

Page 3: Hacking with Love

Delivery“Hear Ye, Hear Ye…”

TestUsing real-world customer

apps

DevelopmentRinse. Repeat.

DesignNot your average UX

I W O R K O N M O B I L E S C A N N I N G S O F T W A R E

S E N I O R S O F T W A R E E N G I N E E R AT V E R A C O D E I N C .

Page 4: Hacking with Love
Page 5: Hacking with Love
Page 6: Hacking with Love
Page 7: Hacking with Love

BundleResourcesAssetts/iTunesArtwork/iTunesArtwork@2x

App Binary/Payload/Appname.app/Appname

iTunesMetadata.plist

What’s inside?

Page 8: Hacking with Love

ASK A QUESTION

B.

A.

C.

D.

WHYWhy does this happen?

HOWHow does this work?

WHATWhat’s being communicated?

WHEREWhere is all this information going?

Page 9: Hacking with Love

DIG DEEPER

WHYWhy is this app crashing?

HOWHow is this feature designed?

WHATWhat functions are called when I do this?

WHEREWhat REST API endpoints are reached?

Page 10: Hacking with Love

PILLARS OF iOS REVERSE ENGINEERING.

DECRYPT(BINARY)01 EXTRACT

BLUEPRINT02 STUDY & UNDERSTAND03 MODIFY /

OPTIMIZE04

Apple App Store apps are encrypted using FairPlay

Dump headers containing objective-c runtime info

Stored in the Mach-O

Perform static and dynamic analysis to understand behavior

Inject custom code at runtime to create new

features or modify existing ones

Page 11: Hacking with Love

Why Tinder

SIMPLE TO USE

EASY TO READ

EASYTO UNDERSTAND

Page 12: Hacking with Love

MARKET SIZELet’s face it…most of us.

Page 13: Hacking with Love

FLEXB Y : F L I P B O A R Dhttps://github.com/Flipboard/FLEX

Page 14: Hacking with Love

F L E XFLEX(FlipboardExplorer)isasetofin-appdebuggingandexplorationtoolsforiOSdevelopment.

Page 15: Hacking with Love

J o h n C o a t e s@ p u n k s o m e t h i n g

Page 16: Hacking with Love
Page 17: Hacking with Love
Page 18: Hacking with Love
Page 19: Hacking with Love
Page 20: Hacking with Love
Page 21: Hacking with Love
Page 22: Hacking with Love
Page 23: Hacking with Love
Page 24: Hacking with Love
Page 25: Hacking with Love

w w w . f r i d a . r e

Page 26: Hacking with Love

D y n a m i c C o d e I n s t r u m e n t a t i o n To o l k i t

Page 27: Hacking with Love

W h a t c a n y o u d o w i t h i t ?

Page 28: Hacking with Love

D y n a m i c I n s t r u m e n t a t i o n

Page 29: Hacking with Love

I n j e c t a n i n s t r u m e n t a t i o n s c r i p t i n t r o a r u n n i n g a p p l i c a t i o n

Page 30: Hacking with Love

L i s t a l l r u n n i n g p r o c e s s e s a n d P I D s o f a U S B c o n n e c t e d d e v i c e

Page 31: Hacking with Love

Tr a c e n a t i v e A P I s

Page 32: Hacking with Love

Tr a c e n a t i v e A P I s i n a s p e c i f i c p r o c e s s$ f r i d a - t r a c e – n T i n d e r - i “ * U R L * ” $

Page 33: Hacking with Love

Tr a c e O b j e c t i v e - C C a l l s$ f r i d a - t r a c e – U T i n d e r – m “ [ T N D R * * L i k e *

Page 34: Hacking with Love
Page 35: Hacking with Love
Page 36: Hacking with Love

A n i n t e r a c t i v e c o n s o l e t h a t i n t e r c e p t s t r a f f i c- I n s p e c t- M o d i f y- R e p l a y

Page 37: Hacking with Love

M I T M P r o x y i n t e r c e p t s y o u r H T T P / S t r a f f i cT h i s a l l o w s u s t o l e a r n a b o u t t h e T i n d e r A P I

Page 38: Hacking with Love
Page 39: Hacking with Love
Page 40: Hacking with Love
Page 41: Hacking with Love

LIKE PASS RECS UPDATES

/like/{id} /pass/{id} /user/recs /updates/

api.got inder.com

Page 42: Hacking with Love

O u r t i m e l i n e

Page 43: Hacking with Love

Q&AYour work is going to fill a large part of your life, and the only way to be truly satisfied is to do what you believe is great work. And the only way to do great work is to love what you do. If you haven't found it yet, keep looking. Don't settle. As with all matters of the heart, you'll know when you find it.- Steve Jobs


Top Related