- th3dark
- Archived posts: 6
- Joined: Oct 06, 2017
Crippled 2FA
Dear fellow "prohashers", something came to my attention today regarding 2FA and I would like to share it with you.
I don't know if it's just me but, to the extent of my knowledge, with 2FA the pin that is generated every 30 seconds is invalidated after that period and/or when it is used and after that the next pin is generated. Meaning that every 30 seconds only one pin (the current) is valid and only for one time. If you use it once and try to relogin yourself within the 30 seconds time window and with the same 2FA pin you can not. You have to wait for the 30 seconds to pass to have a new 2FA pin generated. This protects you from any person monitoring your computer in real time. Because if he/she manages to retrieve the 2FA pin (along with your username and password of course) in the exact moment of your login he/she could login him/herself and have an active session that could keep alive for ever...!
I tried different scenarios and I can login with the same 2FA pin, within the 30 second window, from 2 or more computers. Apart from that the "30 second window" is not 30 seconds per se. I've tried up to a minute total (30sec + 30sec) and logged in with the previous 2FA pin. After that it got invalidated.
Your precious input will be highly appreciated...
I don't know if it's just me but, to the extent of my knowledge, with 2FA the pin that is generated every 30 seconds is invalidated after that period and/or when it is used and after that the next pin is generated. Meaning that every 30 seconds only one pin (the current) is valid and only for one time. If you use it once and try to relogin yourself within the 30 seconds time window and with the same 2FA pin you can not. You have to wait for the 30 seconds to pass to have a new 2FA pin generated. This protects you from any person monitoring your computer in real time. Because if he/she manages to retrieve the 2FA pin (along with your username and password of course) in the exact moment of your login he/she could login him/herself and have an active session that could keep alive for ever...!
I tried different scenarios and I can login with the same 2FA pin, within the 30 second window, from 2 or more computers. Apart from that the "30 second window" is not 30 seconds per se. I've tried up to a minute total (30sec + 30sec) and logged in with the previous 2FA pin. After that it got invalidated.
Your precious input will be highly appreciated...