In this second session, we will take a further dive into more of OWASP's top 10 threats for mobile security, the common Android security pitfalls we all succumb too and look how we may code in a more security-focused mindset going forwards.
@Sp4ghettiCode / spght.dev ⚠ MANDATORY LEGAL WARNING ⚠ You know, just in case someone goofs up later. • Anything you learn here is to be used for educational purposes ONLY
• Do NOT test on apps you are not authorised to use
• Please consider seeking your company’s security advice from someone that knows a lot more than me!
• This talk is NOT associated with and/or endorsed by the OWASP Foundation or my employer!
@Sp4ghettiCode / spght.dev Introducing ‘Smart Sheriff’ South Korea’s answer to ‘How insecure can we make an app’ • Smart Sheriff was a 2015 government mandated parental monitoring mobile app in South Korea
• By LAW must be installed on anyone under the age of 19’s phone
• Gave parents the ability to monitor web searches, block sites and snoop on messages
• Amazing talk: Smart Sheriff, Dumb Idea by Abraham Aranguren & Fabian Fäßler
@Sp4ghettiCode / spght.dev Introducing ‘Smart Sheriff’ South Korea’s answer to ‘How insecure can we make an app’ • The app had an API to retrieve lost passwords for child accounts that could be called by any user
• Passing in a mobile number would return either the app’s password or the mobile number of the child’s parent 🤦
• Trivial to traverse phone numbers to gain privileged info
• Pen-test link @ spght.dev/talks Image: 7asecurity.com
@Sp4ghettiCode / spght.dev Reverse Engineering AKA gnireenignE esreveR • Decompiling your app and understanding how it works to find vulnerabilities + other goodies
• Similar attack approach to Code Tampering
• Uses a similar set of tools to look at source code
@Sp4ghettiCode / spght.dev Extraneous Functionality How to protect against it • Where possible, do not ship with anything included in your app that could be ‘enabled’ when you don’t want it to be
• Ensure you strip out any hard-coded credentials or anything you use for QA-ing the app