24
Five things you MUST know to CRUSH mobile security bugs

5 things you must know to crush mobile security bugs

Embed Size (px)

Citation preview

Page 1: 5 things you must know to crush mobile security bugs

Five things you MUST knowto CRUSH mobile security bugs

Page 2: 5 things you must know to crush mobile security bugs

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

Connect with us

Follow us on Twitter @NowSecureMobile

Subscribe to #MobSec5 our weekly mobile security news digest

http://mobsec5.nowsecure.com/

Visit our website https://www.nowsecure.com

Page 3: 5 things you must know to crush mobile security bugs

Jake Van DykeMobile Security Researcher

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

Jeff NolanVP Marketing

Page 4: 5 things you must know to crush mobile security bugs

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

Contents

● Intro discussion

● 5 things you must know

● Questions

Page 5: 5 things you must know to crush mobile security bugs

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

There are a lot of mobile bugs out there on major OSes

325 Lifetime Android CVEs by type (130 in 2015) 897 Lifetime iOS CVEs by type (385 in 2015)

Source: CVE Details Source: CVE Details

Page 6: 5 things you must know to crush mobile security bugs

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

Known vulnerabilities on Android and iOS in 2016

154vulnerabilities in

Google Android in 2016

84vulnerabilities in

Apple iOS in 2016

Leaving users exposed

Source: CVE DetailsSource: CVE Details

Page 7: 5 things you must know to crush mobile security bugs

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

25% of mobile apps have at least one high risk security or privacy flaw

NowSecure: 2016 NowSecure Mobile Security Report

Page 8: 5 things you must know to crush mobile security bugs

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

Introductory questions

● What is a security bug, flaw, vulnerability, exploit?

● What benefit and harm can arise from embedding security personnel

in a development team?

● How do you prioritize the dramatically increasing number of mobile

vulnerabilities and best practices?

Page 9: 5 things you must know to crush mobile security bugs

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

1. Focus on the data

Page 11: 5 things you must know to crush mobile security bugs

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

2. Thwart reverse-engineering

Page 12: 5 things you must know to crush mobile security bugs

Making your app more complex internally makes it more difficult for attackers to see how the app operates, which can reduce the number of attack vectors.

NowSecure: Secure Mobile Development Best Practices

Page 13: 5 things you must know to crush mobile security bugs

Strip debugging information in your release build.

Android Studio: https://developer.android.com/studio/build/shrink-code.html

Page 14: 5 things you must know to crush mobile security bugs

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

3. Consider security part of quality

Page 15: 5 things you must know to crush mobile security bugs

Automate or Die: Achieving continuous mobile app security & performance testing

Because tests occur later in the app development cycle, fixing the inevitable bugs that arise are more difficult and expensive. Legacy testing workflows create delays between the availability of test results and when engineers last worked on their code.

Page 16: 5 things you must know to crush mobile security bugs

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

4. Embrace least privilege

Page 17: 5 things you must know to crush mobile security bugs

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

Permissions are:An access control mechanism to allow mobile applications access to device resources.

Page 18: 5 things you must know to crush mobile security bugs

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

50%of popular apps integrate an Ad-

library

* Some to as many as 16 different ad networks

Page 19: 5 things you must know to crush mobile security bugs

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

Talking Tom app from Outfit7

Integrates with 8 Ad libraries 500M installsSusceptible to RCE

NowSecure: A Pattern for Remote Code Execution Using Arbitrary File Writes and MultiDex Applications

Page 20: 5 things you must know to crush mobile security bugs

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

5. Monitor 3rd-party protocols, code libraries, and standards implementations

Page 22: 5 things you must know to crush mobile security bugs

© Copyright 2016 NowSecure, Inc. All Rights Reserved. Proprietary information. Do not distribute.

of apps referencing open-source components used the latest version of some library

TechBeacon: Third-Party libraries are one of the most insecure parts of an application

Page 23: 5 things you must know to crush mobile security bugs

© Copyright 2016 NowSecure, Inc. All Rights Reserved. Proprietary information. Do not distribute.

A quick recap:

1

2

3

4

5

Focus on the data

Thwart reverse-engineering

Consider security part of quality

Embrace least privilege

Monitor 3rd-party protocols, code libraries, and standards implementations

Page 24: 5 things you must know to crush mobile security bugs

Let’s talk

+1 [email protected]

Keep tabs on the state of mobile security. Subscribe to #MobSec5 - a collection of the week’s mobile news that

matters - http://mobsec5.nowsecure.com/