cnit 128 hacking mobile devices - samsclass.info · mobile application (in)security. mobile os...

17
CNIT 128 Hacking Mobile Devices 1. Mobile Application (In)security

Upload: others

Post on 24-Jun-2020

14 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: CNIT 128 Hacking Mobile Devices - samsclass.info · Mobile Application (In)security. Mobile OS Market Share ... • Framework to develop secure iOS apps • GoatDroid, iGoat, DV iOS

CNIT 128 Hacking Mobile Devices

1. Mobile Application (In)security

Page 2: CNIT 128 Hacking Mobile Devices - samsclass.info · Mobile Application (In)security. Mobile OS Market Share ... • Framework to develop secure iOS apps • GoatDroid, iGoat, DV iOS

Mobile OS Market Share

• Link Ch 1a

Android

iOS

Page 3: CNIT 128 Hacking Mobile Devices - samsclass.info · Mobile Application (In)security. Mobile OS Market Share ... • Framework to develop secure iOS apps • GoatDroid, iGoat, DV iOS

Attack Surface• Network communications

• Often public Wi-Fi

• Device theft

• Locally stored data

• Malicious apps on the phone

• Often from Google Play

• Other input sources

• NFC, Bluetooth, camera, microphonw, SMS, USB, QR codes

Page 4: CNIT 128 Hacking Mobile Devices - samsclass.info · Mobile Application (In)security. Mobile OS Market Share ... • Framework to develop secure iOS apps • GoatDroid, iGoat, DV iOS
Page 5: CNIT 128 Hacking Mobile Devices - samsclass.info · Mobile Application (In)security. Mobile OS Market Share ... • Framework to develop secure iOS apps • GoatDroid, iGoat, DV iOS

Key Problem Factors

• Underdeveloped security awareness

• By developers

• Ever-changing attack surface

• Custom development

• In-house code mixed with libraries from many sources

Page 6: CNIT 128 Hacking Mobile Devices - samsclass.info · Mobile Application (In)security. Mobile OS Market Share ... • Framework to develop secure iOS apps • GoatDroid, iGoat, DV iOS

OWASP Top Ten

Page 7: CNIT 128 Hacking Mobile Devices - samsclass.info · Mobile Application (In)security. Mobile OS Market Share ... • Framework to develop secure iOS apps • GoatDroid, iGoat, DV iOS

• M1: Weak Server-Side Controls • The most critical issue • Not a flaw on the phone • Server errors and

misconfigurations • A whole class covers this:

CNIT 129S: Securing Web Applications

OWASP Top Ten

Page 8: CNIT 128 Hacking Mobile Devices - samsclass.info · Mobile Application (In)security. Mobile OS Market Share ... • Framework to develop secure iOS apps • GoatDroid, iGoat, DV iOS

• M2: Insecure Data Storage • Plaintext or obfuscated

• M3: Insufficient Transport Layer Protection • Failure to validate TLS certificates

• M4: Unintended Data Leakage • In logs, cache, snapshots, etc

OWASP Top Ten

Page 9: CNIT 128 Hacking Mobile Devices - samsclass.info · Mobile Application (In)security. Mobile OS Market Share ... • Framework to develop secure iOS apps • GoatDroid, iGoat, DV iOS

• M5: Poor Authorization and Authentication • Causes failures in access control

• M6: Broken Cryptography • Hard-coded key, or key stored on device

• M7: Client-Side Injection • App takes input from another app, server,

etc.

OWASP Top Ten

Page 10: CNIT 128 Hacking Mobile Devices - samsclass.info · Mobile Application (In)security. Mobile OS Market Share ... • Framework to develop secure iOS apps • GoatDroid, iGoat, DV iOS

• M8: Security Decision Via Untrusted Inputs • Often Inter-Process Communication (IPC)

• M9: Improper Session Handling • Exposing session tokens to adversary

• M10: Lack of Binary Protections • Allows reverse-engineering and modification

of app

OWASP Top Ten

Page 11: CNIT 128 Hacking Mobile Devices - samsclass.info · Mobile Application (In)security. Mobile OS Market Share ... • Framework to develop secure iOS apps • GoatDroid, iGoat, DV iOS

• iMAS • Framework to develop secure iOS apps

• GoatDroid, iGoat, DV iOS • Deliberately insecure apps for practice

• MobiSec • Mobile pentesting distribution, like Kali

• Androick • For Android forensics

OWASP Mobile Security Tools

Page 12: CNIT 128 Hacking Mobile Devices - samsclass.info · Mobile Application (In)security. Mobile OS Market Share ... • Framework to develop secure iOS apps • GoatDroid, iGoat, DV iOS

• Link Ch 1b

Page 13: CNIT 128 Hacking Mobile Devices - samsclass.info · Mobile Application (In)security. Mobile OS Market Share ... • Framework to develop secure iOS apps • GoatDroid, iGoat, DV iOS
Page 14: CNIT 128 Hacking Mobile Devices - samsclass.info · Mobile Application (In)security. Mobile OS Market Share ... • Framework to develop secure iOS apps • GoatDroid, iGoat, DV iOS
Page 15: CNIT 128 Hacking Mobile Devices - samsclass.info · Mobile Application (In)security. Mobile OS Market Share ... • Framework to develop secure iOS apps • GoatDroid, iGoat, DV iOS
Page 16: CNIT 128 Hacking Mobile Devices - samsclass.info · Mobile Application (In)security. Mobile OS Market Share ... • Framework to develop secure iOS apps • GoatDroid, iGoat, DV iOS
Page 17: CNIT 128 Hacking Mobile Devices - samsclass.info · Mobile Application (In)security. Mobile OS Market Share ... • Framework to develop secure iOS apps • GoatDroid, iGoat, DV iOS