KEMBAR78
5 Tips for Agile Mobile App Security Testing | PDF
© Copyright 2018 NowSecure, Inc. All Rights Reserved. Proprietary information.
▪
▪
▪
▪
4
▪
▪
–
–
–
▪
▪
▪
✘
✘
✘
✘
✓
✓
✓
✓
✓
■
■
■
■
■
■
■
■
■
■
■
■
■
■
■
Commit
Code
Build
Binary
Test
Binary
Certify Audit
Stage Deploy
2 WEEKS
1 DAY
AGILE
DEVOPS
Increasing Frequency of releases
Increasing Volume of apps
Reducing Time to test
Reducing Cost to test
2 hrs
10mins
2 hrs
10mins
2 hrs
10mins
2 hrs
10mins
20-30 hrs
...CONFIG T CONFIG T CONFIG T CONFIG T DEBUG FALSE POSITIVES CREATE REPORT...
8-10 hrs
1-2 weeks
TTTT
<1 Hour
HOW CAN WE COMPRESS THIS TIME?
13
▪
▪
▪
▪
▪
▪
▪
▪
Data over the air between device
and backend systems
APIs on backend systems exposed
to the internet & mobile apps
Mobile app code written by internal
developers, open source & 3rd parties
Data on the device accessed in
memory and stored on device
LEGACY
WEB &
SAST
▪
▪
▪
▪
▪
▪
▪
▪
▪
▪
▪
▪
▪
▪
15
▪
▪
▪
▪
▪
▪
▪
▪
▪
▪
▪Cross origin resource sharing
▪
▪
▪
▪
▪
▪
▪
▪
▪
▪
▪
▪
▪
▪
▪
▪
▪
▪
▪
▪
▪
▪
▪
▪
▪
▪
▪
▪
▪
▪
▪
▪
▪
▪
▪
▪
▪
▪
▪
▪
▪
▪
▪
▪
▪
▪
▪
STATIC
BINARY TESTING
DYNAMIC
BINARY TESTING
observes the binary at
runtime to discover
vulnerabilities within the app
analyzes the binary
post-compilation to discover
vulnerabilities including those
in third-party libraries
17
BEHAVIORAL
BINARY TESTING
attacks the binary &
network environment to
discover vulnerabilities
within the app with near
zero false positives
Need to test across all 3 vectors on
real iOS & Android devices
Use Attacker POV to identify more
real issues and verify vulnerabilities
for near zero false positives
iOS
APPS
Dynamic code and
assets
MITM 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
Buffer overflows
Race conditions
Forensic artifacts
Vulnerabilities
Contact hijacking
TARGET
APP
Commit
Code
Build
Binary
Test
Binary
Certify Audit
Stage Deploy
2+ WEEKS
1-2 WEEKS
DEV
TEST
1 mo 2 mo 3 mo 4 mo
Final Pre-release
Certification
Reports
Commit
Code
Build
Binary
Test
Binary
Certify Audit
Stage Deploy
Final Pre-release
Certification
Reports
Risk &
Compliance
Reports
Management
Reporting
2+ WEEKS
1-2 WEEKS
DEV
TEST
1 WEEK
1 mo 2 mo 3 mo 4 mo
DAILY
Commit
Code
Build
Binary
Test
Binary
Certify Audit
Stage Deploy
OnDemand Test
Security Daily,
Weekly or other
Pass Issue Tickets
into flow
DAILY
2 WEEKS
DEV
TEST
2+ WEEKS
WEEKLY
1 mo 2 mo 3 mo 4 mo
WEEKLY
DAILY
Commit
Code
Build
Binary
Test
Binary
Certify Audit
Stage Deploy
OnDemand Test
Security Daily,
Weekly or other
Pass Issue Tickets
into flow
DAILY
2 WEEKS
DEV
TEST
2+ WEEKS
1 WEEKLY
1 mo 2 mo 3 mo 4 mo
Final Pre-release
Certification
Reports
Risk &
Compliance
Reports
Management
Reporting
Commit
Code
Build
Binary
Test
Binary
Certify Audit
Stage Deploy
AUTO Test Security
with every build
AUTO Generate
Issue Tickets into
flow
DAILY
DAILY
DEV
TEST
2+ WEEKS
1 mo 2 mo 3 mo 4 mo
Commit
Code
Build
Binary
Test
Binary
Certify Audit
Stage Deploy
AUTO Test Security
with every build
AUTO Generate
Issue Tickets into
flow
DAILY
DAILY
DEV
TEST
1 mo 2 mo 3 mo 4 mo
Commit
Code
Build
Binary
Test
Binary
Certify Audit
Stage Deploy
AUTO Test Security
with every build
AUTO Generate
Issue Tickets into
flow
DAILY
DAILY
DEV
TEST
1 mo 2 mo 3 mo 4 mo
Final Pre-release
Certification
Reports
Risk &
Compliance
Reports
Management
Reporting
Commit
Code
Build
Binary
Test
Binary
Certify Audit
Stage Deploy
AUTO Test Security
with every build
AUTO Generate
Issue Tickets into
flow
Security Test /
Advise in IDE
Security
Source Scan
pre-build
DAILY
DAILY
DEV
TEST
1 mo 2 mo 3 mo 4 mo
2+ WEEKS
Commit
Code
Build
Binary
Test
Binary
Certify Audit
Stage Deploy
AUTO Generate
Issue Tickets into
flow
AUTO Test Security
with every build
CS
CI/CD
DEV
TEST
1 mo 2 mo 3 mo 4 mo
Commit
Code
Build
Binary
Test
Binary
Certify Audit
Stage Deploy
AUTO Generate
Issue Tickets into
flow
AUTO Test Security
with every build
CS
CI/CD
DEV
TEST
Final Pre-release
Certification
Reports
Risk &
Compliance
Reports
Management
Reporting
1 mo 2 mo 3 mo 4 mo
▪
▪
▪
▪
▪
33
✓
✓
✓
✓
✓
✓
■
■
■
■
■
▪
▪
▪
Commit
Code
Build
Binary
Test
Binary
Certify Audit
Stage Deploy
Test Security
with every build
Integrate tickets into
workflow, for every build
Risk & Compliance
Reports
Management Reporting
Final Pre-release
Certification Reports
▪
▪
▪
▪
▪
▪
▪
▪
▪
▪
▪
▪
AppSecQADev
CERTIFYTESTCODE
- Protect the business
- Define & share best practices
- Monitor for Compliance
- Automate the manual work
- More coverage with fewer people
- Lower escape defect ratios
- Leverage new technology, new
features
- Lower costs by fixing early
PHASE YOUR SHIFT LEFT
Test Every Build Every Day
Findings created automatically in
local JIRA instance
Reports routed to risk &
compliance stakeholders
Results auto-routed to
management dashboard
Deep Dive Investigations in
NowSecure when needed
Test 3rd party apps used by
employees via NowSecure
1 mo 6 mo 12 mo 16 mo
Increasing Volume of apps
Increasing Frequency of releases
© Copyright 2018 NowSecure, Inc. All Rights Reserved. Proprietary information.
Recommendations
& Next Steps
▪
▪
▪
▪
▪
▪
▪
46
■
■
■
■
■
■
48
▪
▪
▪
▪
5 Tips for Agile Mobile App Security Testing
5 Tips for Agile Mobile App Security Testing

5 Tips for Agile Mobile App Security Testing