29
© Copyright 2017 NowSecure, Inc. All Rights Reserved. Proprietary information.

What attackers know about your mobile apps that you don’t: Banking & FinTech

Embed Size (px)

Citation preview

Page 1: What attackers know about your mobile apps that you don’t: Banking & FinTech

© Copyright 2017 NowSecure, Inc. All Rights Reserved. Proprietary information.

Page 2: What attackers know about your mobile apps that you don’t: Banking & FinTech

© Copyright 2017 NowSecure, Inc. All Rights Reserved. Proprietary information.

Page 3: What attackers know about your mobile apps that you don’t: Banking & FinTech

© Copyright 2017 NowSecure, Inc. All Rights Reserved. Proprietary information.3

Page 4: What attackers know about your mobile apps that you don’t: Banking & FinTech

4

▪▪

–––

▪▪

Page 5: What attackers know about your mobile apps that you don’t: Banking & FinTech

▪▪▪

▪▪▪

Page 6: What attackers know about your mobile apps that you don’t: Banking & FinTech
Page 7: What attackers know about your mobile apps that you don’t: Banking & FinTech

25% Haveat least 1 high risk flaw

35% Haveun-encrypted data transmission

63% iOS AppsOpting out of ATS exposing network risks

more likely to leak account credentials

BizApps 3X

Source: NowSecure Software and Research Data 2016-2017

1% Android Appsproperly use Google SafetyNet Attestation API

50% Android Appsdynamically load code missed by static analysis

7

Page 8: What attackers know about your mobile apps that you don’t: Banking & FinTech

8

Page 9: What attackers know about your mobile apps that you don’t: Banking & FinTech

▪▪▪▪▪▪

▪▪▪▪▪▪▪▪▪▪▪▪▪

▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪

9

▪▪▪▪▪▪Cross origin resource sharing▪▪▪▪

▪▪▪▪

▪▪▪▪▪▪▪

▪▪▪▪▪▪▪▪▪

▪▪▪▪▪▪▪▪

Page 10: What attackers know about your mobile apps that you don’t: Banking & FinTech

iOSAPPS

Dynamic code and assetsMITM attacks

Take the the attacker POV to test across app, compiler, data at rest, data in transit, OS, HW & SW during and after running the mobile app

iOS FRAMEWORKS

iOS NATIVE LIBRARIES

iOS Mach/XNU KERNEL

iOS HAL

HARDWARE

10

Buffer overflows

Race conditions

Forensic artifacts

Malware

Contact hijacking

TARGETAPP

Page 11: What attackers know about your mobile apps that you don’t: Banking & FinTech

© Copyright 2017 NowSecure, Inc. All Rights Reserved. Proprietary information.

Page 12: What attackers know about your mobile apps that you don’t: Banking & FinTech

12

Page 13: What attackers know about your mobile apps that you don’t: Banking & FinTech

.java files compiler .class files

dx tool

.dex filesAPK builder.apk files

Jar signer .so files resources

13

Page 14: What attackers know about your mobile apps that you don’t: Banking & FinTech

14

Page 15: What attackers know about your mobile apps that you don’t: Banking & FinTech

15

Page 16: What attackers know about your mobile apps that you don’t: Banking & FinTech

Host Target

bootstrapper

Write bootstrapper code into memory of Target process

16

Page 17: What attackers know about your mobile apps that you don’t: Banking & FinTech

Host Target

bootstrapper

bootstrapper-thread

Hijack existing thread in Target to execute bootstrapper

17

Page 18: What attackers know about your mobile apps that you don’t: Banking & FinTech

Host Target

bootstrapper

bootstrapper-thread

frida-agent.so

Bootstrapper loads frida-agent into Target’s memory space

18

Page 19: What attackers know about your mobile apps that you don’t: Banking & FinTech

Host Target

bootstrapper

bootstrapper-thread

frida-agent.soComm. Chan

Agent opens bi-directional channel between Debugger and Debuggee

19

Page 20: What attackers know about your mobile apps that you don’t: Banking & FinTech

Host Target

bootstrapper

bootstrapper-thread

frida-agent.soComm. Chan

JavaScript

Agent sets up its own thread, accepting instrumentation scripts from Debugger

Instrumentation scripts

20

Page 21: What attackers know about your mobile apps that you don’t: Banking & FinTech

Host Target

bootstrapper

bootstrapper-thread

frida-agent.soComm. Chan

JavaScript

Instrumentation scripts

Instrumentation “probes” target specific APIs and code logic of interest

21

Page 22: What attackers know about your mobile apps that you don’t: Banking & FinTech

Host Target

bootstrapper

bootstrapper-thread

frida-agent.soComm. Chan

JavaScript

Instrumentation scripts

probe results

Probe results streamed to debugger and parsed/redirected

22

Page 23: What attackers know about your mobile apps that you don’t: Banking & FinTech

iOSAPPS

iOS FRAMEWORKS

iOS NATIVE LIBRARIES

iOS Mach/XNU KERNEL

iOS HAL

HARDWARE

23

TARGETAPP

Page 24: What attackers know about your mobile apps that you don’t: Banking & FinTech

© Copyright 2017 NowSecure, Inc. All Rights Reserved. Proprietary information.

Page 25: What attackers know about your mobile apps that you don’t: Banking & FinTech

© Copyright 2017 NowSecure, Inc. All Rights Reserved. Proprietary information.25

Page 26: What attackers know about your mobile apps that you don’t: Banking & FinTech

26

Page 27: What attackers know about your mobile apps that you don’t: Banking & FinTech

27

Page 29: What attackers know about your mobile apps that you don’t: Banking & FinTech