About Me

Simon Hunt

Simon Hunt
Chief Technology Officer, Endpoint and Innovation

VP and CTO, Endpoint Security Simon Hunt has more than 20 years experience in software development, design and ...

Read More

Enterprise Blogs

Feeds & Podcasts

Meet the Bloggers

Archive

Tags

#McAfeeFOCUS, #MFETrivia, #SecChat, #SecurityLegos, 12 Scams of Christmas, 2012, 2012 Security Predictions, Acquisition, Advanced Persistent Threat, Android, android antivirus, Android Malware, Android security, android security app, anti-phishing, anti-theft, anti-virus, antivirus, APIs, App Alert, Apple, application blacklisting, application developers, application security, app protection, apps, app safety, ATM scams, attacks, authentication, automotive, Bad Apps, balanced scorecard, best practices, Big Data, big security data, BlackBerry, Black Hat, Blackhat, black hat hackers, botnet, Brazil, breach, Business IT, car hacking, certification, Change Control, China, CISO Executive Summit, Citrix, class action lawsuit, cloud, cloud apps, Cloud city, Cloud computing, Cloud Expo, cloud security, Cofer Black, collaboration, Compliance, Conficker, consolidation, Consumer, consumerization, consumerization of IT, Content Protection, counter identity theft, credit card fraud and protection, credit card skimming, critical infrastructure, CSP, cyber attack, Cybercrime, cyberespionage, Cyber Insurance, Cyber Intelligence Sharing and Protection Act of 2011, cybersecurity, cyber security, cyber security awareness, Cyber Security Mom, cyber threat, cyberthreats, data, database activity monitoring, database security, data breach, Datacenter, data center, data center security, Data Classification, data loss, Data Loss Prevention, Data Protection, Data Protection Act, Dave DeWalt, Dave Marcus, dedicated security appliances, Deep Command, Deep Defender, DeepSAFE, DefCon, DefCon Kids, Department of Commerce, device, Device Control, devices, dewalt, DLP, Dmitri Alperovitch, easter, Ecuador, Eelectric Vehicle, Email & Web Security, Email & Web Security, email security, embedded, embedded devices, Embedded Security, Emerging Markets, Emerging Market Security, EMM, encryption, Endpoint Protection, Endpoint Security, energy, enterprise, enterprise mobility, enterprise resource planning, enterprise scurity, enterprise security, epayment, epo, ePO Deep Command, ePolicy Orchestrator, ERP, ESM, espionage, EV, exploit, exploits, facebook, Facial recongnition, Family Safety, FDCC, file sharing, Financial Security, firewall, FISMA, Fixed Function Devices, Focus, Focus11, FOCUS 2011, forrester, Foundstone, Friday Security Highlights, Garter, Gartner, Gartner Security and Risk Management Summit, George Kurtz, Global Cybersecurity, Global SecurityAlliance Partner Summit, global threat intelligence, google, government, GTI, Hackers, hacking, Hacking Exposed, Hacktivism, HB1140, Healthcare, Heuristics, HIPAA, host intrusion prevention, Host IPS, HV, Hybrid Vehicle, ICS, IDC, identify potential cyber-threats, identity as a service, Identity Management, identity protection, identity theft, IDF 2011, Incident Response, Information leak, Information Protection, Information Security, Information Warfare, Insider Threats, Integrity, Integrity Control, intel, Intel Cloud SSO, intellectual property, Internet Explorer, internet security, Interop, IntruShield, In vehicle Infotainment, IP, iphone, IPS, IT, IT Security, japan earthquake safe donation, japan earthquake scams, kurtz, labs, laptops, Larry Ponemon, law, legal, legal risk, Legos, linkedin, live-tweeting, lizamoon, Lockheed Martin, mac, Mac OS X, malware, Malware research, managed security services, Management, Mariposa, mass sql injection, mastercard, Maturity Model, McAfee, McAfee Application Control, McAfee Channel, McAfee Cloud Security Platform, McAfee Data Loss Prevention, Mcafee DLP, McAfee Email Gateway 7.0, McAfee EMM, McAfee Enterprise Mobility Management, McAfee ePO, McAfee ePolicy Orchestrator, McAfee Firewall Enterprise, McAfee FOCUS, McAfee FOCUS 2011, McAfee Identity Protection, McAfee Labs, McAfee Mobile Security, McAfee MOVE, McAfee MOVE AV, McAfee Network Security Platform, McAfee NSP, McAfee Policy Auditor, McAfee Rewards, McAfee Risk Advisor, McAfee Security Journal, McAfee Security Management, McAfee Security Webinars, McAfee SiteAdvisor, McAfee Vulnerability Manager, McAfee Vulnerability Manager for Databases, mcafee wavesecure, Microsoft, Microsoft Security Bulletin, Mid-Market, Mobile, mobile antivirus, mobile app, mobile data communications, mobile device, mobile devices, mobile devices and security threats, mobile malware, mobile phone spyware, mobile security, mobile security app, mobile smartphone security, mobiles security, mom, MS12-020, MySQL, NACACS, near field communication, Network Perimeter Security, Network Security, Network Security; Email & Web Security; Security-as-a-Service, network security server security, new year resolution, next-gen IPS, Next Generation IPS, NFC, Night Dragon, NIST, NitroSecurity, NitroView, OMB, online banking, Open Source, operational risk, Operation Aurora, Optimized, outages, OWASP, Partner Acceleration Resource Center, passwords, password security, patch, Patch Tuesday, Patmos, PCI, PCI Compliance, PCI DSS, Peer to Peer file sharing, perception, personal information over mobile phones, phishing, PII, Ponemon Institute, PostScript, Potentially unwanted program, power grid, power loss, Pre-detection, Pre-Installed Malware, Printers, privacy, protection, Public-Private partnerships, Public Sector, pup, QR codes, reference architecture, regulations, reporting, reputational risk, retail, risk, Risk Advisor, Risk and Compliance, Risk Management, ROI, Rookits, Rootkits, RSA, RSA 2012, SaaS, SaaS security solutions, safe searching, Salesforce.com, Saviynt Access Manager, SCADA, scam, SCAP, SEC Guidance, SecTor, secure cloud computing, secure container, security, Security-as-a-Service, Security and Defense Agenda, security attacks, security awareness, security breach, security conferences, Security Connected, Security Connected Reference Architecture, Security Influence, security information and event management, security management, security metrics, security optimization, security policy, security threats, Sentrigo acquisition, Shady RAT, SharePoint, shortened URLs, SIA Partners, SIEM, SiteAdvisor, Situational Awareness, Small Business, smartphones, smartphone security, SMB, SMB Specialization, social business, social media, social networking, social networks, Software-as-a-Service, spam, Spearphishing, sql attacks, SQL Injection, State of Security, stealth attack, stealth crimeware, stealth detection, Steve Jobs, storage, Stuxnet, substation, Support, Symbian, T-Mobile, Tablet, tablets, tablet security, TAGITM, targeted attacks, TCO, technology development, Telecommunications, threat reduction, TJX, TPM, Trusted Computing Module, trustedsource, twitter, Twitter online security, U.S. Cyber Challenge Camps, urchin.js, Vericept DLP, ViaForensics, Virtualization, VIrtual Machines, visa, Vontu DLP, vPro, vulnerability, Vulnerability Manager, vulnerability manager for databases, Web 2.0, Webinar, web protection, web security, Websense DSS, Web services, white hat hackers, Whitelisting, wikileaks, Windows 7, Windows Mobile, Wind River, Xerox, youtube, Zero-Day, zeus

iPhone 3GS and BlackBerry (In)securities

Tuesday, July 28, 2009 at 2:46pm by Simon Hunt
Simon Hunt

This week’s (potential) major fail goes to Apple for the iPhone 3GS security. As reported by Wired and others, it seems the new 3GS encryption touted by Apple in their “iPhone Security Overview” isn’t so secure after all.

The official description of the new feature sounds pretty good:

iPhone 3GS offers hardware-based encryption. iPhone 3GS hardware encryption uses
AES 256 bit encoding to protect all data on the device. Encryption is always enabled,
and cannot be disabled by users.

“iPhone 3GS offers hardware-based encryption. iPhone 3GS hardware encryption uses AES 256 bit encoding to protect all data on the device. Encryption is always enabled, and cannot be disabled by users.”

But this excellent 2nd video demonstration by Jonathan Zdziarski shows plainly that there could be something very flawed about it.

Jonathon shows one of the architectural limitations of mobile platforms – you need the device to have a fail-safe hardware recovery mechanism (otherwise you could kill the hardware with bad software), but that opens the door to exploiting loader hacks, in his case, his subversion of the boot loader recovery mechanism to  zero out the password data.

On PC’s, this attack can be mitigated with full disk encryption where the (pre-boot) authentication details are used to decrypt the drive encryption key prior to the OS (stored encrypted) getting to boot – this is obviously very difficult to do on a phone as it’s expected to be on all the time, and rarely goes through the OS boot phase – how many of you actually ever turn your phone off, even when flying?

Jonathon’s demo is designed to prove the theory that disabling or zeroing the pin should render existing data on the device inaccessible, because it’s encrypted and the encryption is related to the device pin. A solid theory indeed.

His (abridged) flow was:

  1. create some data (pictures)
  2. set pin on iPhone
  3. restart
  4. use a loader hack on the phone to zero pin
  5. reboot phone and create some new data
  6. backup phone with iTunes and show the recovered new data AND old data is not protected

I can understand data stored after the key being zeroed would be in plain text on the backups, but surely the before-hack data should now be inaccessible as it should be encrypted with a (now lost) key related to the iPhone pin?

This is what Jonathon’s demo proves is not happening.

If it’s indeed possible to access all the data on the iPhone after zeroing the pin, both original and new, that indeed is a nasty flaw in the protection architecture. It would infer that there’s no relationship between the pin itself and the data encryption key. That data encryption key should by all rights be stored at least encrypted with the pin (PKCS5+salt), or better still stored in some tamper-proof hardware which can provide a hardened retry path (like a TPM or smart card chip). Doing anything which breaks the relationship between PIN and key should cause all data protected with it to be inaccessible – much like resetting a Windows user’s password can render all their EFS encrypted data inaccessible.

Storing the key on the device and just using

is (entered password == stored password)

is just plain silly, and I truly hope ( as a devoted iPhone user) Apple comes up with a good explanation as to what’s going on here and what we are all missing. Hey, if they want help making it bullet proof, I, and McAfee Data Protection would love to work with them.

PS - For those who’ve been using the iPhone for a while – do you remember the famous pin-bypass trick (now fixed) which let you get at the contacts, mail, web etc back in the days of iPhone2.02 and before? Simply, by double-hitting the home button when it was set to show “favorites”, you could then navigate to other apps.

This is much the same as the old Windows trick of using the HTML Help application to start other apps (it has a file browser, and from there, you can open any file you like, be it a help file or not).

PPS – If you’re thinking of dumping your iPhone and going to a BlackBerry, you might be interesting in the little fiasco happening in the UAE at the moment – It seems that the state-controlled telco Etisalat distributed a nice little performance enhancement “patch” to all BlackBerry users, which in fact contained SS8’s forensic interception client. Zensay Labs wrote a nice paper on what the patch does, but simply it allows Etisalat to ask the phone to forward emails you send back to them, thus bypassing the usual email protection methods which make interception of BlackBerry traffic difficult.

Bookmark and Share

Submit your own comments / message for this post

Your email is never published nor shared. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Comments (2)

  • iphone 3gs owner April 30, 2010 8:02AM

    Is anything ever secure! Even with the best security the flaw is going to be the user, BDUs (Brain Dead Users) will never go away.

  • iphone forensics January 19, 2010 6:43AM

    Well, method with loader worked for older devices. The vulnerability used to get acces was closed by Apple in the new devices, appeared in the end on 2009 has no this.
    So, newer devices are safe so far…