Passwords are probably the oldest authentication method. Despite their age, passwords remain the most popular authentication method in today’s digital age. Compared to other authentication mechanisms, they have many tangible benefits. They can be as complex or as easy to remember as needed; they can be easy to use and secure at the same time (if used properly).
The number of passwords an average person has to remember is growing exponentially. Back in 2017, an average home user had to cope with nearly 20 passwords (presumably they would be unique passwords). An average business employee had to cope with 191 passwords. Passwords are everywhere. Even your phone has more than one password. Speaking of Apple iPhone, the thing may require as many as four (and a half) passwords to get you going. To make things even more complicated, the four and a half passwords are seriously related to each other. Let’s list them:
In this article, we will provide an overview on how these passwords are used and how they are related to each other; what are the default settings and how they affect your privacy and security. We’ll tell you how to use one password to reset another. We will also cover the password policies and describe what happens if you attempt to brute force the forgotten password.
This is the most important and most profound password (or, rather, a passcode). This is the password most (if not all) users set when they set up their new iPhone. By default, the length of the screen lock passcode is 6 digits. If you try hard, you can still opt to use the “old style” 4-digit PIN, or select a custom alphanumeric password if you believe you have something to hide. While you can technically set up your device without a password, making this choice will limit your ability to access some of the iPhone features such as Apple Pay. Without a screen lock password, you won’t be able to sync your Web site passwords, messages and Health data to iCloud.
We had a comprehensive review of iPhone passwords in Protecting Your Data and Apple Account If They Know Your iPhone Passcode (link), and a follow-up (which also includes some info on biometric usage) in Passcode vs. Biometrics: Forensic Implications of Touch ID and Face ID in iOS 12 (link).
If you forget your screen lock passcode
If you are an ordinary user, you won’t be able to unlock your iPhone, period. You can, however, reset the iPhone, thus getting rid of the passcode and all of your data. (Make sure you have backups in iCloud and/or on your computer.) Once you have successfully reset your iPhone, your iCloud password will be absolutely required to set it up. (See? There you are, the first relationship.)
If you know the screen lock passcode
If you know the screen lock passcode, you can do all of the following:
The ifs and buts
Complicated? This is just the beginning.
If you are using iCloud, this password is always set. If you ever downloaded an app from the App Store, you also have this password as your Apple ID password. It is hard to imagine a person who has an iPhone and does not have an Apple ID/iCloud password.
Apple enforces certain minimum requirements on password complexity; all other types of passwords described in this article are usually simpler. In addition to password complexity, users are not allowed to set Apple ID/iCloud passwords matching Apple ID/iCloud passwords they previously used.
The purpose of the Apple ID/iCloud password is protecting access to the user’s online account such as their iCloud data (including iCloud photos and backups), as well as protecting the iPhone against theft. The iCloud password serves as part of an extremely reliable Factory Reset Protection system that makes iPhone theft far less attractive.
This password (and the second authentication factor for 2FA accounts) limits the ability to access iCloud data. Even if you know the Apple ID/iCloud password, this may not be enough to access some types of data. For example, accessing the iCloud Keychain, iCloud Messages, Health and Screen Time data, you will need the device screen lock passcode as well.
Is it possible to access the iCloud without a password? Yes, at least for some data; read Accessing iCloud With and Without a Password in 2019 for more information.
If you forget your iCloud password
What if you forget your iCloud password? Apple has a comprehensive writeup on the subject: If you forgot your Apple ID password. You may be able to reset the iCloud password right from your device (if you know the device screen lock passcode and the account uses two-factor authentication). In addition, you can extract the iCloud password from several sources such as Web browsers with Internet Password Breaker (Windows), macOS keychain with Password Digger, or encrypted device backups (if, in turn, you know the iTunes backup password) with Phone Breaker.
If you forgot your iCloud password, your options are:
If you know the iCloud password
If you know the iCloud password, you can do all of the following:
The ifs and buts
This password is optional and not set by default. We already covered this topic in The Most Unusual Things about iPhone Backups (link) in detail, but there are some important notes.
The obvious thing is that you’ll need this password to restore the device from a backup. If you do not have the original device with data but only have the backup files, you will need to break the password by using a range of smart and brute-force attacks (e.g. using Elcomsoft Distributed Password Recovery). These attacks aren’t very efficient due to the very strong protection. Expect to recover only the short and simple passwords in reasonable time.
If, however, you have access to the iOS device itself, you can reset the backup password prior to making a new backup. This feature is available in iOS 11 and all newer versions of iOS. You’ll need the device screen lock passcode to reset the iTunes backup password. The Screen Time password, if configured, will prevent your ability to do it, so you’ll need the Screen Time password in addition to the screen lock passcode in order to reset the iTunes backup password.
If the device is running iOS 13, you will also need to enter the device screen lock passcode to set or change the backup password.
If you forget your iTunes backup password
If you know the iTunes backup password
If you know the iTunes backup password (and have the backup files), you can do all of the following:
The ifs and buts
* The ability to extract Apple ID/iCloud passwords from password-protected iTunes backups depends on whether the corresponding record exists in the backup file. In our experience, more often than not the Apple ID/iCloud password is available and easily extractable from encrypted local backups with Elcomsoft Phone Breaker. The actual records to analyze are:
com.apple.account.AppleIDAuthentication.password
apple.account.iTunesStore.password and apple.account.AppleAccount.password (previously used bus still worth a look)
When analyzing the keychain, check out the following entries when looking for Apple ID/iCloud passwords:
Screen Time is a recent feature that appeared in iOS 12. Screen Time can be enabled with or without a password. If you opt to have a password, it is always comprised of exactly four digits.
If the Screen Time password is set, it blocks changes to any restrictions specified in the Screen Time settings. In addition, the Screen Time password prevents users from resetting device settings. This in turn means that you will be unable to reset the backup password if you don’t know the Screen Time password.
In addition, users can configure restrictions on installing apps. In this case, the Screen Time password will block the ability to install new apps, meaning that you might be unable to install a jailbreak. Jailbreaking generally allows to extract the full content of the device including the full keychain (which includes the iTunes backup password, Screen Time password and Apple ID/iCloud password).
If you forget your Screen Time password
If you know the Screen Time password
The ifs and buts
More information:
Speaking of Web services, password protection is definitely not enough to secure accounts. A good example is Celebgate, which forced Apple to accelerate work on two-factor authentication). Today, we strongly believe that iCloud accounts must be protected with the second factor. Apple’s implementation of two-factor authentication is pretty good. The owner receives an immediate push notification on all registered devices once someone attempts to access their account. There is the ability to generate 2FA codes offline or receive them in a text message.
However, with Apple’s implementation of 2FA, the device itself may be less secure compared to devices without two-factor authentication. That’s why we consider 2FA codes as a half-password.
In real world, Apple emphasizes two-factor authentication significantly. You must have two-factor authentication on your Apple account if you want any of the following features:
If you forget your Apple ID/iCloud password, you can always reset it if you have access to a trusted device (that device is considered your second authentication factor). If, however, you lose access to all of your trusted devices and your trusted phone number (effectively losing access to two-factor authentication), you will be locked out of your Apple ID/iCloud account. There is an extremely lengthy and complex procedure for reinstating your Apple ID, but the result is never guaranteed. In the tests we performed, we had close to a 50-50 chance of success when recovering 2FA accounts without access to the second factor. All this makes your second authentication factor far more significant than the iCloud password.
If you lose access to your second authentication factor
If you have access to your second authentication factor
The ifs and buts
The four passwords have different policies regarding their length and complexity. Here they are:
If you forget your password, you may be tempted to try a few one that you thing may fit. This is what happens if you do:
We tried to demystify the complex relationships between the four-and-a-half Apple passwords. If you are still feeling confused, rest assured you are not alone. Apple claims it cares about your security, but its current security model looks just a bit too confusing even for seasoned security experts. When analyzing the whole picture, we get suspicious if there was a proper security model in place, or if Apple just patched various issues reacting to security concerns and users’ complaints. In particular, giving the users the ability to reset their iTunes backup password AND their iCloud password using the device screen lock passcode alone does not look good however you look at it.
While we cannot applaud this security model, we can understand Apple’s reasons. Apple has to reach an acceptable balance between security, privacy and convenience. You cannot get all three at the same time. To make things even more complicated, this balance is always a moving target. You can secure your device all the way, sacrificing all the convenience in the world but still not getting the protection level you expect because of some recently discovered (and sometimes unpatchable) security flow.
If you want to access the maximum amount of information available in Apple iCloud, we recommend using Elcomsoft Phone Breaker. To maximize the amount of data, make sure to have the user’s Apple ID/iCloud password, access to the second authentication factor and the device screen lock passcode (if you have access to the device, you can use the latter to reset the former). We recommend Elcomsoft Phone Viewer to analyze the downloaded information (particularly, to access the Screen Time password).