iTranslated by AI
Ensure You Have a Working Recovery Method When Setting Up Virtual MFA
The other day, I happened to initialize my smartphone. Even though I had the "Google Authenticator" app for my virtual MFA device, I proceeded with the initialization without any preparation. As a result, I lost access to all services where the virtual MFA was configured 😨
TL;DR
- When setting up MFA, confirm that the recovery methods work correctly in case of loss.
- Be cautious of contact information fields that do not perform a verification check upon input.
- Ensure the phone number in your AWS contact information includes the country code.
I was able to recover my Google account on my own
For my Google account, I felt secure because I had set up a phone number for recovery and kept a record of the backup codes.
First, I tried authentication via phone number, and I was able to recover the account by entering the PIN code read aloud over the incoming call.
Even if the phone number became unavailable for some reason, I could still recover using the backup codes.
I could not recover my AWS account on my own
AWS allows recovery from a lost MFA through a two-step authentication process using an email address and a phone number. However, for some reason, the phone number authentication step did not work correctly, and I never received a call.
The Journey to Recovering My AWS Account
I thought to myself, "Is this the rumored Notary Public course? Since I barely use this account, I'd hate to spend money just to recover it..." While worrying, I first submitted a request through the dedicated MFA loss inquiry form.
At this point, I noticed an item labeled "Country associated with your phone number," which gave me a clue as to why the phone number authentication step might not have been working.
Having MFA deactivated over the phone
Since I was on the Basic Support plan, I submitted the request over the weekend, and I received a call on the morning of the first weekday after the consecutive holidays.
I will omit the specific deactivation steps for security reasons, but it seemed that as long as the email address was active, recovery was possible.
The support desk seemed like a standard Amazon call center, so technical details—such as why the phone number authentication failed—remained unclear to them.
Confirming AWS Contact Information
After successfully deactivating MFA and regaining access to my account, I reconfigured MFA and then checked the "Contact Information" on the "My Account" page.
While the email address was fine, the phone number was entered as "090XXXXYYYY".
As I had suspected during the loss application, I corrected it to include the country code as "+8190XXXXYYYY" and logged out. When I followed the same flow as when the MFA was lost during a re-login, the phone number authentication worked as expected this time.
Reflection
My failure was not applying the basic principle of "a backup is only a backup once you have confirmed it can be restored" to my login methods.
Summary
I'll write this twice because it's important.
- When setting up MFA, confirm that the recovery methods work correctly in case of loss.
- Be cautious of contact information fields that do not perform a verification check upon input.
- Ensure the phone number in your AWS contact information includes the country code.
Discussion