Today’s topic is Two Factor Authentication. It’s also known as 2FA. We all know that multi-layered security is more secure than single layer security.
As processors get faster, password cracking becomes easier and faster. So we need a Multi layer security system to secure our accounts.
If your password gets cracked, 2FA is the new line of defence which restricts the access to your account.
Many websites have an option to enable two factor authentication.
This new account security technique needs two things to authenticate the owner.
- Something that only you know (password)
- Something that only you have (some kind of code)
You can use any method mentioned below to act as second factor of authentication
- Authentication app
- SMS (OTP)
- Email (OTP)
- Preshared codes
- Security key (A physical device that looks like a pen-drive)
You are not using 2FA and your password got leaked or got cracked, and someone got in your account using that password. That person stole your information or misused your account.
Now, you learnt a lesson and you started using 2FA. Again someone cracked your password and tried getting in, but now the system asks for a OTP or a code to authenticate the person trying to login.
It's unlikely that the hacker has access to your phone or that physical Security key mentioned above. So the hacker “doesn't have” that code. Hence the hacker can't get access to your account even though he has the password.
Now, you know how 2FA works. Now let’s see how you can set or enable 2FA.
You can login into your account and search for 2FA or Two Factor Authentication in settings.
Then you'll see many options like authenticate using SMS or using an Authentication app or Email or Security Key.
Now, to enable authentication using SMS, enter your phone number, you will get OTP to verify your number. Enter that OTP and your 2FA using SMS is enabled.
The procedure for authentication using Email is the same as that of SMS procedure.
Now, let’s see how to set the Authentication app. Authentication app generates a new code every 30 seconds, and that code is already synced with the website server. You have to enter the code you see in your authentication app when asked while you login into your account. There are many authentication apps like Google’s authenticator app, Microsoft’s authenticator app and many more. You can choose any authentication app you trust and like. Now to set authentication using authentication app, select authentication app option shown in the settings of your account and open authentication app of your choice, scan the QR code shown in your settings. Then in your authentication app you will see a code along with a timer. Enter that code in 2FA settings of your account before that timer runs out and your 2FA using Authentication app is enabled.
Now, let’s see how to use and when to use preshared codes or recovery codes.
The recovery or pre shared codes are single use codes. If you lose your phone or can't receive OTP via Email or SMS or you can't use the Authentication app, you have the option to use that recovery or pre shared code to login into your account. To get the recovery codes, headover to the 2FA settings in your account and choose “download recovery codes” option. This will download those codes in a text file. Now you can save that file in your PC or laptop or somewhere safe, also you can write the codes on paper and keep that paper handy but in a safe place. Now you can use any one code from the recovery codes to login into your account.
Now, let’s see how to use Security Key (a physical USB key) to authenticate your login.
First you have to buy a Security Key USB device. Once you get that USB key headover to 2FA settings in your account and select “Set Up USB key option”, now insert the key in USB port on your PC or Laptop which you are using to set up this 2FA.
Then press the physical button on your USB key, this will generate a code and the website will receive that code and will register your USB key on their servers.
Now you have to insert the USB key each time you login into your account.
You can set up the multiple methods on your account to keep redundant authentication
ways. So if you can’t use any particular method, you have other methods to login.
That’s the basic introduction to 2FA and how to use it.
I recommend you to do research before setting up this 2FA because above mentioned method procedures are general steps to enable 2FA. They may vary for different apps and websites. So dont just rely on this article. Two Factor Authentication is very effective and definitely more secure than using just a password.
Disclaimer:
Above information is only for informative purposes.
We are not responsible for any loss caused due to application or use of above information in any form.
The information given above may vary, and it may be incomplete.
This Blog is purely meant for EDUCATION purposes ONLY.
© Copyright 2020 The Cybersec Bot.
Well written !
ReplyDeleteInformative 👍
ReplyDelete